Skip to content

Commit 9a04698

Browse files
committed
chore(release): prepare 0.4.0
1 parent c12f2bb commit 9a04698

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
## 0.4.0
2+
3+
### Features
4+
5+
- Add `DuplicatePolicy.append` so a normalized route slot can retain multiple
6+
handlers in registration order.
7+
- `Router.matchAll(...)` now expands appended entries from the same slot while
8+
keeping deterministic route priority ordering.
9+
10+
### Fixes
11+
12+
- `matchAll(...)` now snapshots captured params before backtracking so lazy
13+
parameter materialization stays stable for every collected match.
14+
- Lookup normalization now rejects interior empty path segments such as
15+
`"/users//42"` instead of letting fallback wildcards match them.
16+
17+
### Performance
18+
19+
- Reduced matcher hot-path overhead by removing recursive traversal and
20+
streamlining slot collection/materialization.
21+
- Improved `matchAll(...)` throughput across static, dynamic, and appended-route
22+
scenarios with dedicated benchmarks.
23+
124
## 0.3.0
225

326
### Features

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: roux
22
description: >-
33
A lightweight, fast, functional router for Dart with static, parameterized, and
44
wildcard route matching.
5-
version: 0.3.0
5+
version: 0.4.0
66
repository: https://github.com/medz/roux
77

88
funding:

0 commit comments

Comments
 (0)