Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Releases: inferred/FreeBuilder

v1.7.2

14 Apr 16:09
Compare
Choose a tag to compare

This release restores JDK 6 compatibility, which was accidentally broken a few releases ago (issue #120). Source generated in JDK 6 will not be formatted nicely, as the formatter requires JDK 7+.

v1.7.1

13 Apr 23:54
Compare
Choose a tag to compare

This release fixes intermittent failures when rebuilding generic FreeBuilder types (issue #111).

v1.7

25 Jan 12:48
Compare
Choose a tag to compare

With this release, the only annotation you need to make your types Jackson-compatible is @JsonDeserialize; getter methods without an explicit @JsonProperty annotation will use the default property name (issue #90).

// This type can be freely converted to and from JSON with Jackson
@FreeBuilder
@JsonDeserialize(builder = Address.Builder.class)
interface Address {
    String getCity();
    String getState();

    class Builder extends Address_Builder {}
}

Additionally, you should get a nicer error message if you forget the package declaration on your value type (issue #85).

v1.6

15 Jan 16:32
Compare
Choose a tag to compare

This release adds a remove method for set properties, and fixes issue #101.

v1.5

13 Jan 15:55
Compare
Choose a tag to compare

With this release, Guava is no longer a requirement. If your code is compiled with Guava available, FreeBuilder will generate code that uses it, specifically for cleaner assertions and for immutable collections, as before. Otherwise, FreeBuilder will generate pure-JDK code using requireNonNull and unmodifiable views.

v1.4

21 Dec 12:50
Compare
Choose a tag to compare

This release adds removeX and removeAllX methods for Multimap types.

v1.3.1

21 Dec 12:40
Compare
Choose a tag to compare

Rerelease of v1.3 without the com.fasterxml.jackson.datatype.jackson-datatype-jdk8 artifact, which was accidentally included at compile instead of test scope in the FreeBuilder POM.

v1.3

21 Oct 18:23
Compare
Choose a tag to compare

This release adds support for Java 8's Optional type, mirroring existing support for Guava's Optional type. See also our documentation on Optional use in @FreeBuilder.

v1.2

12 Oct 21:23
Compare
Choose a tag to compare

This release adds support for Jackson deserialization. See our instructions on creating Jackson-compatible types with @FreeBuilder.

v1.1

12 Oct 16:13
Compare
Choose a tag to compare

This release adds support for generic types (issue #1).