Plank v1.5 Release Notes

Release Date: 2019-02-27 // about 5 years ago
  • ๐Ÿš€ This release contains a lot of internal cleanup as well as new functionality.

    โšก๏ธ Updates

    Objective-C

    โž• Added isSet methods for each property which will allow callers to differentiate if a property has been set:
    This is useful for differentiating:

    • 0๏ธโƒฃ Default values for primitive types (i.e. int properties will still be 0 if not set)
    • nil values for reference types (i.e. pointers to objects are nil if not set)

    Bazel

    ๐ŸŽ‰ Initial support for building plank and integrating it within your local bazel project.

    First add plank to your WORKSPACE file

    git\_repository( name = "plank", remote = "https://github.com/pinterest/plank.git", tag = "1.5")
    

    Then you can run plank using:
    bazel run @plank//:plank -- [YOUR ARGS HERE]

    Java (alpha)

    • ๐ŸŽ‰ Initial support is available and depends on AutoValue and GSON. AutoValue is likely to be removed soon as a requirement.
    • ๐Ÿ‘ Java support is in active development and breaking changes are likely
    • Audience is focused on Android development which could influence some of the design decisions / dependencies

    ๐Ÿ”„ Changes

    eaaccea [Objective-C] Option for adding abilities to tell if a method is set.
    fa1a00d [Objective-C] Fix issues that cause unstable output (#160)
    โšก๏ธ bec7ec9 Update WORKSPACE to latest rules_swift dependencies (#163)
    ๐Ÿ‘• e041f8e Enable Swiftlint for PRs (#154)
    โšก๏ธ 27f2219 Update README.md
    ๐Ÿ‘ท ce0dbea Migrate Plank to Travis CI (#152)
    71a3a5c Fix typo (#146)
    โšก๏ธ c387215 Update bazel build to use rules_swift
    ๐Ÿ”จ 7328fa0 Refactor version number to use a struct (#145)
    8053ab1 Add version to CLI (#144)
    87197a3 Add flag to avoid runtime files from getting generated (#137)
    9439de7 Fix nil-checking issue in dictionary representation (#135)
    โšก๏ธ 0c2bf4e Update to Swift 4.1, fix inheritance issue with equality (#133)
    โšก๏ธ 42838c3 Update Java enum rendering to avoid collisions when multiple enums are (#130)
    ๐Ÿšš db6c647 Use fancy string enums and remove unused runtime function (#128)
    ๐Ÿง 6eb769b Fix linux build (#127)
    ๐Ÿ“š 153ebe7 Use @NonNull for nonnull Java properties. Add nullability to documentation
    ๐Ÿ“š 1b4641c Add initial Java documentation
    7a0b6aa Separate CLI reference into its own page
    56097d2 Add flow documenation overview
    ๐Ÿ‘ a86117d Initial support for Java (#106)