This library adheres to Semantic Versioning and Keep a CHANGELOG.
- Support for Symfony 7 components.
group()
method toClient
interface for fetching all items in a group.Item
class representing a single item.
- The
Client::get()
method was renamedvalue()
.
Client
interface, extendingAlley\WP\Types\Feature
, for implementing a Big Pit client.Items
class for clients that want to keep their own in-memory cache of fetched items.Big_Speculative_Pit
client for preloading items used the last time a URL was requested.
Big_Pit
is now in theAlley\WP\Big_Pit
subnamespace, implements theClient
interface, and must be instantiated with thenew
keyword.- The
boot()
method on clients must be called manually. - The
$wpdb->big_pit
property will be unset if the table is not available.
Big_Pit::instance()
method.
- In-memory cache of items fetched during the request.
- When storing items with the PSR-16 adapter, the group name is now automatically prefixed to avoid unintended data loss when flushing the cache.
- Incorrect database table prefix in multisite installations.
- PSR-16 cache adapter.
- The minimum PHP version is now 8.1.
- Initial release