Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ Versioning follows [Semantic Versioning](https://semver.org/).

## [Unreleased]

## [0.5.0] — 2026-08-10

_Target mainnet deploy 2026-08-10. Reproducible via `solana-verify`. **Includes breaking changes vs the deployed v0.4.0 — see Security.** Audit status: [`audits/AUDIT_STATUS.md`](audits/AUDIT_STATUS.md). The deployed binary and on-chain IDL report `0.5.0-beta.1`: they were built at the release commit `364a419`, which predates this version bump._

### Added

- `CancelSubscriptionNow` (discriminator 17) immediately expires a subscription when both the subscriber and current plan owner sign. It can shorten a pending cancellation, leaves the shared `SubscriptionAuthority` intact, and allows immediate subscription revocation without creating a unilateral skip-payment path. Emits a `SubscriptionCancelledEvent` — indexers now also see this event from dual-signed immediate cancels, with `expires_at_ts` set to the cancellation time instead of the end of the current billing period. The instruction data carries `expected_current_period_start_ts`, binding the dual approval to the subscription incarnation; a signed cancellation replayed against a later re-subscription at the same PDA is rejected with `StaleSubscriptionApproval` (521). ([#221])
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [
resolver = "2"

[workspace.package]
version = "0.5.0-beta.1"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/solana-foundation/subscriptions"
Expand Down
4 changes: 4 additions & 0 deletions clients/rust/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Versioning follows [Semantic Versioning](https://semver.org/).

## [Unreleased]

## [0.5.0] — 2026-08-10

_Matches on-chain program `program-v0.5.0`. Supersedes prerelease `0.5.0-beta.1`._

### Added

- Generated `CancelSubscriptionNow` instruction and CPI builders for merchant-approved immediate cancellation. Builders take `cancel_subscription_now_data` with `expected_current_period_start_ts`, the period start observed when signing. ([#221])
Expand Down
2 changes: 1 addition & 1 deletion clients/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "subscriptions"
version = "0.5.0-beta.1"
version = "0.5.0"
edition = "2021"
description = "Rust client for the Subscriptions Solana program"
license = { workspace = true }
Expand Down
4 changes: 4 additions & 0 deletions clients/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Versioning follows [Semantic Versioning](https://semver.org/).

## [Unreleased]

## [0.5.0] — 2026-08-10

_Matches on-chain program `program-v0.5.0`. Supersedes prereleases `0.5.0-beta.1` and `0.5.0-beta.2`._

### Added

- `cancelSubscriptionNow` generated builder, overlay, and plugin instruction. The plugin defaults the subscriber to `client.identity` and the approving plan owner to `client.payer` for sponsored cancellation flows. Requires `expectedCurrentPeriodStartTs`, the period start observed when signing. ([#221])
Expand Down
2 changes: 1 addition & 1 deletion clients/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solana/subscriptions",
"version": "0.5.0-beta.2",
"version": "0.5.0",
"description": "TypeScript SDK and @solana/kit plugin for the Subscriptions Solana program: token delegations, recurring payments, and subscription plans.",
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion idl/subscriptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4050,7 +4050,7 @@
}
],
"publicKey": "De1egAFMkMWZSN5rYXRj9CAdheBamobVNubTsi9avR44",
"version": "0.5.0-beta.1"
"version": "0.5.0"
},
"standard": "codama",
"version": "1.0.0"
Expand Down
Loading