@@ -4,6 +4,44 @@ All notable changes to this project will be documented in this file.
44
55This project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ v3.0.0-rc.2] ( https://github.com/elixir-nebulex/nebulex/tree/v3.0.0-rc.2 ) (2025-12-07)
8+ > [ Full Changelog] ( https://github.com/elixir-nebulex/nebulex/compare/v3.0.0-rc.1...v3.0.0-rc.2 )
9+
10+ ### Enhancements
11+
12+ - [ Nebulex.Cache] Added ` :telemetry ` option as a shared command option,
13+ allowing selective override of the global telemetry setting on a per-command
14+ basis without needing to start separate cache instances.
15+ - [ Nebulex.Cache] Added ` fetch_or_store ` callback to the Cache API.
16+ For more information, see:
17+ [ #240 ] ( https://github.com/elixir-nebulex/nebulex/issues/240 ) .
18+ - [ Nebulex.Cache] Added ` get_or_store ` callback to the Cache API.
19+ For more information, see:
20+ [ #241 ] ( https://github.com/elixir-nebulex/nebulex/issues/241 ) .
21+ - [ Nebulex.Caching.Decorators] The ` cache_evict ` decorator now supports a
22+ ` :query ` option for bulk eviction based on adapter-specific queries.
23+ For example: ` @decorate cache_evict(query: my_query) ` . The query can be
24+ provided directly or as a function that returns the query at runtime.
25+ Additionally, both ` :query ` and ` :key ` options can be used together to
26+ evict specific entries and entries matching a query pattern in a single
27+ operation. When both are provided, query-based eviction executes first,
28+ followed by key-based eviction.
29+ For more information, see:
30+ [ #243 ] ( https://github.com/elixir-nebulex/nebulex/issues/243 ) .
31+ [ #245 ] ( https://github.com/elixir-nebulex/nebulex/issues/245 ) .
32+ - [ Nebulex.Caching.Decorator] Add support for evicting external references in
33+ ` cache_evict ` decorator. For more information, see:
34+ [ #244 ] ( https://github.com/elixir-nebulex/nebulex/issues/244 )
35+ - [ Documentation] Added comprehensive "Declarative Caching" guide
36+ (` guides/learning/declarative-caching.md ` ) showcasing patterns, best
37+ practices, and real-world examples for using caching decorators. The guide
38+ includes progressive learning with an e-commerce scenario covering basic
39+ decorator usage, advanced eviction patterns (including the new combined
40+ ` :key ` and ` :query ` feature), ` Nebulex.Adapters.Local ` features
41+ (QueryHelper, tagging, references), testing strategies, and common pitfalls.
42+ Replaces ad-hoc examples previously scattered in API documentation.
43+ [ #246 ] ( https://github.com/elixir-nebulex/nebulex/issues/246 ) .
44+
745## [ v3.0.0-rc.1] ( https://github.com/elixir-nebulex/nebulex/tree/v3.0.0-rc.1 ) (2025-05-01)
846> [ Full Changelog] ( https://github.com/elixir-nebulex/nebulex/compare/v2.6.4...v3.0.0-rc.1 )
947
0 commit comments