Skip to content

v1.5.1

Choose a tag to compare

@github-actions github-actions released this 19 Oct 18:18
· 77 commits to main since this release
ea2d25c

Delegates the EIP-3009 payload check to rail0-go v1.7.0, fixes two misleading messages, and pins the SDK version in release builds.

rail0 update
# or: curl -fsSL https://raw.githubusercontent.com/commercelayer/rail0-cli/main/install.sh | RAIL0_VERSION=1.5.1 sh

Changed

  • The signing-payload check (sender, chain, token, to = the payment's RAIL0 contract, exact value) now delegates to rail0-go v1.7.0 SignSigningPayloadFor. It fails closed: an incomplete expectation, or a created payment without rail0_contract, is refused instead of skipping the check (#176).
  • Refund scales the expected amount by the payment's own decimals (#176).
  • The daily update prompt is also skipped when the stored output setting (or RAIL0_OUTPUT) is json or quiet (#176).
  • Release builds compile against the rail0-go tag in go.mod (the release fails if that tag does not exist) instead of rail0-go main (#176).
  • --payment-file replaces every request flag and stored default; the file is checked locally for mode (#176).
  • Help: webhooks create documents the 20-per-account limit (webhook_limit_reached), payments redrive documents 503 queue_unavailable (#176).

Fixed

  • payments sign on an unsigned payment whose signing payload the gateway could not build now says to retry, instead of claiming there is nothing to sign (#176).
  • Hints: not_releasable (nothing uncaptured left), not_voidable (also allowed when expired and nothing captured), siwe_chain_mismatch (chain id 1 or any active chain); new hints for webhook_limit_reached and queue_unavailable; the unreachable transaction_not_overwritable hint removed (#176).
  • Ctrl-C / ESC during rail0 init exits 130, as at every other prompt (#176).

Changelog

  • ea2d25c: Merge pull request #176 from commercelayer/fix/review-2026-10-19 (@pviti)
  • 4ddd95e: ci(release): build releases against the rail0-go tag go.mod requires (@pviti)
  • 7714094: fix(create): require "mode" in a --payment-file and say -C does not apply (@pviti)
  • cb63d0c: fix(errors): make the release, void, SIWE and webhook hints say what the gateway means (@pviti)
  • a38783c: fix(init): exit 130 when a setup prompt is cancelled (@pviti)
  • 1676a1e: fix(update): keep the update prompt out of a stored json/quiet output (@pviti)
  • a95c98f: refactor(sign): delegate the EIP-3009 payload check to rail0-go v1.7.0 (@pviti)