All notable changes to this project will be documented in this file, in reverse chronological order by release.
- #46 adds
compatibility with symfony/console
^4.0
.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #32 adds a
new argument to
CreateMiddleware::process()
,$classSkeleton
; if provided, the value will be used as the skeleton for a new middleware class to generate, instead of the default provided with the tooling.
- Nothing.
- Nothing.
- Nothing.
- #31 provides fixes to the various generators such that they will now throw exceptions if the middleware they are attempting to create already exist on the filesystem.
- Nothing.
- Nothing.
- Nothing.
- #28 adds
to the bootstrap of the the
expressive
command another path to check for the autoloader; this new path is necessary to enable autoloading to work correctly on MacOS.
- Nothing.
- Nothing.
- Nothing.
-
#24 fixes incorrect use statement in
CreateMiddleware::CLASS_SKELETON
. -
#25 fixes symfony/console required version to be less restrictive.
- Nothing.
- Nothing.
- Nothing.
- #26
updates the constraints for:
- zend-expressive to
^2.0
only, since that has now been released. - zend-component-installer to
^1.0 || ^0.7.1
, fixing an issue when installing Expressive with modular support due to constraint violations.
- zend-expressive to
- Nothing.
- Nothing.
- Nothing.
- Updates zend-component-installer minimum version to 0.7.1, which provides a
fix for detection of config providers; prior to this fix,
module:degister
could not remove globally qualified config providers for a module.
-
#22 and #23 add the script
expressive
, which allows executing any of the other commands provided in the package, including a new command for middleware creation. The exposed commands are:- middleware:create: Create an http-interop middleware class file.
- migrate:error-middleware-scanner: Scan for legacy error middleware or error middleware invocation.
- migrate:original-messages: Migrate getOriginal*() calls to request attributes.
- migrate:pipeline: Generate a programmatic pipeline and routes from configuration.
- module:create: Create and register a middleware module with the application
- module:deregister: Deregister a middleware module from the application
- module:register: Register a middleware module with the application
All previous scripts (e.g.,
expressive-pipeline-from-config
) are still present and continue to work, but are deprecated in favor of theexpressive
script.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #17
changes the reference to the
DefaultDelegate
in the generatedconfig/autoload/programmatic-pipeline.global.php
to be a string instead of using::class
notation. Using a string name makes it clear the service is not a concrete class or interface name.
- Nothing.
- Nothing.
- #16 fixes
generation of routes where no HTTP method is specified to use a
null
instead of theZend\Expressive\Router\Route::HTTP_METHOD_ANY
constant.
- #15 adds
documentation for the
expressive-module
command to the README file.
- Nothing.
- Nothing.
- #14 fixes
the
public/index.php
template to remove theerror_reporting()
declaration, as it is no longer necessary with Stratigily 2 and the upcoming Expressive 2 release.
- #12 adds
the new tool
expressive-module
, with the commandscreate
,register
, andderegister
, for creating new "modules".create
will create a tree under thesrc/
tree named for the provided module containingsrc/
andtemplates/
subdirectories, as well as aConfigProvider
class; it then adds an entry for theConfigProvider
to the application configuration, and an autoloading entry tocomposer.json
.register
will register an existing module with the application configuration, and, if necessary, enable autoloading for it withcomposer.json
.deregister
does the opposite ofregister
, without removing any files from the source tree. Use the command'shelp
,--help
, or-h
options for full usage details.
-
#10 updates the
expressive-pipeline-from-config
tooling to no longer generatepipeErrorHandler()
statements. It will now notify users via STDOUT if legacy error handlers are encountered, indicating which were encountered. -
#10 updates the
expressive-pipeline-from-config
tooling to now register theDefaultDelegate
andNotFoundDelegate
services, with the former aliased to the latter.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
-
#7 updates the
Zend\Expressive\Tooling\GenerateProgrammaticPipelineFromConfig\Generator
class such that it now:- Adds dependency configuration for
Zend\Expressive\Middleware\ImplicitHeadMiddleware
- Adds dependency configuration for
Zend\Expressive\Middleware\ImplicitOptionsMiddleware
- Registers each of the above middleware immediately following the routing middleware in the pipeline.
- Adds dependency configuration for
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #6 provides
some internal refactoring of
Zend\Expressive\Tooling\GenerateProgrammaticPipelineFromConfig\Generator
to optimize performance and maintainability when generating the routing statements.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #1 updates
the various
Help
classes to translate a command name to be relative to thevendor/bin/
directory under every operating system when run local to a project. - #3 fixes
the top-level key used in generated configuration files to properly be
zf-expressive
instead ofzf-expressive-tooling
. - #5 fixes
the help message for the
expressive-pipeline-from-config
command to detail what it actually does (vs what the original incarnation did).
- Nothing.
- Nothing.
- Nothing.
- Fixed the namespace declarations of all vendor binaries to ensure each points to the correct tooling namespace for the command being invoked.
- Initial release.
- Nothing.
- Nothing.
- Nothing.
- Nothing.