Skip to content

Releases: stellar/rs-soroban-sdk

23.5.3

11 Mar 04:02
d3e1ab2

Choose a tag to compare

What's Changed

Full Changelog: v23.5.2...v23.5.3

22.0.11

11 Mar 03:49
34f7f53

Choose a tag to compare

What's Changed

Full Changelog: v22.0.10...v22.0.11

25.3.0

07 Mar 03:02
dcbea44

Choose a tag to compare

What's Changed

Full Changelog: v25.2.0...v25.3.0

25.2.0

06 Mar 01:19
3e529a6

Choose a tag to compare

What's Change

New Experimental Features

  • Spec shaking for smaller contract binaries: The SDK now supports automatic removal of unused type and event definitions from the contractspecv0 section of compiled WASM files. By embedding markers that survive dead code elimination, only types and events actually used at contract boundaries (function parameters, return values, and events) are retained. This reduces contract binary size and enables imported contract types to be automatically re-exported when used. Requires Stellar CLI v25.2.0+. Behind a feature flag experimental_spec_shaking_v2 during the v25 release. (#1672)

Improvements

  • Compile-time validation for BigInt conversions: BigInt::from<BytesN> now catches length mismatches at compile time instead of panicking at runtime, giving you earlier and clearer error messages. (#1725)

  • Remove unnecessary clones in iterators: Iterator implementations no longer perform redundant clones, reducing overhead when iterating over SDK collection types. (#1734)

Bug Fixes

  • Fix BytesN::is_empty: BytesN::is_empty previously always returned false. It now correctly returns true for BytesN<0>. (#1733)

Documentation

  • Document the alloc feature: The alloc module is now publicly documented in rustdoc, covering how the bump-pointer allocator works, that dealloc is a no-op, and how to use a custom allocator instead. (#1726)

All Changes

Full Changelog: v25.1.1...v25.2.0

25.1.1

13 Feb 15:25
94c2a3b

Choose a tag to compare

What's Changed

Bugs Fixed

All Changes

  • Fix trait method call resolution in contractimpl by @leighmcculloch in #1729
  • Bump version to 25.1.1 by @github-actions[bot] in #1732

Full Changelog: v25.1.0...v25.1.1

23.5.2

13 Feb 15:27
347f711

Choose a tag to compare

What's Changed

Bugs Fixed

All Changes

Full Changelog: v23.5.1...v23.5.2

22.0.10

13 Feb 15:27
9a1b75b

Choose a tag to compare

What's Changed

Bugs Fixed

All Changes

Full Changelog: v22.0.9...v22.0.10

25.1.0

06 Feb 11:31
86c50a1

Choose a tag to compare

What's Changed

Bug Fixes

  • Fix contractimport macro rust compiler dependency tracking (#1713)
  • Strengthen alloc arithmetic against edge cases (#1720)

New Features

  • Add Env try_as_contract testutils function (#1662)

All Changes

  • fix: use include_bytes for contractfile macro to improve file dependency tracking by @mootz12 in #1713
  • feat: add try_as_contract test function by @mootz12 in #1662
  • Strengthen alloc arithmetic against edge cases by @graydon in #1720
  • Bump version to 25.1.0 by @github-actions[bot] in #1721

Full Changelog: v25.0.2...v25.1.0

25.0.2

28 Jan 05:38
59a2e01

Choose a tag to compare

What's Changed

Bug Fixes

All Changes

Full Changelog: v25.0.1...v25.0.2

23.5.1

28 Jan 05:40
59fcef4

Choose a tag to compare

What's Changed

Bug Fixes

  • Fix range bound overflow in Vec/Bytes slice and GenRange gen_range for u64 (#1703 #1706)

All Changes

Full Changelog: v23.5.0...v23.5.1