Releases: cakephp/cakephp
CakePHP 5.0.7 released
The CakePHP core team is happy to announce the immediate availability of CakePHP 5.0.7. This is a maintenance release for the 5.0 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 5.0.7. See the changelog for every commit.
- Add logging to error rendering failures. When error rendering fails, CakePHP will log error messages.
- Fix file handle leak in
StubConsoleInput
. - Reverted recent changes in connection aliasing. The test runner will automatically alias all live connections to
test_
prefixed ones. - Improved enum support in
FormHelper
. IntegrationTestTrait
no longer adds security tokens to GET requests with data.- Improved response assertion method output. Failure messages will now include the response body.
Contributors to 5.0.7
Thank you to all the contributors that helped make this release happen:
- ADmad
- KrzysiekNDS
- Mark Scherer
- Mark Story
- othercorey
- RoboSchmied
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
CakePHP 5.0.6 released
The CakePHP core team is happy to announce the immediate availability of CakePHP 5.0.6. This is a maintenance release for the 5.0 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 5.0.6. See the changelog for every commit.
- Fix validation of
ChronosTime
instances to be considered valid by thetime
validation method. - Allow
Collection::groupBy()
to work withEnum
values. - Improve display of console exceptions in production mode.
- Fix
Hash::insert()
with{s}
placeholders and attribute conditions on uneven datasets. - Fix potentially leaking file descriptor in
StubConsoleInput
. - Fixed formatting error of datetimes with microseconds.
- Fixed parsing of datetimes of microseconds.
Contributors to 5.0.6
Thank you to all the contributors that helped make this release happen:
- ADmad
- freefri
- Kevin Pfeifer
- Mark Scherer
- Mark Story
- othercorey
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
CakePHP 4.5.4 released
The CakePHP core team is happy to announce the immediate availability of CakePHP 4.5.4. This is a maintenance release for the 4.4 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 4.5.4. See the changelog for every commit.
- Fix
Hash::insert()
and paths containing{s}
and conditions, and data where all values after{s}
are not arrays.
Contributors to 4.5.4
Thank you to all the contributors that helped make this release happen:
- Mark Story
- othercorey
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
CakePHP 5.0.5 released
The CakePHP core team is happy to announce the immediate availability of CakePHP 5.0.5. This is a maintenance release for the 5.0 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 5.0.5. See the changelog for every commit.
- Fixed dirty state tracking for entities that use
TranslateBehavior
and useResultSet
methods to mutate records. - Improved marshalling nullable enum values from strings.
- Shifted the logic for getting view variables to serialize into
SerializedView::serializeKeys()
so it is easier to override. - Improved session gc time when server side idle timeouts are disabled. PHP defaults are now used, and you can configure this with application configuration as well.
CollectionTrait::combine()
is now compatible with enum keys.- Fixed an array to string warning in
EventFiredWith
constraints. - Improve API documentation.
- Reduce potential for
empty
cloaking throrugh refactoring. - Fixed a regression with converting
Date
objects passed intodatetime
columns via the ORM into query parameters. - Fixed type error in
IntegrationTestTrait
when adding tokens to requests.
Contributors to 5.0.4
Thank you to all the contributors that helped make this release happen:
- Adam Halfar
- ADmad
- dependabot[bot]
- fabian-mcfly
- Ishan Vyas
- Kevin Pfeifer
- Mark Scherer
- Mark Story
- othercorey
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
CakePHP 4.5.3
The CakePHP core team is happy to announce the immediate availability of CakePHP 4.5.3. This is a maintenance release for the 4.4 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 4.5.3. See the changelog for every commit.
- Configuration based path keys are normalized to integer keys now.
- Update requirements to be compatible with
paragonie/csp-builder:^3
. - Cookie assertion methods are now compatible with
RedirectResponse
. - Fixed dev error page rendering in PHP8.3
- CI matrix now includes PHP8.3
- Improve assertion failure message of
EventFiredWith
constraint.
Contributors to 4.5.3
Thank you to all the contributors that helped make this release happen:
- Fabian Friedel
- fabian-mcfly
- Ishan Vyas
- Mark Scherer
- Mark Story
- othercorey
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
CakePHP 5.0.4
The CakePHP core team is happy to announce the immediate availability of CakePHP 5.0.4. This is a maintenance release for the 5.0 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 5.0.4. See the changelog for every commit.
- Improve support for template paths being defined as an associative array.
- Improved output of
cache_clear
commands. - Updated Sqlite mapping for
binaryuuid
to useUUID_TEXT
. - The
Exception.beforeRender
event can now prevent default rendering from occurring by setting a result and stopping the event. - Fixed regression in SQLite schema reflection for older versions of SQLite.
- Fixed off by one errors in code location for
dd()
. - Updated dependency on paragonie/csp-builder to accept 3.0
- The cookie assertions in
IntegrationTestTrait
now work withRedirectResponse
values. - Fixed dev error page rendering in PHP8.3
- Improved display of enum values in FormHelper.
Contributors to 5.0.4
Thank you to all the contributors that helped make this release happen:
- ADmad
- Chris Nizzardini
- fabian-mcfly
- Jens Mischer
- Jorge González
- Kevin Pfeifer
- Marc de Lima Lucio
- Marc Würth
- Mark Scherer
- Mark Story
- othercorey
- Robert Pustułka
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
CakePHP 4.5.2 released
The CakePHP core team is happy to announce the immediate availability of CakePHP 4.5.2. This is a maintenance release for the 4.4 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 4.5.2. See the changelog for every commit.
- Fix regression in plugin translation file loading order.
- Marshalling Date values no longer sets a timezone.
- Fix inconsistency between
Error.beforeRender
andException.beforeRender
. You can now stop this event to prevent output being rendered, or set your own result to bypass the default renderer just like error handling. - Added more deprecation annotations for easier upgrading to 5.x.
- Fix off by one errors in
dd()
.
Contributors to 4.5.2
Thank you to all the contributors that helped make this release happen:
- ADmad
- Jens Mischer
- Kevin Pfeifer
- Marc de Lima Lucio
- Marc Würth
- Mark Scherer
- Mark Story
- othercorey
- Robert Pustułka
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
CakePHP 5.0.3 released
The CakePHP core team is happy to announce the immediate availability of CakePHP 5.0.3. This is a maintenance release for the 5.0 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 5.0.3. See the changelog for every commit.
- Update path to
plugin_class_error.php
. - Expanded enum support to include providing a label. Implementing
Cake\Database\Type\EnumLabelInterface
in your enum class will allow you to provide a user facing label. Labels are used byFormHelper
when generating controls. - Improved validation support for enums.
- Widened type of
$format
inTimeHelper::format()
. - Support for PHP 8.3
- Fixed significant performance regression in intl date and datetime formatting. Serializing dates and datetimes now cache intl formatters restoring performance to 4.x levels.
- Improved support for
binaryuuid
type across database platforms. - Improved readability of missing route pages by collapsing the route list by default.
- Improve support for indexes on generated columns in SQLite.
- Improved internal tooling for maintaining consistency in split packages.
Contributors to 5.0.3
Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Kevin Pfeifer
- kolorafa
- Marcelo Rocha
- Mark Scherer
- Mark Story
- Mauro Brandoni
- ndm2
- Oliver Nowak
- othercorey
- Umer Salman
- wowDAS Markus Ramšak
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
CakePHP 4.5.1 released
The CakePHP core team is happy to announce the immediate availability of CakePHP 4.5.1. This is a maintenance release for the 4.4 branch that fixes several community reported issues and a minor security related fix.
Bugfixes
You can expect the following changes in 4.5.1. See the changelog for every commit.
ControllerFactory
no longer raises errors onunion
typed parameters.Collection::combine()
raises an error when keys arenull
.- Namespaced core functions are now wrapped in
function_exists
calls resolving errors if the file containing these functions are imported more than once. - Added schema mapping type to sqlite for
UUID_TEXT
. - Reverted deprecated annotation on
LocatorAwareTrait::$defaultTable
property.
Contributors to 4.5.1
Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Jorge González
- Kevin Pfeifer
- Mark Scherer
- Mark Story
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
CakePHP 5.0.2
The CakePHP core team is happy to announce the immediate availability of CakePHP 5.0.2. This is a maintenance release for the 5.0 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 5.0.2. See the changelog for every commit.
- Fixed links between API docs and book.
TranslateBehavior
now allows using_translations.{locale}.field_name
style naming for default locale.LoggedQuery::getContext()
now includes the query that was emitted.- Fixed recursion errors when entities have cyclic references and
getErrors()
orhasErrors()
is called. ControllerFactory
no longer raises errors when it encounters a type it cannot cast into (like unions). Instead the framework relies on PHP to validate the parameter types.Collection::combine()
now raises an error should a path result in a null value for the key.- Relaxed constraint on
psr/simple-cache
,psr/container
andpsr/http-message
. - Invalid enum values are no longer cast to null when an invalid string value is marshalled into the PHP value.
- Improved compatibility between enum values and
FormHelper
. - Improved compatibility between
DateTimeWidget
andChronosTime
. - Improved SQLite mapping of
uuid
abstract type. It now maps toUUID_TEXT
. TimeType::getClassName()
was added. This method was missed in 5.0.0
Contributors to 5.0.2
Thank you to all the contributors that helped make this release happen:
- ADmad
- Jèfferson Gonçalves
- Jorge González
- Kevin Pfeifer
- Lars Ebert
- Mark Scherer
- Mark Story
- Mark Watney
- Michael Hoffmann
- othercorey
- salehhashemi1992
- wowDAS Markus Ramšak
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.