All Versions
62
Latest Version
Avg Release Cycle
38 days
Latest Release
1241 days ago

Changelog History
Page 2

  • v4.1.0-RC2 Changes

    June 22, 2020

    πŸš€ The CakePHP core team is proud to announce the first release candidate of CakePHP 4.1.0. This beta introduces a handful of deprecations. It also adds window function support and common-table-expression support to the ORM. Furthermore, it features improved debug() output, and new ORM events for marshalling.

    πŸ†• New Features

    ⬆️ The migration guide has a complete list of what's new in 4.1.0. We recommend you give that page a read when upgrading as it outlines the deprecations present in 4.1.

    πŸ”„ Changes Since 4.1.0-RC1

    • Table::saveMany() now triggers the Model.afterSaveCommit event.
    • πŸ‘Œ Improved deprecation links.
    • πŸ›  Fix a regression in RC1 where associations with dependent but not associated records would cause deletions to fail.
    • πŸ›  Fixed inflection of CamelCase words.
    • πŸ—„ Deprecated TableRegistry::get(). Use the TableLocatorAwareTrait instead.
    • πŸ›  Fix query LoggingStatement prematurely fetching records.
    • πŸ—„ The whitelist and sortWhitelist options for PaginatorComponent have been deprecated. Use allowedParameters and sortableFields instead.
    • πŸ›  Fixed incorrect paths in missing layout exception pages.
    • πŸ—„ CsrfProtectionMiddleware::whitelistCallback() has been deprecated. Use skipCheckCallback() instead.
    • βž• Add support for console colors in Windows 10 and bash emulation.

    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.1.0-RC2

    Thank you to all the contributors that have helped with 4.1.0:

    • ADmad
    • Corey Taylor
    • Mark Scherer
    • Mark Story
    • Walther Lalk
    • 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.1.0-RC1 Changes

    June 01, 2020

    πŸš€ The CakePHP core team is proud to announce the first release candidate of CakePHP 4.1.0. This beta introduces a handful of deprecations. It also adds window function support and common-table-expression support to the ORM. Furthermore, it features improved debug() output, and new ORM events for marshalling.

    πŸ†• New Features

    ⬆️ The migration guide has a complete list of what's new in 4.1.0. We recommend you give that page a read when upgrading as it outlines the deprecations present in 4.1.

    πŸ”„ Changes Since 4.1.0-beta1

    • ⚑️ Form\Form::set() was added to help incrementally update the data in a Form object.
    • The interface for CommonTableExpressions and windowing functions were improved.
    • πŸ‘ TranslateBehavior now supports a locale option when finding records. This option lets you set the locale for a single find call.
    • Query::clearResult() was added to clear the internal result and count value.
    • πŸ—„ Deprecation annotations now contain IDE clickable links.
    • βž• Added missing annotations in the Validation package.
    • Datetime inputs created through FormHelper can have the step option unset.
    • Cache adapters that require extensions now raise clearer exceptions when the required extensions are missing.
    • Datasource\LocatorInterface was added to help easy other locator implementations.
    • πŸ‘ SmtpAdapter now supports AUTH PLAIN.
    • πŸ— PHP8 nightly builds were added to the CakePHP test matrix.
    • βœ‚ Delete operations with cascading callbacks now abort when an associated record fails to delete because of application rule failures.
    • πŸ— Query::orderAsc() and Query::orderDesc() now support closures to build the order clause.
    • 0️⃣ Session::read() now has a default parameter.
    • Session::readOrFail() 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.1.0-RC1

    Thank you to all the contributors that have helped with 4.1.0:

    • ADmad
    • Corey Taylor
    • Edgaras JanuΕ‘auskas
    • Frank de Graaf
    • Mark Scherer
    • Mark Story
    • Matthias Wirtz
    • andrii-pukhalevych
    • 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.

  • v4.1.0-beta1 Changes

    May 16, 2020

    πŸš€ The CakePHP core team is proud to announce the first beta release of CakePHP 4.1.0. This beta introduces a handful of deprecations. It also adds window function support and common-table-expression support to the ORM. Furthermore, it features improved debug() output, and new ORM events for marshalling.

    πŸ†• New Features

    ⬆️ The migration guide has a complete list of what's new in 4.1.0. We recommend you give that page a read when upgrading as it outlines the deprecations present in 4.1.

    How you Can Help

    βœ… You can help by trying out the beta in your application. Please open issues for any new test failures or regressions the new version creates in your application.

    Contributors to 4.0.0-beta1

    Thank you to all the contributors that have helped with 4.1.0:

    πŸš€ As always, a huge thanks to all the community members that helped make this release happen by reporting issues and sending pull requests.

    • ADmad
    • Corey Taylor
    • Diego Sardina
    • Edgaras JanuΕ‘auskas
    • Jad Bitar
    • John Zwarthoed
    • Marc WΓΌrth
    • Mario Rothauer
    • Mark Scherer
    • Mark Story
    • McsKienNP
    • Oliver Nowak
    • andrii-pukhalevych
    • chinpei215
    • mcsknp
    • mtak3
    • ndm2
    • nojimage
    • saeideng
  • v4.0.10 Changes

    December 08, 2020

    πŸš€ The CakePHP core team is happy to announce the immediate availability of CakePHP 4.0.10. This release contains security fixes and is a recommended upgrade for all applications still using 4.0.x.

    πŸ”’ The security fixes address a vulnerability in the CsrfProtectionMiddleware that allowed method override parameters to bypass CSRF checks for requests with no additional POST data. The fixes validate that the HTTP method override is a valid HTTP method name. We'd like to thank Xhelal Likaj for reporting this issue to us via our security mailing list.

    πŸš€ The versions impacted by this issue are >4.0.0, <=4.0.9 and >4.1.0, <=4.1.3. Releases after 4.1.3 are not vulnerable as they already validated the HTTP method names.

    πŸ›  Bugfixes

    πŸ‘€ You can expect the following changes in 4.0.10. See the changelog for every commit.

    • πŸ›  Fixed validation of HTTP methods defined in _method parameters.

    Contributors to 4.0.10

    πŸš€ Thank you to all the contributors that helped make this release happen:

    • Mark Story
    • Xhelal Likaj

    πŸ“š As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.

  • v4.0.9 Changes

    June 23, 2020

    πŸš€ The CakePHP core team is happy to announce the immediate availability of CakePHP 4.0.9. This is a maintenance release for the 4.0 branch that fixes several community reported issues.

    πŸ›  Bugfixes

    πŸ‘€ You can expect the following changes in 4.0.9. See the changelog for every commit.

    • βž• Added support for AUTH PLAIN to SmtpTransport.
    • πŸ‘Œ Improved API docblocks and type annotations.
    • βœ‚ Removed usage of ReflectionParameter::getClass() as it is deprecated in PHP 8.
    • πŸ‘Œ Improved performance of ServerRequest::is() and isAll().
    • πŸ›  Fixed warnings in SecurityComponent, FormProtector and CsrfProtectionMiddleware when handling invalid non-scalar data.
    • πŸ›  Fixed incorrect paths in missing layout error pages.

    Contributors to 4.0.9

    πŸš€ Thank you to all the contributors that helped make this release happen:

    • ADmad
    • Corey Taylor
    • Edgaras JanuΕ‘auskas
    • Mark Scherer
    • Mark Story
    • andrii-pukhalevych

    πŸ“š As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.

  • v4.0.8 Changes

    May 24, 2020

    πŸš€ The CakePHP core team is happy to announce the immediate availability of CakePHP 4.0.8. This is a maintenance release for the 4.0 branch that fixes several community reported issues.

    πŸ›  Bugfixes

    πŸ‘€ You can expect the following changes in 4.0.8. See the changelog for every commit.

    • πŸ“š Update API documentation and method typing.
    • πŸ›  Fixed marshalling datetime values of HH:mm.
    • βœ‚ Removed @throws annotations from IntegrationTestTrait methods.
    • πŸ›  Fixed handling of false values in FormHelper. Instead of '', 0 is used now.
    • πŸ‘Œ Improved CSRF validation error messages.
    • πŸ›  Fixed application/www-form-urlencoded payloads in integration tests showing up as empty arrays.
    • XmlView no longer tries to get keys of non-array values.

    Contributors to 4.0.8

    πŸš€ Thank you to all the contributors that helped make this release happen:

    • ADmad
    • Corey Taylor
    • Frank de Graaf
    • Mark Scherer
    • Mark Story
    • diegosardina

    πŸ“š As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.

  • v4.0.7 Changes

    May 02, 2020

    πŸš€ The CakePHP core team is happy to announce the immediate availability of CakePHP 4.0.7. This is a maintenance release for the 4.0 branch that fixes several community reported issues.

    πŸ›  Bugfixes

    πŸ‘€ You can expect the following changes in 4.0.7. See the changelog for every commit.

    • πŸ‘Œ Improved CSRF generation to fix upgrade errors introduced in 4.0.6
    • MailSentWith assertions now include the contents of the messages that did not pass the assertion.
    • πŸ›  Fixed Debugger::exportVar() now handles uninitialized typed properties from PHP 7.4
    • πŸ‘Œ Improved API docstring types.
    • πŸ‘Œ Improved rendering of multiline exception messages and messages with inline code formatting.
    • πŸ‘Œ Improved defining ISO8601 validation rules.

    Contributors to 4.0.7

    πŸš€ Thank you to all the contributors that helped make this release happen:

    • ADmad
    • Edgaras JanuΕ‘auskas
    • Erwane Breton
    • Johan Meiring
    • 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.

  • v4.0.6 Changes

    April 19, 2020

    πŸš€ The CakePHP core team is happy to announce the immediate availability of CakePHP 4.0.6. This is a maintenance release for the 4.0 branch that fixes several community reported issues and a low risk security issue in our CSRF protection middleware.

    πŸ›  Bugfixes

    πŸ‘€ You can expect the following changes in 4.0.6. See the changelog for every commit.

    • πŸš€ Nirmal Kirubakaran contacted us via the security mailing list and disclosed a vulnerability in our CSRF token generation. If an attacker were to use an XSS vulnerabiity or physical access to fixate a CSRF token they could then exploit additional CSRF attacks. In this release tokens contain an HMAC signed with Security.salt. This ensures the tokens were generated by the same application that receives them.
    • πŸ‘Œ Improved session access in IntegrationTestTrait through the new getTestSession() method.
    • πŸ›  Fixed generation of pagination links on / URLs.
    • πŸ”Œ cake plugin unload and cake plugin load now handle vendor namespaced plugins.
    • ⚠ Validation::inList() no longer emits a warning on a non-scalar values.
    • πŸ”§ Schema reflection stored procedures in SQLServer now work in case sensitive configurations.
    • Email message wrapping no longer emits errors when lines are the same length as the wrap length.
    • πŸ”Œ App::path() now resolves locale files for plugins.

    Contributors to 4.0.6

    πŸš€ Thank you to all the contributors that helped make this release happen:

    • ADmad
    • Corey Taylor
    • Mark Scherer
    • Mark Story
    • Nicolas

    πŸ“š As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.

  • v4.0.5 Changes

    March 29, 2020

    πŸš€ The CakePHP core team is happy to announce the immediate availability of CakePHP 4.0.5. This is a maintenance release for the 4.0 branch that fixes several community reported issues.

    πŸ›  Bugfixes

    πŸ‘€ You can expect the following changes in 4.0.5. See the changelog for every commit.

    • SMTP delivery failure exceptions now include the error text received from the destination server.
    • πŸ‘Œ Improved API documentation.
    • βͺ Table::saveMany() now correctly rollbacks a transaction when an entity other than the first fails to save because of application rules or database failure.
    • ConsoleIntegrationTestTrait now uses mocked _out and _err objects if they have been set.
    • ConsoleInput::read() now handles false values from fgets() and readline.
    • πŸ‘ CounterCacheBehavior now handles null association values better when custom finders are used.
    • Http\Response now allows usage of unassigned HTTP status codes between 100 and 599.
    • πŸ”Š Binary data in SQL query logs is now encoded as hexadecimal to improve readability of query logs.

    Contributors to 4.0.5

    πŸš€ Thank you to all the contributors that helped make this release happen:

    • ADmad
    • Corey Taylor
    • Edgaras JanuΕ‘auskas
    • Jad Bitar
    • Mark Scherer
    • Mark Story
    • Victor Eduardo de Assis
    • nook24

    πŸ“š As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.

  • v4.0.4 Changes

    February 22, 2020

    πŸš€ The CakePHP core team is happy to announce the immediate availability of CakePHP 4.0.4. This is a maintenance release for the 4.0 branch that fixes several community reported issues.

    πŸ›  Bugfixes

    πŸ‘€ You can expect the following changes in 4.0.4. See the changelog for every commit.

    • πŸ”€ Http\Response::$_contenType was removed as it was often wrong and out of sync with the getHeader('Content-Type') value.
    • πŸ‘ NumberHelper::precision() had the $options parameter added so it can better wrap Number::precision().
    • βž• Add timestamptimezone mapping to FormHelper and DateTimeWidget.
    • βœ… IntegrationTestCaseTrait once again raises exceptions when disableErrorHandlerMiddleware() is used.
    • datetime-local values are rendered with milliseconds by DateTimeWidget only when step size is less than 1.
    • πŸ‘Œ Improved API documentation.
    • πŸ‘Œ Improved missing template exception messages. They now list out the full path of every attempted file.
    • ⚑️ CounterCacheBehavior no longer attempts to update values when the foreign key is null.
    • πŸ‘» Loading optional associations with leftJoinWith() and contain() no longer raises an exception about missing association data.
    • TextHelper::autoParagraph() now accepts null.
    • HtmlHelper::para() now accepts null.
    • πŸ’… Validation::decimal() now handles Polish formatted numbers correctly.
    • HasMany associations now set invalid messages and errors on the parent entity when non-atomic saves fail.
    • πŸ‘Œ Improved missing database exception message.
    • Logged fatal errors now include the file and line position.

    Contributors to 4.0.4

    πŸš€ Thank you to all the contributors that helped make this release happen:

    • ADmad
    • Corey Taylor
    • Justin Slamka
    • Mark Scherer
    • Mark Story
    • Michal
    • Rachman Chavik
    • Remi Collet
    • Victor Eduardo de Assis

    πŸ“š As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.