v0.43.0

3 November 2026

Cache::flush() now takes a query, which replaces flushTree() and flushUser().

Changed

  • Cache::flush(string $query = '') takes the find() query over path, user and tree. flush('tree=.') clears the page, every page above it and everything below it, flush('path=blog/post') one page, and flush("user={$uuid}") one visitor's entries on every page. . is the handle's own page and tree= is the whole store. With no query it clears the page's own rows, or every row of an app store.
  • tree on an app store, or an unknown field, throws before anything is deleted.
  • The cache.flush:after scope argument is the query, or all and /{path} when none was given.
  • Query::compare() is public.

Removed

  • Cache::flushTree() and Cache::flushUser().

Upgrading

  • Replace ->flushTree() with ->flush('tree=.') and ->flushUser($uuid) with ->flush("user={$uuid}").

Bug fix releases