KEMBAR78
Releases · cakephp/cakephp · GitHub
Skip to content

Releases: cakephp/cakephp

CakePHP 5.2.9 released

17 Oct 03:27
5.2.9

Choose a tag to compare

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

Bugfixes

You can expect the following changes in 5.2.9. See the changelog for every commit.

  • Improve PHPUnit usage in tests.
  • Fixed DI integration for Components.
  • Type annotations for LocatorAwareTrait::fetchTable() have been improved so that IDEs / static analyzer can now recognize the specific table type for the returned value, when the method is called with FQCN.
  • Fixed default value reflection and for SQLite boolean columns.
  • Fixed how Socket detects connection interruptions, by deprecating $connected property, and using is_resource() instead. This should improve behavior of SmtpTransport in long running processes.
  • Improved typehints for SelectQuery.

Contributors to 5.2.9

Thank you to all the contributors that submitted a pull request:

  • Adam Halfar
  • ADmad
  • Alberto Pagliarini
  • kolorafa
  • Mark Scherer
  • Mark Story

As always, we would like to also thank all the contributors that opened issues, or updated the documentation.

CakePHP 5.2.8 released

24 Sep 03:05
5.2.8

Choose a tag to compare

The CakePHP core team is happy to announce the immediate availability of CakePHP 5.2.8. This is a maintenance release for the 5.2 branch that fixes several ,community reported issues and regressions. 5.2.8 also contains a fix for a potential security issue in the query builder. When using already executed queries as subquery expressions, bound parameter values were overwritten which could lead to inccorrect query results. Other usage of subqueries are not impacted.

I'd like to welcome josbeir to the CakePHP team. They have been actively been developing a refesh of the documentation. You can see a development preview of the documentation at newbook.cakephp.org. If you have any feedback about the new documentation site, please open an issue in GitHub.

Bugfixes

You can expect the following changes in 5.2.8. See the changelog for every commit.

  • Improved type checks and null coalescing operator usage.
  • Fixed route generation when routes are defined with null prefix values.
  • Improved type annotations in collection classes.
  • Fixed more compatibility issues with PHP 8.5.
  • Fixed loading nested associations with Table::loadInto().
  • Fixed usage of lock option for PaginatorHelper::sort().
  • Fixed an access before initialization in RedisEngine.

Contributors to 5.2.8

A special thanks to Kei Akiyama for reporting the vulnerability in the query builder. As always, thank you to everyone who submitted a pull request:

  • ADmad
  • Arshid
  • Marcelo Rocha
  • Mark Scherer
  • Mark Story
  • othercorey

As always, we would like to also thank all the contributors that opened issues, or updated the documentation.

CakePHP 5.2.7 released

31 Aug 02:36
5.2.7

Choose a tag to compare

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

Bugfixes

You can expect the following changes in 5.2.7. See the changelog for every commit.

  • Fixed regression where added rules were enabled for delete operations by
    default.
  • Updated Validation::uuid() to accept V7 UUIDs.
  • Fixed array value handling in getEnv().
  • Fixed flaky tests for Arabic-Indic numeral output.
  • Fixed hidden validation messages in nested entities from validation and domain rule failures. Now validation errors are available for nested entities in the _rule key.
  • XML from Xml::fromArray() is now validated before being returned. This prevents invalid XML from being generated by invalid input. Now an XmlException will be thrown.
  • Updated for PHP 8.5 deprecations.
  • Cleaned up plugin configuration after test runs.
  • Fixed column comment quoting in the MySQL schema dialect.
  • Implemented missing support for QueryExpression as schema column defaults. This was a porting gap when moving code from migrations to cakephp/database.

Contributors to 5.2.7

Thank you to all the contributors that submitted a pull request:

  • ADmad
  • Arshid
  • Mark Scherer
  • Mark Story

As always, we would like to also thank all the contributors that opened issues, or updated the documentation.

CakePHP 5.2.6 released

02 Aug 03:28
5.2.6

Choose a tag to compare

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

Bugfixes

You can expect the following changes in 5.2.6. See the changelog for every commit.

  • Pagination now uses a cloned query to get a count instead of using the loaded records.
  • Improved API docs.
  • Fixed generation and reflection of unsigned integer column types in sqlite.
  • Fixed deprecation errors in FormProtectionComponent.
  • Fixed translate behavior with iI8n locale that has options defined.
  • Improved exception messages in SelectQuery.
  • Fixed error when xdebug is enabled and uninitialized properties are accessed.
  • You can now join and contain the same table in an loadInto() operation.
  • Datetime validation correctly handles booleans now.

Contributors to 5.2.6

  • ADmad
  • Corey Taylor
  • Eriknag
  • Felix Kempf
  • freefri
  • Juan Pablo Ramirez
  • Kevin Pfeifer
  • Mark Scherer
  • Mark Story
  • wowDAS Markus Ramšak

Thank you to all the contributors that submitted a pull request:

As always, we would like to also thank all the contributors that opened issues, or updated the documentation.

CakePHP 4.6.2 released

27 Jul 03:45
4.6.2

Choose a tag to compare

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

Bugfixes

You can expect the following changes in 4.6.2. See the changelog for every commit.

  • Fix InvalidArgumentException when joining and containing the same table in a loadInto() call.
  • Updated dependency constraints.

Contributors to 4.6.2

Thank you to all the contributors that submitted a pull request:

  • ADmad
  • Mark Scherer
  • Mark Story

As always, we would like to also thank all the contributors that opened issues, or updated the documentation.

CakePHP 5.2.5 released

21 Jun 03:46
5.2.5

