laminas-api-tools/api-tools-content-negotiation
Laminas Module providing content-negotiation features
1.8.0
2.3M downloads/mo
#4267 most downloaded on Packagist
laminas-api-tools/api-tools-content-negotiation
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 6 weeks to 1.6 years
Some releases are documented
notes for 10 of 33 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
33 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
30 releases · Dec 2019 to Jul 2023Releases
latest 33-
1.8.010 Jul 2023Release notes
Open source →Release Notes for 1.8.0
Added
This release adds support for PHP 8.2.
Removed
This release removes support for all PHP 7 releases.
1.8.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 27: Drop PHP 7, Support PHP 8.2 thanks to @rogervila
-
1.7.009 Dec 2021Release notes
Open source →Release Notes for 1.7.0
Feature release (minor)
1.7.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 26: Support for PHP 8.1 thanks to @snapshotpl
-
1.6.029 Oct 2021Release notes
Open source →Release Notes for 1.6.0
Removed
- This patch removes wiring of the "Request" service to the module's own "RequestFactory". In normal applications, laminas-mvc already provides wiring for the service, and if you need for the factory to vary how it works and provide a laminas-console
Requeston detection of a CLI request, laminas-mvc-console will already do this for you. If you find that your application is breaking when performing console requests, install laminas/laminas-mvc-console.
Deprecated
- This release deprecates
Laminas\ApiTools\ContentNegotiation\Factory\RequestFactory. The class is no longer wired in configuration, and will be removed in version 2.0.0.
1.6.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug,Enhancement
- This patch removes wiring of the "Request" service to the module's own "RequestFactory". In normal applications, laminas-mvc already provides wiring for the service, and if you need for the factory to vary how it works and provide a laminas-console
-
1.5.008 Jun 2021Release notes
Open source →Release Notes for 1.5.0
Added
- This release adds support for PHP 8.0.
Removed
- This release removes support for PHP versions prior to 7.3.
1.5.0
- Total issues resolved: 1
- Total pull requests resolved: 3
- Total contributors: 4
Enhancement
- 21: Provide Psalm integration thanks to @weierophinney and @boesing
- 18: Switch to GHA CI workflow thanks to @internalsystemerror
- 16: PHP 8.0 support thanks to @eimkua1
-
1.4.031 Dec 2019Release notes
Open source →Based on https://github.com/zfcampus/zf-content-negotiation/releases/tag/1.4.0 (commit 874a590de97b6d105205fdedad1799219c602d87 in this repo)
Added
- zfcampus/zf-content-negotiation#103 adds support for PHP 7.2.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- zfcampus/zf-content-negotiation#103 removes support for HHVM.
Fixed
- zfcampus/zf-content-negotiation#101 fixes how
ContentNegotiationsOptionshandles dash-separated keys,
ensuring they are always translated to underscore_separated; this fixes issues whereby such
keys were ignored during execution.
-
1.3.331 Dec 2019Release notes
Open source →Based on https://github.com/zfcampus/zf-content-negotiation/releases/tag/1.3.3 (commit 228d6db3d751baf5a49441c17334d3ec0f31fb24 in this repo)
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- zfcampus/zf-content-negotiation#100 fixes an
issue introduced in 1.3.2 whereby theRequestFactorywas updated to no
longer depend on laminas-console. Unfortunately, many testing strategies relied
on laminas-console's ability to override the SAPI detection in order to test HTTP
request lifecycles. This release now does detection for the presence of the
laminas-console library, and, if present, uses that for determining whether or
not the request is console-based.
-
1.3.231 Dec 2019Release notes
Open source →Based on https://github.com/zfcampus/zf-content-negotiation/releases/tag/1.3.2 (commit 5e516e660845a86d11478d7907e186e49a55c7d4 in this repo)
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- zfcampus/zf-content-negotiation#97 fixes an
issue in theContentTypeListenerwhereby empty content was leading to an
uninitialized string offset notice .
-
1.3.131 Dec 2019Release notes
Open source →Based on https://github.com/zfcampus/zf-content-negotiation/releases/tag/1.3.1 (commit 8445129a1503827b8f2825ae5f08e5e3b3b31bc9 in this repo)
Added
- Nothing.
Changed
-
zfcampus/zf-content-negotiation#86 makes
laminas-console a suggested dependency. -
zfcampus/zf-content-negotiation#88 updates how
theContentTypeListenerdecides how to parse incoming content when no
Content-Typeheader is present. If the content begins with a{or[
character, it will now parse it as JSON instead of as form data.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- zfcampus/zf-content-negotiation#88 adds a
missing import statement to theRenameUploadFilterFactoryclass definition.
-
1.3.031 Dec 2019Release notes
Open source →Based on https://github.com/zfcampus/zf-content-negotiation/releases/tag/1.3.0 (commit d4b45b7d0fc0f25797883c60658e869a25897842 in this repo)
Added
-
zfcampus/zf-content-negotiation#81 adds a new
listener,HttpMethodListener. The listener is enabled by toggling the
api-tools-content-negotiation.x_http_method_override_enabledflag, and providing a
map of request method/list of override request methods in the
api-tools-content-negotiation.http_override_methodsconfiguration:'api-tools-content-negotiation' => [ 'x_http_method_override_enabled' => true, 'http_override_methods' => [ 'GET' => [ 'HEAD', 'PATCH', 'POST', 'PUT', 'DELETE', ], ], ],
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
-
-
1.2.231 Dec 2019Release notes
Open source →Based on https://github.com/zfcampus/zf-content-negotiation/releases/tag/1.2.2 (commit ae7db00e62630870bd572403abb10cd5d71cf851 in this repo)
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- zfcampus/zf-content-negotiation#75 updates the
JsonModelto test discoveredLaminas\ApiTools\Hal\Entityinstances for agetEntity()
method; if found, that method will be used to pull the entity data, but if
not, property overloading to its$entityproperty will be used instead. This
change ensures the component works with versions of api-tools-hal prior to 1.4.
-
1.2.131 Dec 2019Nothing published for this version
-
1.2.031 Dec 2019Nothing published for this version
-
1.1.231 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.931 Dec 2019Nothing published for this version
-
1.0.831 Dec 2019Nothing published for this version
-
1.0.731 Dec 2019Nothing published for this version
-
1.0.631 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.3no dateNothing 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.0no dateNothing published for this version
-
0.6.0no dateNothing published for this version
-
1.0.0beta331 Dec 2019Nothing published for this version
-
1.0.0beta231 Dec 2019Nothing published for this version
-
1.0.0beta131 Dec 2019Nothing published for this version