Changelog History
Page 1
-
v2.7.0 Changes
November 13, 2020๐ With this release, FreeBuilder can generate builders without the standard public methods
build
,buildPartial
,clear
andmergeFrom
, allowing you to give them alternative names. (Note that doing so will disable enhanced support for nested builders for this type, as it needs to be able to call these methods.)public interface MyType { class Builder extends MyType\_Builder { public OtherDataType build() { // This signature is not compatible with the default build method.// FreeBuilder will instead declare a package-scoped \_buildImpl.... } public DataType buildMyType() { return \_buildImpl(); } } }
-
v2.6.2 Changes
August 31, 2020๐ This release fixes a couple of bugs in the support for Guava's BiMap type introduced in v2.6.0:
- ๐ป The
put
methods no longer throw an exception if the key-value pair already exists in the bimap (only if the value exists and is associated with a different key). - When a check constraint is in place,
setValue
on theMap.Entry
objects returned by the temporary bimap object passed into themutate
method now correctly return the old value.
๐ Thanks to @thespags for the fixes!
- ๐ป The
-
v2.6.1 Changes
April 09, 2020๐ Mistaken re-release of v2.6.0. No bug fixes or new features.
-
v2.6.0 Changes
April 04, 2020๐ This release adds support for Guava's BiMap type (issue #418). Thanks to @thespags for doing most of the legwork on this feature!
Note that the FreeBuilder README for previous releases erroneously stated that calling the put_X_ method on a Map type would throw an IllegalArgumentException if the key was already present in the map. This did not match the generated JavaDoc and was not correct. The entry will be replaced in these cases, and no error will be thrown.
-
v2.5.0 Changes
December 11, 2019๐ This release adds support for Jackson's JsonAnyGetter annotation (issue #104). Thanks to @mgorniew for implementing this feature!
-
v2.4.1 Changes
May 24, 2019๐ This release fixes a bug where the new
@IgnoredByEquals
and@NotInToString
were accidentally being treated as inherited annotations in batch compilation. -
v2.4.0 Changes
May 23, 2019 -
v2.3.0 Changes
January 28, 2019๐ This release adds the ability to pass partials to the static
Builder.from
method (#407), reducing the fragility of tests of modify-rebuild code without requiring the optionaltoBuilder
method. See the 2.3 release notes for more information. -
v2.2.3 Changes
January 27, 2019 -
v2.2.2 Changes
January 24, 2019๐ This release pretty-prints arrays in generated toString methods, but also issues a (suppressible) mutability warning at compile time (#400).