starknet 10.7.1 → 11.0.0-beta.10

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 CHANGED
@@ -1,8 +1,112 @@
1
- ## [10.7.1](https://github.com/starknet-io/starknet.js/compare/v10.7.0...v10.7.1) (2026-08-21)
1
+ # [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)
2
2
 
3
3
  ### Bug Fixes
4
4
 
5
- - **provider:** accept pre-release RPC spec versions ([436f433](https://github.com/starknet-io/starknet.js/commit/436f433e57039f3ae12c651c937d6b7e21592de1))
5
+ - **cairoDataTypes:** correct u256 and u512 toApiRequest and validate ([11d758b](https://github.com/starknet-io/starknet.js/commit/11d758bfed27e3c8b170d930c47253f42a110dfb))
6
+
7
+ # [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)
8
+
9
+ ### Features
10
+
11
+ - **constants:** remove the feeder gateway BaseUrl constant ([c455e2a](https://github.com/starknet-io/starknet.js/commit/c455e2a7410817135729f652a8bd46aa45b9cec6))
12
+
13
+ ### BREAKING CHANGES
14
+
15
+ - **constants:** `constants.BaseUrl` is removed. It exposed the feeder
16
+ gateway roots, whose endpoints Starknet v0.14.4 deletes; the library has
17
+ been JSON-RPC only since v7 and never read it. Use `constants.NetworkName`
18
+ with `provider.getDefaultNodeUrl()`, or your own node's RPC url.
19
+
20
+ # [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)
21
+
22
+ ### Bug Fixes
23
+
24
+ - **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)
25
+ - **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)
26
+
27
+ ### BREAKING CHANGES
28
+
29
+ - **starknetId:** `useEncoded` throws on any character outside the Starknet.id alphabets
30
+ instead of silently ignoring it, and `encodeBrotherDomain`, which calls it with no guard,
31
+ throws on the same input. `isStarkDomain` also rejects labels whose encoding overflows the
32
+ field, including every 48-character label it used to accept.
33
+
34
+ # [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)
35
+
36
+ ### Bug Fixes
37
+
38
+ - **calldata:** a Cairo type serializes itself, abi or not ([c0943fb](https://github.com/starknet-io/starknet.js/commit/c0943fb173ab7e914ae213865c8cf7cf78898746))
39
+ - **calldata:** an abi slot accepts the Cairo type it declares ([b9fa576](https://github.com/starknet-io/starknet.js/commit/b9fa5769aba339a27a989d249d4adef1b04f79a8))
40
+ - **calldata:** out-of-range arguments refused, negative results come back negative ([41bf052](https://github.com/starknet-io/starknet.js/commit/41bf052f11a66d9b72e8db2a964b86c8161546b1))
41
+
42
+ # [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)
43
+
44
+ ### Bug Fixes
45
+
46
+ - **calldata:** text reaches a ByteArray, whatever it spells ([509c9f8](https://github.com/starknet-io/starknet.js/commit/509c9f80f02ef1f5751bcdbd45a8612c2479f6f8))
47
+
48
+ # [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)
49
+
50
+ ### Bug Fixes
51
+
52
+ - **calldata:** long string chunks stay text, at any ABI depth ([06638d9](https://github.com/starknet-io/starknet.js/commit/06638d9b7317caf3e20087c9f92a05a499157213))
53
+
54
+ # [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)
55
+
56
+ ### Bug Fixes
57
+
58
+ - remove leftover v1 transaction references ([52424df](https://github.com/starknet-io/starknet.js/commit/52424df0f3dee61ab477bf06adddca189ac313f7))
59
+
60
+ ### BREAKING CHANGES
61
+
62
+ - v2hash, ETransactionVersion2, Details,
63
+ InvocationsDetails.maxFee and TransactionHashPrefix.DEPLOY are removed.
64
+ See the v10 to v11 migration guide, section 8.
65
+
66
+ # [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)
67
+
68
+ ### Features
69
+
70
+ - **receipt:** remove the deprecated ReceiptTx class ([e57933c](https://github.com/starknet-io/starknet.js/commit/e57933cc491249b5b1593e84b4d90750e9bdf7dc))
71
+
72
+ ### BREAKING CHANGES
73
+
74
+ - **receipt:** remove the deprecated ReceiptTx class
75
+
76
+ # [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)
77
+
78
+ - feat(cairo)!: remove the deprecated string helpers, add CairoBytes31.fromText ([49331fe](https://github.com/starknet-io/starknet.js/commit/49331fe4ffc002c6adf711c0484a4f5b70954fc9))
79
+
80
+ ### BREAKING CHANGES
81
+
82
+ - shortString.encodeShortString(), shortString.decodeShortString(),
83
+ CairoFelt() and encode.utf8ToArray() are removed. Use
84
+ CairoBytes31.fromText(text).toHexString(), new CairoBytes31(felt).decodeUtf8(),
85
+ CairoFelt252 and encode.utf8ToUint8Array(). cairo.felt() no longer accepts text,
86
+ booleans or non-integer numbers.
87
+
88
+ # [11.0.0-beta.1](https://github.com/starknet-io/starknet.js/compare/v10.7.0...v11.0.0-beta.1) (2026-08-17)
89
+
90
+ - feat!: starknet.js v11 ([0e360fd](https://github.com/starknet-io/starknet.js/commit/0e360fd7cf29546b9979bd201f0d77fb9817147f))
91
+
92
+ ### Bug Fixes
93
+
94
+ - **test:** detect devnet by asking the node, not by the absence of a url ([62b3944](https://github.com/starknet-io/starknet.js/commit/62b39442812278592e6831ccb3d7f6fc917eb621))
95
+ - **ws:** tolerate an unclean close, and run the suite on devnet ([5c706f0](https://github.com/starknet-io/starknet.js/commit/5c706f0b59ebd17ed13a73a381199731630a4ec9))
96
+ - **ws:** webSocketProvider.create() typing, and the transport documentation ([00dcc5c](https://github.com/starknet-io/starknet.js/commit/00dcc5c6938af0d784f7b5fef9c47b229f365519))
97
+
98
+ ### Features
99
+
100
+ - **channel:** carry requests and subscriptions over one WebSocket transport ([6344efc](https://github.com/starknet-io/starknet.js/commit/6344efc17ffdaf389419b35a9ce803fc539b626b))
101
+ - **channel:** route RPC requests through a pluggable transport ([5af8a51](https://github.com/starknet-io/starknet.js/commit/5af8a5162bdcbbc414031447d8be856e263238ad))
102
+ - **provider:** deprecate the Provider alias in favour of RpcProvider ([08dad8c](https://github.com/starknet-io/starknet.js/commit/08dad8c8f50bec207a67622fd9253cce3f41a796))
103
+ - **stark:** add randomFelt and randomStarkPrivateKey generators ([04c612e](https://github.com/starknet-io/starknet.js/commit/04c612e7f5bc1913607e8fcd6807677dba8b90fc))
104
+ - **test:** one npm test, four URL-driven categories ([4e8e2c6](https://github.com/starknet-io/starknet.js/commit/4e8e2c61db1d2939799dfa042a8ba46ef270683e))
105
+ - **ws:** webSocketProvider, one socket for requests and subscriptions ([2af307a](https://github.com/starknet-io/starknet.js/commit/2af307a13421b67349216730e2ca4cd09aba39a2))
106
+
107
+ ### BREAKING CHANGES
108
+
109
+ - @noble/curves, @noble/hashes and @scure/starknet bumped to 2.x. WeierstrassSignatureType is now weierstrass.ECDSASignature, a plain {r, s} object instead of the v1 signature class.
6
110
 
7
111
  # [10.7.0](https://github.com/starknet-io/starknet.js/compare/v10.6.8...v10.7.0) (2026-08-13)
8
112