Monday, July 28, 2014

Re: CakePHP 3.0.0-alpha2 released

Once we release the beta we are going to focus more in plugins, such as debug kit. Beta is hopefully the next release :)

On Monday, July 28, 2014 1:50:16 PM UTC+2, Dr. Tarique Sani wrote:
Hey Mark,

I know it will be done when it is done but can't resist asking none the less - any ETA on the Debug Toolkit for v3 ?

TIA

Tarique


On Mon, Jul 28, 2014 at 12:43 PM, José Lorenzo <jose.zap@gmail.com> wrote:

The CakePHP core team is proud to announce the immediate availability of CakePHP 3.0.0-alpha2. CakePHP 3.0.0-alpha2 is the second alpha release for CakePHP 3.0.0. In the month since 3.0.0-alpha1 a few new features have been merged, and many issues have been fixed.

New Features in 3.0.0-alpha2

Router Refactor and Builder Based APIs.

The Router class has been re-factored internally and new methods have been added to allow your routes file to stay DRYer than ever before. In addition to improved methods, the performance of parsing incoming URLs has been greatly improved. Router is stricter about missing routes, and will notify you (via an exception) when a URL cannot be parsed or matched with the connected routes.

The default routes provided by CakePHP have been removed. While helpful in the prototyping stages, these routes created issues with duplicate content and were often not used in larger applications. In their place, a smaller subset of routes is provided to help with the prototype stage of application development. If you have an existing application using 3.0, you will need to update your routes.php file.

CacheHelper Removed

CacheHelper has been removed from CakePHP. The core team feels that the functionality this helper provided is best handled by standalone servers like Varnish. While we explored building a ESI based replacement for CacheHelper, there were a number of edge cases that would have complicated the implementation.

ORM Improvements

  • Empty associations in BelongsTo and HasOne associations no longer hydrate an empty entity. Instead the association property will be null .
  • Options for all the various ORM operations are now consistent.
  • You can specify a white list of fields when marshaling data out of the request and into entities.
  • It is now easier to implement custom column types with the _initializeSchema table hook method.
  • Query::newExpr() now accepts a SQL expression.
  • Conditions with nullable values are easier to build 'field IS' => $val will generate correct SQL when $val is not NULL .
  • Conditions with IN clauses work better with empty data.

Other Changes

  • HtmlHelper and FormHelper had their $confirmMessage arguments removed and replaced with confirm options.
  • Improved errors for Cells.
  • Prefixed controllers can now use prefixed layouts which will be checked automatically.
  • Cookies are now read and decrypted lazily.
  • The ssl routing option is now _ssl .
  • The [method] routing option is now _method .
  • Header based route matching has been removed. It was very infrequently used.
  • Router::resourceMap() has been removed. New options for Router::mapResources() replace the need to have this method.
  • Bcrypt hashing has been removed from Security::hash()

There are still tickets available for CakeFest 2014. You can get your tickets now to join us in Madrid for exciting talks and tutorials on CakePHP and related technologies.

For more details on all the changes in 3.0.0, you can consult the migration guide. I'd like to thank everyone who has contributed thoughts, code, documentation or feedback to 3.0 so far. We are very grateful for all the early adopters and their feedback. Getting issues found and fixed early is a huge help.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.



--
=============================================================
The Conference Schedule Creator : http://shdlr.com

PHP for E-Biz : http://sanisoft.com
=============================================================

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: