JakartaEE support
Style flag jakarta = true
Mainly package change for annotations and types like Validator
Miscellaneous
- JDK9 unmodifiable collections for
List
,Set
,Map
, style flagjdk9Collections = true
- Suppress from method, style flag
from = ""
- Non-strict modifiables allows reading unset attributes, style flag
strictModifiables = false
- Fixes in nested type_use annotations.
- Performance: better initial capacity for collections
- Refinements and fixes to Criteria modules
- Plus many other refinements and maintance, see below
Workarounds for Gradle
- imports for not-yet-generated types : add
options.sourcepath
- disable incremental compilation (
options.incremental
), may also help is some complex cases
What's Changed (since some last year's release)
- guava upgrade to 30.0-jre by @elucash in #1422
- Fix sorting by id property with Criteria for Mongo #1442 by @harmenweber in #1443
- Fix #1424 - redundant null check in JDK maps by @saarmbruster in #1425
- detect the Eclipse compiler without using the TCCL by @hwellmann in #1452
- Experimental #1112 requiring Enclosing annotation by @elucash in #1423
- Enable eclipse compiler support for Java 17 and beyond. by @SimY4 in #1458
- Fix
toBuilder
generator with generics by @rdesgroppes in #1460 - Populate correct initial capacity for List/Set/Map/ImmutableList.Builder by @snazy in #1468
- Allow specifying visibility as string by @nastra in #1474
- Re-try to resolve types in java.lang by @PtrTeixeira in #1477
- re-enable jdk9 collections support. by @SimY4 in #1481
New Contributors
- @harmenweber made their first contribution in #1443
- @saarmbruster made their first contribution in #1425
- @hwellmann made their first contribution in #1452
- @rdesgroppes made their first contribution in #1460
- @snazy made their first contribution in #1468
- @PtrTeixeira made their first contribution in #1477
Full Changelog: 2.9.3...2.10.0