@subsquid/pipes v1.0.0-beta.3
·
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/_vattribute envelope.publish.deliveryis replaced bypublish.messageOrdering,heartbeatis removed, and message data must be a plain object. State schema v2 has no in-place migration. SeeMIGRATION.mdfor the upgrade steps anddocs/pubsub-bigquery.mdfor the receiving-end setup.
Targets
- Drizzle: reorg snapshotting fixed for camelCase schemas — a schema mapping a
camelCaseproperty key to asnake_casecolumn no longer fails once snapshotting activates at the finalized head. Rollback ofjsonb,numeric, andtimestampcolumns 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