Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.41 KB

UPGRADE.md

File metadata and controls

29 lines (22 loc) · 1.41 KB

Upgrade to 1.3.0

  • The column default in table user_role was renamed to is_default to avoid problems with the colliding SQL keyword DEFAULT

Upgrade to 1.2.0

Version 1.2.0 brings in following new features:

  • Zend Developer Tools integration
  • Better Doctrine ORM support
  • Compatibility with any Doctrine ObjectManager (MongoDB ODM, PHPCR ODM, OrientDB ODM, etc.)
  • The new BjyAuthorize\View\RedirectionStrategy to redirect on unauthorized access

Following changes are required to upgrade:

  • The BjyAuthorize\Provider\Role\Doctrine provider was removed, use the BjyAuthorize\Provider\Role\ObjectRepositoryProvider as described in the documentation instead
  • The BjyAuthorize\Provider\Identity\AuthenticationDoctrineEntity provider was removed, use the simpler BjyAuthorize\Provider\Identity\AuthenticationIdentityProvider instead
  • The BjyAuthorize\Provider\Identity\ZfcUserDoctrine provider was removed, use the simpler BjyAuthorize\Provider\Identity\AuthenticationIdentityProvider instead
  • Following methods were removed from the BjyAuthorize\Provider\Identity\ProviderInterface:
    • getDefaultRole
    • setDefaultRole

Users who cannot upgrade now should lock their version of BjyAuthorize to 1.1.*.