Releases: CashScript/cashscript
Releases · CashScript/cashscript
v0.7.4
cashc compiler
- 🛠️ Internal refactoring (authored by @nathanielCherian in #127)
CashScript SDK
- 🐛 Fix a bug with ESM exports (authored by @mainnet-pat in #135)
v0.7.3
v0.7.2
v0.7.1
v0.7.0
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
todatasig
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
v0.7.0-next.0
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
todatasig
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