Repository navigation
Releases
Releases · Voskan/pgloom
v0.1.4
What's Changed
- Bump the cargo group with 3 updates by @dependabot[bot] in #7
Full Changelog: v0.1.3...v0.1.4
v0.1.3
v0.1.2
Fixed
- Log lines on stderr (warnings such as an unhealthy
ready_http) honor--colorand are plain text when stderr is not a terminal, instead of carrying ANSI escapes into CI logs and redirected files. - Pipelined
Parse+Describebatches (multipleDescribe(Statement)andDescribe(Portal)messages in a singleFlushorSyncpipeline) preserve each object's column layout in wire order instead of overwriting earlier schemas onNoData, and invalidate cached layouts onParse,Bind,Closeand transaction end. - Supervised
COPYstreams safely acrossCopyInResponse('G') andCopyOutResponse('H') in both Simple Query and Extended Query protocols (Execute+FlushandExecute+Syncwith post-CopyDoneSync), and keeps eagerly pipelinedCopyDataordered behind a gatedCOPYturn. - Fix Advisor handles multibyte UTF-8 at keyword boundaries, SQL comments (
/* ... */and-- ...), double-quoted identifiers,E'...'escape strings, dollar-quoted literals and deeply nestedCAST(...)expressions without panicking or commenting out proposed SQL.
Added
- Property-based test suites (
proptest) andcargo-fuzztargets (fuzz/) for wire frame/startup/message decoding,classify_sqlandpgloom_report::advisor::advise.
Changed
- Update
github.com/jackc/pgx/v5to 5.12.0 inexamples/go-wallet.
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Security
- Update
ctutilsto 0.4.8 for RUSTSEC-2026-0385 (non-constant-time comparisons). It reaches PgLoom through the HMAC thatpostgres-protocoluses for SCRAM authentication.
Fixed
- A run in which no SQL from the workers reached the proxy is an error (exit 2), not a pass. This happens when the service ignores the proxy's
DATABASE_URL, or when a stale copy of it already answers on theready_httpport; PgLoom now refuses to start in the second case. A service that exits during the run is reported with its output. - Results of statements prepared with
DescribeandFlush(asyncpg, JDBC) are decoded with the formats theirBindrequested: binary values no longer appear as raw bytes and columns keep their names.date,timestampandtimestamptzare decoded, and control characters in values are escaped. - Connection and query errors show PostgreSQL's message, SQLSTATE and hint instead of
db errororerror connecting to server. - Fix Advisor never proposes
FOR NO KEY UPDATEon an aggregate,GROUP BYorDISTINCTread, which PostgreSQL rejects; it locks the rows the read covered instead. - Fix Advisor reports write skew (a check over a set of rows followed by a write to a different row in each transaction) and proposes locking the checked rows or
SERIALIZABLE. - Fix Advisor treats ORM-style casts (
$1::INTEGER,CAST($1 AS numeric)) as values computed in the application, and proposes an in-SQL update and a compare-and-set for lost updates. - Fix Advisor proposes locking the parent row read in the same transaction (for example the coupon whose usage limit is checked) for phantom inserts.
- Catalog, snapshot and lock-inspection queries no longer panic on an unexpected column type; they fail with a typed error that names the query.
- Fix Advisor keeps
RETURNINGat the end of the SQL it proposes. - Fix Advisor splits
SETclauses only on top-level commas, so assignments such asGREATEST(balance - $1, 0)or'a, b'stay intact. - Fix Advisor starts a
WHEREclause when it guards a statement that has none, instead of appending a danglingAND. pgloom replayfinds the scenario next to the repro file when run from another directory.
Added
- Ctrl+C stops after the current schedule, restores the database and prints what was explored (exit 130); a second Ctrl+C aborts at once.
- A progress line on interactive terminals for runs longer than a second.
--quietprints only the verdict, the violated invariants and errors.- Warnings when
ready_httpanswers with a 4xx status, and a hint to usesslmode=disablewhen the service fails to start on a TLS error.
Changed
- The
examples/python-walletrequirements acceptpsycopg-pool3.2 again, so the example runs on Python 3.9; CI runs it on 3.9 and 3.13. - Help texts for
--strategyand--max-preemptionsstate that bounded exploration goes deeper while--max-schedulesallows. - Release archives are also published under version-independent names, so
releases/latest/download/pgloom-<target>.tar.gzalways resolves. - CI runs the full suite against PostgreSQL 12, 13, 14, 15, 16 and 17 and builds the minimum supported Rust version (1.89).
cargo-denychecks advisories, licenses and sources on every change and weekly; Dependabot keeps dependencies and actions current.
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Full Changelog: https://github.com/Voskan/pgloom/commits/v0.1.0