Skip to content

v1.6.29

Choose a tag to compare

@github-actions github-actions released this 19 Dec 13:36
· 38 commits to main since this release
b637c41

What's Changed

  • Performance Optimizations for queryWithRequest Flow by @roncodes in #179
  • Feature/performance optimizations by @roncodes in #180
  • v1.6.29 ~ fix company resolution within sms verification code by @roncodes in #178

New Features

  • Improved API performance with two-layer caching system (Redis + ETag validation) for user and organization data
  • Reduced bandwidth usage with automatic HTTP 304 Not Modified responses via new ValidateETag middleware
  • Faster page loads with intelligent cache invalidation that updates immediately when data changes
  • New UserCacheService class for centralized cache management across the application
  • Image resizing support for dynamic image dimensions via URL parameters
  • Added ApiModelCache class - Provides intelligent Redis-based caching for API query results with automatic invalidation
  • Added HasApiModelCache trait - Enables models to cache query results with a single method call

Performance Improvements

  • Optimized form data syncing to eliminate N+1 query problems, reducing database queries from N to 2 for relationship syncing
  • Implemented cache stampede prevention to handle high concurrent load efficiently
  • Added cache versioning system for automatic invalidation when data changes

Developer Experience

  • Added X-Cache-Status header to API responses for easy cache debugging (HIT/MISS visibility)
  • Automatic multi-tenant cache key generation for company-scoped data isolation
  • Graceful fallback to direct queries when cache is unavailable

Full Changelog: v1.6.28...v1.6.29