Skip to content

Commit ab249c8

Browse files
committed
🔖 release v1.5.2
## 1.5.2 - [FIX] enforce `decodeDotInKeys` and `allowDots` option consistency; clarify dot decoding in documentation - [FIX] fix dot notation encoding in key splitter; handle top-level dots and bracket depth correctly - [FIX] fix list limit check to account for current list length when splitting comma-separated values - [FIX] fix parameter splitting to correctly enforce limit and wrap excess bracket groups as single segment - [FIX] fix list limit enforcement and unify key/value decoding in parser - [FIX] preserve leading dot in key decoding except for degenerate ".[" case - [CHORE] add tests for `allowDots` and `decodeDotInKeys` consistency in `DecodeOptions` - [CHORE] add comprehensive tests for encoded dot behavior in keys to ensure C# port (QsNet) parity and option consistency - [CHORE]️ refactor `DecodeOptions` to support legacy decoders and unify decode logic; add `decodeKey`/`decodeValue` helpers - [CHORE] add tests for encoded dot handling in keys and custom decoder behavior in `DecodeOptions` - [CHORE] remove unused import of `DecodeKind` from qs.dart - [CHORE] update decode.dart comments to clarify key decoding and dot/bracket handling logic - [CHORE] clarify `DecodeOptions` docs for `allowDots` and `decodeDotInKeys` interaction; improve `charsetSentinel` and decoder behavior descriptions - [CHORE]️ simplify custom decoder handling in `DecodeOptions`; remove dynamic invocation and legacy overloads - [CHORE] update tests to use new decoder signature with `DecodeKind`; remove legacy dynamic invocation cases - [CHORE] add tests for leading and double dot handling with `allowDots=true` - [CHORE] remove legacy dynamic decoder fallback tests and helper class - [CHORE] fix custom percent-decoding logic to handle non-encoded characters and improve byte extraction - [CHORE] clarify negative `listLimit` behavior and list growth checks in decode logic comments - [CHORE] clarify `listLimit` negative value behavior and `throwOnLimitExceeded` interaction in decode options comments - [CHORE] improve decode tests for nested list handling, list limit error matching, and long input parsing; fix percent-decoding to handle '+' as space - [CHORE] clarify handling of percent-encoded dots in keys and list growth with negative `listLimit` in decode logic comments
1 parent 2260f84 commit ab249c8

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
## 1.5.2
2+
3+
- [FIX] enforce `decodeDotInKeys` and `allowDots` option consistency; clarify dot decoding in documentation
4+
- [FIX] fix dot notation encoding in key splitter; handle top-level dots and bracket depth correctly
5+
- [FIX] fix list limit check to account for current list length when splitting comma-separated values
6+
- [FIX] fix parameter splitting to correctly enforce limit and wrap excess bracket groups as single segment
7+
- [FIX] fix list limit enforcement and unify key/value decoding in parser
8+
- [FIX] preserve leading dot in key decoding except for degenerate ".[" case
9+
- [CHORE] add tests for `allowDots` and `decodeDotInKeys` consistency in `DecodeOptions`
10+
- [CHORE] add comprehensive tests for encoded dot behavior in keys to ensure C# port (QsNet) parity and option consistency
11+
- [CHORE]️ refactor `DecodeOptions` to support legacy decoders and unify decode logic; add `decodeKey`/`decodeValue` helpers
12+
- [CHORE] add tests for encoded dot handling in keys and custom decoder behavior in `DecodeOptions`
13+
- [CHORE] remove unused import of `DecodeKind` from qs.dart
14+
- [CHORE] update decode.dart comments to clarify key decoding and dot/bracket handling logic
15+
- [CHORE] clarify `DecodeOptions` docs for `allowDots` and `decodeDotInKeys` interaction; improve `charsetSentinel` and decoder behavior descriptions
16+
- [CHORE]️ simplify custom decoder handling in `DecodeOptions`; remove dynamic invocation and legacy overloads
17+
- [CHORE] update tests to use new decoder signature with `DecodeKind`; remove legacy dynamic invocation cases
18+
- [CHORE] add tests for leading and double dot handling with `allowDots=true`
19+
- [CHORE] remove legacy dynamic decoder fallback tests and helper class
20+
- [CHORE] fix custom percent-decoding logic to handle non-encoded characters and improve byte extraction
21+
- [CHORE] clarify negative `listLimit` behavior and list growth checks in decode logic comments
22+
- [CHORE] clarify `listLimit` negative value behavior and `throwOnLimitExceeded` interaction in decode options comments
23+
- [CHORE] improve decode tests for nested list handling, list limit error matching, and long input parsing; fix percent-decoding to handle '+' as space
24+
- [CHORE] clarify handling of percent-encoded dots in keys and list growth with negative `listLimit` in decode logic comments
25+
126
## 1.5.1
227

328
- [FIX] fix `decoder` type and include `throwOnLimitExceeded` in equality check

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: qs_dart
22
description: A query string encoding and decoding library for Dart. Ported from qs for JavaScript.
3-
version: 1.5.1
3+
version: 1.5.2
44
homepage: https://techouse.github.io/qs/
55
repository: https://github.com/techouse/qs
66
documentation: https://pub.dev/documentation/qs_dart/latest/

0 commit comments

Comments
 (0)