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

Changelog History
Page 1

  • v4.2.0-RC1 Changes

    November 30, 2020

    πŸš€ The CakePHP core team is proud to announce the first release candidate of CakePHP 4.2.0. The 4.2.0 release will introduce several new features and a handful of deprecations. The added features include formal support for PHP8, experimental support for a dependency injection container, a new session based CSRF middleware, improved APIs for database subqueries, and a new Flash Utility.

    πŸ†• New Features

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

    πŸ”„ Changes Since 4.2.0-beta1

    • Http\Client::createFromUrl() was added.
    • πŸ‘Œ Improved errors when INSERT queries cannot be compiled.
    • TableHelper::output() now has a text-right tag to right align cell content.
    • βœ… TestFixture::isManaged() was added to make whether a fixture manages schema more explicit.
    • πŸ‘ UrlHelper now supports the assetUrlClassName option, which allows you to replace the class used to generate static asset URLs.
    • TableLocator::allowFallbackClass() was added. This method lets you disable automatic fallback table class in a locator.
    • Http\FlashMessage was added. This utility class enables flash messages to be manipulated from within middleware.
    • Http\ServerRequest::getFlash() was added to expose the new flash utility.
    • πŸ›  Fixing binding conflicts in SQLServer queries.
    • βž• Added Application.buildContainer event. This event is triggered when the application container is built.
    • βœ… Integration test traits had the mockService() method added to enable straightforward mocking of services in tests.

    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.2.0-RC1

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

    • ADmad
    • Corey Taylor
    • Edgaras JanuΕ‘auskas
    • Eugene Ritter
    • Ikko Ashimine
    • imo-tikuwa
    • Juan Basso
    • Mark Scherer
    • Mark Story
    • ndm2
    • othercorey
    • saeideng
    • tikuwa

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

  • v4.2.0-beta1 Changes

    November 02, 2020

    πŸš€ The CakePHP core team is proud to announce the first beta release of CakePHP 4.2.0. This beta introduces a small number of deprecations. It adds experimental support for a dependency injection container, a session based CSRF option, and improved support for subqueries.

    πŸ†• New Features

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

    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.2.0-beta1

    Thank you to all the contributors that have helped with 4.2.0-beta1:

    • ADmad
    • Blaz
    • chris cnizzardini
    • Corey Taylor
    • Mario Rothauer
    • Mark Scherer
    • Mark Story
    • ndm2
    • othercorey
    • Ricardo Turella
    • tanden

    πŸš€ 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.7 Changes

    December 13, 2020

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

    πŸ›  Bugfixes

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

    • πŸ‘Œ Improved API documentation
    • βž• Added additional tests for flash message retention in tests.
    • πŸ›  Fixed SQL Server missing parenthesis on pagination subquery order clause.
    • πŸ›  Fixed SQL Server binding conflicts when ordering by expression objects.
    • πŸ‘Œ Improved error messages when database queries are missing operators.
    • πŸ›  Fixed Hash::mergeDiff() not handling scalar values well.

    Contributors to 4.1.7

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

    • ADmad
    • Ikko Ashimine
    • Mark Scherer
    • Mark Story
    • Markus RamΕ‘ak
    • ndm2
    • othercorey
    • saeideng

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

  • v4.1.6 Changes

    November 08, 2020

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

    πŸ›  Bugfixes

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

    • ⬆️ The Validator::setStopOnFailure() method was added. This method helps improve ease of upgrading from 3.x. It allows the require* methods to stop field validation.
    • Mailer::setReplyTo() now accepts multiple email addresses. This change aligns Reply-To with other email fields that accept multiple recipients.
    • 🀑 Warnings emitted by AuthComponent when using strict mode and a mocked request were fixed.
    • πŸ›  Fixed incorrect error messages for named routes that failed to match.
    • πŸ›  Fixed string condition parsing in having and where conditions when the string condition contains functions and spaces.
    • πŸ‘Œ Improved API documentation.
    • OAuth 1.0 signatures no longer include request bodies if the request is not urlencoded data.
    • πŸ‘Œ Support for UTF8 encodings was added to pj().
    • ⚑️ Entity marshalling now loosely compares objects. Previously strict comparisons were used causing all object attributes to considered dirty and updated.
    • πŸ‘Œ Improved error messages when INSERT queries were missing a table name.
    • πŸ“œ BodyParserMiddleware now correctly handles scalar value request bodies for JSON requests.
    • ServerCommand now honours the PHP environment variable when starting the HTTP server.

    Contributors to 4.1.6

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

    • ADmad
    • chris cnizzardini
    • Corey Taylor
    • Daniel Opitz
    • Juan Basso
    • Marc WΓΌrth
    • Mark Scherer
    • Mark Story
    • Matthias Wirtz
    • othercorey
    • Ricardo Turella
    • Richard.Strittmatter

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

  • v4.1.5 Changes

    October 05, 2020

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

    πŸ›  Bugfixes

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

    • πŸ”Œ cake plugin load will now display an error when an invalid plugin name is used.
    • πŸ‘Œ Improved compatibility with PHP8.
    • βœ… Test fixtures now truncate tables that have externally defined schema. Previously they would not be truncated or dropped and subsequent tests would fail.
    • πŸ‘» MemcachedEngine will now raise an exception when persistent connections are used with different server lists.
    • AuthComponent no longer raises an error when the request has no action defined.
    • πŸ‘Œ Improved cross browser compatibility of 'Copy' button in debug output.
    • ⚑️ Updated parameter names inside Collection in preparation foro PHP8.

    Contributors to 4.1.5

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

    • ADmad
    • bancer
    • Corey Taylor
    • itosho
    • Jonathan McAndrew
    • 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.1.4 Changes

    September 06, 2020

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

    πŸ›  Bugfixes

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

    • Route now normalizes HTTP method names. This prevents hard to diagnose route matching failures when a method was miscased.
    • The output of debug() now includes whitespace in the generated HTML. This improves the text output when contents are copy and pasted.
    • The HTML output of debug() now includes a 'copy' button to make copying the contents easier.
    • πŸ›  Parameter name mismatches between interfaces, and implementations were fixed in preparation for PHP8's named parameters.
    • ⚠ Invalid UUID values now emit warnings less often during marshalling.
    • TableRegistry::get() now generates aliases correctly when tables are fetched with their full qualified namespace name.

    Contributors to 4.1.4

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

    • ADmad
    • 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.1.3 Changes

    August 15, 2020

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

    πŸ›  Bugfixes

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

    • πŸ”§ The changes made to not reload plugin configuration was reverted as it caused regressions in community plugins.
    • XML entity loading code was de-duplicated and made compatible with PHP8.
    • πŸ‘» The SqlServer driver now raises an exception when more than 2100 parameters are provided as that is the maximum that SQLServer supports.
    • The SqlServer driver will now retry connection creation up to 4 times on certain errors such as database paused. This increases compatibility with cloud hosted SQLServer instances.
    • βœ… View now closes all open output buffers when an element or view fails during rendering. This resolves open buffer warnings in test cases.
    • DateType now ensures that time components are wiped for PHP provided classes as well.

    Contributors to 4.1.3

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

    • ADmad
    • Corey Taylor
    • Mark Scherer
    • Mark Story
    • ndm2

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

  • v4.1.2 Changes

    August 09, 2020

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

    πŸ›  Bugfixes

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

    • πŸ›  Fixed usage of deprecated classes internally.
    • πŸ›  Fixed TypeError in PHP8.
    • πŸ‘Œ Improved type checking in Validation::custom() and localizedTime().
    • πŸ›  Fixed potential collision with placeholders in Text::insert().
    • Enabled autoloading of models when modelClass is defined with a fully qualified namespace name.
    • 🌲 Enable log formats to log milliseconds.
    • πŸ›  Fixed incorrect behavior when sending a HEAD request and the response contains a Content-Length header.
    • Whitespace inside strings output via debug() is now retained in the HTML output format.
    • πŸ‘Œ Improve database logging to handle SELECT queries that return no rows.
    • ⚑️ Update external entity loading options to work with newer versions of libxml.
    • πŸ‘ Table::getAlias() now handles abstract base classes better.

    Contributors to 4.1.2

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

    • ADmad
    • Benjamin Gehrels
    • Corey Taylor
    • Edgaras JanuΕ‘auskas
    • Marc WΓΌrth
    • Mark Scherer
    • Mark Story
    • mcsknp
    • Nicky Gerritsen
    • othercorey

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

  • v4.1.1 Changes

    July 19, 2020

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

    πŸ›  Bugfixes

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

    • πŸ‘» FlashComponent::set() now handles Throwable in addition to Exception.
    • πŸ›  debug() now can output objects like SplFixedArray that have integer property names.
    • Validation::date() no longer accepts values that have , after the month value.
    • 🍱 Assets in vendor prefixed plugins now are correctly timestampped by HtmlHelper.
    • Routing error pages no longer double encode HTML for route elements and options.
    • πŸ›  Fix incorrect aliasing for Cake\Database\Expression\ComparisonExpression that was causing a regression in application/plugin code.
    • πŸ‘Œ Improved compatibility in getMockForModel().
    • πŸ“œ The parsed results of DSN strings now cast timeout to an integer.
    • πŸ”§ CsrfProtectionMiddleware not raises an exception when the request already contains a csrfToken attributes as this implies that CSRF has already been applied to the request and applying it twice is a configuration error.

    Contributors to 4.1.1

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

    • ADmad
    • Cauan Cabral
    • Corey Taylor
    • Gerd Katzenbeisser
    • Mark Scherer
    • Mark Story
    • mitzzzjp
    • Peter HΓ€rder

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

  • v4.1.0 Changes

    July 05, 2020

    πŸš€ The CakePHP core team is happy to announce the immediate availability of CakePHP 4.1.0. This is the first stable release of 4.1.0. 4.1.0 provides a number improvements both large and small to CakePHP.

    ⬆️ Upgrading to 4.1.0

    ⬆️ You can use composer to upgrade to CakePHP 4.1.0::

    php composer.phar require --update-with-dependencies "cakephp/cakephp:4.1.*"
    

    πŸ—„ Deprecation Warnings

    πŸ‘€ 4.1 introduces a few deprecations. All of these features will continue for the duration of 4.x but will be removed in 5.0. See the migration guide.

    What's new in 4.1.0?

    ⬆️ 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. A few highlights from 4.1.0 are:

    • πŸ‘Œ Support for Common Table Expressions (CTE) in the ORM.
    • πŸ‘Œ Support for window functions in the ORM.
    • πŸ— Query::orderAsc() and Query::orderDesc() now accept Closure's as their field enabling you to use build complex order expressions with the provided QueryExpression object.
    • πŸ’… debug() and Debugger::printVar() now emit HTML in web contexts, and ANSI styled output in CLI contexts. Output of cyclic structures and repeated objects is much simpler. Cyclic objects are only dumped once and use reference ids to point back to the full value.
    • CsrfProtectionMiddleware can now create cookies with the samesite attribute set.
    • πŸ’… Log messages can now contain {foo} style placeholders. These placeholders will be replaced by values from the $context parameter if available.

    Contributors to 4.1.0

    Thank you to all the contributors that helped make 4.1 happen:

    • ADmad
    • andrii-pukhalevych
    • Cauan Cabral
    • chinpei215
    • Corey Taylor
    • Diego Sardina
    • diegosardina
    • Edgaras JanuΕ‘auskas
    • Frank de Graaf
    • Jad Bitar
    • John Zwarthoed
    • Marc WΓΌrth
    • Mario Rothauer
    • Mark Scherer
    • Mark Story
    • Matthias Wirtz
    • McsKienNP
    • mcsknp
    • mtak3
    • ndm2
    • nojimag
    • Oliver Nowak
    • othercorey
    • saeideng
    • victoreassi
    • Vincent PLANCHER
    • Walther Lalk

    πŸš€ As always, a huge thanks to all the community members that helped make this release happen by reporting issues and sending pull requests. 4.1.0 is a large release and would not have been possible without the community support and feedback.