Skip to content

@subsquid/pipes-cli v1.0.0-beta.3

Choose a tag to compare

@github-actions github-actions released this 28 Oct 12:12
· 59 commits to main since this release

pipes init installs again

pipes init failed at its install step for every new project, because the generated package.json asked for a core version range that no published version matched. This release fixes that and the install under pnpm 11, and moves the ClickHouse and Solana templates to the current core API.

Templates / scaffolding

  • Generated projects install — package.json now depends on @subsquid/pipes ^1.0.0-beta.10. The old ^1.0.0 matched no published version, so the install failed with "No matching version found".
  • pnpm 11 — the generated pnpm-workspace.yaml lists the packages allowed to run build scripts under allowBuilds as well as onlyBuiltDependencies. pnpm 11 reads only allowBuilds and fails the install on any build it skips. esbuild joins the list.
  • ClickHouse onRollback calls store.removeRowsAfter(safeCursor, { tables }) — it replaces the hand-written removeAllRows condition, and after a crash inside the first batch it removes only that batch's blocks. The generated AGENTS.md shows the same call.
  • Solana decoders are bound to their program — the custom template imports the typegen module and passes it as program, one decoder per deployment, instead of a programId list. A same-named instruction of another program no longer decodes under the wrong key.

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