Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Releases: zendframework/zend-expressive-skeleton

Expressive Skeleton and Installer 3.0.1

19 Mar 16:21
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #242 updates the "container" links within the shipped home page templates to reference PSR-11 instead of container-interop.

Expressive Skeleton and Installer 3.0.0

15 Mar 21:34
Compare
Choose a tag to compare

Added

  • #185, #200 adds PSR-15 support.

  • #161 adds support for Auryn to be used as a container via a wrapper.

  • #182 adds Symfony DI container support.

  • #212 adds the Composer script "expressive", which will invoke the "expressive" command from the zend-expressive-tooling package:

    $ composer expressive help
  • #215 adds packages to the zend-component-installer whitelist to prevent prompts for configuration provider injection.

  • #224 adds notifications for whitelisted packages.

  • #238 adds links to documentation for the specific container installed to the shipped home page.

Changed

  • The skeleton now requires zend-expressive 3.0; for detailed changes, see the zend-expressive 3.0.0 changelog.

  • #212 makes the zend-expressive-tooling package an explicit development requirement; it is no longer an optional package.

  • #213 updates how the routes.php and pipeline.php files are defined. They now return anonymous functions with the following signature:

    function (
        Zend\Expressive\Application $app,
        Zend\Expressive\MiddlewareFactory $factory,
        Psr\Container\ContainerInterface $container
    ) : void

    The public/index.php file now does the following:

    $app = $container->get(\Zend\Expressive\Application::class);
    $factory = $container->get(\Zend\Expressive\MiddlewareFactory::class);
    (require 'config/pipeline.php')($app, $factory, $container);
    (require 'config/routes.php')($app, $factory, $container);

    This approach allows users to pull other dependencies as needed, without cluttering the global namespace, and to use the MiddlewareFactory features along with features such as the Zend\Stratigility\path() and host() utility methods.

  • #214 renames the shipped "Action" namespace and classes to use the verbiage "Handler" (for consistency with PSR-15), and be implemented as PSR-15 RequestHandlerInterface implementations.

  • #197 updates public/index.php to remove call_user_func() in favor of direct callable invocation (e.g., (function () { /* ... */ })()).

  • #177 moves Aura.Di and Pimple container configuration to separate repositories.

  • #201 updates the default assets to Bootstrap 4, jQuery 3.3.1 and Font-Awesome 5.

  • #202, #205 uses ConfigProviders to setup components. To make sure all ConfigProviders are loaded you need to answer yes to all inject Zend\<component>\ConfigProvider questions or do this once and select for all other packages.

  • #199 moves the location of the configuration cache from data/config-cache.php to data/cache/config-cache.php. Since the shipped composer clear-config-cache script and zf-development-mode both use the $config['config_cache_path'] setting to determine where the cache file lives, this should have no bearing on normal, documented usage.

  • #219 updates templates such that all example assets (css, images, and javascript) are now loaded from remote urls.

  • #226 renames the factory class App\Handler\HomePageFactory to App\Handler\HomePageHandlerFactory to reflect the name of the class it generates.

  • #231 simplifies how zend-servicemanager instances are generated, dropping v2 syntax in favor of a configuration-driven v3 syntax.

Deprecated

  • Nothing.

Removed

  • #183 removes support for PHP versions prior to PHP 7.1.

  • The zend-expressive.programmatic_pipeline configuration flag is removed from config/autoload/zend-expressive.global.php, as it is no longer used anywhere.

Fixed

  • #216 updates the composer serve command to read php -S 0.0.0.0:8080 -t public/. This command has been tested to work across a variety of platforms, including Windows, macOS, and Linux. However, for Linux users, the command will fail on PHP versions prior to 7.1.14 and 7.2.2, due to a language bug. If you are using an affected PHP version, you will need to manually start the PHP built-in server using the comand php -S 0.0.0.0:8080 -t public/ public/index.php`.

  • #195 fixes unwanted installation of every dependency when installing a dev version of the skeleton.

  • #235 changes the order of pipeline middleware to place the entry for the MethodNotAllowedMiddleware after both the ImplicitHeadMiddleware and ImplicitOptionsMiddleware entries; this is done to ensure it does not intercept HEAD and OPTIONS requests when it should not.

  • #237 adds an exclusion to .gitignore for the file data/cache/.gitkeep, ensuring the directory is checked in to new projects.

Expressive Skeleton and Installer 3.0.0rc4

14 Mar 16:37
Compare
Choose a tag to compare

This release contains a breaking change.

If you have created a skeleton based on a previous release candidate, please
update your config/pipeline.php as described in the changes below.

Added

  • Nothing.

Changed

  • #241 updates to zend-expressive 3.0.0rc5 and, by extension, zend-expresive-router 3.0.0rc5.

    This requires one change to the config/pipeline.php file: instead of piping Zend\Expressive\Router\Middleware\PathBasedRoutingMiddleware, it now pipes Zend\Expressive\Router\Middleware\RouteMiddleware. This is necessary as the former class no longer exists.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-expressive-skeleton 3.0.0rc3

