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 makesextend_ttl(max_ttl())
work correctly for the temporary storage entries. It can be observed though in case ifmax_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