github stellar/rs-soroban-sdk v21.3.0
21.3.0

latest releases: v26.0.0-rc.1, v25.3.1, v23.5.3...
21 months ago

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

Don't miss a new rs-soroban-sdk release

NewReleases is sending notifications on new releases.