Releases: LM-Commons/LmcRbac
Releases · LM-Commons/LmcRbac
2.0.0
Version 2.0.0
LmcRbac v2 is a major version upgrade with many major breaking changes that prevent straightforward upgrading.
Major changes
LmcRbac v2 is now based on Role and Rbac classes from laminas-permissions-rbac. All services have been updated to use these classes and interfaces.
Refer to #16 for details and rationale for version 2.
Namespace change
- The namespace has been changed from LmcRbac to Lmc\Rbac. Please review your code to replace LmcRbac namespace by Lmc\Rbac namespace.
Deprecations and removals
- LmcRbac\HierarchicalRole, LmcRbac\Role and LmcRbac\RoleInterface has been deleted. Use the equivalent classes from laminas-permissions-rbac instead.
- The factories for services have been refactored from the src/Container folder to be colocated with the service that a factory is creating. All factories in the src/Container has been deleted.
- The AssertionContainer class, interface and factory have been deprecated and replaced by AssertionPluginManager class, interface and factory.
Pre-realease v2.0.0-alpha.1
This is an alpha release of v2.0.0
Release v1.4.1 - Updated documentation
Changes
- None
Updated dependencies
- Updated docusaurus to 3.4.0
Updated documentation
- Updated source for website
Updated testing
- None
Breaking change
- None
Release v1.4.0 - Added default Role Provider
Changes
- In previous versions, the role provider was created by providing a factory or alias for
RoleProviderInterface
. Starting with this version, the Role Provider passed toRoleService
is the role provider defined in the'lmc_rbac'
configuration. (#45) - Updated
RoleServiceFactory
to use the role provider defined by the'role_provider'
key in the'lmc_rbac'
configuration. (#45) - Updated
ModuleOptions
to set the default role provider toInMemoryRoleProvider
(#45)
Updated dependencies
- None
Updated documentation
- None
Updated testing
- Updated test cases for the above changes (#45)
- Update php-cs-fixer to replace deprecated standard (#42)
Breaking change
- See changes above
Release v1.3.1 - Minor maintenance
Updated dependencies
- None
- Made PHP requirements more explicit
Updated documentation
- Minor updates on PHP requirements in README
Updated testing
- Fixed issues releated to the upgrade to php-cs-fixer v3 (#38)
Breaking change
- None
Release v1.3.0 - Updated dependencies
Updated dependencies
- doctrine/persistence v2 & v3
- phpunit v10
- php-cs-fixer v3
Updated documentation
- Added documentation websire using Docusaurus under LM-Commons
Updated testing
- Removed Travis CI
- Added GitHub Actions for CI testing (PHP 8.1, 8.2 , 8.3)
Breaking change
- None
Release v1.2.0 - Added support for PHP8
Updated dependency to PHP 8.0
- Updated composer.json
- Updated travis-ci configuration
Updated documentation
- None
Breaking change
- None
Release v1.1.0 - Updated dependency to doctrine/persistence v2
Updated dependency to doctrine/persistence v2
- Updated composer.json
Updated documentation
- Removed the docs folder which was to related to this library
Breaking change
- If doctrine/persistence v1 is required, use LmcRbac v1.0.x
Release v1.0.2 - Added dependency on doctrine/persistence v1
Added dependency on doctrine/persistence v1
- Dependency added to composer.json
Updated documentation
- Removed the docs folder which was to related to this library
Upgrade
- If doctrine/persistence v2 is required, use LmcRbac v1.1.0 and above
Release v1.0.1 - Minor documentation updates and testing environment update
Fixed documentation
- Updated the links to badges
Composer
- Updated links to homepage
- Updated org name
CI Testing
- Dropped testing against PHP 7.2
- Prevented issues with xdebug when testing coverage