Skip to content

Releases: tempestphp/tempest-framework

v3.11.6

06 Jun 06:46

Choose a tag to compare

πŸš€ Features

  • console: ask to install completions during setup (#2152) (b102c7f)

⚑ Performance

πŸ› Bug fixes

  • auth: reject missing oauth state (#2163) (3e4c725)
  • database: delete rolled back migration records (#2164) (bf8881e)
  • http: correct header presence check for falsy values (#2159) (48b7813)

v3.11.5

05 Jun 06:23

Choose a tag to compare

πŸ› Bug fixes

  • validator: improve validateObject and validateValueForProperty methods (#2130) (df60cc7)

v3.11.4

05 Jun 06:12

Choose a tag to compare

⚑ Performance

v3.11.3

03 Jun 03:54

Choose a tag to compare

πŸ› Bug fixes

  • router: prevent exception ui build from watching (#2142) (9ffaf1b)
  • router: skip sessions for stateless routes (#2143) (efe6c32)
  • support: shuffle random array values (#2145) (da49c20)

v3.11.2

28 May 11:58

Choose a tag to compare

πŸ› Bug fixes

  • core: generate discovery and signing key when installing the framework (#2139) (7c8e2db)

v3.11.1

27 May 10:05

Choose a tag to compare

πŸ› Bug fixes

  • router: preserve http status during development exceptions (#2133) (e0046b2)

v3.11.0

22 May 12:07

Choose a tag to compare

πŸš€ Features

  • view: add x-slot define attribute to declare slot ownership in nested components (#2104) (5e26593)

πŸ› Bug fixes

  • database: move TestingDatabaseInitializer to Tempest\Framework\Testing (#2129) (25495f2)

v3.10.0

23 Apr 11:48

Choose a tag to compare

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)

v3.9.0

01 Apr 06:16

Choose a tag to compare

🚨 Breaking changes

  • core: [breaking] migrate installers from interfaces to attributes (#2073) (f116247)

πŸš€ Features

  • database: add support for whereHas and whereDoesntHave (#2081) (5469e01)
  • database: add min, max, avg and sum to query builders (#2083) (c83783c)
  • discovery: support containers with autowiring (#2084) (4a85663)

⚑ Performance

  • discovery: support caching discovery in one build pass (#2085) (5e1731f)

πŸ› Bug fixes

  • core: properly check paths during config loading on Windows (#2091) (e71f2b3)
  • database: convert backtick identifiers to double quotes for postgres (#2093) (c0d6ebe)
  • database: check explicit relation attributes after singularizing property names (#2090) (ccd398f)
  • database: support multiple model properties joining the same table (#2080) (806c7c0)
  • database: target whereHas callback to the target table instead of the pivot table (#2095) (da2ee87)
  • discovery: discover packages using tempest/discovery (#2082) (148c698)
  • intl: handle snake case when singularizing/pluralizing last words (#2089) (ba92595)

v3.8.0

27 Mar 08:56

Choose a tag to compare

πŸš€ Features

  • mail: add email failure event and testing support (#2077) (c8c2009)

πŸ› Bug fixes