Getting started
This new minor release of Ehcache 3 is the first new release under IBM ownership. It adds support for shared resource pools between unclustered caches. It also contains a fix for a hashing denial of service performance regression (#3268).
Note
Ehcache 3.11 with be the last minor release line to support Java 8. The next release line will advance the Java baseline to 17.
Ehcache 3.11.1 has been released to maven central under the following coordinates:
Main module
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>3.11.1</version>
<!-- <classifier>jakarta</classifier> -->
</dependency>
or
implementation('org.ehcache:ehcache:3.11.1') {
// capabilities {
// requireCapability('org.ehcache:ehcache-jakarta')
// }
}
Transactions module
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache-transactions</artifactId>
<version>3.11.1</version>
<!-- <classifier>jakarta</classifier> -->
</dependency>
or
implementation('org.ehcache:ehcache-transactions:3.11.1') {
// capabilities {
// requireCapability('org.ehcache:ehcache-transactions-jakarta')
// }
}
Clustering module
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache-clustered</artifactId>
<version>3.11.1</version>
</dependency>
Or can be downloaded below.
Note that if you download Ehcache jars directly you will need one additional jar in your classpath:
Clustering kit
For clustering a kit is also provided that includes the Terracotta Server component. See below.
Further reading
What's Changed
- Run check (but not depcheck) to catch checkstyle issues in PRs by @akomakom in #3089
- Fix issue-2852 : Improve javadoc for getCacheManager() methods in Ehc… by @jitendra-nalwaya in #3090
- Fixes #1853 : Update Messages shown in PooledExecutionService by @chrisdennis in #3096
- Re-enable BasicClusteredCacheOpsReplicationMultiThreadedTest.testClear by @chrisdennis in #3092
- [master] platform 5.9.17 by @mathieucarbou in #3100
- platform 5.9.18 by @mathieucarbou in #3110
- [master] Docker files for Ehcache by @mathieucarbou in #3105
- Fix for issue#2742 : NullPointerException in disk store under high load on clear() by @ajaymaddi31 in #3114
- issue-2494 : daggy fix cache visibility for javaxCacheManager by @nishchay-naresh in #3117
- Upgrade to TC Core 5.10.7 & Platform 5.10.5 : Adopt new async client implementation by @chrisdennis in #3118
- Fix for the issue#1554: UserManagedCacheBuilder tries to create serialize… by @ajaymaddi31 in #3122
- platform 5.10.8 (scaling markers) by @mathieucarbou in #3132
- Upgrade to TC Core 5.10.10 & TC Platform 5.10.9 by @chrisdennis in #3136
- Issue 1785 master by @vaibhavsrivastava07 in #3140
- [master] Fix Ehcache Docker images: client folder is now required as a dependency for voter and tools by @mathieucarbou in #3147
- Upgrade code + platform by @mathieucarbou in #3149
- bump versions by @myronkscott in #3154
- Upgrade to platform 5.10.12 by @mathieucarbou in #3156
- issue-628 Handled failures which might occur during write-behind by @Hirensinh-Chavda in #3127
- Enhancement #2954 : Recover from fatal invalid cache state by @jitendra-nalwaya in #3161
- bump versions by @myronkscott in #3162
- Upgrade to platform 5.10.14 by @mathieucarbou in #3165
- Upgrade to platform 5.10.15 by @mathieucarbou in #3167
- Introduce a SourceDirectorySet for Unsafe Java code and wire compilation appropriately (Avoid IDEA-321592) by @chrisdennis in #3171
- [MAIN] bump versions by @myronkscott in #3173
- Cleanup unused Jackson stuff by @mathieucarbou in #3176
- Use platform-layout instead of platform-kit since platform 5.10.17 by @mathieucarbou in #3178
- Jackson => Gson by @mathieucarbou in #3177
- Switch to gradle nexus publish plugin (Daggy master) by @akomakom in #3181
- platform version bump up by @mobasherul in #3192
- issue-3097 : re-writting getAll() impl by @nishchay-naresh in #3130
- Gradle 7.6.2 Upgrade by @chrisdennis in #3198
- Bump to offheap-store 2.5.5 by @mathieucarbou in #3200
- Upgrade to Terracotta Platform 5.10.20 by @chrisdennis in #3212
- Java 21 Test Compatibility by @chrisdennis in #3213
- terracottaPlatformVersion = 5.10.21 by @mathieucarbou in #3218
- ARC for Heap, OffHeap and Disk Resources by @tmesic99 in #3230
- IBM Copyright Additions by @chrisdennis in #3238
- Update to IBM dependencies by @chrisdennis in #3239
- Update to direct IBM copyright by @chrisdennis in #3254
- Traversers start at the start and are recycled by @chrisdennis in #3268
- Use new Central Repository URL in sonatype publishing by @akomakom in #3270
- Set packageGroup once and override with stagingProfileId when necessary by @chrisdennis in #3271
- Issue 2494 Refix by @chrisdennis in #3274
New Contributors
- @jitendra-nalwaya made their first contribution in #3090
- @ajaymaddi31 made their first contribution in #3114
- @Hirensinh-Chavda made their first contribution in #3127
Full Changelog: v3.10.8...v3.11.1