Skip to content

@subsquid/pipes v1.0.0-beta.3

Choose a tag to compare

@github-actions github-actions released this 17 Aug 09:14
· 12 commits to main since this release

Pub/Sub target moves to BigQuery CDC

This release replaces the Pub/Sub target's message protocol with BigQuery CDC rows — a breaking change, see below — and fixes Drizzle reorg snapshotting for schemas where a camelCase property key maps to a snake_case column.

Breaking

  • Pub/Sub target now publishes BigQuery CDC rows instead of the previous _op/_id/_seq/_v attribute envelope. publish.delivery is replaced by publish.messageOrdering, heartbeat is removed, and message data must be a plain object. State schema v2 has no in-place migration. See MIGRATION.md for the upgrade steps and docs/pubsub-bigquery.md for the receiving-end setup.

Targets

  • Drizzle: reorg snapshotting fixed for camelCase schemas — a schema mapping a camelCase property key to a snake_case column no longer fails once snapshotting activates at the finalized head. Rollback of jsonb, numeric, and timestamp columns is fixed too.
  • Drizzle upgrade note: if a deployment hit the bug above, check SELECT count(*) FROM "<table>__snapshots" first — only drop and restart if it's empty. A non-empty table may hold real rollback data and needs manual reconciliation instead.

Full Changelog: pipes-v1.0.0-beta.2...pipes-v1.0.0-beta.3