4.2.3
9 Febbraio 2021 - 65MB4.2.3
Bug Fixes
- Improve saving of translations when using the shadow table strategy.
- Improved flash message retention. Messages are now merged with the existing messages making it compatible with multiple requests in the same test method.
- Fix Session::read() to return the default value when a session cannot be started.
- Improved API documentation.
- Validation::custom() now accepts integer values.
- The sprintf() translation formatter now works consistently with the intl based implementation when translating plural values. The count parameter is no longer the first placeholder value.
- Mailer\Message now includes the textMessage and htmlMessage in serialized data.
- Arguments for stacktraces are now included by default for development error pages.
4.2.2
Bug Fixes
- Integration tests now persist flash message more reliably when custom view classes are used, and when redirects are performed.
- Changes made to FixtureManager were reverted fixing problems with fixture schema management and partial data loading.
- API documentation was improved.
- CSRF tokens created by CsrfProtectionMiddleware are now salted to mitigate BREACH vulnerabilities. The tokens are now longer, and are encoded with base64 instead of hexadecimal encoded.
Per saperne di più:
https://github.com/cakephp/cakephp/releases4.2.1
28 Dicembre 2020 - 60MBChanges
- Fix fixture file casing.
- Improved API documentation for TimeHelper.
- Added additional setup warnings for short Security.salt values. Ideally salt values are 32 bytes or longer.
- Fix null values being passed to controller actions when resolving dependencies.
- Fix BREACH weakness in SessionCsrfProtectionMiddleware.
Per saperne di più:
https://github.com/cakephp/cakephp/releases4.2.0
(versione principale)
21 Dicembre 2020 - 60MB- Full support for PHP8.
- Experimental support for a dependency injection container was added. The DI container enables you to have application dependencies injected into controller constructors, controller actions and command constructors.
- SQLServer driver now uses client-side buffers for results. This improves performance greatly.
- Cake\Http\Middleware\SessionCsrfProtectionMiddleware was added. Instead of storing CSRF tokens in a cookie, this middleware stores tokens in the session. This makes CSRF tokens user scoped and time based with the session, offering enhanced security over cookie based CSRF tokens.
- A new utility class Cake\Http\FlashMessage was added whose instance is available through ServerRequest::getFlash(). The class similar to the FlashComponent allows you to set flash messages from anywhere you have a request, making it useful in middleware.
- Table::subquery() and Query::subquery() were added. These methods lets you create query objects that don't have automatic aliasing.
Per saperne di più:
https://github.com/cakephp/cakephp/releases4.1.7
14 Dicembre 2020 - 60MB- 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.
Per saperne di più:
https://github.com/cakephp/cakephp/releases4.1.6
(versione principale)
4 Dicembre 2020 - 60MB- 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.
Per saperne di più:
https://github.com/cakephp/cakephp/releases3.8.5
7 Ottobre 2019 - 50MB- Router::reverse() now removes the CSRF token and isAjax from generated URLs.
- Improved failure messages for header and cookie assertion methods.
- Removed an additional \r\n from multipart HTTP client request bodies which caused them to be rejected by some servers.
- Removed quotes around multipart message boundary markers. These quotes are not necessary and could cause servers with non-compliant HTTP parsers to reject the request.
- Number::toPercentage() now uses the locale data when placing the % marker.
- MysqlSchema now generates schema correctly for decimal and float columns that have a length but no precision.
- Fixed schema reflection for double unsigned type in MySQL.
- Fixed schema reflection for varbinary(max) type in SqlServer.
- File and line information is now included in log messages from ErrorHandlerMiddleware.
Per saperne di più:
https://github.com/cakephp/cakephp/releases3.8.0
(versione principale)
2 Luglio 2019 - 50MBThe CakePHP core team is happy to announce the immediate availability of CakePHP 3.8.0.
What's New
- CollectionTrait now uses the newCollection method to create clones. This allows sub-classes to have collection methods create instances of themselves instead of using Collection.
- Command::executeCommand() was added. This method makes it simple to call another command from the current one.
- Validator::notEmptyString(), notEmptyArray(), notEmptyFile(), notEmptyDate(), notEmptyTime(), and notEmptyDateTime() were added. They act as compliments to the allowEmpty* methods added in 3.7.
- Validation::mimeType() now compares checks mime-types in a case insensitive manner.
- Validation::dateTime() now supports the iso8601 format.
- Radio buttons can now customize the generated label by using the label key inside a complex option definition. This key will be used instead of the label key defined at the top level options.
Per saperne di più:
https://github.com/cakephp/cakephp/releases3.5.14
2 Aprile 2018 - 50MB3.5.14
- Included root certificate authority was updated to march 2018 build from mozilla.
- Improved API documentation and test coverage.
- Fixed internal usage of deprecated Cake\Database\Schema\Table class name.
- Fixed errors when Memcached::getMulti() returns false.
3.5.13
- Form now allows schema classes to be customized via the _schemaClass property.
- A notice error in the missing template error page was fixed.
- Tables with no primary key can no longer be updated by the ORM. Instead of a dangerous update operation an exception will be raised.
- Entity virtual fields are now included in debug output.
- PaginatorComponent no longer prefixes sort fields. This makes defining sortWhitelist easier.
- Improved API documentation.
- Session configuration in integration test cases should not emit errors in PHP7.2 with database sessions.
- FormHelper now accepts multiple => false to disable multi-select generation.
3.5.12
- Router::url() now works correctly when the _ssl and _full options are combined.
- View no longer fails to add an extension subdirectory when the current controller's name is the same lenght as the extension name.
- cake plugin symlink now offers an overwrite option.
- Folder::isRegisteredStreamWrapper() now handles custom stream names.
- Queries using leftJoinWith() and auto-fields no longer creates invalid SQL.
- cake server now allows the ini file used by the server process to be defined via the ini_path option.
- The bundled CA file was updated to the latest version from mozilla.
- FormHelper::control() now passes the required attribute into the datetime widget correctly.
- ObjectRegistry::normalizeArray() no longer corrupts the array structure when called multiple times on the same data.
Per saperne di più:
https://github.com/cakephp/cakephp/releases3.5.0
5 Febbraio 2018 - 50MBPer saperne di più:
https://book.cakephp.org/3.0/en/appendices/3-x-migration-guide.html3.4.9
(versione principale)
1 Luglio 2017 - 50MBPer saperne di più:
https://book.cakephp.org/3.0/en/appendices/3-x-migration-guide.html3.0.12
2 Settembre 2015 - 5MB