solrbot opened a new pull request, #3557: URL: https://github.com/apache/solr/pull/3557
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [org.immutables:value-annotations](https://redirect.github.com/immutables/immutables/tree/value-annotations) ([source](https://redirect.github.com/immutables/immutables)) | dependencies | minor | `2.10.1` -> `2.11.3` | --- ### Release Notes <details> <summary>immutables/immutables (org.immutables:value-annotations)</summary> ### [`v2.11.3`](https://redirect.github.com/immutables/immutables/releases/tag/2.11.3) [Compare Source](https://redirect.github.com/immutables/immutables/compare/2.11.2...2.11.3) #### Maintenance & refinements release Thank you for PRs and providing feedback! - [#​1432](https://redirect.github.com/immutables/immutables/issues/1432)/[#​1582](https://redirect.github.com/immutables/immutables/issues/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](https://redirect.github.com/immutables/immutables/issues/1578) Fixed: missing header/package declaration in generated files with no imports - [#​1580](https://redirect.github.com/immutables/immutables/issues/1580) Fixed: with methods do not handle fallbackNullableAnnotation properly on Map types #### What's Changed - Optional with default by [@​hwellmann](https://redirect.github.com/hwellmann) in [#​1582](https://redirect.github.com/immutables/immutables/pull/1582) **Full Changelog**: <https://github.com/immutables/immutables/compare/2.11.2...2.11.3> ### [`v2.11.2`](https://redirect.github.com/immutables/immutables/releases/tag/2.11.2) [Compare Source](https://redirect.github.com/immutables/immutables/compare/2.11.1...2.11.2) #### Maintenance and refinement release - [#​1572](https://redirect.github.com/immutables/immutables/issues/1572) [#​1573](https://redirect.github.com/immutables/immutables/issues/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](https://redirect.github.com/immutables/immutables/issues/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 - fix: set correct override for Jackson annotation processor option by [@​devinrsmith](https://redirect.github.com/devinrsmith) in [#​1574](https://redirect.github.com/immutables/immutables/pull/1574) - Optimize mergeInternal generation with specialized methods per subtype by [@​christophercolumbusdog](https://redirect.github.com/christophercolumbusdog) in [#​1573](https://redirect.github.com/immutables/immutables/pull/1573) #### New Contributors - [@​devinrsmith](https://redirect.github.com/devinrsmith) made their first contribution in [#​1574](https://redirect.github.com/immutables/immutables/pull/1574) **Full Changelog**: <https://github.com/immutables/immutables/compare/2.11.1...2.11.2> ### [`v2.11.1`](https://redirect.github.com/immutables/immutables/releases/tag/2.11.1) [Compare Source](https://redirect.github.com/immutables/immutables/compare/2.11.0...2.11.1) #### 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 - Include org.immutables:data in bill of materials by [@​ascopes](https://redirect.github.com/ascopes) in [#​1556](https://redirect.github.com/immutables/immutables/pull/1556) - [GH-1557](https://redirect.github.com/immutables/immutables/issues/1557): Fix erroneous code generation for TypeTokens of raw annotated types by [@​ascopes](https://redirect.github.com/ascopes) in [#​1558](https://redirect.github.com/immutables/immutables/pull/1558) - Final stage builder methods' return value should be ignorable by [@​benhalasi](https://redirect.github.com/benhalasi) in [#​1568](https://redirect.github.com/immutables/immutables/pull/1568) #### New Contributors - [@​benhalasi](https://redirect.github.com/benhalasi) made their first contribution in [#​1568](https://redirect.github.com/immutables/immutables/pull/1568) **Full Changelog**: <https://github.com/immutables/immutables/compare/2.11.0...2.11.1> ### [`v2.11.0`](https://redirect.github.com/immutables/immutables/releases/tag/2.11.0) [Compare Source](https://redirect.github.com/immutables/immutables/compare/2.10.1...2.11.0) 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 - Added support for the 'required' attribute for the generated JSON Property Annotation by [@​harrismirza](https://redirect.github.com/harrismirza) in [#​1515](https://redirect.github.com/immutables/immutables/pull/1515) - Fix a bug with type annotation handling by [@​cushon](https://redirect.github.com/cushon) in [#​1532](https://redirect.github.com/immutables/immutables/pull/1532) - simple lambda builders by [@​elucash](https://redirect.github.com/elucash) in [#​1533](https://redirect.github.com/immutables/immutables/pull/1533) - Make it possible to inject annotations to "with" types by [@​fp7](https://redirect.github.com/fp7) in [#​1528](https://redirect.github.com/immutables/immutables/pull/1528) - Support Sub-Collection Queries for InMemory and MongoDB by [@​markif](https://redirect.github.com/markif) in [#​1526](https://redirect.github.com/immutables/immutables/pull/1526) - Change default Mongo UUID representation to STANDARD/v4 (Criteria) by [@​mathansen](https://redirect.github.com/mathansen) in [#​1482](https://redirect.github.com/immutables/immutables/pull/1482) - Use source retention for serial annotations by [@​Xcelled](https://redirect.github.com/Xcelled) in [#​1521](https://redirect.github.com/immutables/immutables/pull/1521) - Add legacy SourceOrdering option by [@​christophercolumbusdog](https://redirect.github.com/christophercolumbusdog) in [#​1541](https://redirect.github.com/immutables/immutables/pull/1541) - Update Generated.java to be documented. by [@​ascopes](https://redirect.github.com/ascopes) in [#​1543](https://redirect.github.com/immutables/immutables/pull/1543) Closed issues <https://github.com/immutables/immutables/milestone/82?closed=1> #### New Contributors - [@​harrismirza](https://redirect.github.com/harrismirza) made their first contribution in [#​1515](https://redirect.github.com/immutables/immutables/pull/1515) - [@​cushon](https://redirect.github.com/cushon) made their first contribution in [#​1532](https://redirect.github.com/immutables/immutables/pull/1532) - [@​markif](https://redirect.github.com/markif) made their first contribution in [#​1526](https://redirect.github.com/immutables/immutables/pull/1526) - [@​mathansen](https://redirect.github.com/mathansen) made their first contribution in [#​1482](https://redirect.github.com/immutables/immutables/pull/1482) - [@​Xcelled](https://redirect.github.com/Xcelled) made their first contribution in [#​1521](https://redirect.github.com/immutables/immutables/pull/1521) - [@​christophercolumbusdog](https://redirect.github.com/christophercolumbusdog) made their first contribution in [#​1541](https://redirect.github.com/immutables/immutables/pull/1541) - [@​ascopes](https://redirect.github.com/ascopes) made their first contribution in [#​1543](https://redirect.github.com/immutables/immutables/pull/1543) **Full Changelog**: <https://github.com/immutables/immutables/compare/2.10.1...2.11.0> </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/solrbot/renovate-github-action) <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjgyLjEwIiwidGFyZ2V0QnJhbmNoIjoiYnJhbmNoXzl4IiwibGFiZWxzIjpbImV4ZW1wdC1zdGFsZSJdfQ==--> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org