tag:github.com,2008:https://github.com/LM-Commons/LmcRbacMvc/releasesRelease notes from LmcRbacMvc2025-01-27T22:43:58Ztag:github.com,2008:Repository/300310381/4.1.12025-01-27T22:43:59Z4.1.1<h3>Release Notes for <a href="https://github.com/LM-Commons/LmcRbacMvc/milestone/9">4.1.1</a></h3>
<p>4.1.x bugfix release (patch)</p>
<h3>4.1.1</h3>
<ul>
<li>Total issues resolved: <strong>1</strong></li>
<li>Total pull requests resolved: <strong>1</strong></li>
<li>Total contributors: <strong>2</strong></li>
</ul>
<h4>bug</h4>
<ul>
<li><a href="https://github.com/LM-Commons/LmcRbacMvc/pull/172" data-hovercard-type="pull_request" data-hovercard-url="/LM-Commons/LmcRbacMvc/pull/172/hovercard">172: Patched UnauthorizedStrategy.php to set the listener priority to -1</a> thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/visto9259/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/visto9259">@visto9259</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/juizmill/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/juizmill">@juizmill</a></li>
</ul>visto9259tag:github.com,2008:Repository/300310381/4.1.02025-01-03T00:57:27Z4.1.0<h3>Release Notes for <a href="https://github.com/LM-Commons/LmcRbacMvc/milestone/5">4.1.0</a></h3>
<p>Next minor</p>
<h3>4.1.0</h3>
<ul>
<li>Total issues resolved: <strong>3</strong></li>
<li>Total pull requests resolved: <strong>9</strong></li>
<li>Total contributors: <strong>3</strong></li>
</ul>
<h4>dependencies,enhancement,v4</h4>
<ul>
<li><a href="https://github.com/LM-Commons/LmcRbacMvc/pull/169" data-hovercard-type="pull_request" data-hovercard-url="/LM-Commons/LmcRbacMvc/pull/169/hovercard">169: Added support for PHP 8.4. </a> thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/visto9259/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/visto9259">@visto9259</a></li>
</ul>
<h4>dependencies,enhancement</h4>
<ul>
<li><a href="https://github.com/LM-Commons/LmcRbacMvc/pull/168" data-hovercard-type="pull_request" data-hovercard-url="/LM-Commons/LmcRbacMvc/pull/168/hovercard">168: Applied Laminas Coding Standard v3. Moved to Laminas CI workflow</a> thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/visto9259/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/visto9259">@visto9259</a></li>
</ul>
<h4>enhancement</h4>
<ul>
<li><a href="https://github.com/LM-Commons/LmcRbacMvc/issues/165" data-hovercard-type="issue" data-hovercard-url="/LM-Commons/LmcRbacMvc/issues/165/hovercard">165: Use Laminas' CI Matrix workflow for CI</a> thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/visto9259/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/visto9259">@visto9259</a></li>
</ul>
<h4>dependencies</h4>
<ul>
<li>
<p><a href="https://github.com/LM-Commons/LmcRbacMvc/pull/159" data-hovercard-type="pull_request" data-hovercard-url="/LM-Commons/LmcRbacMvc/pull/159/hovercard">159: Remove unused direct dependency on abandoned laminas-config.</a> thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/demiankatz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/demiankatz">@demiankatz</a></p>
</li>
<li>
<p><a href="https://github.com/LM-Commons/LmcRbacMvc/pull/155" data-hovercard-type="pull_request" data-hovercard-url="/LM-Commons/LmcRbacMvc/pull/155/hovercard">155: Adding release automation</a> thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/visto9259/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/visto9259">@visto9259</a></p>
</li>
<li>
<p><a href="https://github.com/LM-Commons/LmcRbacMvc/pull/149" data-hovercard-type="pull_request" data-hovercard-url="/LM-Commons/LmcRbacMvc/pull/149/hovercard">149: Update renovate to use common configuration</a> thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/visto9259/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/visto9259">@visto9259</a></p>
</li>
</ul>
<h4>dependencies,javascript</h4>
<ul>
<li><a href="https://github.com/LM-Commons/LmcRbacMvc/pull/154" data-hovercard-type="pull_request" data-hovercard-url="/LM-Commons/LmcRbacMvc/pull/154/hovercard">154: Bump express from 4.19.2 to 4.21.1 in /docs</a> thanks to <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot">@dependabot</a>[bot]</li>
<li><a href="https://github.com/LM-Commons/LmcRbacMvc/pull/152" data-hovercard-type="pull_request" data-hovercard-url="/LM-Commons/LmcRbacMvc/pull/152/hovercard">152: Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /docs</a> thanks to <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot">@dependabot</a>[bot]</li>
<li><a href="https://github.com/LM-Commons/LmcRbacMvc/pull/151" data-hovercard-type="pull_request" data-hovercard-url="/LM-Commons/LmcRbacMvc/pull/151/hovercard">151: Bump webpack from 5.90.3 to 5.95.0 in /docs</a> thanks to <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot">@dependabot</a>[bot]</li>
<li><a href="https://github.com/LM-Commons/LmcRbacMvc/pull/127" data-hovercard-type="pull_request" data-hovercard-url="/LM-Commons/LmcRbacMvc/pull/127/hovercard">127: Bump micromatch from 4.0.5 to 4.0.8 in /docs</a> thanks to <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot">@dependabot</a>[bot]</li>
</ul>visto9259tag:github.com,2008:Repository/300310381/3.5.02025-01-02T20:31:04Z3.5.0<h3>Release Notes for <a href="https://github.com/LM-Commons/LmcRbacMvc/milestone/6">3.5.0</a></h3>
<h3>3.5.0</h3>
<ul>
<li>
<p>Total issues resolved: <strong>1</strong></p>
</li>
<li>
<p>Total pull requests resolved: <strong>0</strong></p>
</li>
<li>
<p>Total contributors: <strong>1</strong></p>
</li>
<li>
<p><a href="https://github.com/LM-Commons/LmcRbacMvc/issues/162" data-hovercard-type="issue" data-hovercard-url="/LM-Commons/LmcRbacMvc/issues/162/hovercard">162: Add PHP 8.4 support to version 3</a> thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/visto9259/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/visto9259">@visto9259</a></p>
</li>
</ul>visto9259tag:github.com,2008:Repository/300310381/4.0.22024-09-24T13:49:46Z4.0.2<h1>Release Notes for <a href="https://github.com/LM-Commons/LmcRbacMvc/milestone/3">4.0.2</a></h1>
<p>4.0.x bugfix release (patch)</p>
<p>4.0.2</p>
<ul>
<li>Total issues resolved: 2</li>
<li>Total pull requests resolved: 3</li>
<li>Total contributors: 1</li>
</ul>
<p>Bugs:</p>
<ul>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2545370276" data-permission-text="Title is private" data-url="https://github.com/LM-Commons/LmcRbacMvc/issues/143" data-hovercard-type="issue" data-hovercard-url="/LM-Commons/LmcRbacMvc/issues/143/hovercard" href="https://github.com/LM-Commons/LmcRbacMvc/issues/143">#143</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2544845917" data-permission-text="Title is private" data-url="https://github.com/LM-Commons/LmcRbacMvc/issues/142" data-hovercard-type="issue" data-hovercard-url="/LM-Commons/LmcRbacMvc/issues/142/hovercard" href="https://github.com/LM-Commons/LmcRbacMvc/issues/142">#142</a></li>
</ul>
<p>Dependency updates:</p>
<ul>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2503059677" data-permission-text="Title is private" data-url="https://github.com/LM-Commons/LmcRbacMvc/issues/132" data-hovercard-type="pull_request" data-hovercard-url="/LM-Commons/LmcRbacMvc/pull/132/hovercard" href="https://github.com/LM-Commons/LmcRbacMvc/pull/132">#132</a></li>
</ul>visto9259tag:github.com,2008:Repository/300310381/4.0.12024-09-17T20:03:40Z4.0.1<h1>Release Notes for <a href="https://github.com/LM-Commons/LmcRbacMvc/milestone/2">4.0.1</a></h1>
<p>4.0.x bugfix release (patch)</p>
<p>4.0.1</p>
<ul>
<li>Total issues resolved: 2</li>
<li>Total pull requests resolved: 1</li>
<li>Total contributors: 1</li>
</ul>
<p>Bug</p>
<ul>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2530637392" data-permission-text="Title is private" data-url="https://github.com/LM-Commons/LmcRbacMvc/issues/138" data-hovercard-type="issue" data-hovercard-url="/LM-Commons/LmcRbacMvc/issues/138/hovercard" href="https://github.com/LM-Commons/LmcRbacMvc/issues/138">#138</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2531364852" data-permission-text="Title is private" data-url="https://github.com/LM-Commons/LmcRbacMvc/issues/139" data-hovercard-type="issue" data-hovercard-url="/LM-Commons/LmcRbacMvc/issues/139/hovercard" href="https://github.com/LM-Commons/LmcRbacMvc/issues/139">#139</a></li>
</ul>visto9259tag:github.com,2008:Repository/300310381/4.0.02024-09-10T14:46:12Z4.0.0<h1>Version 4.0 - First Release</h1>
<p>This is the first release of LmcRbcMvc version 4.</p>
<p>LmcRbacMvc v3 and LmcRbac v1 shared a lot of code.</p>
<p>LmcRbacMvc v4 is now based on LmcRbac v2 which was augmented such that common code is now part of LmcRbac.<br>
This has rendered many components of LmcRbacMvc unnecessary and they are deprecated.</p>
<p>In addition, LmcRbac v2 is now based on laminas-permissions-rbac's Role classes and interfaces.</p>
<p>Therefore, LmcRbacMvc v4 is a major upgrade with many breaking changes that prevent<br>
straightforward upgrading.</p>
<p>Please read the <a href="https://github.com/LM-Commons/LmcRbacMvc/blob/4.0.x/UPGRADE.md">Upgrade</a> guide before upgrading:</p>
<h3>Namespace change</h3>
<p>In an effort to In an effort to normalize LM-Commons components into a common Lmc namespace, the namespace will<br>
be refactored to Lmc\Rbac\Mvc.</p>
<p>Please update your code to replace <code>LmcRbacMvc</code> by <code>Lmc\Rbac\Mvc</code>.</p>
<h3>Deprecations</h3>
<p>The following components that were shared with LmcRbac are deprecated in LmcRbacMvc and should be replaced by their<br>
LmcRbac equivalent:</p>
<ul>
<li>Lmc\Rbac\Mvc\Exception\ExceptionInterface</li>
<li>Lmc\Rbac\Mvc\Exception\InvalidArgumentException</li>
<li>Lmc\Rbac\Mvc\Exception\RoleNotFoundException</li>
<li>Lmc\Rbac\Mvc\Exception\RuntimeException</li>
<li>Lmc\Rbac\Mvc\Permission\PermissionInterface</li>
<li>Lmc\Rbac\Mvc\Identity\IdentityInterface</li>
<li>Lmc\Rbac\Mvc\Role\RoleProviderInterface</li>
</ul>
<h3>Refactored and removed classes</h3>
<h4>Factories</h4>
<ul>
<li>The factory classes were refactored from the <code>LmcRbacMvc\Factory</code> namespace to be colocated with<br>
the service that the factory is creating. All the factories that were in <code>LmcRbacMvc\Factory</code> namespace have been<br>
deleted.</li>
</ul>
<h4>Role providers</h4>
<p>The former LmcRbacMvc v3 role providers are no longer available and replaced by LmcRbac equivalent. LmcRbac will throw<br>
an exception if your config file still refers to them. In addition, the role provider plugin manager<br>
was removed as it was not necessary.</p>
<ul>
<li>LmcRbacMvc\Role\RoleProviderPluginManager <em>no longer used</em></li>
<li>LmcRbacMvc\Role\InMemoryRoleProvider <em>replaced by a LmcRbac equivalent</em></li>
<li>LmcRbacMvc\Role\ObjectRepositoryRoleProvider <em>replaced by a LmcRbac equivalent</em></li>
</ul>
<h4>Assertion</h4>
<ul>
<li>LMcRbacMvc\Assertion\AssertionPluginManagerFactory <em>no longer used</em></li>
<li>LMcRbacMvc\Assertion\AssertionPluginManager <em>no longer used</em></li>
</ul>
<h3>Assertions refactoring</h3>
<p>LmcRbacMvc is now using LmcRbac assertions and assertion plugin manager instead of its own.</p>
<p>Therefore all previous assertions in LmcRbacMvc v3 must now implement the <code>\Lmc\Rbac\Assertion\AssertionInterface</code><br>
otherwise LmcRbac will throw an exception.</p>
<p><code>\Lmc\Rbac\Assertion\AssertionInterface</code> is a more generic interface for asserting permissions. An assertion under this<br>
interface will be passed the permission, identity and context whereas in LmcRbacMvc v3, the assertion is<br>
passed the AuthorizationService from which one had to get the identity. Having the permission as a parameter allows to<br>
reuse the same assertion to handle multiple permissions.</p>visto9259tag:github.com,2008:Repository/300310381/3.4.12024-09-10T01:12:48Z3.4.1<h1>Maintenance Release</h1>
<ul>
<li>Added <code>.gitattributes</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2515182922" data-permission-text="Title is private" data-url="https://github.com/LM-Commons/LmcRbacMvc/issues/134" data-hovercard-type="issue" data-hovercard-url="/LM-Commons/LmcRbacMvc/issues/134/hovercard" href="https://github.com/LM-Commons/LmcRbacMvc/issues/134">#134</a></li>
<li>Updated <code>.gitgnore</code></li>
<li>Added component installer <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1621770425" data-permission-text="Title is private" data-url="https://github.com/LM-Commons/LmcRbacMvc/issues/34" data-hovercard-type="issue" data-hovercard-url="/LM-Commons/LmcRbacMvc/issues/34/hovercard" href="https://github.com/LM-Commons/LmcRbacMvc/issues/34">#34</a></li>
</ul>visto9259tag:github.com,2008:Repository/300310381/v3.4.02024-08-09T12:53:43ZRelease v3.4.0 - Added support for PHP 8.3<h2>Updated PHP requirements</h2>
<ul>
<li>Added PHP 8.2 and 8.3</li>
<li>Dropped PHP 7.4</li>
</ul>
<h2>Updated dependencies</h2>
<ul>
<li>Removed zfr/rbac v1. This package is no longer supported and was causing deprecation notices in PHP 8.</li>
<li>Added lm-commons/rbac v1 which is a 1-for-1 clone of zfr/rbac which fixes the deprecations notices. It uses the same Rbac namespace.</li>
</ul>
<h2>Important note</h2>
<p>LmcRbacMvc now includes lm-commons/rbac. If your project has its own dependency on zfr/rbac, you should update it to lm-commons/rbac to avoid namespace conflicts.</p>visto9259tag:github.com,2008:Repository/300310381/test-4.x2024-03-01T19:22:40Ztest-4.x<p>Removed locally created Rbac class.</p>visto9259tag:github.com,2008:Repository/300310381/v3.3.22024-02-28T16:32:34ZRelease v3.3.2 - Moved to Psr/Container<h2>Moved to Psr/Container</h2>
<ul>
<li>Removed deprecated Interop/Container</li>
<li>No changes to functionality</li>
</ul>visto9259