Skip to content

Version 4.2

Choose a tag to compare

@TwistedAndy TwistedAndy released this 22 Dec 10:38
· 42 commits to master since this release

This release includes major improvements and fully refactored core libraries to improve the performance and flexibility for large-scale projects.

Key Highlights

Refactored Metadata Library

  • Completely reengineered metadata API compatible with WordPress' native Metadata API
  • Stores complex ACF structures (Repeater, Group, Clone) in a single database row
  • Reduces database load with in-memory data preloading and cache partitioning
  • Improved metadata update checks to avoid unnecessary writes
  • Fully integrated with object caching for lightning-fast read/write operations

Optimized Post and Term Libraries

  • New high-performance APIs for working with posts and taxonomy terms
  • Bulk data retrieval eliminates N+1 query issues typically found in WordPress loops
  • Smart caching of term trees, post-term relationships, and threaded taxonomies
  • Instant access to post titles, term hierarchies, and post-term mappings

Advanced Asset Management

  • Automatic scanning and registration of assets with dependency resolution
  • Section-based style loading for cleaner, more optimized pages
  • Injects critical styles and fonts directly into the head for faster rendering
  • Includes automatic version control for assets to streamline development
  • Asset loader built to support ACF Flexible Content previews out of the box