---
title: "soroban-sdk 30.0.0 Breaking Changes on crates.io | Since.dev"
description: "What each soroban-sdk release removed, renamed or changed: 18 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/soroban-sdk
last_updated: 2026-12-04
---

# 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

Latest version `30.0.0`, released November 24, 2026. [Source repository](https://github.com/stellar/rs-soroban-sdk)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## soroban-sdk 30.0.0 breaking changes

soroban-sdk 30.0.0, released November 24, 2026: 18 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](https://github.com/stellar/rs-soroban-sdk/releases/tag/v30.0.0)
- **Removed** `panic_with_error!`  

Integer enums defined with #\[contracttype\] can no longer be passed to panic_with_error!. Use #\[contracterror\] types instead. [github.com](https://github.com/stellar/rs-soroban-sdk/releases/tag/v30.0.0)
- **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](https://github.com/stellar/rs-soroban-sdk/releases/tag/v30.0.0)
- **Removed** `sdk_panic`  

Support for calling the sdk_panic() macro with no message was removed. Pass a message to it. [github.com](https://github.com/stellar/rs-soroban-sdk/releases/tag/v30.0.0)
- **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](https://github.com/stellar/rs-soroban-sdk/releases/tag/v30.0.0)
- **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](https://github.com/stellar/rs-soroban-sdk/releases/tag/v30.0.0)
- **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](https://docs.rs/soroban-sdk/30.0.0-rc.1/soroban%5Fsdk/%5Fmigrating/index.html)
- **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](https://docs.rs/soroban-sdk/30.0.0-rc.1/soroban%5Fsdk/%5Fmigrating/index.html)
- **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](https://docs.rs/soroban-sdk/30.0.0/soroban%5Fsdk/%5Fmigrating/index.html)
- **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](https://github.com/stellar/rs-soroban-sdk/releases/tag/v30.0.0)
- **Behavior changed** `contractevent`  

Void data fields of contractevent map events are no longer published; use sparse = false to keep publishing every field. [docs.rs](https://docs.rs/soroban-sdk/30.0.0-rc.1/soroban%5Fsdk/%5Fmigrating/index.html)
- **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](https://docs.rs/soroban-sdk/30.0.0-rc.1/soroban%5Fsdk/%5Fmigrating/index.html)
- **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](https://github.com/stellar/rs-soroban-sdk/releases/tag/v30.0.0)
- **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](https://github.com/stellar/rs-soroban-sdk/releases/tag/v30.0.0)
- **Configuration changed**  

Build contracts with stellar contract build from a stellar-cli of equal or greater major version. [docs.rs](https://docs.rs/soroban-sdk/30.0.0-rc.1/soroban%5Fsdk/%5Fmigrating/index.html)
- **Signature changed** `soroban_sdk::Event::publish`  

Was fn publish(&self, env: &Env); now fn publish(&self, env: &Env) where Self: Sized + SpecShakingMarker,. [crates.io](https://crates.io/crates/soroban-sdk/30.0.0)
- **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](https://crates.io/crates/soroban-sdk/30.0.0)
- **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](https://crates.io/crates/soroban-sdk/30.0.0)

## Related packages

- [soroban-ledger-snapshot](https://since.dev/packages/crates/soroban-ledger-snapshot.md)
- [soroban-spec-rust](https://since.dev/packages/crates/soroban-spec-rust.md)
- [soroban-spec](https://since.dev/packages/crates/soroban-spec.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
