Skip to content

Upgrade Guide & Testing ​

Atomic Cache adheres strictly to Semantic Versioning (SemVer).


Version Upgrade Reference ​

ReleaseChangeImpacted WorkloadsRecommended Action
v1.5.0 (2026-10-28)Transaction Guard, Scoped Query Macro, $cacheIgnoreColumns, Strict Mode, and Universal OCCAll workloads.OCC now operates universally via atomic UUID version tokens across all drivers. Added Transaction Guard (bypass_during_transactions), $cacheIgnoreColumns for counter updates, Strict Mode validation, scope: query macro parameter, and AtomicCache::invalidating() wrapper.
v1.4.3BackedEnum Foreign Keys & Magic __isset BypassModels using PHP 8.1+ Enums as foreign keys.Foreign keys backed by enums are cleanly unwrapped before tag generation. Fixed reflection lookups to avoid triggering Eloquent magic __isset.
v1.4.2Transaction-Safe Deferred Parent InvalidationModels using $cacheParents updated inside DB::transaction(...).Tags are resolved at event dispatch time before syncOriginal(), capturing old & new parent keys accurately after commit.
v1.4.0Smart Parent Invalidation & Architecture LinterApplications declaring parent relationships ($cacheParents).Run php artisan atomic-cache:check to audit Eloquent relationship caching health.
v1.3.8Optimistic Concurrency Control (OCC) & Query DoS LimitsWrite-heavy models and long filter query strings.Cache computation aborted if tags changed mid-flight. Requests exceeding 20 query parameters bypass cache to prevent DoS.
v1.3.7Chunk Generation IDs & Tag-Scoped FlushTransparent chunking users.Chunk keys utilize {key}:__chunk__:{generation}:{i} to eliminate torn reads. Old chunk formats remain backwards-compatible.
v1.3.4Opt-in Deduplication & Event HooksAutoClearsCache now listens to created, updated, deleted, restored.increment() and decrement() trigger invalidation. Deduplication is opt-in via ATOMIC_CACHE_DEDUPLICATION_ENABLED=true.

Automated Testing Suite ​

Run the full automated test suite using PHPUnit:

bash
composer test
# or
vendor/bin/phpunit

Credits & License ​

  • Developer: Kazi Omar Faruk
  • Architecture: Enterprise distributed caching and transaction-safe invalidation engine for modern Laravel applications.
  • License: Licensed under the MIT License.