Releases: laminas/laminas-escaper
Releases · laminas/laminas-escaper
2.14.0
Release Notes for 2.14.0
Feature release (minor)
2.14.0
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 3
renovate
Enhancement
- 56: PHP8.4 Support Added thanks to @cod43156
Documentation,Enhancement
2.13.0
Release Notes for 2.13.0
Feature release (minor)
2.13.0
- Total issues resolved: 1
- Total pull requests resolved: 4
- Total contributors: 4
Enhancement
- 49: PHP 8.3 support added thanks to @glo71317
- 46: Drop support for PHP 7.4 and PHP 8.0 thanks to @gsteel
Enhancement,Question
- 48: Support for PHP 8.3 thanks to @distantnative
renovate
- 42: Update dependency vimeo/psalm to v5 thanks to @renovate[bot]
- 40: Update dependency psalm/plugin-phpunit to ^0.18.0 thanks to @renovate[bot]
2.12.0
Release Notes for 2.12.0
Feature release (minor)
2.12.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 39: General Maintenance thanks to @gsteel
2.11.0
Release Notes for 2.11.0
Feature release (minor)
2.11.0
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 2
Enhancement
- 38:
ExceptionInterface
should extend fromThrowable
thanks to @gsteel - 37: Adds support for PHP 8.2 thanks to @gsteel
renovate
- 32: Configure Renovate thanks to @renovate[bot]
2.10.0
Release Notes for 2.10.0
Feature release (minor)
2.10.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 2
Enhancement
2.9.0
Release Notes for 2.9.0
Feature release (minor)
2.9.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 27: Provide PHP 8.1 support thanks to @weierophinney
2.8.0
Release Notes for 2.8.0
Feature release (minor)
In release 2.7.1, multiple users reported crashes due to the introduction of declare(strict_types=1);
in our codebase:
These crashes were related to misuse of the library on the caller side, since this library always expected string
values as inputs for most its methods.
This release replaces declared input type declarations with native type declarations provided by PHP.
The reason why this was done, is that:
- since PHP 7.2, and specifically the Parameter Type Widening RFC by @kelunik, it is safe to declare stricter types in parent interfaces/types, whereas subtypes can completely omit the parameter type. This library supports PHP 7.3 and newer, which means that existing subclass implementations of the
Escaper
that do not declarestring
parameters in their methods will continue to work as expected - the new
string
type declaration will lead to more shallow stack traces in the case of invalid input, which will further help avoiding misunderstanding of the issue, like what happened in #20. Developers should be able to determine more clearly that a non-string
was given as input - in case of developers still passing invalid input to
laminas/laminas-escaper
, should they not usedeclare(strict_types=1)
in their code, then there will be an implicit conversion performed by the engine, as specified by PHP 7.0 in the Scalar Type Hints v5 by @ircmaxell
This release therefore:
- increases strictness in this library
- increases compatibility with poorly written / reviewed code
2.8.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
2.7.1
Release Notes for 2.7.1
2.7.x bugfix release (patch)
2.7.1
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 18: Add GitHub CI thanks to @ghostwriter
2.7.0
2.7.0 - 2020-11-17
Added
Release Notes for 2.7.0
next feature release (minor)
2.7.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 2
Enhancement,hacktoberfest-accepted
- 10: Add Psalm integration thanks to @ocean
- 9: PHP 8.0 Support thanks to @Gounlaf