Releases: zendframework/zend-expressive-skeleton
Expressive Skeleton and Installer 2.1.0
Expressive Skeleton and Installer 2.0.4
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #178 fixes the installer to work with the most recent zend-stratigility releases by pinning http-interop/http-middleware to
^0.4.1
and zendframework/zend-expressive to^2.0.5
; without these changes, installation was leading to exceptions and partial installation previously.
Expressive Skeleton and Installer 2.0.3
Added
- Nothing.
Changed
- #151 updates the following dependencies to use their newly released stable 1.0 branches:
- zend-config-aggregator
- zend-component-installer
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
Expressive Skeleton and Installer 2.0.2
Added
- Nothing.
Changes
- Updated select dependencies to latest patch releases:
- zend-component-installer: 0.7.1 (fixes issue with
ConfigProvider
detection) - zend-expressive-platesrenderer: 1.3.1 (fixes issue with
UrlExtension
's$fragmentIdentifier
default value) - zend-expressive-tooling: 0.4.1 (brings in
expressive
binary, with itsmiddleware:create
command)
- zend-component-installer: 0.7.1 (fixes issue with
Deprecated
- Nothing.
Removed
- #146 removes obsolete
raise_throwables
key from default config.
Fixed
- Nothing.
Expressive Skeleton and Installer 2.0.1
Added
- Nothing.
Changes
-
#141 changes the reference to the
DefaultDelegate
inconfig/autoload/dependencies.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. -
#143 updates dependencies to pick up the Expressive 2.0.2 release, zend-expressive-helpers 4.0 release, and renderer releases related to the helpers 4.0 release.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
Expressive Skeleton and Installer 2.0.0
Added
-
#54 adds zfcampus/zf-development-mode as a development dependency, and places the application into development mode during initial installation. This allows production applications to be configured out-of-the-box with features such as configuration caching.
A new tool, invokable via
composer clear-config-cache
, allows you to clear the configuration cache programmatically from the command line if necessary. Toggling development mode also clears the configuration cache.Development mode commands include:
composer development-enable
composer development-disable
composer development-status
composer clear-config-cache
-
#124 adds the ability to select the initial application structure from one of the following options:
- Minimal (no default routes, middleware, or assets)
- Flat (default routes and assets;
src/
directory is assumed to be library code) - Modular (default routes and assets;
src/
directory contains application modules)
#138 updated the logic when creating a modular structure to also inject zendframework/zend-expressive-tooling as a development requirement, as it provides the tools:
./vendor/bin/expressive-module create <modulename>
(create and activate a new module in your application, including composer autoloading rules)./vendor/bin/expressive-module register <modulename>
(register an existing module with your application, including composer autoloading rules)./vendor/bin/expressive-module deregister <modulename>
(deregister an existing module from your application, including composer autoloading rules)
Changes
-
#54 updates the shipped
config/config.php
to leverage zend-config-aggregator for purposes of aggregating configuration. This change allows the use of third party "modules" (packages providing aConfigProvider
class that returns configuration on invocation) with the skeleton. Additionally, this update now adds zend-component-installer as a development requirement, which allows packages to declare if they have a configuration provider, and then prompt you as to whether or not you want it registered in your application. -
#54 updates the skeleton to default to a programmatic pipeline. This results in the following:
- Removal of the
config/autoload/middleware-pipeline.global.php
file. - Addition of a
config/pipeline.php
file, containing the various application calls necessary to build your application pipeline; this file may be edited to suit your application. - Removal of any routing configuration from the
config/autoload/routes.global.php
file. Routes are now defined inconfig/routes.php
using programmatic statements instead. You may add as many routes as you desire to this file, segregate them into multiple files, or even add them via delegator factories on theApplication
instance.
- Removal of the
-
#54 updates the following dependencies:
- zend-expressive-router to
^2.0
- zend-expressive-helpers to
^3.0.1
- zend-expressive-aurarouter to
^2.0
- zend-expressive-fastroute to
^2.0
- zend-expressive-zendrouter to
^2.0
- zend-expressive-platesrenderer to
^1.2
- zend-expressive-twigrenderer to
^1.2.1
- zend-expressive-zendviewrenderer to
^1.2.1
- zend-expressive-router to
-
#120 switches the order of questions in the installer, to prompt for the container to use first. This will allow some optimizations for some third-party container systems such as Disco.
-
#132 modifies which file the installer writes Whoops configuration to when selected. Previously, it wrote it to
config/autoload/local.php
; it now writes it toconfig/autoload/development.local.php.dist
, allowing enabling/disabling the Whoops integration via thezf-development-mode
tooling. -
#130 changes the structure of
public/index.php
slightly. In order to prevent creation of new globals, it now creates and calls a closure around creation of the container, retrieval of the application, registration of the pipeline and routes, and execution of the application.
Deprecated
- Nothing.
Removed
- #110 removes the global config array to ArrayObject conversion for all containers except Aura.Di.
Fixed
- Nothing.
Expressive Skeleton and Installer 1.0.5
Expressive Skeleton and Installer 1.0.4
Expressive Skeleton and Installer 1.0.3
Added
-
#93 adds support for Pimple "extensions" (
$pimple->extend()
) via thedependencies
sub-keyextensions
, as follows:return [ 'dependencies' => [ 'extensions' => [ SomeClass::class => ExtendingFactory::class, ], ], ];
-
#93 adds support to the Pimple container script to allow wrapping
delegators
(delegator factories from zend-servicemanager) as anonymous Pimple extensions.
Deprecated
- Nothing.
Removed
- #102 removes the development dependendy on ocramius/proxy-manager, as it is not required.
Fixed
- #91 fixes the Pimple factory caching to work correctly with invokable classes used as factories.
- #95 fixes the prompt for a minimal install to ensure that only
n
andy
(or uppercase versions of each) are valid answers, looping until a valid answer is provided. - #101 removes filp/whoops from the
composer.json
prior to prompting the user for packages to install, ensuring it does not remain if a user selects a minimal install or to not use whoops for development. - #109 adds comprehensive, granular tests covering all functionality of the installer, raising coverage from 40% to 100%.