Skip to content

v22.1.0

Choose a tag to compare

@github-actions github-actions released this 22 Jul 06:16
· 39 commits to main since this release

πŸš€ 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)
  • 12 (30c6b92)

πŸ“ Documentation

🧹 Chores

πŸ“Œ Other changes

Full Changelog: https://github.com/nigrosimone/ng-http-caching/commits/v22.1.0