Skip to content

Commit c7a3217

Browse files
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 enforcement
1 parent bca7bcc commit c7a3217

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

CHANGELOG.md

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

321
* [FIX] preserve percent-encoded dots in keys during decoding

src/qs_codec/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"""
1515

1616
# Package version (PEP 440). Bump in lockstep with distribution metadata.
17-
__version__ = "1.2.0"
17+
__version__ = "1.2.1"
1818

1919
from .decode import decode, load, loads
2020
from .encode import dumps, encode

0 commit comments

Comments
 (0)