NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #3206 most downloaded on Packagist
Laminas Module providing Hypermedia Application Language assets and rendering
Last release 3 years ago
no release in 18 months
Ships fairly regularly
a new release about every 12 months
Some releases are documented
notes for 10 of 29 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
29 releases · first in 2019
This release adds support for PHP 8.2
This release adds support for PHP 8.2
This release removes support for all PHP 7 versions.
Total pull requests resolved: 1
Feature release (minor)
psr/link: ^2 thanks to @snapshotplOne column per quarter.
Total pull requests resolved: 1
Feature release (minor)
Drops support for PHP versions prior to 7.3.
Drops support for PHP versions prior to 7.3.
Drops support for laminas-eventmanager v2 releases.
Drops support for laminas-hydrator v2 releases.
Drops support for laminas-mvc v2 releases.
Drops support for laminas-stdlib v2 releases.
Total pull requests resolved: 2
Based on https://github.com/zfcampus/zf-hal/releases/tag/1.6.0 (commit f324ee1ab6efca9d598fe315cc25849efc588a19 in this repo)
Based on https://github.com/zfcampus/zf-hal/releases/tag/1.6.0 (commit f324ee1ab6efca9d598fe315cc25849efc588a19 in this repo)
zfcampus/zf-hal#163 both adds and deprecates the method Laminas\ApiTools\Hal\Link\LinkCollection::idempotentAdd() ; in version 3, if released, that me…
Based on https://github.com/zfcampus/zf-hal/releases/tag/1.5.0 (commit d09c013d511bb62a99bfd716669111087f007c90 in this repo)
zfcampus/zf-hal#158 adds support for PHP 7.1 and 7.2.
zfcampus/zf-hal#167 adds a new event, fromLink.pre, triggered from the Laminas\ApiTools\Hal\Plugin\Hal::fromLink method.
This event can be used in conjunction with Laminas\ApiTools\Rest\RestController::create() to manipulate the generated
link for purpose of modifying it for the Link HTTP response header.
zfcampus/zf-hal#163 updates Laminas\ApiTools\Hal\Link\Link to implement the PSR-13 LinkInterface, and modifies
some internals to make use of its idempotency.
zfcampus/zf-hal#165 modifies the JsonSerializableEntity to implement the native PHP JsonSerializable
interface instead of the polyfill from laminas-stdlib, as all versions of PHP we support
provide that interface in default installs now.
zfcampus/zf-hal#163 both adds and deprecates the method Laminas\ApiTools\Hal\Link\LinkCollection::idempotentAdd();
in version 3, if released, that method will replace the add() method. Its
internals largely replace functionality in Laminas\ApiTools\Hal\Plugin\Hal::injectPropertyAsLink().
zfcampus/zf-hal#163 deprecates the "url" key when creating a new link from an array, in
favor of an "href" key.
hal view helper, ensuring it receives anBased on https://github.com/zfcampus/zf-hal/releases/tag/1.4.2 (commit 805b7e9622eb4394a39f977cc6af3f3c35d9d074 in this repo)
Based on https://github.com/zfcampus/zf-hal/releases/tag/1.4.2 (commit 805b7e9622eb4394a39f977cc6af3f3c35d9d074 in this repo)
HalControllerPluginFactory to work correctly under v2 releases ofBased on https://github.com/zfcampus/zf-hal/releases/tag/1.4.1 (commit 2b88aa92f9cb8e88dae5184179d579023f681973 in this repo)
Based on https://github.com/zfcampus/zf-hal/releases/tag/1.4.1 (commit 2b88aa92f9cb8e88dae5184179d579023f681973 in this repo)
zfcampus/zf-hal#99 deprecates usage of property access on Laminas\ApiTools\Hal\Entity to retrieve the identifier and underlying entity instance.
Based on https://github.com/zfcampus/zf-hal/releases/tag/1.4.0 (commit 2ef1c018b441fbc5b19819907f02ecc944627ef3 in this repo)
zfcampus/zf-hal#142 and
zfcampus/zf-hal#145 add support for Laminas
Framework v3 component releases, retaining support for v2 versions as well;
specifically, laminas-eventmanager, laminas-mvc, laminas-stdlib, and
laminas-servicemanager v3 may now be used with this module.
zfcampus/zf-hal#142 and
zfcampus/zf-hal#145 add support for PHP 7.
zfcampus/zf-hal#99 adds accessors for the
$entity and $id properties of Laminas\ApiTools\Hal\Entity.
zfcampus/zf-hal#124 adds a new interface
Laminas\ApiTools\Hal\Link\SelfLinkInjectorInterface and default implementation
Laminas\ApiTools\Hal\Link\SelfLinkInjector; these are now used as collaborators to the
Hal plugin to simplify internal logic, and allow users to provide alternate
strategies for generating the self relational link.
zfcampus/zf-hal#125 adds a new service,
Laminas\ApiTools\Hal\Link\LinkUrlBuilder. This class composes the ServerUrl and Url
view helpers in order to provide the functionality required to build a
route-based link URL. The Hal plugin now consumes this instead of
implementing the logic internally.
The upshot is: you can replace the URL generation semantics for your
application entirely by pointing the service to your own implementation.
zfcampus/zf-hal#125 adds service factories for
each of the LinkExtractor and LinkCollectionExtractor, which now allows
users to provide substitutions for their functionality. (Extractors pull links
and link collections in order to generate the relational links for a HAL-JSON
payload.)
zfcampus/zf-hal#139 adds the new method
Hal::resetEntityHashStack(); this method can be used when rendering multiple
responses and/or payloads within the same request cycle, in order to allow
re-using the same entity instances (normally, they would be skipped when
discovered on subsequent iterations).
Laminas\ApiTools\Hal\Entity to retrieve the identifier and underlying entityHal::setServerUrlHelper() and Hal::setUrlHelper(); these will each nowLinkUrlBuilder for URLServerUrlHelper and UrlHelper to the constructor ofLaminas\ApiTools\Hal\Exctractor\LinkExtractor; it now expects a LinkUrlBuilder instanceHal plugin.)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →