soroban-sdk breaking changes
soroban-sdk 30.0.0 (November 24, 2026) is its newest release with breaking changes, 18 of them. The first: Removed Env.panic_with_error. Every breaking API change we have recorded in soroban-sdk on crates.io: 18 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 30.0.0, released November 24, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
soroban-sdk 30.0.0 breaking changes
- Removed
Env.panic_with_error
Integer enums defined with #[contracttype] can no longer be passed to Env::panic_with_error. Use #[contracterror] types instead. github.com - Removed
panic_with_error!
Integer enums defined with #[contracttype] can no longer be passed to panic_with_error!. Use #[contracterror] types instead. github.com - Removed
rssdk_spec_shaking
The rssdk_spec_shaking meta entry is no longer written. Tools should use the rssdkver meta entry to decide how to shake a spec. github.com - Removed
sdk_panic
Support for calling the sdk_panic() macro with no message was removed. Pass a message to it. github.com - Renamed
Contracts with duplicate type, event or error names get renamed entries in their spec, so generated clients see new names. Give each type a unique name to keep names unchanged. github.com - Behavior changed
Contracts using soroban-sdk v30 must be built with stellar contract build from stellar-cli v30.0.0 or newer. Upgrade the CLI before building. github.com - Behavior changed
The spec_xdr functions return spec entries with fully qualified names as the SDK emits them, not as they appear in a built contract. docs.rs - Behavior changed
Duplicate names in the contract spec get numbers appended, so the contract spec changes when upgrading an existing contract that has duplicates. docs.rs - Behavior changed
Spec markers are now only included in the contract Wasm for events and for errors triggered by panics, which matters to tools that inspect Wasm. docs.rs - Behavior changed
[contract]
The #[contract] attribute now rejects contract types with fields, tuple structs, or generics. Only struct Contract; and struct Contract {} are accepted. github.com - Behavior changed
contractevent
Void data fields of contractevent map events are no longer published; use sparse = false to keep publishing every field. docs.rs - Behavior changed
ContractExecutable
Custom account __check_auth code that matches exhaustively on the executable needs a new match arm for ExternalRef, and older SDK builds cannot unpack it. docs.rs - Behavior changed
MuxedAddress.id
An address with an id may now be a muxed contract, not only an account. Code that assumes it is an account must use MuxedAddress::address() for the address that holds a balance or authorizes. github.com - Behavior changed
spec_xdr
The generated spec_xdr fns now return entries with full-path names and unshaken. Tools must reduce names with soroban_spec::reduce::reduce. github.com - Configuration changed
Build contracts with stellar contract build from a stellar-cli of equal or greater major version. docs.rs - Signature changed
soroban_sdk::Event::publish
Was fn publish(&self, env: &Env); now fn publish(&self, env: &Env) where Self: Sized + SpecShakingMarker,. crates.io - Signature changed
soroban_sdk::events::Event::publish
Was fn publish(&self, env: &Env); now fn publish(&self, env: &Env) where Self: Sized + SpecShakingMarker,. crates.io - Signature changed
soroban_sdk::events::Events::publish_event
Was fn publish_event(&self, e: &(impl Event + ?Sized)); now fn publish_event<E: Event + SpecShakingMarker + ?Sized>(&self, e: &E). crates.io
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.