Releases: inferred/FreeBuilder
v1.15.0
This release enables customization of the functional interface used in map/mutate methods (part of resolving #287).
v1.14.9
This release adds support for @JacksonXmlProperty (#294). Thanks to @sdqali for the patch!
Thanks also go out to JFrog BinTray: this is our first release to go via their site after the gradle-nexus-staging-plugin stopped working.
v1.14.8
This release fixes an issue where declaring both a static builder()
method and an abstract toBuilder()
methods in your class would cause FreeBuilder to generate a Partial whose toBuilder method just throws UnsupportedOperationException. If your Builder's constructor method is at least package-protected, the implementation code will now be correctly generated; if it is private or there is none declared at all, FreeBuilder will issue an error at compile time rather than generating invalid code. (#264)
v1.14.7
v1.14.6
This release fixes a bug where a SortedSet property with an explicit comparator set could lose that comparator when clear was called (#265). Thanks to @chrisrhut for the bug report!
v1.14.5
v1.14.4
v1.14.3
This release fixes two cases where invalid code could be generated: for SortedSet properties in Java 7; and for buildable properties when Guava is unavailable. (These were picked up by an improvement to the test harness, which should ensure errors of this type do not recur in future.)
v1.14.2
This release adds @SafeVarargs
where necessary to avoid incorrect compiler warnings. If you have overridden any varargs methods in your builder, the annotation will not be emitted as it can only be placed on final methods, but compiler warnings will still be suppressed as far as possible. (#180)