starknet 11.0.0-beta.1 → 11.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +101 -0
- package/dist/index.d.ts +4639 -1374
- package/dist/index.global.js +4104 -1167
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +4088 -1150
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4083 -1146
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,104 @@
|
|
|
1
|
+
# [11.0.0-beta.11](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.10...v11.0.0-beta.11) (2026-09-01)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **cairoDataTypes:** add CairoBool, CairoEthAddress and CairoSecp256k1Point ([332dd1e](https://github.com/starknet-io/starknet.js/commit/332dd1e2fbf9db756343768327788f9114a897b1))
|
|
6
|
+
|
|
7
|
+
### BREAKING CHANGES
|
|
8
|
+
|
|
9
|
+
- **cairoDataTypes:** three inputs that used to reach the calldata are now refused.
|
|
10
|
+
A core::bool argument that is neither a boolean nor 0/1 throws instead of being
|
|
11
|
+
serialized as a felt. An EthAddress built from text throws instead of being
|
|
12
|
+
encoded as its UTF-8 bytes. A Secp256k1Point wider than 512 bits throws instead
|
|
13
|
+
of emitting four corrupted felts.
|
|
14
|
+
|
|
15
|
+
# [11.0.0-beta.10](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.9...v11.0.0-beta.10) (2026-09-01)
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
- **cairoDataTypes:** correct u256 and u512 toApiRequest and validate ([11d758b](https://github.com/starknet-io/starknet.js/commit/11d758bfed27e3c8b170d930c47253f42a110dfb))
|
|
20
|
+
|
|
21
|
+
# [11.0.0-beta.9](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.8...v11.0.0-beta.9) (2026-08-31)
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
- **constants:** remove the feeder gateway BaseUrl constant ([c455e2a](https://github.com/starknet-io/starknet.js/commit/c455e2a7410817135729f652a8bd46aa45b9cec6))
|
|
26
|
+
|
|
27
|
+
### BREAKING CHANGES
|
|
28
|
+
|
|
29
|
+
- **constants:** `constants.BaseUrl` is removed. It exposed the feeder
|
|
30
|
+
gateway roots, whose endpoints Starknet v0.14.4 deletes; the library has
|
|
31
|
+
been JSON-RPC only since v7 and never read it. Use `constants.NetworkName`
|
|
32
|
+
with `provider.getDefaultNodeUrl()`, or your own node's RPC url.
|
|
33
|
+
|
|
34
|
+
# [11.0.0-beta.8](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.7...v11.0.0-beta.8) (2026-08-27)
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
- **starknetId:** accept bigAlphabet characters in isStarkDomain ([f508984](https://github.com/starknet-io/starknet.js/commit/f5089848f4b4bf526cc814f20fef1918bc67879f)), closes [#1668](https://github.com/starknet-io/starknet.js/issues/1668)
|
|
39
|
+
- **starknetId:** reject names the encoder cannot represent ([76fe9b1](https://github.com/starknet-io/starknet.js/commit/76fe9b1df174d295374417a018e425ee652258c8)), closes [#1668](https://github.com/starknet-io/starknet.js/issues/1668)
|
|
40
|
+
|
|
41
|
+
### BREAKING CHANGES
|
|
42
|
+
|
|
43
|
+
- **starknetId:** `useEncoded` throws on any character outside the Starknet.id alphabets
|
|
44
|
+
instead of silently ignoring it, and `encodeBrotherDomain`, which calls it with no guard,
|
|
45
|
+
throws on the same input. `isStarkDomain` also rejects labels whose encoding overflows the
|
|
46
|
+
field, including every 48-character label it used to accept.
|
|
47
|
+
|
|
48
|
+
# [11.0.0-beta.7](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.6...v11.0.0-beta.7) (2026-08-26)
|
|
49
|
+
|
|
50
|
+
### Bug Fixes
|
|
51
|
+
|
|
52
|
+
- **calldata:** a Cairo type serializes itself, abi or not ([c0943fb](https://github.com/starknet-io/starknet.js/commit/c0943fb173ab7e914ae213865c8cf7cf78898746))
|
|
53
|
+
- **calldata:** an abi slot accepts the Cairo type it declares ([b9fa576](https://github.com/starknet-io/starknet.js/commit/b9fa5769aba339a27a989d249d4adef1b04f79a8))
|
|
54
|
+
- **calldata:** out-of-range arguments refused, negative results come back negative ([41bf052](https://github.com/starknet-io/starknet.js/commit/41bf052f11a66d9b72e8db2a964b86c8161546b1))
|
|
55
|
+
|
|
56
|
+
# [11.0.0-beta.6](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.5...v11.0.0-beta.6) (2026-08-25)
|
|
57
|
+
|
|
58
|
+
### Bug Fixes
|
|
59
|
+
|
|
60
|
+
- **calldata:** text reaches a ByteArray, whatever it spells ([509c9f8](https://github.com/starknet-io/starknet.js/commit/509c9f80f02ef1f5751bcdbd45a8612c2479f6f8))
|
|
61
|
+
|
|
62
|
+
# [11.0.0-beta.5](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.4...v11.0.0-beta.5) (2026-08-24)
|
|
63
|
+
|
|
64
|
+
### Bug Fixes
|
|
65
|
+
|
|
66
|
+
- **calldata:** long string chunks stay text, at any ABI depth ([06638d9](https://github.com/starknet-io/starknet.js/commit/06638d9b7317caf3e20087c9f92a05a499157213))
|
|
67
|
+
|
|
68
|
+
# [11.0.0-beta.4](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.3...v11.0.0-beta.4) (2026-08-21)
|
|
69
|
+
|
|
70
|
+
### Bug Fixes
|
|
71
|
+
|
|
72
|
+
- remove leftover v1 transaction references ([52424df](https://github.com/starknet-io/starknet.js/commit/52424df0f3dee61ab477bf06adddca189ac313f7))
|
|
73
|
+
|
|
74
|
+
### BREAKING CHANGES
|
|
75
|
+
|
|
76
|
+
- v2hash, ETransactionVersion2, Details,
|
|
77
|
+
InvocationsDetails.maxFee and TransactionHashPrefix.DEPLOY are removed.
|
|
78
|
+
See the v10 to v11 migration guide, section 8.
|
|
79
|
+
|
|
80
|
+
# [11.0.0-beta.3](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.2...v11.0.0-beta.3) (2026-08-20)
|
|
81
|
+
|
|
82
|
+
### Features
|
|
83
|
+
|
|
84
|
+
- **receipt:** remove the deprecated ReceiptTx class ([e57933c](https://github.com/starknet-io/starknet.js/commit/e57933cc491249b5b1593e84b4d90750e9bdf7dc))
|
|
85
|
+
|
|
86
|
+
### BREAKING CHANGES
|
|
87
|
+
|
|
88
|
+
- **receipt:** remove the deprecated ReceiptTx class
|
|
89
|
+
|
|
90
|
+
# [11.0.0-beta.2](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.1...v11.0.0-beta.2) (2026-08-19)
|
|
91
|
+
|
|
92
|
+
- feat(cairo)!: remove the deprecated string helpers, add CairoBytes31.fromText ([49331fe](https://github.com/starknet-io/starknet.js/commit/49331fe4ffc002c6adf711c0484a4f5b70954fc9))
|
|
93
|
+
|
|
94
|
+
### BREAKING CHANGES
|
|
95
|
+
|
|
96
|
+
- shortString.encodeShortString(), shortString.decodeShortString(),
|
|
97
|
+
CairoFelt() and encode.utf8ToArray() are removed. Use
|
|
98
|
+
CairoBytes31.fromText(text).toHexString(), new CairoBytes31(felt).decodeUtf8(),
|
|
99
|
+
CairoFelt252 and encode.utf8ToUint8Array(). cairo.felt() no longer accepts text,
|
|
100
|
+
booleans or non-integer numbers.
|
|
101
|
+
|
|
1
102
|
# [11.0.0-beta.1](https://github.com/starknet-io/starknet.js/compare/v10.7.0...v11.0.0-beta.1) (2026-08-17)
|
|
2
103
|
|
|
3
104
|
- feat!: starknet.js v11 ([0e360fd](https://github.com/starknet-io/starknet.js/commit/0e360fd7cf29546b9979bd201f0d77fb9817147f))
|