# Quarkus 3.38 - Weight-based eviction for Hibernate second level Caffeine cache, and more

DevFeed: [Quarkus 3.38 - Weight-based eviction for Hibernate second level Caffeine cache, and more](<https://devfeed.tech/articles/quarkus-3-38-weight-based-eviction-for-hibernate-second-level-caffeine-cache-and-more-43823.md>)

Original publisher: [Read original article](<https://quarkus.io/blog/quarkus-3-38-released/>)

Author: Guillaume Smet (https://twitter.com/gsmet\_)

Published: 2026-07-29T00:00:00Z

Content type: release

Language: en

Sources: [Quarkus - Supersonic Subatomic Java](<https://devfeed.tech/sources/quarkus-supersonic-subatomic-java.md>)

Topics: [Quarkus](<https://devfeed.tech/topics/quarkus.md>), [Hibernate](<https://devfeed.tech/topics/hibernate.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [OpenAPI Specification](<https://devfeed.tech/topics/openapi.md>), [Exception](<https://devfeed.tech/topics/exception.md>), [standard](<https://devfeed.tech/topics/standard.md>), [version](<https://devfeed.tech/topics/version.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [cache](<https://devfeed.tech/tags/cache.md>), [hibernate](<https://devfeed.tech/tags/hibernate.md>), [http](<https://devfeed.tech/tags/http.md>), [openapi](<https://devfeed.tech/tags/openapi.md>), [quarkus](<https://devfeed.tech/tags/quarkus.md>), [release](<https://devfeed.tech/tags/release.md>), [version](<https://devfeed.tech/tags/version.md>)

## AI overview

Quarkus 3.38 adds weight-based memory eviction for Hibernate second-level Caffeine cache regions and includes Quarkus HTTP Problem in the platform. The release also upgrades several platform components and supports migration from earlier Quarkus versions.

## Source excerpt

We're pleased to announce the release of Quarkus 3.38. As most of the development effort for new features and major upgrades is now focused on Quarkus 4, this release is lighter on features than usual. It still comes with the following notable features: #55284 - Support weight-based eviction for Hibernate 2LC Caffeine cache regions Quarkus HTTP Problem added to the Platform Update To update to Quarkus 3.38, we recommend updating to the latest version of the Quarkus CLI and run: quarkus update Note that quarkus update can update your applications from any version of Quarkus (including 2.x) to Quarkus 3.38. For more information about the adjustments you need to make to your applications, please refer to the Quarkus 3.38 migration guide. What's new? Weight-based eviction for Hibernate second level Caffeine cache regions Quarkus 3.38 introduces support for weight-based (memory) eviction for Hibernate second level cache Caffeine cache regions. Previously, only count-based eviction was available, meaning you could only configure the maximum number of entries per cache region. With weight-based eviction, you can now configure eviction based on the estimated memory footprint of cached entities, providing more precise control over cache memory usage. Quarkus Platform Quarkus HTTP Problem Quarkus HTTP Problem has been added to the Quarkus Platform. This extension implements the RFC 9457 (Problem Details for HTTP APIs) standard, automatically mapping exceptions to standardized application/problem+json HTTP responses. It provides built-in exception mappers for common exceptions, prevents leaking stack traces and implementation details, and integrates with OpenAPI for auto-generated error documentation. Component upgrades Various Platform components were upgraded including: Camel Quarkus to 3.38.0 Quarkus Amazon Services to 3.21.1 Quarkus Blaze-Persistence to 1.6.19 Quarkus Debezium to 3.6.0.Final Quarkus Flow to 0.14.0 Quarkus Google Cloud Services to 2.23.1 Quarkus LangChain4j