8000 Tags · dgoosens/mezzio-tooling · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: dgoosens/mezzio-tooling

Tags

1.4.0

Toggle 1.4.0's commit message

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [1.4.0](https://github.com/mezzio/mezzio-toolin…

…g/milestone/1)

### Added
- Added support for PHP 8.0

### Removed
- Removed support for PHP prior 7.3

### 1.4.0

- Total issues resolved: **0**
- Total pull requests resolved: **2**
- Total contributors: **2**

#### Enhancement

 - [9: Remove file headers](mezzio#9) thanks to @ghostwriter
 - [7: PHP 8.0 support](mezzio#7) thanks to @arueckauer

1.3.1

Toggle 1.3.1's commit message

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [1.3.1](https://github.com/mezzio/mezzio-toolin…

…g/milestone/2)

### 1.3.1

- Total issues resolved: **0**
- Total pull requests resolved: **1**
- Total contributors: **1**

#### Enhancement

 - [8: Add GHA CI workflow](mezzio#8) thanks to @arueckauer

1.3.0

Toggle 1.3.0's commit message
mezzio-tooling 1.3.0

Based on https://github.com/zendframework/zend-expressive-tooling/releases/tag/1.3.0 (commit 129810542117fc71e461a0d893c1e372a2edf9de in this repo)

Added
-----

- [zendframework/zend-expressive-tooling#96](zendframework/zend-expressive-tooling#96) adds
  compatibility with symfony/console `^5.0`.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.

1.2.1

Toggle 1.2.1's commit message
mezzio-tooling 1.2.1

Based on https://github.com/zendframework/zend-expressive-tooling/releases/tag/1.2.1 (commit e94fd0ebda6a8cc8b9dfc054131b058af9b721ca in this repo)

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zendframework/zend-expressive-tooling#93](zendframework/zend-expressive-tooling#93) fixes
  issue with DI containers where configuration is an ArrayObject not an array.
  `handler:create` command works now properly with `Aura.Di` and `Symfony DI` containers.

1.2.0

Toggle 1.2.0's commit message
mezzio-tooling 1.2.0

Based on https://github.com/zendframework/zend-expressive-tooling/releases/tag/1.2.0 (commit 158f68bbef3bf40fe71957baf933d7c83d6817f8 in this repo)

Added
-----

- [zendframework/zend-expressive-tooling#85](zendframework/zend-expressive-tooling#85) adds support for PHP 7.3.

- [zendframework/zend-expressive-tooling#86](zendframework/zend-expressive-tooling#86) adds the ability to provide the `--modules-path` option to the various
  `module:*` commands via configuration. In each case, if the option is omitted,
  the command will search for a `Mezzio\Tooling\Module\CommandCommonOptions.--modules-path`
  configuration entry, and use it if present. When present, calling any of these
  commands can now omit the `--modules-path` option when a custom path is
  required.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.

1.1.0

Toggle 1.1.0's commit message
mezzio-tooling 1.1.0

Based on https://github.com/zendframework/zend-expressive-tooling/releases/tag/1.1.0 (commit 3316cc60c8cc3e944e30350088aee5d0a061f790 in this repo)

Added
-----

- Nothing.

Changed
-------

- [zendframework/zend-expressive-tooling#83](zendframework/zend-expressive-tooling#83) fixes behavior when generating template names. The intention was for both
  namespace separators and TitleCase words to be dash-separated, but the latter
  previously were not; the patch in this release corrects the behavior. As such,
  names such as `DbExample` will now correctly map to a template with the name
  `db-example`.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.

1.0.2

Toggle 1.0.2's commit message
mezzio-tooling 1.0.2

Based on https://github.com/zendframework/zend-expressive-tooling/releases/tag/1.0.2 (commit 6bce23c637e7af6c74a5c74a4da3296dba76118f in this repo)

Added
-----

- Nothing.

Changed
-------

- [zendframework/zend-expressive-tooling#80](zendframework/zend-expressive-tooling#80) removes unnecessary `{@inheritdoc}` annotations from generated code.

- [zendframework/zend-expressive-tooling#79](zendframework/zend-expressive-tooling#79) adds `public` visibility to all declared constants. While this was assumed
  before, now it is explicit.

- [zendframework/zend-expressive-tooling#81](zendframework/zend-expressive-tooling#81) modifies the `action:create` and `handler:create` commands to emit a more
  sensible error in situations when the created `RequestHandlerInterface` is not
  namespaced.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.

1.0.1

Toggle 1.0.1's commit message
mezzio-tooling 1.0.1

Based on https://github.com/zendframework/zend-expressive-tooling/releases/tag/1.0.1 (commit 3cea80aea98bbcfe78dfdba913b4aeff0188a015 in this repo)

Added
-----

- Nothing.

Changed
-------

- [zendframework/zend-expressive-tooling#75](zendframework/zend-expressive-tooling#75)
  modifies the generated `config/autoload/mezzio-tooling-factories.global.php`
  file to include a `strict_types` declaration, for consistency with other
  generated files.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zendframework/zend-expressive-tooling#77](zendframework/zend-expressive-tooling#77) fixes
  an issue with where generated template files were placed in the filesystem
  when working with a module; they are now correctly placed in the module's
  `templates` directory.

1.0.0

Toggle 1.0.0's commit message
mezzio-tooling 1.0.0

Based on https://github.com/zendframework/zend-expressive-tooling/releases/tag/1.0.0 (commit 61d4686b4f74ddf58b01a00a8fa80edcb6507040 in this repo)

Added
-----

- [zendframework/zend-expressive-tooling#39](zendframework/zend-expressive-tooling#39) and
  [zendframework/zend-expressive-tooling#44](zendframework/zend-expressive-tooling#44) add
  support for PSR-15. The `mezzio middleware:create` command will now
  generate PSR-15 middleware.

- [zendframework/zend-expressive-tooling#39](zendframework/zend-expressive-tooling#39) and
  [zendframework/zend-expressive-tooling#44](zendframework/zend-expressive-tooling#44) add
  a new tool: `mezzio migrate
A95A
:interop-middleware`. This tool will migrate
  existing http-interop middleware, delegators, and/or request handlers of any
  version to PSR-15 middleware and request handlers.

- [zendframework/zend-expressive-tooling#48](zendframework/zend-expressive-tooling#48) adds a
  new command, `mezzio handler:create`, which will create a PSR-15 request
  handler using the class name provided.

- [zendframework/zend-expressive-tooling#52](zendframework/zend-expressive-tooling#52) adds
  the command `factory:create`. The command expects a fully-qualified,
  resolvable, class name; it then generates a factory class for it as a sibling
  class file, using reflection. By default, it also registers the class and
  factory with the container, in the file `config/autoload/mezzio-tooling-factories.global.php`.
  Pass the option `--no-register` to disable this auto-registration.

- [zendframework/zend-expressive-tooling#55](zendframework/zend-expressive-tooling#55) adds
  an `action:create` command. This command is mapped to the existing
  `handler:create` command, which now varies its help messages and argument
  names based on the command name provided.

- [zendframework/zend-expressive-tooling#58](zendframework/zend-expressive-tooling#58) adds
  the command `migrate:middleware-to-request-handler`. This command accepts an
  optional `--src` option (default to `./src`), under which it will scan for
  class files where middleware is defined. If a given class file represents
  middleware, and the middleware does not call upon the handler argument, it
  rewrites the middleware as a request handler.

- [zendframework/zend-expressive-tooling#63](zendframework/zend-expressive-tooling#63) adds
  template generation capabilities to the `handler:create`/`action:create`
  commands. If a `TemplateRendererInterface` service is detected in the
  container, it will generate a template based on the root namespace of the
  generated class and the class name (minus any `Handler`, `Action`, or
  `Middleware` suffixes), and update the class to render the template into a
  laminas-diactoros `HtmlResponse`. It also then exposes the following options:

  - `--without-template` disables template generation and template awareness in
    the generated class.

  - `--with-template-namespace` allows specifying an alternative template
    namespace.

  - `--with-template-name` allows specifying an alternative template
    name (separately from the namespace).

  - `--with-template-extension` allows specifying an alternative template
    file extension. By default, it will use the `templates.extension`
    configuration value, or a default based on known template renderers.

- Adds support for laminas-component-installer `^2.0`.

Changed
-------

- [zendframework/zend-expressive-tooling#52](zendframework/zend-expressive-tooling#52)
  modifies the `middleware:create` command to invoke `factory:create` once it
  has successfully created the new middleware. You may disable this feature by
  passing the option `--no-factory`; if you want to generate the factory, but
  not auto-register the middleware service, pass the option `--no-register`.

- [zendframework/zend-expressive-tooling#52](zendframework/zend-expressive-tooling#52)
  modifies the `handler:create` command to invoke `factory:create` once it has
  successfully created the new request handler. You may disable this feature by
  passing the option `--no-factory`; if you want to generate the factory, but
  not auto-register the request handler service, pass the option
  `--no-register`.

- [zendframework/zend-expressive-tooling#56](zendframework/zend-expressive-tooling#56)
  modifies all generated classes to add a `declare(strict_types=1)` directive.

Deprecated
----------

- Nothing.

Removed
-------

- [zendframework/zend-expressive-tooling#39](zendframework/zend-expressive-tooling#39)
  removes support for http-interop/http-middleware.

- [zendframework/zend-expressive-tooling#39](zendframework/zend-expressive-tooling#39)
  removes support for PHP versions prior to PHP 7.1.

- Removes support for laminas-component-installer `^1.1`.

- [zendframework/zend-expressive-tooling#72](zendframework/zend-expressive-tooling#72)
  removes the `migrate:mezzio-v2.2` command; the 1.0.0 release explicitly
  requires mezzio 3, making that command useless.

- [zendframework/zend-expressive-tooling#47](zendframework/zend-expressive-tooling#47)
  removes a number of legacy commands built to help migration from Mezzio
  version 1 to version 2, as they are no longer compatible with dependencies
  against with this version works. These commands include:

  - `mezzio migrate:pipeline-from-config`
  - `mezzio migrate:original-messages`
  - `mezzio migrate:error-middleware-scanner`

- [zendframework/zend-expressive-tooling#47](zendframework/zend-expressive-tooling#47)
  removes all scripts other than `mezzio` from the package definition.

Fixed
-----

- [zendframework/zend-expressive-tooling#73](zendframework/zend-expressive-tooling#73)
  reverts the change introduced by [zendframework/zend-expressive-tooling#69](zendframework/zend-expressive-tooling#69)
  as multi-segment namespaces are not yet supported by laminas-component-installer,
  causing creation of the autoloader entry to result in an error during module
  creation.

- [zendframework/zend-expressive-tooling#48](zendframework/zend-expressive-tooling#48) fixes
  the description of the `mezzio middleware:create` command to reference
  PSR-15 instead of http-interop.

- [zendframework/zend-expressive-tooling#49](zendframework/zend-expressive-tooling#49) fixes
  how the `module:create` command generates template configuration. It no longer
  produces "layout" and "error" configuration, and renames the "app"
  template namespace to a normalized version of the module name generated.

- [zendframework/zend-expressive-tooling#69](zendframework/zend-expressive-tooling#69) fixes
  an issue with `module:create` when presented with a multi-segment namespace.
  It now correctly creates a directory structure using all namespace segments.

1.0.0rc2

Toggle 1.0.0rc2's commit message
mezzio-tooling 1.0.0rc2

Based on https://github.com/zendframework/zend-expressive-tooling/releases/tag/1.0.0rc2 (commit 63f9f8e3f85033e24804e0016a7bd1ff5aed459b in this repo)

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zendframework/zend-expressive-tooling#73](zendframework/zend-expressive-tooling#73)
  reverts the change introduced by [zendframework/zend-expressive-tooling#69](zendframework/zend-expressive-tooling#69)
  as multi-segment namespaces are not yet supported by laminas-component-installer,
  causing creation of the autoloader entry to result in an error during module
  creation.
0