Sitelet https://web.archive.org/web/20201207161803/https://github.com/cakephp/cakephp/releases
Skip to content

@markstory markstory released this Nov 30, 2020 · 7 commits to master since this release

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.

Assets 2
  • 2.10.23
  • da9f699
  • Compare
    Choose a tag to compare
    Search for a tag
  • 2.10.23
  • da9f699
  • Compare
    Choose a tag to compare
    Search for a tag

@markstory markstory released this Nov 28, 2020 · 3 commits to 2.x since this release

The CakePHP core team is happy to announce the immediate availability of CakePHP 2.10.23. This is a maintenance release for the 2.10 branch that fixes several community reported issues.

BugFixes

  • Fix deprecated parameter order in an implode() call.
  • Added the fo-fo locale alias.
  • Fixed the Configure value being written in SchemaShell.
  • Fixed event listener invocation to only use positional parameters.

Contributors

  • Henrik Gemal
  • Jeremy Ruten
  • Mark Story
  • Markus Podar
  • Martin Stuecklschwaiger
Assets 2

@markstory markstory released this Nov 14, 2020 · 4563 commits to master since this release

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.

Assets 3

@markstory markstory released this Nov 8, 2020 · 45 commits to master since this release

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.

Assets 3
Pre-release

@markstory markstory released this Nov 2, 2020 · 71 commits to master since this release

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.

Assets 2

@markstory markstory released this Oct 6, 2020 · 4563 commits to master since this release

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 conditions defined within a closure during an unlink operation.
  • Cookies can have their SameSite attribute 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.

Assets 3

@markstory markstory released this Oct 5, 2020 · 149 commits to master since this release

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.

Assets 3

@markstory markstory released this Sep 6, 2020 · 192 commits to master since this release

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.

Assets 3

@markstory markstory released this Aug 30, 2020 · 4563 commits to master since this release

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\Client curl adapter now uses CURLOPT_NOBODY when 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() and last() 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.

Assets 3

@markstory markstory released this Aug 15, 2020 · 236 commits to master since this release

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.

Assets 3
You can’t perform that action at this time.