This release fixes issues for SREs watching stability and regressions.
✓ No known CVEs patched in this version
Topics
+6 more
Summary
AI summaryFixed PostgreSQL string escaping and made character offsets consistent across Go, JavaScript, and Python implementations.
Full changelog
Version 1.0.1
Bug fixes
-
Consistent character offsets for non-ASCII input. The parser now scans input by Unicode code point in all three languages (Go scans as
[]rune, JavaScript asArray.from(text)), soRangeoffsets advance one step per character regardless of byte or UTF-16 width. Previously Cyrillic and other multi-byte/astral characters desynced offsets across the Go, JavaScript, and Python ports. -
Code-point token offsets in
tokenize().tokenize()now reportsstart/endas Unicode code-point offsets in every language, identical across Python, Go, and JavaScript for all input. Previously Go emitted byte-width token spans and JavaScript emitted UTF-16-code-unit spans for non-ASCII (and astral) characters, breaking the gap-free offset invariant. -
Valid PostgreSQL string escaping. The PostgreSQL generator now emits escape-string literals (
E'...') for values that contain backslash escapes such as quotes or newlines. A plain'...'literal treats backslashes literally understandard_conforming_strings(the default), which could produce invalid SQL; values that need no escaping still render as plain'...'.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About FlyQL
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]