Skip to content

Releases

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 25 Nov 10:17

What's Changed

Full Changelog: v0.1.3...v0.1.4

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 25 Nov 10:03

Full Changelog: v0.1.2...v0.1.3

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 14 Nov 18:18

Fixed

  • Log lines on stderr (warnings such as an unhealthy ready_http) honor --color and are plain text when stderr is not a terminal, instead of carrying ANSI escapes into CI logs and redirected files.
  • Pipelined Parse + Describe batches (multiple Describe(Statement) and Describe(Portal) messages in a single Flush or Sync pipeline) preserve each object's column layout in wire order instead of overwriting earlier schemas on NoData, and invalidate cached layouts on Parse, Bind, Close and transaction end.
  • Supervised COPY streams safely across CopyInResponse ('G') and CopyOutResponse ('H') in both Simple Query and Extended Query protocols (Execute + Flush and Execute + Sync with post-CopyDone Sync), and keeps eagerly pipelined CopyData ordered behind a gated COPY turn.
  • Fix Advisor handles multibyte UTF-8 at keyword boundaries, SQL comments (/* ... */ and -- ...), double-quoted identifiers, E'...' escape strings, dollar-quoted literals and deeply nested CAST(...) expressions without panicking or commenting out proposed SQL.

Added

  • Property-based test suites (proptest) and cargo-fuzz targets (fuzz/) for wire frame/startup/message decoding, classify_sql and pgloom_report::advisor::advise.

Changed

  • Update github.com/jackc/pgx/v5 to 5.12.0 in examples/go-wallet.

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 14 Nov 07:51

Security

  • Update ctutils to 0.4.8 for RUSTSEC-2026-0385 (non-constant-time comparisons). It reaches PgLoom through the HMAC that postgres-protocol uses 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 the ready_http port; 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 Describe and Flush (asyncpg, JDBC) are decoded with the formats their Bind requested: binary values no longer appear as raw bytes and columns keep their names. date, timestamp and timestamptz are decoded, and control characters in values are escaped.
  • Connection and query errors show PostgreSQL's message, SQLSTATE and hint instead of db error or error connecting to server.
  • Fix Advisor never proposes FOR NO KEY UPDATE on an aggregate, GROUP BY or DISTINCT read, 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 RETURNING at the end of the SQL it proposes.
  • Fix Advisor splits SET clauses only on top-level commas, so assignments such as GREATEST(balance - $1, 0) or 'a, b' stay intact.
  • Fix Advisor starts a WHERE clause when it guards a statement that has none, instead of appending a dangling AND.
  • pgloom replay finds 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.
  • --quiet prints only the verdict, the violated invariants and errors.
  • Warnings when ready_http answers with a 4xx status, and a hint to use sslmode=disable when the service fails to start on a TLS error.

Changed

  • The examples/python-wallet requirements accept psycopg-pool 3.2 again, so the example runs on Python 3.9; CI runs it on 3.9 and 3.13.
  • Help texts for --strategy and --max-preemptions state that bounded exploration goes deeper while --max-schedules allows.
  • Release archives are also published under version-independent names, so releases/latest/download/pgloom-<target>.tar.gz always 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-deny checks 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

Choose a tag to compare

@github-actions github-actions released this 14 Nov 04:48