Skip to content

Releases: LM-Commons/LmcRbac

2.0.0

10 Sep 00:24
7f2fc33
Compare
Choose a tag to compare

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

30 Aug 18:03
ae7b1c6
Compare
Choose a tag to compare
Pre-release

This is an alpha release of v2.0.0

Release v1.4.1 - Updated documentation

11 Jul 19:31
5858eb4
Compare
Choose a tag to compare

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

23 May 14:35
542e893
Compare
Choose a tag to compare

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 to RoleService 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 to InMemoryRoleProvider (#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

16 May 19:00
082ce67
Compare
Choose a tag to compare

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

26 Apr 16:34
b5e9b49
Compare
Choose a tag to compare

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

23 Jun 01:12
2688d3b
Compare
Choose a tag to compare

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

06 Feb 21:03
23f2038
Compare
Choose a tag to compare

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

06 Feb 20:49
d97223a
Compare
Choose a tag to compare

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

23 Jan 18:14
8004394
Compare
Choose a tag to compare

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