Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
2.11.2 source code.tar.gz | 2025-08-04 | 779.9 kB | |
2.11.2 source code.zip | 2025-08-04 | 1.9 MB | |
README.md | 2025-08-04 | 1.4 kB | |
Totals: 3 Items | 2.7 MB | 0 |
Maintenance and refinment release
- [#1572] [#1573] Optimized
from
merging method for many supertypes - Introduced static mode (via compile time overloads only) for
from
supertypes. Switch viaStyle.mergeFromSupertypesDynamically=false
. This gives (very) old behavior before dynamic merging was introduced, for some, it is more intuitive than dynamic logic and avoid heap pollution (& ClassCastException) for some rare cases of supertypes imlementing parameterized interfaces with different actual type arguments in a hierarchy. - [#1576] Fixed Jackson JSON deserialization for optional types (
required=false
was generated only for Nullable, now - for any non mandatory attribute). Generating Jacksonrequired
can be disabled viasetJacksonPropertyRequired=false
, the difference is if Jackson will issue an error on missing attribute or Immutables' builder will throw an exception for the same.
PRs merged
- fix: set correct override for Jackson annotation processor option by @devinrsmith in https://github.com/immutables/immutables/pull/1574
- Optimize mergeInternal generation with specialized methods per subtype by @christophercolumbusdog in https://github.com/immutables/immutables/pull/1573
New Contributors
- @devinrsmith made their first contribution in https://github.com/immutables/immutables/pull/1574
Full Changelog: https://github.com/immutables/immutables/compare/2.11.1...2.11.2