Skip to content

Commit 362d881

Browse files
committed
Prepare changelog for v1.1.0
1 parent 7f82d38 commit 362d881

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [v1.1.0](https://github.com/NexusPHP/assert/compare/v1.0.0...v1.1.0) - 2026-05-11
9+
10+
### Added
11+
- `keys()` and `values()` iterating expectations to apply assertions across an iterable's keys or values
12+
- `isBetween(float|int $min, float|int $max, bool $inclusive = true)` expectation for numeric range checks
13+
- `isOneOf(non-empty-list<mixed> $choices)` expectation, with PHPStan narrowing to the union of literal allowed values when the list is constant
14+
- `hasMinLength(int<1, max> $min)` and `hasMaxLength(int<1, max> $max)` expectations for bounded-string checks
15+
- `isUrl()` expectation, backed by `filter_var($value, FILTER_VALIDATE_URL)`
16+
17+
### Fixed
18+
- Improved failure-message wording for iterating expectations (`keys()`, `values()`) to clearly indicate which key or value triggered the failure
19+
820
## [v1.0.0](https://github.com/NexusPHP/assert/releases/tag/v1.0.0) - 2026-03-15
921

1022
### Added

0 commit comments

Comments
 (0)