Releases: LM-Commons/LmcAdmin
2.0.0
Major release
Version 2 provides the same functionality as version 1 but the underlying architecture was modified to make it more modern with respect to Laminas MVC: adding ConfigProviders, improved listeners, module options, test suites, coding standards, etc.
Version 2 is the basis for further improvements and future functionalities.
As this is a major version release, there are many breaking changes that prevent straightforward upgrading:
Namespace change
The namespace has been changed from LmcAdmin to Lmc\Admin.
Please review your code to replace references to the LmcAdmin
namespace
by the Lmc\Admin
namespace.
Default layout template name
The default layout template has been changed from layout/admin
to layout/lmcadmin
.
The index
action of the AdminController
now returns a View Model with its template set to
'lmc-admin/admin/index'
. To use your customer view template, you need to add a View Manager
template map entry for 'lmc-admin/admin/index'
that points to your custom view.
Configuration key
The configuration key for LmcAdmin was changed from lmcadmin
to lmc_admin
. The content of the LmcAdmin config is now available using the Lmc\Admin\Options\ModuleOptions
service from the container.
1.2.1
v1.2.0
Release 1.1.0
Added PHP 8 version.
Release 1.0.0
Conversion from ZfcAdmin to LmcAdmin.