Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 18, 2025

This PR contains the following updates:

Package Change Age Confidence
org.immutables:annotate (source) 2.10.1 -> 2.11.6 age confidence
org.immutables:value (source) 2.10.1 -> 2.11.6 age confidence

Release Notes

immutables/immutables (org.immutables:annotate)

v2.11.6

Compare Source

Maintenance & refinements release

Thank you for the bug reports and suggestions!

Issues

  • #​1602 Avoid calling check/validation method twice when using plain public constructors (@Style(of = "new")
  • #​1603 Fixed compilation error with staged builders and complex generics
  • #​1604 parameterless constructor when there's no attributes, but allParameters=true or allMandatoryParameters=true

Full Changelog: immutables/immutables@2.11.5...2.11.6

v2.11.5

Compare Source

Maintenance & refinements release

Thank you for the bug reports and PRs!

Issues

  • #​1602 @Check methods (returning void i.e. non-normalizing) now works from plain public constructors (@Style(of = "new")
  • #​1583 Staged builder now works for "outside"/top-level class builders, including record builders (with *BuildStages class generated to hold stage interfaces)
  • #​1598 fixed: @Data from org.immutables:datatype can be used as meta-annotation
  • #​1433 additionalStrictContainerConstructor=false can be used to suppress redundant strict factory method (constructor) overload

PRs

New Contributors

Full Changelog: immutables/immutables@2.11.4...2.11.5

v2.11.4

Compare Source

Maintenance & refinements release

Thank you for the bug reports and PRs!

Issues

  • #​1597 Fixed constant defaults @Value.Default.{Int, Long, String...} were always applied for Immutable values (were ok for records)
  • #​1592 When multiple annotations share the same parent annotation in passAnnotations, only one child annotation is propagated on an attribute
  • #​1591 #​1521 @​Serial.AllStructural wit class retention and fixed to work as meta-annotation (on a custom style annotation etc).
  • #​1588 Missing imports for classes in package names with _ (Fixed handling of $ and _ in java identifiers in import rewriter)
  • #​1585 Additional way to register custom immutable annotation. Use -Aimmutables.annotation=<fqcn> for custom annotation (can have meta-styles etc)

PRs

New Contributors

Full Changelog: immutables/immutables@2.11.3...2.11.4

v2.11.3

Compare Source

Maintenance & refinements release

Thank you for PRs and providing feedback!

  • #​1432/#​1582 JDK optional types now have first class support for having default value provided by accessor annotated with @Value.Default, no warnings are issued.
  • #​1578 Fixed: missing header/package declaration in generated files with no imports
  • #​1580 Fixed: with methods do not handle fallbackNullableAnnotation properly on Map types

What's Changed

Full Changelog: immutables/immutables@2.11.2...2.11.3

v2.11.2

Compare Source

Maintenance and refinement release

  • #​1572 #​1573 Optimized from merging method for many supertypes
  • Introduced static mode (via compile time overloads only) for from supertypes. Switch via Style.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 Jackson required can be disabled via setJacksonPropertyRequired=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

New Contributors

Full Changelog: immutables/immutables@2.11.1...2.11.2

v2.11.1

Compare Source

Maintenance and minor enhancements

  • Various bugfixes: Jackson integration, refinements/fixes in withers.
  • Extending Builders for records. I.e. nested static class Builder extends MyRecordBuilder {}
  • Can expose *IsSet methods on builder
  • new module org.immutables:datatype. It's slightly modernized version of org.immutables:data (now deprecated), no dependency on Guava, + support for records with generated builders

Also

New Contributors

Full Changelog: immutables/immutables@2.11.0...2.11.1

v2.11.0

Compare Source

Many thanks to all contributors: PRs, testing and evaluation much appreciated!

  • @Value.Builder for records on builders
    • @Value.Default.* annotation for constant default values for records and regular abstract types
    • Generated "wither" interfaces for records @Value.Builder record A(int a, String b) implements WithA {..
  • JSpecify @Nullable support in @NullMarked mode.
  • In general improved support for TYPE_USE annotations (as far as compiler and peculiarities of existing code allows),
  • Lambda builders when using Style.attributeBuilderDetection=true: builder.value(b -> b.a(1).c(""))
  • Various bugfixes and other improvements

Also

Closed issues https://github.com/immutables/immutables/milestone/82?closed=1

New Contributors

Full Changelog: immutables/immutables@2.10.1...2.11.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 18, 2025
@github-actions
Copy link

github-actions bot commented Oct 18, 2025

Test Results

 88 files   88 suites   10s ⏱️
430 tests 430 ✅ 0 💤 0 ❌
475 runs  475 ✅ 0 💤 0 ❌

Results for commit 1a93ef5.

♻️ This comment has been updated with latest results.

@renovate renovate bot force-pushed the renovate/immutables branch from 59eb51c to 9afdc98 Compare October 18, 2025 07:49
@Citymonstret Citymonstret enabled auto-merge (squash) October 18, 2025 08:00
@renovate renovate bot force-pushed the renovate/immutables branch from c0af2d7 to 1a93ef5 Compare October 18, 2025 08:00
@Citymonstret Citymonstret merged commit 36db0d9 into master Oct 18, 2025
5 checks passed
@Citymonstret Citymonstret deleted the renovate/immutables branch October 18, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants