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 overpath,userandtree.flush('tree=.')clears the page, every page above it and everything below it,flush('path=blog/post')one page, andflush("user={$uuid}")one visitor's entries on every page..is the handle's own page andtree=is the whole store. With no query it clears the page's own rows, or every row of an app store.treeon an app store, or an unknown field, throws before anything is deleted.- The
cache.flush:afterscope argument is the query, oralland/{path}when none was given. Query::compare()is public.
Removed
Cache::flushTree()andCache::flushUser().
Upgrading
- Replace
->flushTree()with->flush('tree=.')and->flushUser($uuid)with->flush("user={$uuid}").