Releases: PerryTS/mysql
Releases · PerryTS/mysql
v0.1.3
Patch release: fix transport/net-socket.ts::openSocket to call net.createConnection(port, host) on Perry, matching Node's documented positional signature.
- Pre-fix the file's header comment incorrectly asserted Perry took
(host, port)and the call followed suit. Perry has always matched Node's(port, host)(seecrates/perry-codegen/src/lower_call.rsin the perry tree). Under the wrong order Perry coerced the host string to a port (NaN-coerced) and the port number to a host pointer, returning an invalid socket handle that silently no-op'd through everysock.on(...)registration.await connect(...)then never resolved against any MySQL server, surfacing as the immediate-exit /(number).next is not a functionsymptom from PerryTS/perry#536. - Header comment rewritten to reflect Perry's actual
(port, host)contract. The Node.js / Bun code path is unchanged — it uses the object form({ host, port })and works as before. - Requires perry >= v0.5.652 for the matching runtime-side fixes (
[].pop()/[].shift()returningundefinedinstead of NaN, perry-ext-net active-handles wiring under the well-known flip). With both halves in place, the issue's repro returns the SELECT row end-to-end.
See CHANGELOG.md for full history.
v0.1.2
Patch release: fix binary decoders for DATE, DATETIME/TIMESTAMP, and TIME columns.
- The upstream resultset framing already consumes the length-encoded prefix, so the binary decoders must discriminate on
buf.lengthinstead of reading a leading length byte. Previously this caused off-by-one parsing of the year and other fields on binary-protocol rows. .gitignore: minor housekeeping.
See CHANGELOG.md for full history.
v0.1.1
First test of the automated release workflow.
- Add
.github/workflows/publish.ymlfor OIDC trusted-publisher npm releases. - Restore canonical
PerryTScasing inpackage.jsonrepo URL (provenance verification is case-sensitive). - README: add headline benchmarks vs mysql2 and Perry AOT.
- Scrub leftover hard-coded benchmark connection details (repo-only; not in the published tarball).
See CHANGELOG.md for full history.