Skip to content

21.3.0

Compare
Choose a tag to compare
@leighmcculloch leighmcculloch released this 18 Jul 07:37
· 58 commits to main since this release
ee516d1

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