Skip to content

Releases: mezzio/mezzio-tooling

2.9.0

12 Dec 16:19
2.9.0
6108df9
Compare
Choose a tag to compare

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

2.8.0

01 Dec 11:42
2.8.0
5de0a68
Compare
Choose a tag to compare

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

2.7.0

25 Nov 15:49
2.7.0
e1e4593
Compare
Choose a tag to compare

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

Enhancement

renovate

2.6.0

10 Aug 08:18
2.6.0
2c2c1cf
Compare
Choose a tag to compare

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

dependencies

Bug,Documentation

2.5.0

20 Jan 18:22
2.5.0
a714770
Compare
Choose a tag to compare

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

13 Dec 17:50
2.4.0
06248c2
Compare
Choose a tag to compare

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

2.3.0

06 Dec 04:40
2.3.0
e7ac608
Compare
Choose a tag to compare

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

11 Oct 14:24
2.2.0
e91191d
Compare
Choose a tag to compare

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

2.1.0

05 Oct 08:14
2.1.0
04adfc1
Compare
Choose a tag to compare

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

2.0.0

09 Aug 22:23
2.0.0
dc98531
Compare
Choose a tag to compare

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 their config/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 (formerly module:create) command now takes a new option --flat (or -f). When present, the command will create a module with a flat structure (no nested src/ directory under the root module directory).

  • The mezzio:module:create (formerly module:create) command now takes a new option --with-route-delegator (or -r). When present, module creation will also create and wire a RoutesDelegator class for the module, where new routes for the module may be defined.

  • The mezzio:module:create (formerly module: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 becomes mezzio:action:create
    • handler:create becomes mezzio:handler:create
    • factory:create becomes mezzio:factory:create
    • middleware:create becomes mezzio:middleware:create
    • migrate:interop-middleware becomes mezzio:middleware:migrate-from-interop
    • migrate:middleware-to-request-handler becomes mezzio:middleware:to-request-handler
    • module:create becomes mezzio:module:create
    • module:register becomes mezzio:module:register
    • module:deregister becomes mezzio: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 class Mezzio\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 a RoutesDelegator class in the new module.
    • The string argument $parentNamespace, representing a parent namespace under which the module will live.

Removed

  • The vendor/bin/mezzio binary was removed.
    Use vendor/bin/laminas instead, and check for commands prefixed with mezzio:.

  • 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

BC Break,Enhancement