Skip to content

Latest commit

 

History

History
271 lines (179 loc) · 7.19 KB

CHANGELOG.md

File metadata and controls

271 lines (179 loc) · 7.19 KB

Changelog

All notable changes to this project will be documented in this file, in reverse chronological order by release.

0.5.1 - TBD

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

0.5.0 - 2015-10-10

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #131 modifies the repository to remove the concrete router and template renderer implementations, along with any related factories; these are now in their own packages. The classes removed include:
    • Zend\Expressive\Container\Template\PlatesRendererFactory
    • Zend\Expressive\Container\Template\TwigRendererFactory
    • Zend\Expressive\Container\Template\ZendViewRendererFactory
    • Zend\Expressive\Router\AuraRouter
    • Zend\Expressive\Router\FastRouteRouter
    • Zend\Expressive\Router\ZendRouter
    • Zend\Expressive\Template\PlatesRenderer
    • Zend\Expressive\Template\TwigRenderer
    • Zend\Expressive\Template\Twig\TwigExtension
    • Zend\Expressive\Template\ZendViewRenderer
    • Zend\Expressive\Template\ZendView\NamespacedPathStackResolver
    • Zend\Expressive\Template\ZendView\ServerUrlHelper
    • Zend\Expressive\Template\ZendView\UrlHelper

Fixed

  • Nothing.

0.4.1 - TBD

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

0.4.0 - 2015-10-10

Added

  • #132 adds Zend\Expressive\Router\ZendRouter, replacing Zend\Expressive\Router\Zf2Router.
  • #139 adds:
    • Zend\Expressive\Template\TemplateRendererInterface, replacing Zend\Expressive\Template\TemplateInterface.
    • Zend\Expressive\Template\PlatesRenderer, replacing Zend\Expressive\Template\Plates.
    • Zend\Expressive\Template\TwigRenderer, replacing Zend\Expressive\Template\Twig.
    • Zend\Expressive\Template\ZendViewRenderer, replacing Zend\Expressive\Template\ZendView.
  • #143 adds the method addDefaultParam($templateName, $param, $value) to TemplateRendererInterface, allowing users to specify global and template-specific default parameters to use when rendering. To implement the feature, the patch also provides Zend\Expressive\Template\DefaultParamsTrait to simplify incorporating the feature in implementations.
  • #133 adds a stipulation to Zend\Expressive\Router\RouterInterface that addRoute() should aggregate Route instances only, and delay injection until match() and/or generateUri() are called; all shipped routers now follow this. This allows manipulating Route instances before calling match() or generateUri() — for instance, to inject options or a name.
  • #133 re-instates the Route::setName() method, as the changes to lazy-inject routes means that setting names and options after adding them to the application now works again.

Deprecated

  • Nothing.

Removed

  • #132 removes Zend\Expressive\Router\Zf2Router, renaming it to Zend\Expressive\Router\ZendRouter.
  • #139 removes:
    • Zend\Expressive\Template\TemplateInterface, renaming it to Zend\Expressive\Template\TemplateRendererInterface.
    • Zend\Expressive\Template\Plates, renaming it to Zend\Expressive\Template\PlatesRenderer.
    • Zend\Expressive\Template\Twig, renaming it to Zend\Expressive\Template\TwigRenderer.
    • Zend\Expressive\Template\ZendView, renaming it to Zend\Expressive\Template\ZendViewRenderer.

Fixed

  • Nothing.

0.3.1 - 2015-10-09

Added

  • #149 adds verbiage to the RouterInterface::generateUri() method, specifying that the returned URI MUST NOT be escaped. The AuraRouter implementation has been updated to internally use generateRaw() to follow this guideline, and retain parity with the other existing implementations.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #140 updates the AuraRouter to use the request method from the request object, and inject that under the REQUEST_METHOD server parameter key before passing the server parameters for matching. This simplifies testing.

0.3.0 - 2015-09-12

Added

  • #128 adds container factories for each supported template implementation:
    • Zend\Expressive\Container\Template\PlatesFactory
    • Zend\Expressive\Container\Template\TwigFactory
    • Zend\Expressive\Container\Template\ZendViewFactory
  • #128 adds custom url and serverUrl zend-view helper implementations, to allow integration with any router and with PSR-7 URI instances. The newly added ZendViewFactory will inject these into the HelperPluginManager by default.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #128 fixes an expectation in the WhoopsErrorHandler tests to ensure the tests can run successfully.

0.2.1 - 2015-09-10

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #125 fixes the WhoopsErrorHandler to ensure it pushes the "pretty page handler" into the Whoops runtime.

0.2.0 - 2015-09-03

Added

  • #116 adds Application::any() to complement the various HTTP-specific routing methods; it has the same signature as get(), post(), patch(), et al, but allows any HTTP method.
  • #120 renames the router classes for easier discoverability, to better reflect their usage, and for better naming consistency. Aura becomes AuraRouter, FastRoute becomes FastRouteRouter and Zf2 becomes Zf2Router.

Deprecated

  • Nothing.

Removed

  • #120 removes the classes Zend\Expressive\Router\Aura, Zend\Expressive\Router\FastRoute, and Zend\Expressive\Router\Zf, per the "Added" section above.

Fixed

  • Nothing.

0.1.1 - 2015-09-03

Added

  • #112 adds a chapter to the documentation on using Aura.Di (v3beta) with zend-expressive.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #118 fixes an issue whereby route options specified via configuration were not being pushed into generated Route instances before being passed to the underlying router.

0.1.0 - 2015-08-26

Initial tagged release.

Added

  • Everything.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.