Choose a tag to compare

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

Bugfixes

You can expect the following changes in 5.2.5. See the changelog for every commit.

  • Fixed routes generate not working with names containing :.
  • Improved API documentation.
  • Fixed LoggedQuery from applying undefined attributes and emitting warnings.
  • If Session.timeout is not defined, PHP defined session.gc_maxlifetime will be used as the lifetime of the session. This better aligns timeouts with simpler settings.
  • Improved data provider usage in test cases.
  • Fixed session assertions when enableRetainFlashMessages() has been used.
  • Events that are triggered with a null subject do not emit deprecation warnings.
  • Fixed chained find() calls with overlapping parameters getting incorrect values.
  • Improve toDateTime() to not return null when passed Date.
  • Fixed invalid stream constructor when RunInSeparateProcess is used.
  • Update plural rules for French, Italian, Spanish and Portuguese based on CLDR v47. These languages have support for additional plural forms.

Contributors to 5.2.5

Thank you to all the contributors that submitted a pull request:

  • ADmad
  • Corey Taylor
  • Erik Nagelkerke
  • Ishan Vyas
  • Jeremy Harris
  • Kevin Pfeifer
  • k-pon-jp
  • Mark Scherer
  • Mark Story
  • Nicos Panayides
  • othercorey

As always, we would like to also thank all the contributors that opened issues, or updated the documentation.

CakePHP 5.2.4 released

17 May 03:15
5.2.4

Choose a tag to compare

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

Bugfixes

You can expect the following changes in 5.2.4. See the changelog
for every commit.

  • Improves foreign key reflection with sqlite to resolve gaps between functionality offered in migrations.
  • Fixed a regression in EntityTrait::isModified().
  • Fixed PHP warnings being emit when rendering a development error page for MissingActionException.
  • Fixed regressions that broke documented custom message loaders for I18n.
  • CLI options are now coerced to string to avoid type errors with ConsoleInputOption: constructor.
  • Fixed regression with App.base configuration not being used.
  • Added the clearUsesFlushDb option to RedisEngine. When enabled this allows clear() and clearGroup() to use FLUSHDB. This option should be used with caution as it will drop all keys in the current redis database.
  • Primary key reflection in SQLServer now retains the primary key name to support primary key operations in migrations.
  • Improved support for mockery, and increased usage of mockery in cakephp's tests.
  • Replaced PHPUnitConsecutiveTrait::withConsecutive() with mockery's methods.

Contributors to 5.2.4

Thank you to all the contributors that submitted a pull request:

  • ADmad
  • Jamison Bryant
  • Mark Scherer
  • Mark Story
  • Mirko Pagliai

As always, we would like to also thank all the contributors that opened issues, or updated the documentation.

CakePHP 4.6.1 released

26 Apr 22:48
4.6.1

Choose a tag to compare

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

Bugfixes

You can expect the following changes in 4.6.1. See the changelog for every commit.

  • Cake\Cache\Engine\NullEngine::getMultiple() now returns all keys like other cache engines.
  • MemcachedEngine::getMultiple() now handles null values correctly.
  • Fixed deprecated method usage in ReconnectStrategy.
  • Fixed method and finder maps not being populated when BehaviorRegistry::set() is called.

Contributors to 4.6.1

Thank you to all the contributors that submitted a pull request:

  • ADmad
  • Alejandro Ibarra
  • Joris Vaesen
  • Mark Story
  • othercorey
  • Val Bancer

As always, we would like to also thank all the contributors that opened issues, or updated the documentation.

CakePHP 5.2.3 released

24 Apr 03:05
5.2.3

Choose a tag to compare

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

Bugfixes

You can expect the following changes in 5.2.3. See the changelog for every commit.

  • Fixed template annotations for behaviors in ORM\Table.
  • Improved API doc blocks for helpers.
  • Fixed reflection of primary keys with Sqlite.
  • Added TestSuite.fixtureStrategy to enable choosing a default fixture strategy for an application or plugin test suite.
  • Improved TestCase::deprecated() to allow PHP version conditions, and fixed deprecated method usage within CakePHP's test suite.

Contributors to 5.2.3

Thank you to all the contributors that submitted a pull request:

  • ADmad
  • Mark Scherer
  • Mark Story

As always, we would like to also thank all the contributors that opened issues, or updated the documentation.

CakePHP 5.2.2 released

18 Apr 04:20
5.2.2

Choose a tag to compare

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

Bugfixes

You can expect the following changes in 5.2.2. See the changelog for every commit.

  • Table finder and method maps are cleaned up when behaviors are unloaded.
  • Http/Client now uses GET instead of get when making GET requests.
  • Reverted a change to NumberHelper intended for 5.3.
  • Improved MySQL column generation features.
  • Improved type annotations for Table::getBehavior()
  • Logged and displayed errors now always include location information.
  • Added implementation of columnDefinitionSql to postgres and sqlserver.
  • Deprecated defining overlapping short options in command line tools.

Note: For the getBehavior() type annotations @extends to not cause any issues, make sure that each intermediate Table class between core and final app/plugin Table classes have the same annotation added:

@template TBehaviors of array<string, \Cake\ORM\Behavior> = array{}

This prevents any errors such as

ERROR: MissingTemplateParam ... SomeTable has missing template params when extending Cake\ORM\Table

Contributors to 5.2.2

Thank you to all the contributors that submitted a pull request:

  • Adam Halfar
  • ADmad
  • Fiona Wille
  • Marcelo Rocha
  • Mark Scherer
  • Mark Story

As always, we would like to also thank all the contributors that opened issues, or updated the documentation.