Upgrade.md 833 B

Migration from 2.x to 3.x

TinyAuth

  • TinyAuth has been moved to its own plugin.

Auth

  • As session is not static anymore Auth class has been refactored into component and helper (incl. trait) and can be used as AuthUser.

Geo

  • Behaviors Geocodable and Helper GoogleMapsV3 are now moved to a separate Geo plugin.

Utility

  • *Lib are now just * classes
  • Utility::getMimeType() is now Mime::detectMimeType()
  • $this->Time->isLeapYear() now doesnt take an argument anymore

Controller

  • Flash message functionality has been extracted into Flash component and Flash helper.
  • $this->Common->flashMessage() is now $this->Flash->message().
  • $this->Common->transientFlashMessage() is now $this->Flash->transientMessage().