All Versions
56
Latest Version
Avg Release Cycle
59 days
Latest Release
1442 days ago

Changelog History
Page 6

  • v2.0.13 Changes

    June 14, 2015
    • βž• Added new experimental serialization module with advanced structural binary serialization, which is based on the standard java binary serialization that allows for object evolution to some degree.
    • πŸ›  Bugfixes along with minor refinements of annotation handling. Issues
  • v2.0.10 Changes

    April 28, 2015

    πŸ›  Bugfix release along with other 2.0.X. Issues

  • v2.0 Changes

    March 24, 2015

    Many thanks to all contributors who helped to make it happen. Thanks to the community for making feature requests, bug reports, questions and suggestions.

    πŸ‘ Note versions 1.1.x are still supported, there's no rush to switch to 2.0 if you are not ready.

    • Thanks to @augustotravillio for implementing JDK-only code generation. Useful on Android or when Guava is not available.
    • Thanks to @ivysharev for a lot more precise imports post-processor.

    πŸ”‹ Features

    • πŸ‘Œ Support for java 8, including new Optional* classes, default methods. But type annotation support is rudimentary (works only in some cases). Java 7 is still required for compilation
    • πŸ‘ Multiset, Multimap, SetMultimap, ListMultimap are now supported.
    • πŸ‘ Full-featured Gson support with generated TypeAdapters which use no reflection during serialization/deserialization.
    • πŸ’… Builder now can be generated as "strict" (Style#strictBuilder). Strict builders prevents initialization errors: addition only collection initializer and regular initializers could be called only once.
    • πŸ‘ Now, there's no required dependencies, plain JDK will suffice. Guava still has first class support.
    • πŸ”Œ Processor now enjoy improved repackaging (using forked and patched maven-shade-plugin)
    • βž• Added @Builder.Switch annotation
    • Numerous API and behavior refinements, resulting in lot less WTF.

    πŸ”„ Changes

    • Main annotation and processor artifact changed to be org.immutables:value. There's no confusing value-standalone or whatsoever.
    • 🚚 common artifact was removed, all compile and runtime dependencies have been modularized. While annotation processor itself is pretty monolithic, now compile and optional runtime dependencies are externalized to dedicated artifacts. Some notable modules:
      • gson Gson support module
      • mongo MongoDB support module
      • builder Module with annotations for generating builder from static factory methods
      • ordinal Module to generate more exotic enum-like values and efficiently handle them, etc
    • πŸ‘€ JSON infrastructure underwent overhaul. See guide at http://immutables.org/json.html
    • JAX-RS support switched to Gson, for Jackson integration there's no need to integrate anything, its own provider will fully work.
    • πŸ‘€ MongoDB repository generation was refined and adjusted following JSON changes. See guide at http://immutables.org/mongo.html
    • 🚚 Temporarily removed JDBI integration. It may be resurrected later.
    • Direct inheritance of @Value.Immutable from another @Value.Immutable is discouraged.
    • Limited (and constrained to same level) inheritance of @Value.Parameter attributes.
    • πŸ— Builder now has method to set/reset collection content (in non-strict mode)
    • πŸ’… Package style now also applies to all classes in sub-packages unless overridden
    • Constructor parameters for collections now accept more liberal input. List<T> parameter accepts Iterable<? extends T> etc.
    • βœ‚ Removed sample style annotation like @BeanStyle.Accessors in favor of documentation and samples
    • @Value.Nested was renamed to @Value.Enclosing
    • πŸ’… @Value.Immutable#visibility was moved to style @Value.Style#visibility
    • 🚚 @Value.Immutable.Include was moved to @Value.Include
    • πŸ— Moved @Value.Builder to builder module where it is called @Builder.Factory. Added @Builder.Parameter and @Builder.Switch to fine-tune generation of builders for factory methods.
  • v1.1 Changes

    December 27, 2014

    πŸ”‹ Features

    • #53 Implemented SortedSet/NavigableSet/SortedMap/NavigableMap attributes specifying @Value.NaturalOrder or @Value.ReverseOrder annotation. Idea contributed by Facebook Buck team. Thanks!
    • #63 @Value.Builder: implemented standalone builder generations for static factory methods. This makes it possible to create builders for arbitrary factory methods, including google/AutoValue create methods!
    • πŸ“¦ #38 @Value.Immutable.Include: Ability to include other classes even from different packages and libraries as abstract value types. Think of generating immutable implementation of annotations from different library!
    • πŸ’… #33 @Value.Style: insanely flexible style customization infrastructure now allows to tailor generated immutable types and builders to wide range of style and preferences!
      • @BeanStyle.Accessors is example of style annotations - allows accessors to be detected from with 'get' and 'is' prefixes, so prefix will be stripped on builder and in toString.
    • πŸ‘ #35 @Nullable attributes. Support any annotation named Nullable. Thanks to John Wood for this and other valuable feature and bug reports!
    • πŸ‘ #44 Ability to run generated classes on JDK6 (including runtime support library common). JDK7 is still required to run annotation processor. Credits to Trask Stalnaker for the contribution!
    • πŸ‘Œ Improved code generation: more clean code, more useful javadocs, dozens of fixes to edge cases, more correctness for customized value types.
    • #64 org.immutables.json-runtime minimal JSON runtime jar, extracted from common with only necessary transitive Jackson dependencies.
    • #54 Support for including Jackson marshaled POJOs as attributes of @Json.Marshaled immutable objects. Together with @Jackson.Mapped this provides round-tripping from Immutables' marshalers to Jackson and back.

    πŸ”„ Changes

    • πŸ›  Dozens of fixes, including
      • #61 Partially fixed @Value.Default methods on Java 8 implemented with interface default methods. Known issue is with more complex interface inheritance #67
      • #48 JDBI marshaling fixes
      • #50 Support for older versions of Guava, which did not have MoreObjects for example, detected from classpath. Checked with Guava v12, v16
      • Fixed resolution of accesors inherited from couple of interfaces. (Still do not take into account most specific covariant override)
    • πŸ—„ Deprecations
      • Deprecated @Value.Immutable(nonpublic) in favor of @Value.Immutable(visibility), nonpublic not working now, but it should not break
      • Deprecated @Value.Immutable(withers) in favor of @Value.Immutable(copy)
      • Deprecated @Value.Getters in favor of using @Value.Style. May be undeprecated if found really useful
      • Removed underdeveloped annotations and processors to be reintroduced later (Transformer, Visitor, Parboiled)
    • Incompatibilites
      • Upgrade to Jackson 2.4.4 for Jackson ObjectMapper cross-marshaling to work
      • Possible incompatibity: @Json.Marshaled now is required on each nested @Value.Immutable, marshaled annotation on @Value.Nested will not have effect
      • #59 @Value.Default on collection attributes now issues warning, that makes collection attribute generated as plain regular attributes without any special collection support in builder
  • v1.0.1 Changes

    πŸ›  Fixes

    • Improper unchecked suppressions in generated files #36
    • πŸ›  fixed/refined underwriting of methods: hashCode, equals, toString #37
    • πŸ›  Fixed duplication of instanceof checks in Transfromers
    • πŸ›  Fixed implementation of nDeprecationsonpublic=true (package private) immutable classes

    πŸ”„ Changes

    • πŸš€ Internal: using released 1.0 β€˜value-standalone’ for self-compiling, rather than 'retrovalue' system/jar
    • Internal: made marshaling binding problems IOException instead of runtime
  • v1.0 Changes

    πŸš€ Release with all of what was developed, including reengineering of template engine, project/module restructuring and annotation API changes

    πŸ”„ Changes

    • Immutable generation annotation now nested below umbrella annotation @org.immutables.value.Value which provided grouping and namespacing for the nested annotations.
      • @GenerateImmutable is now @Value.Immutable
      • @GenerateConstructorParameter is now @Value.Parameter
      • ... and so on, see website and API documentation for the details
    • πŸ‘€ See other umbrella annotations in org.immutables.value.* package: @Json, @Mongo, @Jackson
    • Main standalone artifact for the annotation processor is now org.immutables:value-standalone:1.0. There's is quick start module with transitive dependencies for integrations β€” to not pick dependencies one by one β€” org.immutables:quickstart:1.0
    • Most notable generated API changes
      • Added ImmutableValue.copyOf methods
      • Added array attributes
      • Added Builder.addAttribute(T...) overload for collection attributes
      • Removed ImmutableValue.Builder.copy methods