Releases: nigrosimone/ng-http-caching
Releases Β· nigrosimone/ng-http-caching
Release list
v22.5.0
π Features
- revalidate a stale entry with ETag and Last-Modified, and confirm it on 304 (eb0ac7b)
- add withNgHttpCachingBroadcastStorage, an in-memory store that invalidates the other tabs (b480da6)
Full Changelog: v22.4.0...v22.5.0
v22.4.0
π Features
- invalidate the cache entries instead of deleting them, keeping them stale (1fae535)
- add keepInFlight and a configurable storage key prefix (f959b33)
- add staleTime and serve a stale response while it is refreshed in background (1f5e06b)
Full Changelog: v22.3.1...v22.4.0
v22.3.1
π Bug Fixes
- evict the oldest entries instead of the whole cache when the web storage quota is full (97bfc8f)
Full Changelog: v22.3.0...v22.3.1
v22.3.0
π Features
- add slidingExpiration and pass the request being served to isExpired (ef6988a)
- add ngHttpCachingInterceptor, the functional interceptor for withInterceptors() (40710fc)
π Documentation
- document the functional interceptor, slidingExpiration and refresh the alternatives (b4c3237)
Full Changelog: v22.2.0...v22.3.0
v22.2.0
π Features
- add responseSerializer and stop freezing the HttpResponse itself (9e0163e)
- enhance caching behavior with mutation handling and lifetime management (8f05482)
π Bug Fixes
- allow ng-simple-state 22 in the optional peer range (e6d36bc)
π Documentation
- link NgSsrCaching, the server-side sibling (cb0032a)
- replace the StackBlitz demo with a runnable example in-repo (842ff9b)
π€ CI
- let an explicit release version match the manifest, and bump the actions to v7 (a5de6ce)
π Style
- run prettier over the stackblitz example (fb56882)
π§Ή Chores
- take lint-staged 17 (2a14c4e)
- format and lint on commit and push, with husky (93d8e2e)
- follow the default branch rename to main (3e6c047)
- better example (4d44257)
Full Changelog: v22.1.0...v22.2.0
v22.1.0
π Features
- pipeline (ebe4639)
- publish pipeline (ead06f1)
- enhance cache management with Age header handling and regex-based cache clearing (3a13250)
- add maxSize configuration and implement LRU eviction strategy for cache (150724e)
- add mutation strategy for cache clearing and enhance service logic (31a3b3d)
- enhance CI workflow with concurrency and improved job structure (eb5ef2f)
- ssr support (a179b0a)
- enhance caching logic to support expires header and improve immutability checks (4503d3b)
- enhance caching configuration to support ALL method and prevent shared store instances (f483264)
- enhance caching behavior and improve error handling in storage (437ea0e)
- prettier (ac91997)
- vitest (b78359d)
- enhance cache header checks and improve tag matching (e604b56)
- angular 22 (b0cdac2)
- eslint 10 (ef29fb9)
- bump version (9cfc369)
- max-age time support (399f846)
- implement OnDestroy lifecycle hook to clear the queue in NgHttpCachingService (9632ede)
- add gcLastRun property to NgHttpCachingService for improved garbage collection timing (d857a33)
- deploy (e93c16a)
- clearCacheOnMutation (c17c1db)
- add package.json for the ng-http-caching library. (c1a59a4)
- ng-simple-state (4266963)
- restartState on clear (a70102f)
- ng-simple-state storage adapter (228d90e)
- ng-simple-state adapter (685f531)
- angular 21 (ec3c87a)
- provide NgHttpCachingService in root injector (e868a90)
- refactor NgHttpCachingStrategy and NgHttpCachingHeaders to use object literals (dbeb25f)
- update version to 20.0.1 in package.json (d19db99)
- angular 20 (df6a3c3)
- simplify method check in NgHttpCachingService by using includes instead of indexOf (c3c1b00)
- remove unused NullMockHandler and simplify response handling in NgHttpCachingInterceptorService (4fea63b)
- remove unused import from ng-http-caching-provider (d515c37)
- simplify cache addition in NgHttpCachingInterceptorService and refactor provideNgHttpCaching function (3484e79)
- optimize header trimming in NgHttpCachingInterceptorService (18466c0)
- update CachedKey interface to use Array<Record<string, string>> for headers (eb0c63d)
- enhance cachedKeys signal equality check and fix tag usage (74c9c5f)
- angular 19 (10481d7)
- angular 19 (e5d08dc)
- add option for enable check of response headers (2098526)
- check response headers cache-control and expires allow cache (a8d447c)
- context (29a1040)
- context (8b7c613)
- context override (f0c1109)
- add context override (e89ee79)
π Bug Fixes
- HttpParams (1768d9b)
- update generic type from 'any' to 'unknown' in deserialization functions and handle storage quota exceeded error (d29d41a)
- improve error handling for cached entries serialization and parsing (b08dfc2)
- lint (a712487)
- improve request serialization and add error handling for cached entries (d105c67)
- ensure pending requests are removed from queue after response is cached (88937c6)
- ensure garbage collection lock is released after cache clearing (54d6746)
- update NgSimpleStateStoreConfig import to use type keyword (05f482e)
- update import paths to use package name instead of relative paths (1c1292e)
- update version to 21.0.4 in package.json (276aab9)
- update version to 21.0.3 in package.json (0d0e42c)
- update version to 21.0.2 in package.json (f018237)
- deprecation (deec284)
- deprecation (bd50376)
- update StackBlitz demo link to point to the correct file (b6d4856)
- correct indentation in HTTP headers for clarity (ec7d368)
- standalone (45e3c3c)
- clearTimeout (41136fe)
- typos (7df41d3)
- typos ([eb842e0](eb842e09680c3f11...