Skip to content

Releases: commercelayer/rail0-cli

v1.8.2

Choose a tag to compare

@github-actions github-actions released this 04 Nov 18:04
9dd0d2e

Fixed

  • release: release-prepare refreshes go.sum when it moves rail0-go (#193)

Full diff: v1.8.1...v1.8.2

Release pull request: #193

v1.8.1

Choose a tag to compare

@github-actions github-actions released this 04 Nov 17:13
0e7217e

Added

  • payouts: explicit minimum deposit on destinations, reserves decided at payout time, destinations delete and reserves (#191)

Fixed

  • deps: go.sum entries for rail0-go v1.10.0, so the payouts release ships (#192)

Full diff: v1.7.1...v1.8.1

Release pull request: #192

v1.7.1

Choose a tag to compare

@github-actions github-actions released this 30 Oct 16:39
7284691

Changed

  • Build the CLI against rail0-go from the Go module proxy, without the private sibling checkout (#186)
  • Payout commands, --chain <slug|id> on every chain command, and rail0 keys balance (#188)
  • --wait and --timeout on payouts send, submit and resend: follow the payout until confirmed or failed, like the payment waits (#188)
  • Scripts and demo use --chain arc instead of --chain-id 5042002 (#188)

Full diff: v1.7.0...v1.7.1

Release pull request: #188

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 14:11
23dbff7

Added

  • release: in branch mode, end the pull request's title with (release vX.Y.Z) (#183)

Changed

  • Export payments as CSV and open payments in the admin from the CLI (#184)

Full diff: v1.6.1...v1.7.0

Release pull request: #184

v1.6.1

Choose a tag to compare

@github-actions github-actions released this 28 Oct 17:09
8b2c312

Changed

  • Slack release message names the ecosystem and version; spell normalize with a z (#180)
  • ci: Slack release message: plain title to the release, Project to the repo, Version (#182)

Full diff: v1.6.0...v1.6.1

Release pull request: #182

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 10:56
6393d05

Added

  • release on merge of an approved release PR + --agent mode (#178)
  • --auth-ttl/--refund-ttl, payment reference and note, webhooks test (#179)

Full diff: v1.5.2...v1.6.0

Release pull request: #179

v1.5.2

Choose a tag to compare

@pviti pviti released this 21 Oct 16:12
36027df

Builds on rail0-go v1.7.2 and aligns the error hints and docs with the gateway of 2026-10-21 (wallet self-reactivation, wallet_deactivated_by_operator).

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

Added

  • Hint for the new 403 wallet_deactivated_by_operator: an operator switched the wallet off, so only an operator can reactivate it.

Changed

  • wallet_deactivated and last_active_wallet hints, README and help: a wallet's own session can reactivate it when the owner switched it off (rail0 wallets update <wallet> --active=true).
  • An unknown EIP-712 primaryType in a signing payload now says the CLI may be older than the gateway and points at rail0 update.
  • Depends on rail0-go v1.7.2.

Fixed

  • Signing test fixtures now carry the EIP-712 types that rail0-go v1.7.1 requires.

v1.5.1

Choose a tag to compare

@github-actions github-actions released this 19 Oct 18:18
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)

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 14:07
ce9e070

Adds an offline key generator, checks every gateway-built transaction through rail0-go v1.6.0 before signing, and aligns the CLI with the unified onboarding API.

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

Added

  • rail0 keys generate: creates a new wallet key pair locally, fully offline (no gateway call, no file written, update check skipped). Prints the EIP-55 address and the private key; the warning to save the key now, since it cannot be recovered, goes to stderr. --json gives a clean {address, private_key} object (#175).
  • Readable hints for the onboarding error codes (signup_unavailable, email_domain_not_allowed, email_provider_not_configured, account_*_taken, terms_required, onboarding_link_*) (#173).

Changed

  • The pre-sign check of the gateway's unsigned_transaction (chain, target contract, selector, paymentId, amount, zero value) now delegates to rail0-go v1.6.0 VerifyUnsignedTransaction; amounts are compared in human units scaled by the payment's decimals (#174).
  • Types regenerated for the onboarding API: POST /accounts and the old claim are gone, account status is active or deactivated (#173).
  • account update --email on another account now answers 403 forbidden; help and docs say so (#173).
  • docs/cli and docs/man regenerated with bin/docs.

Changelog

  • 9aef98f: Merge pull request #173 from commercelayer/chore/onboarding-phase5 (@pviti)
  • ee8f189: Merge pull request #174 from commercelayer/feature/sdk-tx-verify (@pviti)
  • ce9e070: Merge pull request #175 from commercelayer/feat/wallet-generate (@pviti)
  • f658114: docs(account): an admin cannot change another account's email (@pviti)
  • f6788e1: feat(keys): add 'keys generate' to create a wallet key pair locally (@pviti)
  • 9d473c7: refactor(sign): delegate the pre-sign transaction check to rail0.VerifyUnsignedTransaction (@pviti)

v1.4.1

Choose a tag to compare

@github-actions github-actions released this 16 Oct 10:22
5b62bc8

Aligns the CLI with the gateway surface of 2026-10-15/16: readable errors for the own-wallet rule and the suspended add-wallet route, built against rail0-go v1.5.1 (types regenerated from gateway main 108e85b).

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

Added

  • Readable hints for not_your_wallet (a session changes only the wallet it signed in with) and wallet_add_unavailable (adding a wallet is suspended for every session) (#172).

Changed

  • wallets create is documented as currently unavailable; wallets update, wallets delete and the wallet-token commands act only on the session's own wallet, reads stay account-wide, operators are exempt (#172).
  • docs/cli and docs/man regenerated with bin/docs (#172).

Changelog

  • 5b62bc8: Merge pull request #172 from commercelayer/chore/align-gateway-2026-10-15 (@pviti)
  • d51a8ab: docs(cli): regenerate the reference with bin/docs (@pviti)
  • bce6b50: docs(wallets): create unavailable, writes on the session's own wallet (@pviti)
  • 94a0bc2: feat(errors): readable hints for not_your_wallet and wallet_add_unavailable (@pviti)