Skip to content

Releases: CashScript/cashscript

v0.7.4

05 Dec 19:52
Compare
Choose a tag to compare

cashc compiler

CashScript SDK

v0.7.3

14 Nov 16:12
39a835a
Compare
Choose a tag to compare

CashScript SDK

  • ✨ Add "chipnet" network option to ElectrumNetworkProvider, used to connect to the May 2023 testnet.
  • 🛠️ Renamed network options "testnet" & "staging" to "testnet3" and "testnet4" respectively. Old options will be removed in a future release.

v0.7.2

14 Jul 12:25
Compare
Choose a tag to compare

cashc compiler

  • 🐛 Fix bug where contracts using checkMultiSig() were unspendable.

CashScript SDK

  • ✨ Add signatureAlgorithm parameter to SignatureTemplate to allow ECDSA signatures.

v0.7.1

12 Jun 16:07
Compare
Choose a tag to compare

@cashscript/utils

  • 🐛 Fix bug where 64bit integers could not be decoded.

v0.7.0

24 May 12:04
ebbbcc4
Compare
Choose a tag to compare

cashc compiler

  • ✨ Add destructuring assignments, e.g. bytes2 left, bytes1 right = 0x123456.split(2) (authored by @nathanielCherian in #101)
  • ✨ Add constant keyword, e.g. int constant x = 10; (authored by @nathanielCherian in #119)
  • ✨ 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
  • 🐛 Fix ESM build (authored by @bitjson in #123)

CashScript SDK

  • ✨ Add "staging" network option to ElectrumNetworkProvider, used to connect to the staging testnet if it exists
  • 🛠️ 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
  • 🐛 Fix ESM build (authored by @bitjson in #123)
  • 🐛 Small fixes

https://twitter.com/RoscoKalis/status/1529072055756414976

v0.7.0-next.0

17 Dec 09:35
Compare
Choose a tag to compare
v0.7.0-next.0 Pre-release
Pre-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

v0.6.5

12 Aug 15:08
Compare
Choose a tag to compare

cashc compiler

  • 🐛 Fix cashc version (fixes #100)

v0.6.4

09 Aug 15:03
Compare
Choose a tag to compare

cashc compiler

v0.6.3

09 Aug 14:24
Compare
Choose a tag to compare
  • 🛠️ Use ES2015 for the "module" output for better compatibility

v0.6.2

09 Aug 14:24
Compare
Choose a tag to compare

CashScript SDK

  • 🐛 Fix typing issue with BitcoinRpcNetworkProvider