github getkirby/kirby 3.6.6

latest releases: 5.0.0-alpha.3, 4.4.1, 4.4.0...
2 years ago

🎉 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)

Don't miss a new kirby release

NewReleases is sending notifications on new releases.