github tempestphp/tempest-framework v3.10.0

7 hours ago

Upgrade guide

First, make sure to install Rector in your project if you haven't already:

composer require rector/rector --dev
vendor/bin/rector

Next, update Tempest; it's important to add the --no-scripts flag to prevent any errors from being thrown during the update.

composer require tempest/framework:^3.0 --no-scripts

Then configure Rector to upgrade to Tempest 3.0:

// rector.php

use \Tempest\Upgrade\Set\TempestSetList;

return RectorConfig::configure()
    // …
    ->withSets([TempestSetList::TEMPEST_310]);

Finally, run Rector:

vendor/bin/rector

🚨 Breaking changes

  • core: [breaking] move #[Priority] to tempest/support (#2116) (657e1da)
  • database: [breaking] allow setting char size (#2087) (e19437e)
  • view: [breaking] fix inconsistent fallthrough attributes and introduce apply attribute for full control (#2092) (92394ea)

🚀 Features

  • auth: add scopeSeparator parameter to GenericOAuthConfig (#2119) (ab66cb2)
  • database: add current to date (#2100) (f84cf41)
  • database: autodetect char size by default value (#2099) (6c8b9fe)
  • database: add support for whereHas inside where groups (#2121) (851048a)
  • database: add option to get underlying query for property relation (#2102) (6398523)
  • discovery: improve autoloading of discovery paths (#2114) (9d11469)
  • support: withKeys and withoutKeys methods for manipulatesarray (#2094) (61c0c3f)

🐛 Bug fixes

  • core: report deprecations without throwing (#2126) (a75b008)
  • database: fix inserting multiple properties pointing to the same table (#2101) (ba245c7)
  • database: make orderBy support all dialects (#2120) (3340f95)
  • discovery: support PSR-4 paths defined as arrays in composer.json (#2112) (f527f4c)
  • mapper: casters return null for empty input on nullable properties (#2107) (dec69df)
  • view: data attribute handling for x-component (#2109) (e80f5a7)

Don't miss a new tempest-framework release

NewReleases is sending notifications on new releases.