Skip to content

v0.7.0-next.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@rkalis rkalis released this 17 Dec 09:35
· 338 commits to next since this release

cashc compiler

  • ✨ Add destructuring assignments, e.g. bytes2 left, bytes1 right = 0x123456.split(2) (authored by @nathanielCherian in #101)
  • ✨ Add multiplication, e.g. int x = 5 * 5
  • ✨ Add native introspection/covenants
  • 💥 BREAKING: Remove all old introspection/covenant functionality (tx.version, tx.hashPrevouts, tx.hashSequence, tx.outpoint, tx.bytecode, tx.value, tx.sequence, tx.hashOutputs, tx.locktime, tx.hashtype, OutputP2PKH, OutputP2SH, OutputNullData)
    • See the migration notes for details on migrating from the old introspection to the new native introspection methods.
  • 💥 BREAKING: Remove sig to datasig casting since this was only useful for old covenants

CashScript SDK

  • ✨ Add "staging" network option to ElectrumNetworkProvider, used to connect to the May 2022 testnet
  • 🛠️ Deprecate old introspection/covenant functionality. You can still use pre-0.7 contracts with the new SDK, but this support will be removed in a future release.
  • 💥 BREAKING: arguments of type datasig must be 64 bytes in length, effectively enforcing Schnorr
  • 🐛 Small fixes