Commit c7a3217
committed
🔖 release v1.2.1
## 1.2.1
* [FIX] fix top-level dot splitting in keys to preserve encoded dots and handle degenerate cases
* [FIX] normalize percent-encoded dots in bracketed keys when `decode_dot_in_keys` is enabled
* [FIX] handle leading dot in keys by converting to bracket segment in `dot_to_bracket_top_level`
* [FIX] fix strict_depth enforcement to avoid raising on unterminated bracket groups in decode logic
* [FIX] fix dot-to-bracket decoding to preserve leading dots in consecutive dot sequences
* [FIX] fix percent-decoding to handle dot in keys and clarify top-level percent sequence handling
* [FIX] handle ambiguous '.]' in key decoding and prevent bracket segment overrun on closing brackets
* [CHORE]️ refactor `DecodeOptions` to support legacy decoders and add unified decode methods
* [CHORE]️ update type annotations in `decode_options_test` for decoder and `legacy_decoder` signatures
* [CHORE] add tests for `DecodeOptions` dot-in-keys and custom decoder behaviors
* [CHORE] add C# port (QsNet) parity tests for encoded dot behavior in `DecodeOptions`
* [CHORE] add tests for decoder precedence over `legacy_decoder` and non-string `decoder` results in `DecodeOptions`
* [CHORE] add tests for dot encoding and decoding parity across `DecodeOptions` configurations
* [CHORE] revise decode test to avoid duplicate dict key assertion and ensure decoder invocation for dot-encoded and bracketed keys
* [CHORE] add tests for `split_key_into_segments` remainder handling and strict depth enforcement1 parent bca7bcc commit c7a3217
2 files changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
1 | 19 | | |
2 | 20 | | |
3 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments