github getkirby/kirby 3.8.2

latest releases: 5.0.0-alpha.3, 4.4.1, 4.4.0...
22 months ago

✨ Enhancements

  • Kirby query improvements #4626
    • New default entries/functions for queries: kirbycollection("your-collection")page("blog")file("blog/test.pdf")siteuser("homer")t("your.i18n.key")
    • Support for closures as query arguments: site.myLazyFunction(() => site.children) - no support for parameters or others, only as lazy-calling measure
  • Support for YouTube Shorts video URLs #4791
  • UUIDs are now supported as API fields for pages, files and users #4810

🐛 Bug Fixes

  • User fields work correctly when user(s) not found #4797
  • Fixed duplicated UUIDs for pages and files when copying/duplicating pages #4831

☠️ Deprecated

  • New Kirby\Query namespace with new Kirby\Query\Query class (to be used going forward for queries). Old Kirby\Toolkit\Query class has been deprecated and will be removed in Kirby 3.10.0. Use Kirby\Query\Query instead, e.g.Query::factory($query)->resolve($data). #4626
    • new Query($query, $data): Passing $data to constructor will be deprecated. Use (new Query($query))->resolve($data) instead.
    • Query::result() will be deprecated. Use $query->resolve($data) instead.

♻️ Refactoring

  • Upgrade npm dependencies #4813
  • Import h() from Vue #4816
  • Improve App::language() syntax #4808
  • Improve ContentTranslation::content() syntax #4806
  • Use coalesce equal in more places #4809
  • PHP 8: clean up Email package #4525

Don't miss a new kirby release

NewReleases is sending notifications on new releases.