Changelog History
Page 6
-
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\Clientcurl adapter now usesCURLOPT_NOBODYwhen 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 aThrowableinstance. - ๐ Fixed encoding issue in MO file parser.
- ๐ Improved API documentation.
- Added
ssl_local_pkoption 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 acceptnullvalues in themessageparameter in 4.0. - โ
Using a comma separated string for
$fixturesin 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$contextparameter 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
zendframeworkpackage 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 providedQueryExpressionobject. Cake\Datasource\SimplePaginatorwas 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\CspMiddlewarewas 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 throwPersistenceFailedExceptionwith 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 PLAINsupport to theSmtpTransport. - ๐ Fix warnings emitted by
SecurityComponentandCsrfProtectionMiddlewarewhen 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.
-
v3.8.11 Changes
April 06, 2020๐ The CakePHP core team is happy to announce the immediate availability of CakePHP 3.8.11. 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.11. See the changelog for every commit.
- โ Added deprecation notice about
ResponseEmittertoResponse::send(). - ๐ Fixed a division by 0 warning when file cache gc probability is set to 0.
- โก๏ธ Updated deprecation warning supression for test suites in PHP 7.4.
- ๐ Allow usage of unassigned HTTP status codes between 100 and 599.
Contributors to 3.8.11
๐ Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Edgaras Januลกauskas
- Mark Story
- Rachman Chavik
๐ As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
- โ Added deprecation notice about
-
v3.8.10 Changes
February 22, 2020๐ CakePHP 3.8.10 Released
๐ The CakePHP core team is happy to announce the immediate availability of CakePHP 3.8.10. 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.10. See the changelog for every commit.
- ๐
TestCase\EmailTrait::assertMailSentWith()now knows how to assert view builder properties. - ๐
NumberHelper::precision()had the$optionsparameter added so it can better wrapNumber::precision(). Http\Response::withStatus()no longer overwrites the content-type header with the contents of the_contentTypeproperty.- ๐
Http\Response::$_contenTypewas removed as it was often wrong and out of sync with thegetHeader('Content-Type')value. - ๐ Updated API documentation and type annotations.
- ๐
Validation::decimal()now handles Polish formatted numbers correctly. - Logged fatal errors now include the file and line position.
Contributors to 3.8.10
๐ Thank you to all the contributors that helped make this release happen:
- Johan Meiring
- Mark Story
- Michal
- Rachman Chavik
- othercorey
๐ As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
- ๐
-
v3.8.9 Changes
January 25, 2020๐ The CakePHP core team is happy to announce the immediate availability of CakePHP 3.8.9. 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.9. See the changelog for every commit.
- Error/Notice messages now have the correct context and code snippets when DebugKit is enabled.
- When a joined association uses formatResults the parent entity is no longer marked dirty if the result formatter modifieds the association entity.
- ๐ Fixed
contain()on BelongsToMany association restricting fields withfieldsoption. - ๐ Fix element cache key generation when elements were in subdirectories.
- ๐ Improved API documentation.
i18n extractnow skips writing files if no strings have changed.- ๐ Fixed password hashing being skipped when password field was null. This prevents a potential timing sidechannel should an application store users with
nullpasswords. - ๐ Fixed a notice error
UrlHelper::assetUrl()when$pathis null.
Contributors to 3.8.9
๐ Thank you to all the contributors that helped make this release happen:
- Edgaras Januลกauskas
- Marc Wรผrth
- Mark Scherer
- Mark Story
- gregs
- othercorey
๐ As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.