Download Latest Version v1.6 - Schema updates, improved Java support, Objective-C optimizations and dependency graph analysis source code.zip (274.7 kB)
Email in envelope

Get an email when there's a new version of Plank

Home / v1.3
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2018-02-14 1.3 kB
Update to Enum generation _ Bug fixes source code.tar.gz 2018-02-14 123.3 kB
Update to Enum generation _ Bug fixes source code.zip 2018-02-14 171.9 kB
Totals: 3 Items   296.5 kB 0

Whats in this release?

Breaking changes

For Objective-C, an enum type will no longer have "Type" added to it's name. This introduced issues (https://github.com/pinterest/plank/issues/119) and was inconsistent with the logic we use for Flow.

Previous behavior: A enum property some_prop on a type Foo would generate a enum named FooSomePropType

New behavior: A enum property some_prop on a type Foo will generate a enum named FooSomeProp

If you are currently using Enums you'll likely need to update references to these types in your code base but the functionality remains the same. In the future we'll strive to keep these naming strategies consistent between languages.

Notable bug fixes

  • Improve the nullability support for Objective-C
  • Fix the ordering of properties during generation to ensure we don't have variance in our generation.

Changes

991a465 Align naming logic between Flow and ObjC for enums. Fix naming collis… (#120) f8f7c17 Correct extends field example (#117) a8d8676 Fixed missing "" (#118) 0e2668c Update README.md (#114) 47fdfdd Builder setter should consider copy memoryAssignmentType (#113) bcc7bef Enumeration of schema properties should occur in a specific order to ensure a (#110) df1e444 Update homebrew installation instructions

Source: README.md, updated 2018-02-14