Skip to content

Commit 6fc7981

Browse files
committed
add to type docs & release notes
1 parent 5ad8f1a commit 6fc7981

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

website/docs/language/types.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Operators:
2727
- Comparisons: `<=`, `<`, `==`, `!=`, `>=`, `>` (all evaluate to `bool`)
2828
- Arithmetic operators: `+`, `-`, unary `-`, `*`, `/`, `%` (modulo).
2929

30-
Note the lack of the `**` (exponentiation) operator as well as any bitwise operators.
30+
Note the lack of the `**` (exponentiation) operator as well as any shifting operators.
3131

3232
#### Number Formatting
3333

@@ -83,6 +83,8 @@ Operators:
8383
- `|` (bitwise OR)
8484
- `^` (bitwise XOR)
8585

86+
Note the lack of the bitshift operators (`<<` and `>>`) as well as bitwise INVERT (`~`).
87+
8688
Members:
8789

8890
- `length`: Number of bytes in the sequence.

website/docs/releases/release-notes.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,14 @@ This release also contains several breaking changes, please refer to the [migrat
1919
- Output BitAuth IDE URI for debugging when transaction is rejected.
2020
- Libauth template generation and debugging for multi-contract transactions
2121
- :sparkles: Debugging now supports using the optimised contract bytecode (when compiled with `cashc@0.11.0` or later).
22-
- :hammer_and_wrench: Deprecate the simple transaction builder. You can still use the simple transaction builder with the current SDK, but this support will be removed in a future release.
22+
- :sparkles: Config-free usage of the CashScript SDK with Vite or Webpack
2323
- :hammer_and_wrench: Update debug tooling to use the new `BCH_2025_05` instruction set.
24+
- :hammer_and_wrench: Deprecate the simple transaction builder. You can still use the simple transaction builder with the current SDK, but this support will be removed in a future release.
25+
- :boom: **BREAKING**: the Jest utilities for automated testing are now synchronous and no longer work with the deprecated simple transaction builder
26+
* `expect(transaction).toLog(message)`
27+
* `expect(transaction).toFailRequire()`
28+
* `expect(transaction).toFailRequireWith(message)`
29+
- :boom: **BREAKING**: Rework the `Unlocker` type to be a union of `ContractUnlocker | P2PKHUnlocker`
2430
- :boom: **BREAKING**: Remove support for custom Clusters from `ElectrumNetworkProvider` and added a configuration object to the constructor.
2531
- :boom: **BREAKING**: Remove support for old contracts compiled with CashScript v0.6.x or earlier.
2632
- :bug: Fix bug where `JestExtensions` `expect().toLog()` would detect logs from different tests.
@@ -81,9 +87,9 @@ Thanks [mainnet_pat](https://x.com/mainnet_pat) for the initiative and significa
8187
- :sparkles: Add `MockNetworkProvider` to simulate network interaction for debugging and testing.
8288
- Add `randomUtxo()`, `randomToken()` and `randomNft()` functions to generate dummy UTXOs for testing.
8389
- :sparkles: Add CashScript Jest utilities for automated testing.
84-
* `expect(transaction).toLog(message)`
85-
* `expect(transaction).toFailRequire()`
86-
* `expect(transaction).toFailRequireWith(message)`
90+
* `await expect(transaction).toLog(message)`
91+
* `await expect(transaction).toFailRequire()`
92+
* `await expect(transaction).toFailRequireWith(message)`
8793
- :bug: Fix bug with type exports.
8894
- :hammer_and_wrench: Update visibility of several classes.
8995
- Make `artifact`, `networkProvider`, `addressType` and `encodedConstructorArgs` public on `Contract` class.

0 commit comments

Comments
 (0)