Changelog History
Page 5
-
v4.0.0-RC2 Changes
December 02, 2019π The CakePHP core team is happy to announce the immediate availability of CakePHP 4.0.0-RC2. This is the second and hopefully final release candidate for 4.0.0, and contains all the major features that are planned for 4.0.0. If no major issues are reported a stable release will be packaged in two weeks.
β‘οΈ Updating to the RC
β¬οΈ You can use composer to upgrade to the beta version of CakePHP 4.0.0:
php composer.phar require --update-with-dependencies "cakephp/cakephp:4.0.0-RC2"π We would greatly appreciate it if you temporarily upgraded your application, and ran your tests. By opening issues for any regressions in the release candidate, we can help ensure a smoother release of 4.0.0 before the stable release.
What's new in 4.0.0?
β¬οΈ The migration guide has a complete list of what's new in 4.0.0, and what has been deprecated. We recommend you give that page a read when upgrading.
π Changes since 4.0.0-RC1
Validation::compareFields()now works with null values.- Email attachments now URL encode filenames with non-ascii characters.
- β Added
assertRedirectEquals()to allow assertions without the base path being added. - β Removed
Http\Server::setRunner(), as the runner can be provided as a constructor argument now. - π Improved error messages from
QueryExpressionswhen null is used with an incompatible operator. - β Added deprecation warnings for
Validator::allowEmpty()andValidator::notEmpty(). - π The
safeoption was removed fromHtmlHelper::script()andscriptBlock(). This option is not needed in an HTML5 context. - π
HtmlHelper::docType()is removed. - π¦ The
consolepackage was more thoroughly tested in isolation and several problems were fixed. FormProtectionComponentnow works with applications in sub-directories.- π
Validator::errors()was deprecated and is replaced byvalidate().
Contributors to 4.0.0-RC2
π Thank you to all the contributors that helped make this release happen:
- ADmad
- Chetan Varshney
- Corey Taylor
- Edgaras JanuΕ‘auskas
- Mark Scherer
- Mark Story
- Martin Matthaei
- gregs
- othercorey
- saeideng
π As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
-
v4.0.0-RC1 Changes
November 16, 2019π The CakePHP core team is happy to announce the immediate availability of CakePHP 4.0.0-RC1. This is the first release candidate for 4.0.0, and contains all the major features that are planned for 4.0.0. If no major issues are reported a stable release will be packaged in a few weeks.
β‘οΈ Updating to the RC
β¬οΈ You can use composer to upgrade to the beta version of CakePHP 4.0.0:
php composer.phar require --update-with-dependencies "cakephp/cakephp:4.0.0-RC1"π We would greatly appreciate it if you temporarily upgraded your application, and ran your tests. By opening issues for any regressions in the release candidate, we can help ensure a smoother release of 4.0.0 before the stable release.
What's new in 4.0.0?
β¬οΈ The migration guide has a complete list of what's new in 4.0.0, and what has been deprecated. We recommend you give that page a read when upgrading.
π Changes since 4.0.0-beta4
- A new compact route
_pathformat has been added toRouter::url(). This new format accepts the sameController::actionformat that route definition can use. - π¦ The
httpandconsolelibraries have had standalone packages created. - π» Development error pages now preserve inline code highlighting and newlines in exception messages.
- π
SecurityComponentis now deprecated, and replaced by theFormProtectionComponent. - π¦ The
ConsoleErrorHandlerwas moved to theErrorpackage. Validation::time()now accepts microseconds.- π
SameSitecookie support was added for PHP>7.3.0 - π New database types for
char,datetimefractionalandtimestampfractionalwere added. The new datetime types allow representation of time values including microseconds. InstanceConfigTrait::getConfigOrFail()was added.- π New
isLinkedToandisNotLinkedTorules were added toORM\RulesChecker. - 0οΈβ£
DateandFrozenDateobjects now use the default timezone instead of UTC. This fixes problems where 'today' would not always be today depending on your distance from UTC. - π¨ Controller action dispatching was refactored to make adding a DI container in the future easier.
- π Routing prefixes are now PascalCased instead of under_scored. This removes some inflection and normalizes the representation of prefixes.
Contributors to 4.0.0-RC1
π We'd like to welcome othercorey to the core team. They have been contributed a number of documentation improvements and driven multiple improvements around how CakePHP handles microseconds across both CakePHP and Chronos.
π Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Edgaras JanuΕ‘auskas
- Jorge GonzΓ‘lez
- Karma Dice
- Mark Scherer
- Mark Story
- dan
- itosho
- ndm2
- othercorey
- saeideng
π As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
- A new compact route
-
v4.0.0-beta4 Changes
October 10, 2019π The CakePHP core team is proud to announce the fourth beta release of CakePHP 4.0.0. Since the previous beta we've completed several tasks:
- The
requireSslfeatures ofSecurityComponentare available as middleware in theHttpsEnforcerMiddleware. - β‘οΈ Migrations has been updated to use Commands instead of Shells.
- 4.x has adopted the PSR-12 formatting standard.
- π¦ A new
Assetclass has been added to the routing package, making it easier to generate static asset URLs across your application. - π The internal request stack in
Routerhas been removed. WithrequestAction()removed this feature provided little value. - π Email attachments now support
UploadedFileInterfaceobjects.
π New Features
β¬οΈ The migration guide has a complete list of what's new in 4.0.0. We recommend you give that page a read when upgrading as it notes the various breaking changes present in 4.0.
How you Can Help
You can help deliver 4.0 by contributing in one of many ways:
π 1. Check the documentation for mistakes, outdated, unclear or broken examples. We've been trying to update everything but may have not caught everything. β 2. Try it out! Give CakePHP 4.0 a test drive in a non-production application. We'd love to hear how converting a small application went and what was harder than it should have been.
- File issues for regressions in existing features, or suggest new features. While we're not likely to greatly expand the scope of 4.0, we would like input on what should be a part of 4.1 and 4.2.
- Let us know about unclear error messages or silent failures in CakePHP.
Contributors to 4.0.0-beta4
π Thank you to all the contributors that have helped since the beta2 release:
- ADmad
- Corey Taylor
- Edgaras JanuΕ‘auskas
- Erwane Breton
- Iftekhar Ahmed Eather
- Jason Horvath
- Littley Lv
- Mark Scherer
- Mark Story
- Rachman Chavik
- Val Bancer
- andrii-pukhalevych
- bancer
- detinkin
- kawaguchi masaki
- mirko-pagliai
- saeideng
π As always, a huge thanks to all the community members that helped make this release happen by reporting issues and sending pull requests.
- The
-
v4.0.0-beta3 Changes
September 07, 2019π The CakePHP core team is proud to announce the third beta release of CakePHP 4.0.0. Since the previous beta we've completed a few milestones:
- π¦ Another pass with psalm and improved type handling throughout the database and ORM packages. Type mappers handle empty values and nulls more consistently.
- π¨ We've also done refactoring in the
π¦ Mailer package which has resulted inCake\Mailer\Emailbecoming a backwards compatible proxy for other classes. - 0οΈβ£ Uploaded files are now accessed using the PSR7 interface by default. A compatibility flag has also been added to preserve the 3.x behavior.
- π§ Work on the cakephp4 rector configuration has been started.
π New Features
β¬οΈ The migration guide has a complete list of what's new in 4.0.0. We recommend you give that page a read when upgrading as it notes the various breaking changes present in 4.0.
How you Can Help
You can help deliver 4.0 by contributing in one of many ways:
π 1. Check the documentation for mistakes, outdated, unclear or broken examples. We've been trying to update everything but may have not caught everything. β 2. Try it out! Give CakePHP 4.0 a test drive in a non-production application. We'd love to hear how converting a small application went and what was harder than it should have been.
- File issues for regressions in existing features, or suggest new features. While we're not likely to greatly expand the scope of 4.0, we would like input on what should be a part of 4.1 and 4.2.
- Let us know about unclear error messages or silent failures in CakePHP.
Contributors to 4.0.0-beta3
π Thank you to all the contributors that have helped since the beta2 release:
- ADmad
- Alex
- Edgaras JanuΕ‘auskas
- Ethan Pooley
- Jorge GonzΓ‘lez
- Mark Scherer
- Mark Story
- Val Bancer
- ndm2
π As always, a huge thanks to all the community members that helped make this release happen by reporting issues and sending pull requests.
-
v4.0.0-beta2 Changes
August 16, 2019π CakePHP 4.0.0-beta2 Released
π The CakePHP core team is proud to announce the second beta release of CakePHP 4.0.0. Since the previous beta we've finished upgrading migrations to 4.x, cleaned up how booleans and nulls are handled by the database layer, improved generated javascript snippets, made the development error pages better, finished migrating all core shells to commands and merged all bugfixes for 3.x in.
π The majority of breaking changes for 4.0 are complete. For the next beta release we'll be focusing on improving stability, improving error messages and plugins and continuing to add quality of life improvements.
π New Features
β¬οΈ The migration guide has a complete list of what's new in 4.0.0. We recommend you give that page a read when upgrading as it notes the various breaking changes present in 4.0.
How you Can Help
You can help deliver 4.0 by contributing in one of many ways:
π 1. Check the documentation for mistakes, outdated, unclear or broken examples. We've been trying to update everything but may have not caught everything. β 2. Try it out! Give CakePHP 4.0 a test drive in a non-production application. We'd love to hear how converting a small application went and what was harder than it should have been.
- File issues for regressions in existing features, or suggest new features. While we're not likely to greatly expand the scope of 4.0, we would like input on what should be a part of 4.1 and 4.2.
- Let us know about unclear error messages or silent failures in CakePHP.
Contributors to 4.0.0-beta2
π Thank you to all the contributors that have helped since the beta1 release:
- ADmad
- Albert Cansado SolaΜ
- Anne van de Venis
- Bogdan SOOS
- Brandon Kelly
- Edgaras JanuΕ‘auskas
- Hideki Kinjyo
- Mark Scherer
- Mark Story
- Mauri Kujala
- Robert PustuΕka
- Walther Lalk
- andrii-pukhalevych
- bancer
- gregs
- mirko-pagliai
- ndm2
- saeideng
π As always, a huge thanks to all the community members that helped make this release happen by reporting issues and sending pull requests.
-
v4.0.0-beta1 Changes
June 30, 2019π The CakePHP core team is proud to announce the first beta release of CakePHP 4.0.0. Since the previous alpha we've been hard at work converting the various
Shellclasses intoCommands, and adapting to the most recent changes in psalm. If your application or plugins extend shell classes in CakePHP you will need to update your code.π The majority of breaking changes for 4.0 are complete. For the next beta release we'll be focusing on improving stability, updating the remaining CakePHP managed plugins and continuing to improve error messages.
π New Features
β¬οΈ The migration guide has a complete list of what's new in 4.0.0. We recommend you give that page a read when upgrading as it notes the various breaking changes present in 4.0.
How you Can Help
You can help deliver 4.0 by contributing in one of many ways:
π 1. Check the documentation for mistakes, outdated, unclear or broken examples. We've been trying to update everything but may have not caught everything. β 2. Try it out! Give CakePHP 4.0 a test drive in a non-production application. We'd love to hear how converting a small application went and what was harder than it should have been.
- File issues for regressions in existing features, or suggest new features. While we're not likely to greatly expand the scope of 4.0, we would like input on what should be a part of 4.1 and 4.2.
- Let us know about unclear error messages or silent failures in CakePHP.
Contributors to 4.0.0-beta1
π Thank you to all the contributors that have helped since the alpha1 release:
π As always, a huge thanks to all the community members that helped make this release happen by reporting issues and sending pull requests.
-
v4.0.0-alpha2 Changes
June 01, 2019π The CakePHP core team is proud to announce the second alpha release of CakePHP 4.0.0. Since the previous alpha we've been hard at work finishing off the improvements to typehinting and decreasing the number of skipped warnings from both psalm and phpstan. This may result in some breaking changes in your application or plugins, but in the long term we feel these changes will make CakePHP better.
π The application skeleton and bake have been refreshed with a new coat of paint. We've opted to not continue using foundation for the basic CSS, and adopted milligram instead. The smaller footprint of milligram makes it easier for you to remove or extend if you'd prefer.
π New Features
β¬οΈ The migration guide has a complete list of what's new in 4.0.0. We recommend you give that page a read when upgrading as it notes the various breaking changes present in 4.0.
How you Can Help
You can help deliver 4.0 by contributing in one of many ways:
π 1. Check the documentation for mistakes, outdated, unclear or broken examples. We've been trying to update everything but may have not caught everything. β 2. Try it out! Give CakePHP 4.0 a test drive in a non-production application. We'd love to hear how converting a small application went and what was harder than it should have been.
- File issues for regressions in existing features, or suggest new features. While we're not likely to greatly expand the scope of 4.0, we would like input on what should be a part of 4.1 and 4.2.
- Let us know about unclear error messages or silent failures in CakePHP.
Contributors to 4.0.0-alpha2
π Thank you to all the contributors that have helped since the alpha1 release:
- ADmad
- Corey Taylor
- Edgaras JanuΕ‘auskas
- Ian den Hartog
- Jeremy Harris
- JosΓ© Lorenzo RodrΓguez
- Marc Wilhelm
- Marc WΓΌrth
- Mark Scherer
- Mark Story
- Michael Hoffmann
- Robert PustuΕka
- TekkCraft
- andrii-pukhalevych
- mirko-pagliai
- saeideng
- stickler-ci
- ζζ΅
π As always, a huge thanks to all the community members that helped make this release happen by reporting issues and sending pull requests.
-
v3.9.4 Changes
November 14, 2020π The CakePHP core team is happy to announce the immediate availability of CakePHP 3.9.4. 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.4. See the changelog for every commit.
- π The
pj()function now supports UTF-8 data better. - π Fixed warning about SameSite index when upgrading from earlier versions of 3.x.
- π Improved API documentation.
- β Added upper PHP version constraint of
<8.0. Because 3.x has several dependencies that are not compatible with PHP8, we also cannot easily support PHP8 without breaking compatibility.
Contributors to 3.9.4
π Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Mark Story
- Saleh Souzanchi
- Tadahisa Motooka
- terry.kern
π As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
- π The
-
v3.9.3 Changes
October 06, 2020π The CakePHP core team is happy to announce the immediate availability of CakePHP 3.9.3. 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.3. See the changelog for every commit.
- β¬οΈ Reduce the usage of deprecated features in Http package.
- π Fixed HasMany associations not applying
conditionsdefined within a closure during an unlink operation. - Cookies can have their
SameSiteattribute defined in PHP 7.3+. - π Improved API documentation.
Contributors to 3.9.3
π Thank you to all the contributors that helped make this release happen:
- ADmad
- itosho
- Mark Story
- Mischa ter Smitten
π As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
-
v3.9.2 Changes
August 30, 2020π The CakePHP core team is happy to announce the immediate availability of CakePHP 3.9.2. 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.2. See the changelog for every commit.
- The
Http\Clientcurl adapter now usesCURLOPT_NOBODYwhen making HEAD requests. - π Fix output buffers not being closed when view templates or blocks are being rendered. This fixes tests being marked as risky in PHPUnit.
PaginatorHelper::first()andlast()now correctly handle url options.
Contributors to 3.9.2
π Thank you to all the contributors that helped make this release happen:
- Marc WΓΌrth
- Mark Story
- ndm2
- Nicky Gerritsen
π As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
- The