3.6.6
π Features
- New
A::random()
and$collection->random()
methods to get one or multiple random items from arrays and collections, optionally shuffled. Unless shuffled, the overall order of the returned items is kept. #4270 - Added support for getting multiple properties from
Toolkit\Obj
objects and derived objects, like so: #4268
$thing = new Obj(['one' => 'π', 'two' => 'Kirby']);
$properties = $thing->get(['one', 'three'], ['three' => 'fallback']);
// results in ['one' => 'π', 'three' => 'fallback']
β¨ Enhancements
- When creating new instances of the
Uri
class, theparams
prop can now be set tofalse
to treat colons/semicolons in the path as literals and not as param separators. This is useful for parsing external non-Kirby URIs. #2948 - Support returning blueprint file path in callback for programmable blueprints #4281
π Fixes
- Panel redirects to non-origin URLs caused a network exception. They now trigger a full redirect instead of sending the Fiber request. #4280
- User blueprints can now use a callback (programmable blueprints) #4281
π Stats
- 22 commits
- 7 closed issues and PRs
π¨βπ» Contributors
(in alphabetical order)