Skip to content

Releases: stellar/rs-soroban-sdk

21.3.0

18 Jul 07:37
ee516d1
Compare
Choose a tag to compare

What's Changed

  • Document the accuracy of the ledger timestamp by @leighmcculloch in #1289

  • Keep testutils on/off state internal to the sdk by @leighmcculloch in #1301

    Prior to this release it has been necessary in some situations to define a testutils feature inside the contract crate and to enable it when importing the crate for fuzz testing, or when importing the crate into another contract for testing. For example:

    [package]
    name = "my-contract"
    version = "1.0.0"
    
    [lib]
    crate-type = ["cdylib"]
    
    [dependencies]
    soroban-sdk = { version = "21.3.0" }
    
    [dev-dependencies]
    soroban-sdk = { version = "21.3.0", features = ["testutils"] }
    
    [features]
    testutils = ["soroban-sdk/testutils"]

    Starting with this release the testutils feature inside the contract crate is no longer required. The testutils functionality will now be enabled automatically in any contract that is compiled against an SDK that has its testutils feature enabled. For example:

    [package]
    name = "my-contract"
    version = "1.0.0"
    
    [lib]
    crate-type = ["cdylib"]
    
    [dependencies]
    soroban-sdk = { version = "21.3.0" }
    
    [dev-dependencies]
    soroban-sdk = { version = "21.3.0", features = ["testutils"] }
  • Bump version to 21.3.0 by @github-actions in #1303

Full Changelog: v21.2.0...v21.3.0

21.2.0

16 Jul 07:05
9c91852
Compare
Choose a tag to compare

What's Changed

Full Changelog: v21.1.1...v21.2.0

21.1.1

25 Jun 16:41
648cbcb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v20.5.0...v21.1.1

21.1.0-rc.1

31 May 11:05
2a5ee0d
Compare
Choose a tag to compare
21.1.0-rc.1 Pre-release
Pre-release

What's Changed

Full Changelog: v21.0.1-preview.3...v21.1.0-rc.1

21.0.1-preview.3

08 May 00:33
ff05c3d
Compare
Choose a tag to compare
21.0.1-preview.3 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v21.0.1-preview.2...v21.0.1-preview.3

21.0.1-preview.2

06 May 23:59
f17b7df
Compare
Choose a tag to compare
21.0.1-preview.2 Pre-release
Pre-release

Release notes

This is the second preview version of the Soroban SDK that supports protocol 21. It is marked as 'preview' because contracts built with SDK v21 will only be compatible with the networks upgraded to protocol 21. The API itself may be considered stable.

Key protocol-related changes

  • Support for secp256r1 signature verification
  • Support for extending TTL of contract instance and code separate from each other

Breaking changes

  • storage().max_ttl() getter has been changed to exclude the current ledger and thus it now returns a value that is one less than before. This is a bug fix that makes extend_ttl(max_ttl()) work correctly for the temporary storage entries. It can be observed though in case if max_ttl() has been directly compared with a hardcoded value (for example, in tests).

What's Changed

  • Check UDT enum integer must derive from Copy by @jayz22 in #1264
  • Remove event topics length limit; refactor tuple code into separate file by @jayz22 in #1263
  • Truncate docs stored in wasm rather than panic when length exceeded by @leighmcculloch in #1261
  • Add wrappers for live_until_ledger getters. by @dmkozh in #1267
  • Add docs for extend_ttl_for_{code,contract_instance} by @jayz22 in #1268
  • Make TTL getters exclude the current ledger. by @dmkozh in #1269
  • Log to stdout when sdk log method is used by @sisuresh in #1265
  • Update SDK to use env 21.0.2 by @dmkozh in #1270
  • Bump version to 21.0.1-preview.2 by @github-actions in #1271

Full Changelog: v21.0.1-preview.1...v21.0.1-preview.2

21.0.1-preview.1

24 Apr 17:09
e407193
Compare
Choose a tag to compare
21.0.1-preview.1 Pre-release
Pre-release

Release notes

This is the first version of the Soroban SDK that supports protocol 21. It is marked as 'preview' because contracts built with SDK v21 will only be compatible with the networks upgraded to protocol 21. The API itself may be considered stable.

Key changes

  • Support for secp256r1 signature verification
  • Support for extending TTL of contract instance and code separate from each other

What's Changed

Full Changelog: v20.5.0...v21.0.1-preview.1

20.5.0

18 Mar 18:16
9e2c302
Compare
Choose a tag to compare

What's Changed

Full Changelog: v20.4.0...v20.5.0

20.4.0

02 Mar 00:44
70b12eb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v20.3.2...v20.4.0

20.3.2

14 Feb 01:04
1d7f9bd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v20.3.1...v20.3.2