solr icon indicating copy to clipboard operation
solr copied to clipboard

Update dependency org.immutables:value-annotations to v2.11.7

Open solrbot opened this issue 6 months ago • 0 comments

This PR contains the following updates:

Package Type Update Change Pending
org.immutables:value-annotations (source) dependencies minor 2.10.1 -> 2.11.7 2.12.0

Release Notes

immutables/immutables (org.immutables:value-annotations)

v2.11.7

Compare Source

Maintenance & refinements release

Thank you for the bug reports and suggestions!

Issues

  • #​1621 Version 2.11.7 tag not present on GitHub
  • #​1611 Jspecify Nullable doesn't work properly with generics
  • #​1612 Conflicting constructor on empty interfaces when allParameters = true, and privateNoArgConstructor = true/ protectedNoArgConstructor = true (edge case regression after #​1604)
  • #​1579 TYPE_USE Nullable annotation not respected in the builder for arrays (arrays/elements annotation mirrors are missing) (addressed with some source code parsing, which requires -sourcepath to be provided during compilation)

PRs

New Contributors

Full Changelog: https://github.com/immutables/immutables/compare/2.11.6...2.11.7

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: https://github.com/immutables/immutables/compare/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: https://github.com/immutables/immutables/compare/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: https://github.com/immutables/immutables/compare/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: https://github.com/immutables/immutables/compare/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: https://github.com/immutables/immutables/compare/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: https://github.com/immutables/immutables/compare/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: https://github.com/immutables/immutables/compare/2.10.1...2.11.0


Configuration

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

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This PR has been generated by Renovate Bot

solrbot avatar Jul 09 '25 02:07 solrbot