CakePHP 4.0.1 release, PHP rapid development framework

CakePHP is a rapid application development framework such as ActiveRecord, Association Data Mapping, Front Controller and MVC design patterns such as the famous. The project goal is to provide a variety of levels that allows PHP developers to quickly develop robust Web applications, without sacrificing flexibility.

Carried out in the middle of this month  CakePHP 4.0.0  after release, at present, CakePHP 4.0.1 release has also been officially released, this version 4.0 branch maintenance release that fixes a problem that many communities report.

Bug fixes

Users can expect the following changes in 4.0.1. About each submission can be found in the change log .

  • Less installation space upgrade tool, and is now in conflict with the application code should be less.
  • Deleted typehint on Event data payload.
  • Delete the empty string defaults console options. This fixes Argument :: hasOption () for selectable options always return true problem is.
  • And, on the redirect response object is provided substantially diactoros CSRF token.
  • When the route elements having regular expression pattern and the parameter is an integer, URL generation type not to issue a warning.
  • Now, when the outer key is not selected, use  Contain () can be connected to the associated loading error occurs. This may cause existing queries to start sending the wrong, but has been quietly failed to load data as required before these queries.
  • SQLServer fixture may now process  the restrict Foreign Key Action .
  • datetime abstract type used again  DATETIME  column type in the SQLServer. Use  DATETIME2  created microseconds overflow problem for some users.
  • Add a  TestCase :: loadRoutes () is often required in order to load the routing class (such as e-mail program ) to write unit tests.
  • When a file is created with 0 bytes, ConsoleIo :: createFile () no longer returns false.
  • Generating the URL, with the controller and operator routing is not defined in the placeholder when these keys are no longer peeled off. In contrast, the lack of control and operation will not match the routing key.
  • Now, the optional routing placeholders can work consistently for colon and parentheses placeholder placeholder.
  • Since many expression accepts implement __toString ()  of objects,  FunctionsBuilder  again allow  $ expression parameter using a hybrid type.
  • ErrorLogger  no longer can not be recorded as an error message or no file line.
  • Improved API doc blocks.

Release Notes

Download: https://github.com/cakephp/cakephp/releases

Guess you like

Origin www.oschina.net/news/112449/cakephp-4-0-1-released