Releases: mezzio/mezzio-tooling
2.9.0
Release Notes for 2.9.0
Feature release (minor)
2.9.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 1
Enhancement
Documentation
- 45: Fix markdown-lint issues thanks to @gsteel
2.8.0
Release Notes for 2.8.0
Feature release (minor)
2.8.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
renovate
- 38: Update dependency vimeo/psalm to v5 thanks to @renovate[bot]
2.7.0
Release Notes for 2.7.0
Feature release (minor)
2.7.0
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 4
Enhancement,dependencies
- 37: Reduce
mockery/mockery
and Prophecy mocking dependency usages thanks to @Ocramius - 32: Add phpdocumentor/reflection-docblock >=4.0.1 requirement thanks to @internalsystemerror
Enhancement
renovate
- 31: Configure Renovate thanks to @renovate[bot]
2.6.0
Release Notes for 2.6.0
Feature release (minor)
2.6.0
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 4
Enhancement
- 29: Add support for component-installer v3 thanks to @boesing
- 24: Prepare for Renovate with reusable workflows thanks to @ghostwriter
- 23: Apply php 7.4 syntax thanks to @samsonasik
dependencies
Bug,Documentation
2.5.0
Release Notes for 2.5.0
Feature release (minor)
2.5.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 1
Enhancement
2.4.0
Release Notes for 2.4.0
Feature release (minor)
2.4.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 19: Upgrade laminas-code to 4.5 thanks to @arueckauer
2.3.0
Release Notes for 2.3.0
Feature release (minor)
2.3.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
2.2.0
Release Notes for 2.2.0
Feature release (minor)
2.2.0
- Total issues resolved: 1
- Total pull requests resolved: 1
- Total contributors: 2
Enhancement,hacktoberfest-accepted
- 17: feat: Add Psalm integration thanks to @alexraputa and @boesing
2.1.0
Release Notes for 2.1.0
Feature release (minor)
2.1.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 16: Add support for PHP 8.1 thanks to @arueckauer
2.0.0
Release Notes for 2.0.0
This is a backwards incompatible (major) release.
Added
-
This release adds a
Mezzio\Tooling\ConfigProvider
class, and exposes it via the package configuration.
Existing users will need to explicitly add an entry for this class to theirconfig/config.php
file, unless they are already updated to laminas/laminas-component-installer 2.5.0+, at which point they will be prompted during upgrade to this new version. -
Factories were added for all commands, and wired through the above-referenced
Mezzio\Tooling\ConfigProvider
class. -
The
mezzio:module:create
(formerlymodule:create
) command now takes a new option--flat
(or-f
). When present, the command will create a module with a flat structure (no nestedsrc/
directory under the root module directory). -
The
mezzio:module:create
(formerlymodule:create
) command now takes a new option--with-route-delegator
(or-r
). When present, module creation will also create and wire aRoutesDelegator
class for the module, where new routes for the module may be defined. -
The
mezzio:module:create
(formerlymodule:create
) command now takes a new option--with-namespace
(or-s
), and expects a string value representing a top-level namespace. When present, the module created will be a subnamespace of the namespace provided in the option.
Changed
-
The various commands have been renamed, due to removal of the
vendor/bin/mezzio
binary:action:create
becomesmezzio:action:create
handler:create
becomesmezzio:handler:create
factory:create
becomesmezzio:factory:create
middleware:create
becomesmezzio:middleware:create
migrate:interop-middleware
becomesmezzio:middleware:migrate-from-interop
migrate:middleware-to-request-handler
becomesmezzio:middleware:to-request-handler
module:create
becomesmezzio:module:create
module:register
becomesmezzio:module:register
module:deregister
becomesmezzio:module:deregister
-
All command classes, and most helper classes, now use constructor injection.
If you were extending these previously, you may need to make some minor changes. -
Mezzio\Tooling\CreateHandler\CreateHandlerCommand
was split into two.
The new classMezzio\Tooling\CreateHandler\CreateActionCommand
was added, and extends the original, in order to supply the ability to create an "action" instead of a "handler". -
All classes are now either marked
final
or@internal
.
This package is intended to be consumer-facing, versus extended. -
The
Mezzio\Tooling\Module\Create
constructor now takes a single boolean argument,$useFlatStructure
, indicating whether or not the new module should use the recommended or a flat structure. -
Mezzio\Tooling\Module\Create::process
now takes two additional optional arguments:- The boolean argument
$withRouteDelegator
, indicating whether or not to create and wire aRoutesDelegator
class in the new module. - The string argument
$parentNamespace
, representing a parent namespace under which the module will live.
- The boolean argument
Removed
-
The
vendor/bin/mezzio
binary was removed.
Usevendor/bin/laminas
instead, and check for commands prefixed withmezzio:
. -
Mezzio\Tooling\ConfigAndContainerTrait
was removed, as constructor injection removes the need for it.
2.0.0
- Total issues resolved: 4
- Total pull requests resolved: 4
- Total contributors: 2
Enhancement
- 15: Allow nested namespaces when creating modules thanks to @weierophinney
- 14: Allow creation of a RoutesDelegator when creating a module thanks to @weierophinney
- 13: Allow creation of "flat" modules thanks to @weierophinney
BC Break,Enhancement
- 11: Migrate to laminas-cli thanks to @weierophinney and @boesing