laminas-api-tools/api-tools-hal
Laminas Module providing Hypermedia Application Language assets and rendering
1.10.0
2.0M downloads/mo
#4525 most downloaded on Packagist
laminas-api-tools/api-tools-hal
What this package is like to depend on
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
0 releases in the last 12 months
see the full history below
Release timeline
29 releases · Dec 2019 to Jul 2023Releases
latest 29-
1.10.010 Jul 2023Release notes
Open source →Release Notes for 1.10.0
Added
This release adds support for PHP 8.2
Removed
This release removes support for all PHP 7 versions.
1.10.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
-
1.9.024 Jan 2022Release notes
Open source →Release Notes for 1.9.0
Feature release (minor)
1.9.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 38: Support for
psr/link: ^2thanks to @snapshotpl
-
1.8.009 Dec 2021Release notes
Open source →Release Notes for 1.8.0
Feature release (minor)
1.8.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 37: Support for PHP 8.1 thanks to @snapshotpl
-
1.7.002 Mar 2021Release notes
Open source →Release Notes for 1.7.0
Added
- Adds support for PHP 8.0
Removed
-
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.
1.7.0
- Total issues resolved: 1
- Total pull requests resolved: 3
- Total contributors: 3
Enhancement
- 32: Provide Psalm integration thanks to @weierophinney
- 31: Adopt laminas-coding-standard v2 and bump minimum version of dependencies thanks to @weierophinney
- 27: PHP8 Support thanks to @javabudd
- 25: Psalm integration thanks to @boesing
-
1.6.101 Mar 2021Release notes
Open source →Release Notes for 1.6.1
1.6.1
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 1
Bug
Enhancement
-
1.6.031 Dec 2019Release notes
Open source →Based on https://github.com/zfcampus/zf-hal/releases/tag/1.6.0 (commit f324ee1ab6efca9d598fe315cc25849efc588a19 in this repo)
Added
- zfcampus/zf-hal#172 adds support for laminas-hydrator v3 releases (while retaining support for v1 and v2).
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
-
1.5.031 Dec 2019Release notes
Open source →Based on https://github.com/zfcampus/zf-hal/releases/tag/1.5.0 (commit d09c013d511bb62a99bfd716669111087f007c90 in this repo)
Added
-
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 theLaminas\ApiTools\Hal\Plugin\Hal::fromLinkmethod.
This event can be used in conjunction withLaminas\ApiTools\Rest\RestController::create()to manipulate the generated
link for purpose of modifying it for theLinkHTTP response header.
Changed
-
zfcampus/zf-hal#163 updates
Laminas\ApiTools\Hal\Link\Linkto implement the PSR-13LinkInterface, and modifies
some internals to make use of its idempotency. -
zfcampus/zf-hal#165 modifies the
JsonSerializableEntityto implement the native PHPJsonSerializable
interface instead of the polyfill from laminas-stdlib, as all versions of PHP we support
provide that interface in default installs now.
Deprecated
-
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 theadd()method. Its
internals largely replace functionality inLaminas\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.
Removed
- zfcampus/zf-hal#158 removes support for HHVM.
Fixed
- zfcampus/zf-hal#161 fixes initialization of the
halview helper, ensuring it receives an
event manager instance within its factory. Previously, listeners attached within delegator
factories could be overwritten.
-
-
1.4.231 Dec 2019Release notes
Open source →Based on https://github.com/zfcampus/zf-hal/releases/tag/1.4.2 (commit 805b7e9622eb4394a39f977cc6af3f3c35d9d074 in this repo)
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- zfcampus/zf-hal#151 updates the
HalControllerPluginFactoryto work correctly under v2 releases of
laminas-servicemanager.
-
1.4.131 Dec 2019Release notes
Open source →Based on https://github.com/zfcampus/zf-hal/releases/tag/1.4.1 (commit 2b88aa92f9cb8e88dae5184179d579023f681973 in this repo)
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- zfcampus/zf-hal#149 updates the laminas-hydrator
dependency to allow either the 1.1 or 2.2 series, allowing usage with
laminas-stdlib v2 releases.
-
1.4.031 Dec 2019Release notes
Open source →Based on https://github.com/zfcampus/zf-hal/releases/tag/1.4.0 (commit 2ef1c018b441fbc5b19819907f02ecc944627ef3 in this repo)
Added
-
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
$entityand$idproperties ofLaminas\ApiTools\Hal\Entity. -
zfcampus/zf-hal#124 adds a new interface
Laminas\ApiTools\Hal\Link\SelfLinkInjectorInterfaceand default implementation
Laminas\ApiTools\Hal\Link\SelfLinkInjector; these are now used as collaborators to the
Halplugin to simplify internal logic, and allow users to provide alternate
strategies for generating theselfrelational link. -
zfcampus/zf-hal#125 adds a new service,
Laminas\ApiTools\Hal\Link\LinkUrlBuilder. This class composes theServerUrlandUrl
view helpers in order to provide the functionality required to build a
route-based link URL. TheHalplugin 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 theLinkExtractorandLinkCollectionExtractor, 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).
Deprecated
- zfcampus/zf-hal#99 deprecates usage of property
access onLaminas\ApiTools\Hal\Entityto retrieve the identifier and underlying entity
instance. - zfcampus/zf-hal#125 deprecates the usage of
Hal::setServerUrlHelper()andHal::setUrlHelper(); these will each now
raise an exception indicating the user should use aLinkUrlBuilderfor URL
generation instead. - zfcampus/zf-hal#125 deprecates passing a
ServerUrlHelperandUrlHelperto the constructor of
Laminas\ApiTools\Hal\Exctractor\LinkExtractor; it now expects aLinkUrlBuilderinstance
instead. (This class is primarily an internal detail of theHalplugin.)
Removed
- zfcampus/zf-hal#145 removes support for PHP 5.5.
Fixed
- Nothing.
-
-
1.3.131 Dec 2019Nothing published for this version
-
1.3.031 Dec 2019Nothing published for this version
-
1.2.131 Dec 2019Nothing published for this version
-
1.2.031 Dec 2019Nothing published for this version
-
1.1.131 Dec 2019Nothing published for this version
-
1.1.031 Dec 2019Nothing published for this version
-
1.0.531 Dec 2019Nothing published for this version
-
1.0.431 Dec 2019Nothing published for this version
-
1.0.331 Dec 2019Nothing published for this version
-
1.0.231 Dec 2019Nothing published for this version
-
1.0.131 Dec 2019Nothing published for this version
-
1.0.031 Dec 2019Nothing published for this version
-
0.9.131 Dec 2019Nothing published for this version
-
0.9.031 Dec 2019Nothing published for this version
-
0.8.031 Dec 2019Nothing published for this version
-
0.7.031 Dec 2019Nothing published for this version
-
0.6.031 Dec 2019Nothing published for this version
-
1.0.0beta331 Dec 2019Nothing published for this version
-
1.0.0beta231 Dec 2019Nothing published for this version