Skip to content

3.6.6

Compare
Choose a tag to compare
@bastianallgeier bastianallgeier released this 05 May 11:52
· 5795 commits to main since this release
005fc78

πŸŽ‰ 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, the params prop can now be set to false 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)