Changelog History
Page 4
-
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
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.
-
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\Client
curl adapter now usesCURLOPT_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()
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
-
v3.9.1 Changes
July 27, 2020๐ The CakePHP core team is happy to announce the immediate availability of CakePHP 3.9.1. 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.1. See the changelog for every commit.
- โช
Connection::transactional()
will now rollback the transaction on aThrowable
instance. - ๐ Fixed encoding issue in MO file parser.
- ๐ Improved API documentation.
- Added
ssl_local_pk
option to Http\Client. Collection::shuffle()
now includes elements with duplicate keys in the collection.- โ Added deprecation tag to
NumberHelper::defaultCurrency()
. UsegetDefaultCurrency()
andsetDefaultCurrency()
instead.
Contributors to 3.9.1
๐ Thank you to all the contributors that helped make this release happen:
- Corey Taylor
- Edgaras Januลกauskas
- Mark Scherer
- Mark Story
- othercorey
- Philo Hamel
- Val Bancer
- Vincent PLANCHER
๐ As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
- โช
-
v3.9.0 Changes
June 21, 2020๐ The CakePHP core team is happy to announce the immediate availability of CakePHP 3.9.0. This is the first stable release of 3.9.0. 3.9.0 provides a number improvements both large and small to CakePHP.
This release is the last planned feature release for 3.x. Going forward the core team will be focusing 4.x releases going forward. As per our release timelines 3.9 will continue to receive bug fixes until June 15 2021.
โฌ๏ธ Upgrading to 3.9.0
โฌ๏ธ You can use composer to upgrade to CakePHP 3.9.0::
php composer.phar require --update-with-dependencies "cakephp/cakephp:3.9.*"
๐ Deprecation Warnings
- โ
ConsoleIo::info()
,success()
,warning()
anderror()
will no longer acceptnull
values in themessage
parameter in 4.0. - โ
Using a comma separated string for
$fixtures
in test cases is deprecated. Instead use an array, or implement the newgetFixtures()
method on your test case classes. Validator::errors()
was renamed toValidator::validate()
.- โก๏ธ
FormHelper::create()
now emits deprecation warnings when the$context
parameter is a boolean or string. These values trigger fatal errors in 4.0 and will need to be updated before upgrading. - ๐ The magic method signature for
FunctionBuilder::cast([...])
is deprecated. UseFunctionBuilder::cast('field', 'type')
instead. - ๐ฆ Abandoned
zendframework
package has been replaced with laminas which provides backwards-compatible classes.
What's new in 3.9.0?
โฌ๏ธ The migration guide has a complete list of what's new in 3.9.0. We recommend you give that page a read when upgrading. A few highlights from 3.9.0 are:
- 0๏ธโฃ Command classes can implement the
defaultName()
method to overwrite the conventions based CLI name. - ๐
Query::orderAsc()
andQuery::orderDesc()
now accept Closure's as their field enabling you to use build complex order expressions with the providedQueryExpression
object. Cake\Datasource\SimplePaginator
was added. This class makes paginating very large results more efficient. It skips running the potentially expensivecount()
query. If you only use 'next' and 'previous' navigation in your pagination controls this class can be a good solution.Cake\Http\Client\Response::isSuccess()
was backported from 4.0Cake\Http\Middleware\CspMiddleware
was backported from 4.0- ๐
BaseApplication::addOptionalPlugin()
was added. This method handles loading plugins, and handling errors for plugins that may not exist because they are dev dependencies. - ๐ The i18n global functions now only return strings. The changes made to 4.0 to remove the null return value when no translation string is provide have been backported to 3.9.
- 0๏ธโฃ Lenient parsing can be disabled for
parseDateTime()
andparseDate()
usingdisableLenientParsing()
. The default is enabled - the same as IntlDateFormatter. Table::saveManyOrFail()
method has been added that will throwPersistenceFailedException
with the specific entity that failed in case of an error. The entities are saved within a transaction.- ๐
Table::deleteMany()
andTable::deleteManyOrFail()
methods have been added for removing many entities at once including callbacks. The entities are removed within a transaction. Text::uuid()
now usesrandom_int()
with PHP 5.6 insted ofmt_rand()
. This adds a dependency on paragonie/random_compat which implements it for PHP 5.6.
Contributors to 3.9.0
Thank you to all the contributors that helped make 3.9 happen:
- ADmad
- Cauan Cabral
- Corey Taylor
- Edgaras Januลกauskas
- Erwane Breton
- Florian Krรคmer
- Frank de Graaf (Phally)
- Jorge Gonzรกlez
- Mark Scherer
- Mark Story
- Robert Pustuลka
- Tibor
- Val Bancer
- Victor Eduardo de Assis
- Zuluru
- andrii-pukhalevych
- bancer
- gregs
- mcsknp
- ndm2
- nojimage
๐ As always, a huge thanks to all the community members that helped make this release happen by reporting issues and sending pull requests. 3.9.0 is a large release and would not have been possible without the community support and feedback.
- โ
-
v3.9.0-RC2
May 25, 2020 -
v3.9.0-RC1 Changes
May 09, 2020๐ The CakePHP core team is happy to announce the immediate availability of CakePHP 3.9.0-RC1. This is the release candidate for 3.9.0, and it contains several new major features. If no major issues are reported a stable release will be packaged in a few weeks.
โฌ๏ธ 3.9 contains several new features that have been backported from 4.0 and 4.1. The intent of these new features and backports is to ease upgrading applications from 3.x to 4.x.
โก๏ธ Updating to the RC
โฌ๏ธ You can use composer to upgrade to the beta version of CakePHP 3.9.0::
php composer.phar require --update-with-dependencies "cakephp/cakephp:3.9.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 3.9.0 before the stable release.
What's new in 3.9.0?
โฌ๏ธ The migration guide has a complete list of what's new in 3.9.0, and what has been deprecated. We recommend you give that page a read when upgrading.
Contributors to 3.9.0-RC1
๐ Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Edgaras Januลกauskas
- Erwane Breton
- Florian Krรคmer
- Jorge Gonzรกlez
- Mark Scherer
- Mark Story
- Robert Pustuลka
- Tibor
- Val Bancer
- Victor Eduardo de Assis
- Zuluru
- gregs
- mcsknp
- ndm2
- nojimage
๐ As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
-
v3.8.13 Changes
June 19, 2020๐ The CakePHP core team is happy to announce the immediate availability of CakePHP 3.8.13. This is a maintenance release for the 3.8 branch that fixes several community reported issues.
๐ Bugfixes
๐ You can expect the following changes in 3.8.13. See the changelog for every commit.
- ๐ Improve API documentation annotations.
- โ Add
AUTH PLAIN
support to theSmtpTransport
. - ๐ Fix warnings emitted by
SecurityComponent
andCsrfProtectionMiddleware
when array data was provided in specific inputs.
Contributors to 3.8.13
๐ Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Mark Story
๐ As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
-
v3.8.12 Changes
May 08, 2020๐ The CakePHP core team is happy to announce the immediate availability of CakePHP 3.8.12. This is a maintenance release for the 3.8 branch that fixes several community reported issues.
๐ Bugfixes
๐ You can expect the following changes in 3.8.12. See the changelog for every commit.
- ๐ Fixed casing of stored procedures used to reflect schema in SQLServer to work on case sensitive databases.
- ๐ Improved compatibility aliases for PHPUnit.
- ๐ Improved API docstrings.
- ๐ Fixed error when Email messagaes were force wrapped and were exactly the maximum line length.
Contributors to 3.8.12
๐ Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Edgaras Januลกauskas
- Erwane Breton
- 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.