Changelog v3.4.3 (2025-01-16)
Version 3.4.3 (2025-01-16)
Bug Fixes
- Fixed double-escaping bug in PostgreSQL tuple string serialization. When composite types contain arrays of other composites (e.g., nested composite types with array fields), the JSON output now correctly escapes quotes instead of double-escaping them (
\"instead of\\\"). This fix ensures that decoded tuple strings contain proper PostgreSQL tuple format with doubled quotes ("") for literal quote characters, rather than backslash-escaped quotes.
Performance Improvements
- Optimized
PgCompositeArrayToJsonArrayto use stack allocation (stackalloc) for small inputs (≤512 chars) andArrayPool<char>for larger inputs, eliminating per-elementStringBuilderallocations and reducing GC pressure.