|
| 1 | +CakePHP 4.0.0-alpha1 Released |
| 2 | +============================= |
| 3 | + |
| 4 | +The CakePHP core team is proud to announce the first alpha release of CakePHP |
| 5 | +4.0.0. We've been working on this release for several months now feel it is |
| 6 | +ready for broader feedback from the community. |
| 7 | + |
| 8 | +There are a few high-level goals for the 4.0.0 release that this alpha release |
| 9 | +delivers upon: |
| 10 | + |
| 11 | +#. Remove all features and functionality deprecated in 3.x and marked for |
| 12 | + removal in 4.x |
| 13 | +#. Raise the minimum PHP version to 7.1.0. PHP 5 and PHP 7.0 are now end-of-life |
| 14 | + and we wanted to target a supported version of PHP. |
| 15 | +#. Greatly improve the usage of typehinting internally to allow internals to be |
| 16 | + simplified due to less need to type check arguments. |
| 17 | +#. Improve error messages across the framework. |
| 18 | + |
| 19 | + |
| 20 | +New Features |
| 21 | +------------ |
| 22 | + |
| 23 | +While 4.0 focuses on removing deprecated functionality we've also found the time |
| 24 | +to add some great new features: |
| 25 | + |
| 26 | +* The ORM can now automatically handle timezone conversions between your |
| 27 | + application server timezone and database timezone if they differ. |
| 28 | +* CakePHP now supports the `PSR-15: HTTP Server Request Handlers |
| 29 | +<https://www.php-fig.org/psr/psr-15/>_` specification. |
| 30 | +* ``Cake\Http\Client`` now follows `PSR-18: HTTP Client |
| 31 | +<https://www.php-fig.org/psr/psr-18/>_` specifications. |
| 32 | +* FormHelper now generates HTML5 validation messages and datetime inputs. |
| 33 | + |
| 34 | +The `migration guide |
| 35 | +<https://book.cakephp.org/4.0/en/appendices/4-0-migration-guide.html>`_ has |
| 36 | +a complete list of what's new in 4.0.0. We recommend you give that page a read |
| 37 | +when upgrading as it notes the various breaking changes present in 4.0. |
| 38 | + |
| 39 | +How you Can Help |
| 40 | +---------------- |
| 41 | + |
| 42 | +You can help deliver 4.0 by contributing in one of many ways: |
| 43 | + |
| 44 | +#. Check the `documentation <https://book.cakephp.org/4.0/en/` for mistakes |
| 45 | + and unclear or broken examples. We've been trying to update everything but |
| 46 | + may not have caught everthing. |
| 47 | +#. Try it out! Give CakePHP 4.0 a test drive in a non-production application. |
| 48 | + We'd love to hear how converting a small application went and what was harder |
| 49 | + than it should have been. |
| 50 | +#. File bugs for new features or regressions in existing behavior. |
| 51 | +#. Let us know about unclear error messages or silent failures in CakePHP. |
| 52 | +#. Suggest new features. While we're not likely to greatly expand the scope of |
| 53 | + 4.0, we would like input on what should be a part of 4.1 and 4.2. |
| 54 | + |
| 55 | + |
| 56 | +Contributors to 4.0.0-alpha1 |
| 57 | +---------------------------- |
| 58 | + |
| 59 | +Thank you to all the contributors that helped make 3.8 happen: |
| 60 | + |
| 61 | +* TODO |
| 62 | + |
| 63 | +As always, a huge thanks to all the community members that helped make this |
| 64 | +release happen by reporting issues and sending pull requests. |
| 65 | + |
| 66 | +Download a `packaged release on github |
| 67 | +<https://github.com/cakephp/cakephp/releases>`_. |
| 68 | + |
| 69 | + |
| 70 | +.. author:: markstory |
| 71 | +.. categories:: news |
| 72 | +.. tags:: release,news |
0 commit comments