@@ -9,6 +9,16 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
99
1010### Enhancements
1111
12+ - [ Nebulex.Caching.Decorators] Decorator-invoked cache operations
13+ (` cacheable ` , ` cache_put ` , ` cache_evict ` ) now automatically inject the
14+ ` :decorator_context ` into the ` :telemetry_metadata ` option. This enables
15+ telemetry handlers to identify which decorated function triggered each
16+ cache operation. The ` :decorator_context ` map includes ` :decorator ` ,
17+ ` :module ` , ` :function_name ` , and ` :arity ` .
18+ [ #251 ] ( https://github.com/elixir-nebulex/nebulex/issues/251 ) .
19+ - [ Nebulex.Caching.Decorators] The ` cache_evict ` decorator now properly
20+ passes ` opts ` through all eviction paths (` delete ` , ` delete_all ` ),
21+ ensuring telemetry metadata propagates consistently.
1222- [ Nebulex.Caching.Decorators] Added ` :transaction ` option to wrap decorated
1323 function execution and cache operations in a cache transaction. When set to
1424 ` true ` , the decorator locks the specified cache keys for the duration of the
@@ -21,16 +31,6 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
2131 decorator level, with decorator-level settings overriding module-level
2232 defaults.
2333 [ #248 ] ( https://github.com/elixir-nebulex/nebulex/issues/248 ) .
24- - [ Nebulex.Caching.Decorators] Decorator-invoked cache operations
25- (` cacheable ` , ` cache_put ` , ` cache_evict ` ) now automatically inject the
26- ` :decorator_context ` into the ` :telemetry_metadata ` option. This enables
27- telemetry handlers to identify which decorated function triggered each
28- cache operation. The ` :decorator_context ` map includes ` :decorator ` ,
29- ` :module ` , ` :function_name ` , and ` :arity ` .
30- [ #251 ] ( https://github.com/elixir-nebulex/nebulex/issues/251 ) .
31- - [ Nebulex.Caching.Decorators] The ` cache_evict ` decorator now properly
32- passes ` opts ` through all eviction paths (` delete ` , ` delete_all ` ),
33- ensuring telemetry metadata propagates consistently.
3434- [ Nebulex.Adapter] The ` :telemetry_metadata ` and ` :telemetry_event `
3535 options are now extracted from ` opts ` before passing them to the adapter
3636 callback, keeping adapter args clean.
0 commit comments