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

Releases: zendframework/zend-view

zend-view 2.8.1

30 Jun 22:30
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #78 and #79 ensure that all helpers work with both version 2 and version 3 of zend-mvc.

zend-view 2.8.0

21 Jun 21:01
Compare
Choose a tag to compare

Added

  • #67 adds a script, templatemap_generator.php, which is available in vendor/bin/templatemap_generator.php once installed. This script replaces the original present in the zendframework/zendframework package, and simplifies it for the most common use case. Usage is:

    $ cd module/ModuleName/config
    $ ../../../vendor/bin/templatemap_generator.php ../view > template_map.config.php

    You can also provide a list of files via globbing or usage of find after the initial directory argument; if provided that list of files will be used to generate the map. (The directory argument is then used to strip the path information when generating the template name.)

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-view 2.7.0

12 May 14:27
Compare
Choose a tag to compare

Added

  • #1 adds a new loop() method to the partialLoop() helper, allowing the ability to chain setters with rendering: $this->partialLoop()->setObjectKey('foo')->loop('partial', $data)
  • #60 adds the ability to register and consume arbitrary callables as view helpers within the HelperPluginManager.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-view 2.6.8

12 May 14:27
Compare
Choose a tag to compare

Added

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #21 updates the headScript helper to allow empty attribute types to render as keys only when using an HTML5 doctype.

zend-view 2.6.7

18 Apr 20:06
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #58 updates the url() helper so that it can work with either the zend-mvc v2 router subcomponent or zend-router.

zend-view 2.6.6

18 Apr 19:23
Compare
Choose a tag to compare

Added

  • #57 adds Zend\View\Helper\TranslatorAwareTrait, which provides implementation for Zend\I18n\Translator\TranslatorAwareInterface, and allowed removal of duplicated implementations in several helpers.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #57 removes the explicit dependency on Zend\I18n\Translator\TranslatorAwareInterface by allowing helpers to duck type the interface to receive a translator during instantiation; this allows such helpers to work even when zend-i18n is not installed. The following helpers were updated to duck type the interface instead of implement it explicitly:
    • FlashMessenger
    • HeadTitle
    • all Navigation helpers

zend-view 2.6.5

21 Mar 18:33
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #55 fixes a circular dependency issue in the navigation helpers with regards to event manager resolution.

zend-view 2.6.4

02 Mar 18:46
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #52 fixes several issues detected after re-enabling tests skipped when executed against zend-servicemanager/zend-eventmanager v3:
    • HelperPluginManager now implements an EventManagerAware initializer.
    • Zend\View\Helper\Navigation\AbstractHelper now contains logic to ensure that when an EventManager instance is lazy-loaded, it composes a SharedEventManager.
    • The FlashMessenger factory now correctly pulls the config service, not the Config service (former is both backwards- and forwards compatible).

zend-view 2.6.3

22 Feb 18:46
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #50 fixes the initializer defined and registered in Navigation\PluginManager::__construct() to ensure it properly pulls and injects the application container into navigation helpers, under both zend-servicemanager v2 and v3. Additionally, when lazy-instantiating the Navigation\PluginManager, the Navigation helper now passes the composed service manager instance to its constructor.

zend-view 2.6.2

18 Feb 16:49
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #47 fixes Navigation\PluginManager to ensure it is backwards compatible with zend-servicemanager v2, including:
    • fixing the constructor to be BC with v2 and forwards-compatible with v3.
    • adding additional, normalized alias/factory pairs.
  • #47 fixes the behavior of HelperPluginManager::injectTranslator() to return early if no container is provided (fixing an issue with navigation helpers introduced in 2.6.0).