Skip to content

v0.25.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 21:05
· 69 commits to master since this release
v0.25.0
7bc7add

Release 0.25.0 raises the default card top-up minimum to $5 and lets builders set it for card alone. It also preserves validated card terms in caller credit-menu parsing.

Breaking API changes

Card top-ups now default to $5 instead of $0.50. Set DVMKIT_STRIPE_MIN_USD or createStripeCreditRail({ minUsd: ... }) to choose a card-only minimum. Explicit settings must be at least $0.50 and no greater than credit.max; invalid settings fail boot. The effective minimum respects credit.min and Stripe's $0.50 floor, and the default is capped at credit.max so menus below $5 can still offer cards. Other rails and credit.min are unchanged. CreditTerms.stripe now preserves validated card terms when parsing a credit menu; no public export is removed or renamed.

Migrations

To retain the previous card floor, set DVMKIT_STRIPE_MIN_USD=0.50 before upgrading, or pass minUsd: 0.50 to createStripeCreditRail. Otherwise existing card-enabled DVMs advertise the new $5 default, capped by their credit maximum. No database or wire-format migration is required.

Compatibility requirements

Node.js 22 or newer. No dependency floor changes from 0.24.0.

dvmctl and platform prerequisites

None. This release introduces no new minimum CLI version or platform capability requirement for the supported builder APIs.

Full changelog: 0.24.0...0.25.0