Releases: laminas/laminas-validator
Releases · laminas/laminas-validator
2.30.0
Release Notes for 2.30.0
Feature release (minor)
New Validator: IsJsonString
This minor version introduces the new validator Laminas\Validator\IsJsonString
which allows to check if a given value is a string that can be successfully decoded by json_decode
.
$result = Laminas\Validator\StaticValidator::execute(
'{"some":"json"}',
Laminas\Validator\IsJsonString::class
); // true
$result = Laminas\Validator\StaticValidator::execute(
'1.234',
Laminas\Validator\IsJsonString::class,
['allow' => Laminas\Validator\IsJsonString::ALLOW_ARRAY]
); // false
2.30.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement,Feature Request
- 172: Introduce
IsJsonString
validator thanks to @gsteel
2.29.0
Release Notes for 2.29.0
Feature release (minor)
2.29.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 2
Enhancement
- 165: Apply the
#[\SensitiveParameter]
PHP 8.2 attribute to prevent leaking passwords in stack traces when verifying passwords against known leaks thanks to @TimWolla
renovate
- 164: Update dependency vimeo/psalm to v5 thanks to @renovate[bot]
2.28.0
Release Notes for 2.28.0
Feature release (minor)
2.28.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
2.27.0
Release Notes for 2.27.0
Feature release (minor)
2.27.0
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 2
Enhancement
renovate
- 161: Lock file maintenance thanks to @renovate[bot]
- 157: Lock file maintenance thanks to @renovate[bot]
2.26.0
Release Notes for 2.26.0
Feature release (minor)
2.26.0
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 3
Enhancement
- 156: Add support for PHP 8.2, remove support for PHP 7.4 thanks to @gsteel
- 154: qa: remove
prophecy
usage in favor of nativephpunit
mock objects thanks to @alexraputa
renovate
- 155: Lock file maintenance thanks to @renovate[bot]
2.25.0
Release Notes for 2.25.0
Feature release (minor)
2.25.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
2.24.0
Release Notes for 2.24.0
Feature release (minor)
2.24.0
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 3
Enhancement
- 151: General psalm baseline reduction - Low hanging fruit thanks to @gsteel
- 150: Update psalm to 4.27 fixing newly discovered issues thanks to @gsteel
- 149: Fix some 8.2 compatibility issues in
Date
validator thanks to @gsteel
renovate
- 146: Lock file maintenance thanks to @renovate[bot]
Documentation,Enhancement
2.23.0
Release Notes for 2.23.0
Feature release (minor)
2.23.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
2.22.0
Release Notes for 2.22.0
Feature release (minor)
2.22.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
2.21.0
Release Notes for 2.21.0
Feature release (minor)
2.21.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 2
renovate
- 140: Configure Renovate thanks to @renovate[bot]
Bug,Documentation
- 137: Merge release 2.20.1 into 2.21.x thanks to @github-actions[bot]