The CakePHP core team is proud to announce the first release candidate of CakePHP 4.3.0. The 4.3.0 release will introduce several new features and a handful of deprecations.
New Features
The migration guide has a complete list of what's new in 4.3.0. We recommend you give that page a read when upgrading as it outlines the deprecations present in 4.3.
Changes from RC1
Since the release of 4.3.0-RC1 the following changes have been made:
View::addHelpers()
was added and the$merge
flag ofsetHelpers()
was deprecated.Association::setName()
was deprecated.- A type error in
CsrfProtectionMiddleware
was fixed. This error could be triggered if cookie data was invalid. MailContains
only escapes patterns once noce.- Fixture cleanup performance was improved for SQLServer.
BaseLog::resolve()
was renamed toBaseLog::interpolate()
.TestCase::loadFixtures()
is now deprecated.- The automatic nonce policy features of
CspMiddleware
now require opt-in configuration to enable. This improves backwards compatibility for applications with existing CSP policies. - Improved API documentation.
- Improved extensibility of fixture strategies by always calling setup/teardown methods.
How you Can Help
You can help by trying out the RC in your application. Please open issues for any new test failures or regressions the new version creates in your application.
Contributors to 4.3.0-RC2
Thank you to all the contributors that have helped with 4.3.0:
- ADmad
- Corey Taylor
- Juan Pablo Ramirez
- Julian Pollmann
- Kevin Pfeifer
- Mark Scherer
- Mark Story
- othercorey
As always, a huge thanks to all the community members that helped make this release happen by reporting issues and sending pull requests.
Assets
2
The CakePHP core team is proud to announce the first release candidate of CakePHP 4.3.0. The 4.3.0 release will introduce several new features and a handful of deprecations.
New Features
The migration guide has a complete list of what's new in 4.3.0. We recommend you give that page a read when upgrading as it outlines the deprecations present in 4.3.
New Feature Highlights
Controller::middleware()
was added which allows you to define middleware for a single controller only.Http\Client::addMockResponse()
was added making integration tests easier to write without using complex to define mocks.- A JSON based logger was added.
FormHelper
generates aria attributes improving out-of-the box accessibility.- A new fixture subsystem leverages your migrations or SQL dumps to generate test database schema was added.
How you Can Help
You can help by trying out the RC in your application. Please open issues for any new test failures or regressions the new version creates in your application.
Contributors to 4.3.0-RC1
Thank you to all the contributors that have helped with 4.3.0:
- ADmad
- Breton Erwane
- Chris Nizzardini
- Erwane Breton
- J.Brabec
- Jan Brabec
- Juan Pablo Ramirez
- Mark Scherer
- Mark Story
- Rob Rikken
- andrii-pukhalevych
- captain-redbeard
- chris cnizzardini
- fabsn182
- jpramirez
- ndm2
- othercorey
As always, a huge thanks to all the community members that helped make this release happen by reporting issues and sending pull requests.
Assets
2
The CakePHP core team is happy to announce the immediate availability of CakePHP 4.2.9. This is a maintenance release for the 4.2 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 4.2.9. See the changelog for every commit.
- Fixed radio inputs trimming off leading
-
which could result in duplicate id attributes. - Improved API documentation.
- Fixed newline usage in
MailTransport
. In PHP8mail()
require headers to be separated withCRLF
instead ofPHP_EOL
. - Fixture truncation in SQLServer now only regenerates sequences that were used.
Contributors to 4.2.9
Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Lars Willighagen
- Mark Story
- othercorey
- saeideng
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
Assets
3
The CakePHP core team is happy to announce the immediate availability of CakePHP 4.2.8. This is a maintenance release for the 4.2 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 4.2.8. See the changelog for every commit.
- Paginator scopes now generate URLs correctly when passed parameters are involved.
- The searched path list in a
MissingTemplateException
is now correct for elements in plugins. - Improved documentation for
Query::applyOptions()
.
Contributors to 4.2.8
Thank you to all the contributors that helped make this release happen:
- ADmad
- Joel Montesinos
- Mark Story
- ndm2
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
Assets
3
The CakePHP core team is happy to announce the availability of CakePHP 3.10.0. This is release is a backwards compatible upgrade for 3.x and adds several new features and backports from the 4.x branch. These backports aim to ease the upgrade path from 3.x to 4.x.
Extending the 3.x Timeline
Previously 3.9 was the last planned feature release for 3.x and bug fix releases were planned to stop after June 15 2021. Because of continued interest and usage of 3.x we've decided to extend the 3.x maintenance timeline and release 3.10. The new timelines are:
- 3.10 will continue to receive bug fixes until December 15 2021.
- 3.10 will continue to receive security fixes until December 15 of 2022.
Upgrading to 3.10.0
You can use composer to upgrade to CakePHP 3.10.0::
php composer.phar require --update-with-dependencies "cakephp/cakephp:^3.10.0"
What's new in 3.10.0?
The shortlist of features included in 3.10 is as follows:
- Improved API documentation.
- Backported improvements to
Validation::time()
from 4.x. EmailTrait::assertMailSentFrom()
now accepts an array with an address & alias.
Contributors to 3.10.0
Thank you to all the contributors that helped make this release happen:
- bancer
- David Yell
- gregs
- Jorge
- Mark Story
- ndm2
- othercorey
- tanden
- Tobse
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
Assets
3
The CakePHP core team is happy to announce the immediate availability of CakePHP 4.2.7. This is a maintenance release for the 4.2 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 4.2.7. See the changelog for every commit.
- Improved error messages for form protection failures.
- Fixed tuple comparisons dropping their parameter binding types which improves subquery generation and marshalling
_ids
with composite primary keys. - Improved API documentation.
I18n\Number
no longer emits errors in PHP8 when invalid data is formatted.- Fixed OAuth1 signature comparison failures when consumer keys contain base64 encoded data.
- Reduced output from
debug()
when objects implement__debugInfo()
. Now only the data from__debugInfo()
is exported instead of debug data and all properties which often led to duplicate output. - Fixed failing console output assertion when output contained a
%s
placeholder.
Contributors to 4.2.7
Thank you to all the contributors that helped make this release happen:
- ADmad
- Hache_raw
- Mark Scherer
- Mark Story
- Michael Hoffmann
- Rytis Slatkevičius
- fugaco
- ndm2
- othercorey
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
Assets
3
The CakePHP core team is happy to announce the immediate availability of CakePHP 3.9.10. This is a maintenance release for the 3.9 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 3.9.10. See the changelog for every commit.
- Fixed 'text file busy' errors that occur with file caching and virtual
machines. - Fixed type information being lost when translating tuple comparisons. The surrogate queries did not inherit type map information.
- Fixed types not being used when marshalling
_ids
and composite keys. - Added missing encoding to OAuth1 client when the consumer_key is a base64 encoded string.
Contributors to 3.9.10
Thank you to all the contributors that helped make this release happen:
- othercorey
- Mark Story
- ndm2
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
Assets
3
The CakePHP core team is happy to announce the immediate availability of CakePHP 4.2.6. This is a maintenance release for the 4.2 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 4.2.6. See the changelog for every commit.
- Updated API documentation for FrozenDate.
- Improved
Security.salt
warning message. - Improved exception message in
Collection::groupBy()
when no key is used. cake plugin assets
can now handle symlinks on Windows.- Fixed variadic string argument resolution in
ControllerFactory
. - Fixed 'text file busy' errors that can occur when deleting files on virtual machines.
- Fixed
assertMailSentToAt(0)
not working correctly.
Contributors to 4.2.6
Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Karma Dice
- Mark Scherer
- Mark Story
- gregs
- ndm2
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
Assets
3
The CakePHP core team is happy to announce the immediate availability of CakePHP 3.9.9. This is a maintenance release for the 3.9 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 3.9.9. See the changelog for every commit.
- The
assertMailSentFrom()
method can now compare array emails. - Improved API documentation.
- Fix
BufferedIterator
not yielding full results when partially iterated. - Fix
RouteBuilder::plugin()
not forwarding thenamePrefix
option.
Contributors to 3.9.9
Thank you to all the contributors that helped make this release happen:
- Corey Taylor
- Jorge
- Marc Würth
- Mark Story
- TerryKern
- Tobse
- ndm2
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
Assets
2
The CakePHP core team is happy to announce the immediate availability of CakePHP 4.2.5. This is a maintenance release for the 4.2 branch that fixes several community reported issues.
Bugfixes
You can expect the following changes in 4.2.5. See the changelog for every commit.
- Improved time format in response headers. Previously leading 0s were missing.
- Improved API documentation.
- Fixed
RouteBuilder::plugin()
not forwarding the_namePrefix
option. - Improved accuracy of database query log timers.
- Fixed
BufferedIterator
not returning all results after being partially iterated and then iterated a second time. - The standalone database package no longer emits a type error when
App.namespace
is undefined and the connection does not exist.
Contributors to 4.2.5
Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Mark Scherer
- Mark Story
- othercorey
- Saleh Souzanchi
- Tobse
As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.