You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨ add key-aware decoding to the query string parser (#14)
* ✨ add DecodeKind enum to distinguish decoding context for keys and values
* 🐛 protect encoded dots in key decoding to prevent premature conversion to '.' and ensure correct parsing
* 🐛 handle lowercase '%2e' in key decoding and improve bracketed key parsing for accurate dot conversion
* ✅ add comprehensive tests for encoded dot handling in keys with allowDots and decodeDotInKeys options
* 🗑️ deprecate getDecoder in favor of context-aware decode methods for value decoding
* 💡 update Decoder interface documentation to use code formatting for parameter names
* 🚸 add LegacyDecoder typealias and deprecate legacy decoder support in DecodeOptions for backward compatibility
* 💡 update deprecation annotation for indices option in EncodeOptions with message, replacement, and level
* 🐛 fix key segment handling for depth 0 to preserve original key with encoded dots
* 🐛 optimize protectEncodedDotsForKeys to skip processing when no encoded dots are present; update deprecation message for getDecoder to clarify removal timeline
* 🐛 replace regex-based dot-to-bracket conversion with top-level parser to correctly handle encoded dots in key segments
* ✅ add tests for key coercion and depth=0 behavior with allowDots in decode
* ✅ update decoder tests to handle DecodeKind for selective key/value decoding
* 🎨 remove explicit Decoder type annotations in custom decoder test cases for improved readability
* ✅ add tests for defaultDecode to verify encoded dot handling in keys with allowDots and decodeDotInKeys options
* 💡 clarify deprecation message for legacy decoder adapter and document bracket handling in protectEncodedDotsForKeys
* 🎨 reformat deprecation and documentation comments for improved readability in DecodeOptions
* 🐛 fix allowDots logic to ensure decodeDotInKeys requires allowDots not explicitly false
* 🎨 rename local variable for custom decoder in encoding test for clarity
* ✅ add tests for dot-to-bracket conversion guardrails in decode with allowDots option
0 commit comments