Repository navigation
Releases: commercelayer/rail0-cli
Release list
v1.8.2
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
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
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)
--waitand--timeouton payouts send, submit and resend: follow the payout until confirmed or failed, like the payment waits (#188)- Scripts and demo use
--chain arcinstead of--chain-id 5042002(#188)
Full diff: v1.7.0...v1.7.1
Release pull request: #188
v1.7.0
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
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
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
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 shAdded
- Hint for the new 403
wallet_deactivated_by_operator: an operator switched the wallet off, so only an operator can reactivate it.
Changed
wallet_deactivatedandlast_active_wallethints, 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
primaryTypein a signing payload now says the CLI may be older than the gateway and points atrail0 update. - Depends on rail0-go v1.7.2.
Fixed
- Signing test fixtures now carry the EIP-712
typesthat rail0-go v1.7.1 requires.
v1.5.1
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 shChanged
- The signing-payload check (sender, chain, token,
to= the payment's RAIL0 contract, exact value) now delegates to rail0-go v1.7.0SignSigningPayloadFor. It fails closed: an incomplete expectation, or a created payment withoutrail0_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) isjsonorquiet(#176). - Release builds compile against the rail0-go tag in
go.mod(the release fails if that tag does not exist) instead of rail0-gomain(#176). --payment-filereplaces every request flag and stored default; the file is checked locally formode(#176).- Help:
webhooks createdocuments the 20-per-account limit (webhook_limit_reached),payments redrivedocuments 503queue_unavailable(#176).
Fixed
payments signon 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 whenexpiredand nothing captured),siwe_chain_mismatch(chain id 1 or any active chain); new hints forwebhook_limit_reachedandqueue_unavailable; the unreachabletransaction_not_overwritablehint removed (#176). - Ctrl-C / ESC during
rail0 initexits 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
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 shAdded
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.--jsongives 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.0VerifyUnsignedTransaction; amounts are compared in human units scaled by the payment's decimals (#174). - Types regenerated for the onboarding API:
POST /accountsand the old claim are gone, accountstatusisactiveordeactivated(#173). account update --emailon another account now answers 403forbidden; help and docs say so (#173).docs/clianddocs/manregenerated withbin/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
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 shAdded
- Readable hints for
not_your_wallet(a session changes only the wallet it signed in with) andwallet_add_unavailable(adding a wallet is suspended for every session) (#172).
Changed
wallets createis documented as currently unavailable;wallets update,wallets deleteand the wallet-token commands act only on the session's own wallet, reads stay account-wide, operators are exempt (#172).docs/clianddocs/manregenerated withbin/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)