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 be0
if not set) nil
values for reference types (i.e. pointers to objects arenil
if not set)
Bazel
๐ Initial support for building plank and integrating it within your local bazel project.
First add plank to your
WORKSPACE
filegit\_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) - 0๏ธโฃ Default values for primitive types (i.e.