Tags: techouse/qs-kotlin
Tags
🔖 release v1.2.1 ## 1.2.1 * [FIX] fix key decoding to treat dots consistently with values and update `DecodeOptions.decodeKey`/`DecodeOptions.decodeValue` visibility * [FIX] handle encoded dots and nested brackets in key parsing for dot notation * [FIX] remove unused `protectEncodedDotsForKeys` utility from `DecodeOptions` * [CHORE] clarify `decodeDotInKeys` documentation and improve `DecodeOptions.decodeKey`/`DecodeOptions.decodeValue` convenience methods with default charset * [CHORE] refactor `defaultDecode` signature to remove unused `DecodeKind` parameter in key decoding * [CHORE]️ refactor dot-to-bracket conversion and key splitting to improve handling of top-level dots and bracket segments * [CHORE] suppress deprecation warnings in `DecodeOptionsSpec` * [CHORE] clarify documentation for encoded dot handling in key decoding and parser logic * [CHORE] expand tests for key decoding with encoded dots and custom decoder behavior * [CHORE] add comprehensive tests for encoded dot behavior in keys to ensure C# qs port (`QsNet`) parity and edge case coverage * [CHORE] update `DecodeOptionsSpec` to use public decode method instead of `callDefaultDecode` reflection helper * [CHORE] expand `DecodeSpec` coverage for encoded dot behavior in keys and C# qs port (`QsNet`) parity scenarios
🔖 release v1.2.0 ## 1.2.0 * [FEAT] add `DecodeKind` enum to distinguish decoding context for keys and values * [FEAT] add `LegacyDecoder` typealias and deprecate legacy decoder support in `DecodeOptions` for backward compatibility * [FIX] protect encoded dots in key decoding to prevent premature conversion to '.' and ensure correct parsing * [FIX] handle lowercase '%2e' in key decoding and improve bracketed key parsing for accurate dot conversion * [FIX] fix key segment handling for depth 0 to preserve original key with encoded dots * [FIX] optimize `protectEncodedDotsForKeys` to skip processing when no encoded dots are present; update deprecation message for `getDecoder` to clarify removal timeline * [FIX] replace regex-based dot-to-bracket conversion with top-level parser to correctly handle encoded dots in key segments * [FIX] fix `allowDots` logic to ensure `decodeDotInKeys` requires `allowDots` not explicitly false * [CHORE] update deprecation annotation for indices option in `EncodeOptions` with message, replacement, and level * [CHORE] add tests for key coercion and `depth=0` behavior with `allowDots` in `decode` * [CHORE] update decoder tests to handle `DecodeKind` for selective key/value decoding * [CHORE] remove explicit `Decoder` type annotations in custom decoder test cases for improved readability * [CHORE] add tests for `defaultDecode` to verify encoded dot handling in keys with `allowDots` and `decodeDotInKeys` options * [CHORE] clarify deprecation message for legacy decoder adapter and document bracket handling in `protectEncodedDotsForKeys` * [CHORE] reformat deprecation and documentation comments for improved readability in `DecodeOptions` * [CHORE] add comprehensive tests for encoded dot handling in keys with `allowDots` and `decodeDotInKeys` options * [CHORE]️ deprecate `getDecoder` in favor of context-aware decode methods for value decoding * [CHORE] update `Decoder` interface documentation to use code formatting for parameter names * [CHORE] rename local variable for custom decoder in encoding test for clarity * [CHORE] add tests for dot-to-bracket conversion guardrails in decode with `allowDots` option
PreviousNext