13 Mar 14:58
Compare
Choose a tag to compare

Added

  • #238 adds links to documentation for the specific container installed to the shipped home page.

Changed

  • This release updates the minimum supported version of zend-expressive to 3.0.0rc4.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #237 adds an exclusion to .gitignore for the file data/cache/.gitkeep, ensuring the directory is checked in to new projects.

Expressive Skeleton and Installer 2.2.0

12 Mar 22:47
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • #239 updates the minimum required version of zend-expressive to 2.2.0.

  • #239 updates the minimum required version of the various zend-expressive-router dependencies to 2.2.0.

  • #239 updates the configured middleware pipeline to match requirements of the zend-expressive 2.2 release.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

Expressive Skeleton and Installer 3.0.0rc2

07 Mar 18:06
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • #235 updates to zend-expressive 3.0.0rc3 and zend-expressive-router 3.0.0rc4, as well as the latest release candidates for the various router adapters.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #235 changes the order of pipeline middleware to place the entry for the MethodNotAllowedMiddleware after both the ImplicitHeadMiddleware and ImplicitOptionsMiddleware entries; this is done to ensure it does not intercept HEAD and OPTIONS requests when it should not.

Expressive Skeleton and Installer 3.0.0rc1

27 Feb 22:24
Compare
Choose a tag to compare

Added

  • #224 adds notifications for whitelisted packages.

Changed

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #221 adds missing array return type to the shipped ConfigProvider classes.

  • #224 fixes unwanted removal of whitelisted packages.

  • #232 updates dependency constraints to latest released versions, and ensures that when alpha versions are specified, only that version forward will be installed (previously, an earlier alpha could potentially be installed when using --prefer-lowest).

Expressive Skeleton and Installer 3.0.0alpha3

08 Feb 16:36
Compare
Choose a tag to compare

Added

  • #215 adds packages to the zend-component-installer whitelist to prevent prompts for configuration provider injection.

Changed

  • #199 moves the location of the configuration cache from data/config-cache.php to data/cache/config-cache.php. Since the shipped composer clear-config-cache script and zf-development-mode both use the $config['config_cache_path'] setting to determine where the cache file lives, this should have no bearing on normal, documented usage.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #216 updates the composer serve command to read php -S 0.0.0.0:8080 -t public/. This command has been tested to work across a variety of platforms, including Windows, macOS, and Linux. However, for Linux users, the command will fail on PHP versions prior to 7.1.14 and 7.2.2, due to a language bug. If you are using an affected PHP version, you will need to manually start the PHP built-in server using the comand php -S 0.0.0.0:8080 -t public/ public/index.php.

  • #217 fixes a syntax error in the shipped config/pipeline.php.

Expressive Skeleton and Installer 3.0.0alpha2

07 Feb 20:40
Compare
Choose a tag to compare

Added

  • #212 adds the Composer script "expressive", which will invoke the "expressive" command from the zend-expressive-tooling package:

    $ composer expressive help

Changed

  • #212 makes the zend-expressive-tooling package an explicit development requirement; it is no longer an optional package.

  • #213 updates how the routes.php and pipeline.php files are defined. They now return anonymous functions with the following signature:

    function (
        Zend\Expressive\Application $app,
        Zend\Expressive\MiddlewareFactory $factory,
        Psr\Container\ContainerInterface $container
    ) : void

    The public/index.php file now does the following:

    $app = $container->get(\Zend\Expressive\Application::class);
    $factory = $container->get(\Zend\Expressive\MiddlewareFactory::class);
    (require 'config/pipeline.php')($app, $factory, $container);
    (require 'config/routes.php')($app, $factory, $container);

    This approach allows users to pull other dependencies as needed, without cluttering the global namespace, and to use the MiddlewareFactory features along with features such as the Zend\Stratigility\path() and host() utility methods.

  • #214 renames the shipped "Action" namespace and classes to use the verbiage "Handler" (for consistency with PSR-15), and be implemented as PSR-15 RequestHandlerInterface implementations.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

Expressive Skeleton and Installer 3.0.0alpha1

06 Feb 23:32
Compare
Choose a tag to compare

This is a pre-release; do not use in production!

Added

  • #161 adds support for Auryn to be used as a container via a wrapper.

  • #182 adds Symfony DI container support.

  • #185, #200 adds PSR-15 support.

Changed

  • #197 updates public/index.php to remove call_user_func() in favor of direct callable invocation (e.g., (function () { /* ... */ })()).

  • #177 moves Aura.Di and Pimple container configuration to separate repositories.

  • #201 updates the default assets to Bootstrap 4, jQuery 3.3.1 and Font-Awesome 5.

  • #202, #205 uses ConfigProviders to setup components. To make sure all ConfigProviders are loaded you need to answer yes to all inject Zend\<component>\ConfigProvider questions or do this once and select for all other packages.

Deprecated

  • Nothing.

Removed

  • #183 removes support for PHP versions prior to PHP 7.1.

Fixed

  • #195 fixes unwanted installation of every dependency when installing a dev version of the skeleton.