diff --git a/.changeset/pre.json b/.changeset/pre.json index 7f04e485434..2206bd4e090 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -47,27 +47,41 @@ "@solana/tsconfig": "0.0.0", "@solana/ws-impl": "0.0.0", "@solana/fetch-impl": "0.0.0", - "@solana/promises": "2.0.0-rc.0" + "@solana/promises": "2.0.0-rc.0", + "@solana/subscribable": "2.0.0-rc.1" }, "changesets": [ + "beige-files-travel", "brave-chicken-own", "breezy-items-reflect", + "bright-snakes-search", "calm-camels-decide", "calm-crabs-tease", "chatty-flies-end", "chilled-walls-scream", "chilled-waves-lay", "chilly-seas-act", + "clever-ties-fix", + "cool-bears-taste", "curly-kids-type", "curvy-stingrays-attend", "dry-glasses-roll", "early-eyes-mix", + "fair-brooms-build", + "fair-moles-collect", "famous-buttons-switch", "fast-cars-knock", "five-sloths-greet", + "flat-ways-love", + "forty-bananas-bow", "forty-queens-explode", + "forty-ravens-train", "fuzzy-lizards-end", + "giant-coins-complain", + "giant-seals-mix", + "gorgeous-foxes-type", "gorgeous-gorillas-sniff", + "green-eels-applaud", "green-experts-hang", "heavy-students-relax", "honest-cheetahs-care", @@ -75,47 +89,81 @@ "hot-penguins-explain", "late-mangos-doubt", "late-planets-breathe", + "late-ravens-cross", "lazy-phones-fail", + "light-bugs-compare", + "light-owls-own", "little-berries-applaud", + "little-zebras-guess", + "loud-hotels-prove", "loud-otters-pull", "lovely-mice-promise", "mean-vans-behave", "metal-bees-lick", "metal-radios-switch", + "metal-spoons-matter", + "neat-cows-shop", "nervous-deers-roll", + "nine-owls-roll", "nine-pots-notice", "odd-beds-punch", + "olive-shrimps-lick", + "orange-squids-think", + "plenty-eyes-kick", "plenty-plums-drop", "poor-dogs-crash", + "popular-buttons-repair", "pretty-rocks-argue", + "pretty-worms-taste", "proud-poems-try", "purple-forks-rest", "quiet-hornets-look", "rare-goats-sell", + "red-moose-flash", "rich-eggs-tease", + "rotten-sloths-raise", + "shaggy-seas-end", "sharp-steaks-admire", "shiny-birds-pay", "short-jokes-begin", "short-toes-perform", "silent-cooks-marry", "silly-months-happen", + "silly-wombats-switch", + "six-olives-hang", "sixty-dodos-smile", + "sixty-months-relate", + "slow-dragons-add", + "small-cougars-smoke", "sour-mugs-press", "stale-turtles-hang", + "strange-oranges-hang", "strong-pandas-marry", + "stupid-tomatoes-reflect", "sweet-cobras-explode", + "swift-clocks-occur", + "tasty-cups-think", + "ten-buckets-search", "tender-turtles-bake", "thick-masks-lie", "thick-radios-appear", "thick-radios-search", "tidy-wolves-share", "tricky-fishes-pull", + "tricky-walls-doubt", "two-cougars-try", + "unlucky-jars-travel", "unlucky-pumpkins-itch", "violet-brooms-report", + "violet-eggs-whisper", + "warm-dolls-yell", + "warm-lizards-report", "warm-pears-sip", + "weak-peaches-fly", + "wet-colts-exist", "wicked-cougars-matter", "wicked-toys-hear", + "wild-beers-hang", "wild-lobsters-kick" ] } diff --git a/packages/accounts/CHANGELOG.md b/packages/accounts/CHANGELOG.md index 8cea124e599..47d29b36aa5 100644 --- a/packages/accounts/CHANGELOG.md +++ b/packages/accounts/CHANGELOG.md @@ -1,5 +1,21 @@ # @solana/accounts +## 2.0.0-rc.2 + +### Patch Changes + +- [#3213](https://github.com/solana-labs/solana-web3.js/pull/3213) [`3fc388f`](https://github.com/solana-labs/solana-web3.js/commit/3fc388f0b40243436a3ecbcd2af27ea8efa683e4) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Clean up SolanaRpcApi: no longer extend RpcApiMethods + remove export + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`6b43588`](https://github.com/solana-labs/solana-web3.js/commit/6b4358864cb328d1b83f11c94b29f75e1b3d635f), [`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403), [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722), [`628177f`](https://github.com/solana-labs/solana-web3.js/commit/628177ffcc1be1c40e0c82d80743b07f695cfe69), [`3834d82`](https://github.com/solana-labs/solana-web3.js/commit/3834d82eb1dd150f261612d742c3105194689c13), [`06dcd86`](https://github.com/solana-labs/solana-web3.js/commit/06dcd86d830e866eb3ee7c47ea1bb99b8205bd1e), [`3c02c35`](https://github.com/solana-labs/solana-web3.js/commit/3c02c3582f5b87151b7ac1d9cd24b9d20f6945ea), [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1), [`3fc388f`](https://github.com/solana-labs/solana-web3.js/commit/3fc388f0b40243436a3ecbcd2af27ea8efa683e4), [`4f87d12`](https://github.com/solana-labs/solana-web3.js/commit/4f87d12cf942fbd4f427005d5ac41671ce28a22c), [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71), [`a705413`](https://github.com/solana-labs/solana-web3.js/commit/a705413e357fb5c5907c5fc1df17d241bc5c0f76), [`91076ba`](https://github.com/solana-labs/solana-web3.js/commit/91076ba1884eb72880d1ee964b6800d90afb4460), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`f5660d2`](https://github.com/solana-labs/solana-web3.js/commit/f5660d2eb4d2ee5be8c9cd8e8b58a11de1a799bf), [`e1cb697`](https://github.com/solana-labs/solana-web3.js/commit/e1cb697d66dc906aa2433965452417e03cf86e13), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`d198638`](https://github.com/solana-labs/solana-web3.js/commit/d19863844cf28c252e6bedd7070e633692d9e46e), [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2)]: + - @solana/rpc-spec@2.0.0-rc.2 + - @solana/addresses@2.0.0-rc.2 + - @solana/rpc-types@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/codecs-strings@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/accounts/package.json b/packages/accounts/package.json index 68cde4a0348..2d7bc89c4de 100644 --- a/packages/accounts/package.json +++ b/packages/accounts/package.json @@ -1,6 +1,6 @@ { "name": "@solana/accounts", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Helpers for representing, fetching and decoding Solana accounts", "exports": { "edge-light": { diff --git a/packages/addresses/CHANGELOG.md b/packages/addresses/CHANGELOG.md index 07c6813737a..672972cc1cf 100644 --- a/packages/addresses/CHANGELOG.md +++ b/packages/addresses/CHANGELOG.md @@ -1,5 +1,19 @@ # @solana/addresses +## 2.0.0-rc.2 + +### Patch Changes + +- [`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403) Thanks [@steveluscher](https://github.com/steveluscher)! - `isAddress()` no longer throws despite that the input might be unparseable as a base-58 string. Now, it correctly, simply, returns `false`. + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`441fa3a`](https://github.com/solana-labs/solana-web3.js/commit/441fa3a6c7c104961f935e65e259f40c10e82f8a), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/assertions@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/codecs-strings@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/addresses/package.json b/packages/addresses/package.json index 0aad5f1c2c6..7afaa237b9a 100644 --- a/packages/addresses/package.json +++ b/packages/addresses/package.json @@ -1,6 +1,6 @@ { "name": "@solana/addresses", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Helpers for generating account addresses", "exports": { "edge-light": { diff --git a/packages/assertions/CHANGELOG.md b/packages/assertions/CHANGELOG.md index fff173f854d..56f5cca8620 100644 --- a/packages/assertions/CHANGELOG.md +++ b/packages/assertions/CHANGELOG.md @@ -1,5 +1,16 @@ # @solana/assertions +## 2.0.0-rc.2 + +### Patch Changes + +- [#3361](https://github.com/solana-labs/solana-web3.js/pull/3361) [`441fa3a`](https://github.com/solana-labs/solana-web3.js/commit/441fa3a6c7c104961f935e65e259f40c10e82f8a) Thanks [@steveluscher](https://github.com/steveluscher)! - Fixed a bug where calls to `isEd25519CurveSupported()` might have resulted in uncaught rejections bubbling up through the app, in cases where Ed25519 is not supported + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/errors@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/assertions/package.json b/packages/assertions/package.json index bf3b9f8ad7f..e946b156b8b 100644 --- a/packages/assertions/package.json +++ b/packages/assertions/package.json @@ -1,6 +1,6 @@ { "name": "@solana/assertions", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Helpers for asserting that a JavaScript environment supports certain features necessary for the operation of the Solana JavaScript SDK", "exports": { "edge-light": { diff --git a/packages/codecs-core/CHANGELOG.md b/packages/codecs-core/CHANGELOG.md index 64c1a66f018..689303af096 100644 --- a/packages/codecs-core/CHANGELOG.md +++ b/packages/codecs-core/CHANGELOG.md @@ -1,5 +1,14 @@ # @solana/codecs-core +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/errors@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/codecs-core/package.json b/packages/codecs-core/package.json index 4f57386707c..7dc9c82a0c3 100644 --- a/packages/codecs-core/package.json +++ b/packages/codecs-core/package.json @@ -1,6 +1,6 @@ { "name": "@solana/codecs-core", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Core types and helpers for encoding and decoding byte arrays on Solana", "exports": { "edge-light": { diff --git a/packages/codecs-data-structures/CHANGELOG.md b/packages/codecs-data-structures/CHANGELOG.md index 79b3e587f3a..2a64c5b34d9 100644 --- a/packages/codecs-data-structures/CHANGELOG.md +++ b/packages/codecs-data-structures/CHANGELOG.md @@ -1,5 +1,16 @@ # @solana/codecs-data-structures +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/errors@2.0.0-rc.2 + - @solana/codecs-numbers@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/codecs-data-structures/package.json b/packages/codecs-data-structures/package.json index 13eb4175896..9831f10b678 100644 --- a/packages/codecs-data-structures/package.json +++ b/packages/codecs-data-structures/package.json @@ -1,6 +1,6 @@ { "name": "@solana/codecs-data-structures", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Codecs for various data structures", "exports": { "edge-light": { diff --git a/packages/codecs-numbers/CHANGELOG.md b/packages/codecs-numbers/CHANGELOG.md index a02d24ff062..62fd21d1c3b 100644 --- a/packages/codecs-numbers/CHANGELOG.md +++ b/packages/codecs-numbers/CHANGELOG.md @@ -1,5 +1,15 @@ # @solana/codecs-numbers +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/errors@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/codecs-numbers/package.json b/packages/codecs-numbers/package.json index 1c3e8dd39de..c7e09b089ac 100644 --- a/packages/codecs-numbers/package.json +++ b/packages/codecs-numbers/package.json @@ -1,6 +1,6 @@ { "name": "@solana/codecs-numbers", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Codecs for numbers of different sizes and endianness", "exports": { "edge-light": { diff --git a/packages/codecs-strings/CHANGELOG.md b/packages/codecs-strings/CHANGELOG.md index 4c0e279aba3..bbd7de5515c 100644 --- a/packages/codecs-strings/CHANGELOG.md +++ b/packages/codecs-strings/CHANGELOG.md @@ -1,5 +1,16 @@ # @solana/codecs-strings +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/errors@2.0.0-rc.2 + - @solana/codecs-numbers@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/codecs-strings/package.json b/packages/codecs-strings/package.json index 5dcf2482358..799482beea0 100644 --- a/packages/codecs-strings/package.json +++ b/packages/codecs-strings/package.json @@ -1,6 +1,6 @@ { "name": "@solana/codecs-strings", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Codecs for strings of different sizes and encodings", "exports": { "edge-light": { diff --git a/packages/codecs/CHANGELOG.md b/packages/codecs/CHANGELOG.md index c1062f555eb..b60f1bd2b5d 100644 --- a/packages/codecs/CHANGELOG.md +++ b/packages/codecs/CHANGELOG.md @@ -1,5 +1,18 @@ # @solana/codecs +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/codecs-data-structures@2.0.0-rc.2 + - @solana/codecs-numbers@2.0.0-rc.2 + - @solana/codecs-strings@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + - @solana/options@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/codecs/package.json b/packages/codecs/package.json index 15e8e4fd0bf..8528229a090 100644 --- a/packages/codecs/package.json +++ b/packages/codecs/package.json @@ -1,6 +1,6 @@ { "name": "@solana/codecs", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "A library for encoding and decoding any data structure", "exports": { "edge-light": { diff --git a/packages/compat/CHANGELOG.md b/packages/compat/CHANGELOG.md index 55fc4ef6482..c82873d9d3f 100644 --- a/packages/compat/CHANGELOG.md +++ b/packages/compat/CHANGELOG.md @@ -1,5 +1,18 @@ # @solana/compat +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`0158b31`](https://github.com/solana-labs/solana-web3.js/commit/0158b3181ed96996f269f3bff689f76411e460b3)]: + - @solana/addresses@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/transactions@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + - @solana/keys@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/compat/package.json b/packages/compat/package.json index 21ee1fe342e..b5081799cad 100644 --- a/packages/compat/package.json +++ b/packages/compat/package.json @@ -1,6 +1,6 @@ { "name": "@solana/compat", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Helpers for converting from legacy web3js classes", "exports": { "edge-light": { diff --git a/packages/errors/CHANGELOG.md b/packages/errors/CHANGELOG.md index ba4ea7327c9..b3df1fc5157 100644 --- a/packages/errors/CHANGELOG.md +++ b/packages/errors/CHANGELOG.md @@ -1,5 +1,13 @@ # @solana/errors +## 2.0.0-rc.2 + +### Patch Changes + +- [#3134](https://github.com/solana-labs/solana-web3.js/pull/3134) [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823) Thanks [@buffalojoec](https://github.com/buffalojoec)! - Change unix timestamp type to bigint with an unsafe label + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + ## 2.0.0-rc.1 ## 2.0.0-rc.0 diff --git a/packages/errors/package.json b/packages/errors/package.json index 8bcbfde093b..bf3b3549bb5 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -1,6 +1,6 @@ { "name": "@solana/errors", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Throw, identify, and decode Solana JavaScript errors", "exports": { "edge-light": { diff --git a/packages/fast-stable-stringify/CHANGELOG.md b/packages/fast-stable-stringify/CHANGELOG.md index d79bb51124d..d58c69344fb 100644 --- a/packages/fast-stable-stringify/CHANGELOG.md +++ b/packages/fast-stable-stringify/CHANGELOG.md @@ -1,5 +1,11 @@ # @solana/fast-stable-stringify +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + ## 2.0.0-rc.1 ## 2.0.0-rc.0 diff --git a/packages/fast-stable-stringify/package.json b/packages/fast-stable-stringify/package.json index 7141ec1816a..1e100166395 100644 --- a/packages/fast-stable-stringify/package.json +++ b/packages/fast-stable-stringify/package.json @@ -1,6 +1,6 @@ { "name": "@solana/fast-stable-stringify", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Deterministic stringification for when performance and bundle size matters", "exports": { "edge-light": { diff --git a/packages/functional/CHANGELOG.md b/packages/functional/CHANGELOG.md index d3401739282..c8434ffec6c 100644 --- a/packages/functional/CHANGELOG.md +++ b/packages/functional/CHANGELOG.md @@ -1,5 +1,11 @@ # @solana/functional +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + ## 2.0.0-rc.1 ## 2.0.0-rc.0 diff --git a/packages/functional/package.json b/packages/functional/package.json index 37c33ca5842..5b4e994265c 100644 --- a/packages/functional/package.json +++ b/packages/functional/package.json @@ -1,6 +1,6 @@ { "name": "@solana/functional", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Functional JavaScript helpers", "exports": { "edge-light": { diff --git a/packages/instructions/CHANGELOG.md b/packages/instructions/CHANGELOG.md index 3307f3faa8e..128fbb15b6a 100644 --- a/packages/instructions/CHANGELOG.md +++ b/packages/instructions/CHANGELOG.md @@ -1,5 +1,14 @@ # @solana/instructions +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/errors@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/instructions/package.json b/packages/instructions/package.json index 748e6b3860b..e13c736fabe 100644 --- a/packages/instructions/package.json +++ b/packages/instructions/package.json @@ -1,6 +1,6 @@ { "name": "@solana/instructions", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Helpers for creating transaction instructions", "exports": { "edge-light": { diff --git a/packages/keys/CHANGELOG.md b/packages/keys/CHANGELOG.md index 2008730f68b..e9973bd4f34 100644 --- a/packages/keys/CHANGELOG.md +++ b/packages/keys/CHANGELOG.md @@ -1,5 +1,19 @@ # @solana/keys +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- [#3128](https://github.com/solana-labs/solana-web3.js/pull/3128) [`0158b31`](https://github.com/solana-labs/solana-web3.js/commit/0158b3181ed96996f269f3bff689f76411e460b3) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Fix missing export in `@solana/keys` package. This means, the `getPublicKeyFromPrivateKey` function is now properly exported. + +- Updated dependencies [[`441fa3a`](https://github.com/solana-labs/solana-web3.js/commit/441fa3a6c7c104961f935e65e259f40c10e82f8a), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/assertions@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/codecs-strings@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/keys/package.json b/packages/keys/package.json index 585c3f9b5c0..9848e19d32d 100644 --- a/packages/keys/package.json +++ b/packages/keys/package.json @@ -1,6 +1,6 @@ { "name": "@solana/keys", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Helpers for generating and transforming key material", "exports": { "edge-light": { diff --git a/packages/library/CHANGELOG.md b/packages/library/CHANGELOG.md index e3db76606b4..8b6dc8f05a2 100644 --- a/packages/library/CHANGELOG.md +++ b/packages/library/CHANGELOG.md @@ -1,5 +1,47 @@ # @solana/web3.js +## 2.0.0-rc.2 + +### Patch Changes + +- [#3407](https://github.com/solana-labs/solana-web3.js/pull/3407) [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Use `RpcRequest`, `RpcResponse` and their transformers in RPC Subscriptions packages + + This change makes the RPC and RPC Subscriptions architecture more consistent by using the same `RpcRequest` and `RpcResponse` types and transformers as the basis for handling user requests (RPC calls or subscriptions) and returning responses to them. + + See the following PRs for more details: + + - [PR #3393](https://github.com/solana-labs/solana-web3.js/pull/3393) + - [PR #3394](https://github.com/solana-labs/solana-web3.js/pull/3394) + - [PR #3403](https://github.com/solana-labs/solana-web3.js/pull/3403) + - [PR #3404](https://github.com/solana-labs/solana-web3.js/pull/3404) + - [PR #3405](https://github.com/solana-labs/solana-web3.js/pull/3405) + +- [#3453](https://github.com/solana-labs/solana-web3.js/pull/3453) [`bafefed`](https://github.com/solana-labs/solana-web3.js/commit/bafefed88574009ba5a983023e439d91b65fada2) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Rename decodeTransactionMessage to decompileTransactionMessageFetchingLookupTables + +- [#3290](https://github.com/solana-labs/solana-web3.js/pull/3290) [`2368163`](https://github.com/solana-labs/solana-web3.js/commit/23681637fa3ee0e2242b3b6bf087a066393bcbd8) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Throw an error if a transaction fails when being simulated to estimate CUs + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403), [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722), [`3834d82`](https://github.com/solana-labs/solana-web3.js/commit/3834d82eb1dd150f261612d742c3105194689c13), [`696c72c`](https://github.com/solana-labs/solana-web3.js/commit/696c72ce25c96f06442785bddffbc890ceb802f3), [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac), [`3c02c35`](https://github.com/solana-labs/solana-web3.js/commit/3c02c3582f5b87151b7ac1d9cd24b9d20f6945ea), [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1), [`3fc388f`](https://github.com/solana-labs/solana-web3.js/commit/3fc388f0b40243436a3ecbcd2af27ea8efa683e4), [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71), [`500a991`](https://github.com/solana-labs/solana-web3.js/commit/500a991d292638eaee1fa48a7b94acfe2ff83cb7), [`231a030`](https://github.com/solana-labs/solana-web3.js/commit/231a0303ae5960e783719a8ff1d17a50ff26ad78), [`8f94a9e`](https://github.com/solana-labs/solana-web3.js/commit/8f94a9ede71b32662bff991e6def68bc9e8bc921), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`4c7224d`](https://github.com/solana-labs/solana-web3.js/commit/4c7224d0a884b0dc91ea536ce5fbdcd0a0d7e011), [`44c8772`](https://github.com/solana-labs/solana-web3.js/commit/44c8772c8711b99e68dce3348e17bfc5b1d2a833), [`e1cb697`](https://github.com/solana-labs/solana-web3.js/commit/e1cb697d66dc906aa2433965452417e03cf86e13), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`4decebb`](https://github.com/solana-labs/solana-web3.js/commit/4decebb9b619972f49c740323b59cf470696e105), [`d4965ec`](https://github.com/solana-labs/solana-web3.js/commit/d4965ece9abaf81e3006442db15f3f77d89a622c), [`0158b31`](https://github.com/solana-labs/solana-web3.js/commit/0158b3181ed96996f269f3bff689f76411e460b3), [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2), [`c8e6e71`](https://github.com/solana-labs/solana-web3.js/commit/c8e6e71529f219caf83ed444e53f5a1e757129dc)]: + - @solana/addresses@2.0.0-rc.2 + - @solana/rpc-subscriptions@2.0.0-rc.2 + - @solana/rpc-spec-types@2.0.0-rc.2 + - @solana/rpc@2.0.0-rc.2 + - @solana/rpc-types@2.0.0-rc.2 + - @solana/transaction-confirmation@2.0.0-rc.2 + - @solana/accounts@2.0.0-rc.2 + - @solana/transaction-messages@2.0.0-rc.2 + - @solana/rpc-parsed-types@2.0.0-rc.2 + - @solana/sysvars@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/instructions@2.0.0-rc.2 + - @solana/transactions@2.0.0-rc.2 + - @solana/functional@2.0.0-rc.2 + - @solana/programs@2.0.0-rc.2 + - @solana/signers@2.0.0-rc.2 + - @solana/codecs@2.0.0-rc.2 + - @solana/keys@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/library/package.json b/packages/library/package.json index fdc99d07e8b..672d4e5f628 100644 --- a/packages/library/package.json +++ b/packages/library/package.json @@ -1,6 +1,6 @@ { "name": "@solana/web3.js", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Solana Javascript API", "exports": { "edge-light": { diff --git a/packages/options/CHANGELOG.md b/packages/options/CHANGELOG.md index a4bb254bce1..265fb9ed6a2 100644 --- a/packages/options/CHANGELOG.md +++ b/packages/options/CHANGELOG.md @@ -1,5 +1,18 @@ # @solana/options +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/errors@2.0.0-rc.2 + - @solana/codecs-data-structures@2.0.0-rc.2 + - @solana/codecs-numbers@2.0.0-rc.2 + - @solana/codecs-strings@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/options/package.json b/packages/options/package.json index 989912ac8ec..8e8b5b6eabf 100644 --- a/packages/options/package.json +++ b/packages/options/package.json @@ -1,6 +1,6 @@ { "name": "@solana/options", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Managing and serializing Rust-like Option types in JavaScript", "exports": { "edge-light": { diff --git a/packages/programs/CHANGELOG.md b/packages/programs/CHANGELOG.md index 5d030b04c25..0ab4d690ba2 100644 --- a/packages/programs/CHANGELOG.md +++ b/packages/programs/CHANGELOG.md @@ -1,5 +1,15 @@ # @solana/programs +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/addresses@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/programs/package.json b/packages/programs/package.json index 44d1b4473da..b0ae5e5a14b 100644 --- a/packages/programs/package.json +++ b/packages/programs/package.json @@ -1,6 +1,6 @@ { "name": "@solana/programs", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Helpers for defining programs and resolving program errors", "exports": { "edge-light": { diff --git a/packages/promises/CHANGELOG.md b/packages/promises/CHANGELOG.md index d36835bd4d3..15e8e25e9a5 100644 --- a/packages/promises/CHANGELOG.md +++ b/packages/promises/CHANGELOG.md @@ -1,5 +1,11 @@ # @solana/promises +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/promises/package.json b/packages/promises/package.json index 1904f8a26a5..baf35c8fc4a 100644 --- a/packages/promises/package.json +++ b/packages/promises/package.json @@ -1,6 +1,6 @@ { "name": "@solana/promises", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Helpers for using JavaScript promises", "exports": { "edge-light": { diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index d4a1514a211..757c263824b 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,19 @@ # @solana/react +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`4decebb`](https://github.com/solana-labs/solana-web3.js/commit/4decebb9b619972f49c740323b59cf470696e105), [`d4965ec`](https://github.com/solana-labs/solana-web3.js/commit/d4965ece9abaf81e3006442db15f3f77d89a622c), [`0158b31`](https://github.com/solana-labs/solana-web3.js/commit/0158b3181ed96996f269f3bff689f76411e460b3)]: + - @solana/addresses@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/transactions@2.0.0-rc.2 + - @solana/promises@2.0.0-rc.2 + - @solana/signers@2.0.0-rc.2 + - @solana/keys@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 76deb280cf0..376764d52d9 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@solana/react", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "React hooks for building Solana apps", "exports": { "edge-light": { diff --git a/packages/rpc-api/CHANGELOG.md b/packages/rpc-api/CHANGELOG.md index 34265dafcb2..0a4a8680d82 100644 --- a/packages/rpc-api/CHANGELOG.md +++ b/packages/rpc-api/CHANGELOG.md @@ -1,5 +1,44 @@ # @solana/rpc-api +## 2.0.0-rc.2 + +### Patch Changes + +- [#3145](https://github.com/solana-labs/solana-web3.js/pull/3145) [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Rename `RpcResponse` type to `RpcResponseData` to make room for a new `RpcResponse` type + +- [#3213](https://github.com/solana-labs/solana-web3.js/pull/3213) [`3fc388f`](https://github.com/solana-labs/solana-web3.js/commit/3fc388f0b40243436a3ecbcd2af27ea8efa683e4) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Clean up SolanaRpcApi: no longer extend RpcApiMethods + remove export + +- [#3454](https://github.com/solana-labs/solana-web3.js/pull/3454) [`1fde4b1`](https://github.com/solana-labs/solana-web3.js/commit/1fde4b1d75c4af6d965ca26f6a7c649c6a517deb) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Correct type of replacementBlockhash in simulateTransaction + +- [#3456](https://github.com/solana-labs/solana-web3.js/pull/3456) [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Remove `UnsafeBeyond2Pow53Minus1` type suffixes + +- [#3150](https://github.com/solana-labs/solana-web3.js/pull/3150) [`a705413`](https://github.com/solana-labs/solana-web3.js/commit/a705413e357fb5c5907c5fc1df17d241bc5c0f76) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Make `RpcApi` use new `RpcRequestTransformer` and `RpcResponseTransformer` + +- [#3202](https://github.com/solana-labs/solana-web3.js/pull/3202) [`bf07a60`](https://github.com/solana-labs/solana-web3.js/commit/bf07a606768eef7cd37c1dd0e2c0a35fe3b12f24) Thanks [@disco-infinex](https://github.com/disco-infinex)! - PerformanceSample return type field numNonVoteTransaction corrected to numNonVoteTransactions + +- [#3161](https://github.com/solana-labs/solana-web3.js/pull/3161) [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Add `getIntegerOverflowRequestTransformer`, `getBigIntDowncastRequestTransformer` and `getTreeWalkerRequestTransformer` helpers + +- [#3134](https://github.com/solana-labs/solana-web3.js/pull/3134) [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823) Thanks [@buffalojoec](https://github.com/buffalojoec)! - Change unix timestamp type to bigint with an unsafe label + +- [#3148](https://github.com/solana-labs/solana-web3.js/pull/3148) [`e1cb697`](https://github.com/solana-labs/solana-web3.js/commit/e1cb697d66dc906aa2433965452417e03cf86e13) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Make `RpcTransport` return new `RpcReponse` type instead of parsed JSON data + +- [#3201](https://github.com/solana-labs/solana-web3.js/pull/3201) [`02cefa7`](https://github.com/solana-labs/solana-web3.js/commit/02cefa7cc98463e602f78a8acc10d85c37f03481) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Update the response type of the `getClusterNodes` RPC method + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`6b43588`](https://github.com/solana-labs/solana-web3.js/commit/6b4358864cb328d1b83f11c94b29f75e1b3d635f), [`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403), [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722), [`628177f`](https://github.com/solana-labs/solana-web3.js/commit/628177ffcc1be1c40e0c82d80743b07f695cfe69), [`3834d82`](https://github.com/solana-labs/solana-web3.js/commit/3834d82eb1dd150f261612d742c3105194689c13), [`06dcd86`](https://github.com/solana-labs/solana-web3.js/commit/06dcd86d830e866eb3ee7c47ea1bb99b8205bd1e), [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac), [`3c02c35`](https://github.com/solana-labs/solana-web3.js/commit/3c02c3582f5b87151b7ac1d9cd24b9d20f6945ea), [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1), [`3fc388f`](https://github.com/solana-labs/solana-web3.js/commit/3fc388f0b40243436a3ecbcd2af27ea8efa683e4), [`4f87d12`](https://github.com/solana-labs/solana-web3.js/commit/4f87d12cf942fbd4f427005d5ac41671ce28a22c), [`29d5113`](https://github.com/solana-labs/solana-web3.js/commit/29d5113b2c6f8c7907127ad992bad1329edbd7e7), [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71), [`a705413`](https://github.com/solana-labs/solana-web3.js/commit/a705413e357fb5c5907c5fc1df17d241bc5c0f76), [`91076ba`](https://github.com/solana-labs/solana-web3.js/commit/91076ba1884eb72880d1ee964b6800d90afb4460), [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac), [`747b9ab`](https://github.com/solana-labs/solana-web3.js/commit/747b9abb90c6baeec73a284d87a324bf3caeab03), [`231a030`](https://github.com/solana-labs/solana-web3.js/commit/231a0303ae5960e783719a8ff1d17a50ff26ad78), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`f5660d2`](https://github.com/solana-labs/solana-web3.js/commit/f5660d2eb4d2ee5be8c9cd8e8b58a11de1a799bf), [`e1cb697`](https://github.com/solana-labs/solana-web3.js/commit/e1cb697d66dc906aa2433965452417e03cf86e13), [`28ca5d1`](https://github.com/solana-labs/solana-web3.js/commit/28ca5d17d4c574a690a5bf29d4f1fe0ad8f5883c), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`d198638`](https://github.com/solana-labs/solana-web3.js/commit/d19863844cf28c252e6bedd7070e633692d9e46e), [`0158b31`](https://github.com/solana-labs/solana-web3.js/commit/0158b3181ed96996f269f3bff689f76411e460b3), [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2)]: + - @solana/rpc-spec@2.0.0-rc.2 + - @solana/addresses@2.0.0-rc.2 + - @solana/rpc-transformers@2.0.0-rc.2 + - @solana/rpc-types@2.0.0-rc.2 + - @solana/transaction-messages@2.0.0-rc.2 + - @solana/rpc-parsed-types@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/codecs-strings@2.0.0-rc.2 + - @solana/transactions@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + - @solana/keys@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/rpc-api/package.json b/packages/rpc-api/package.json index 902429e0010..14465c1e66d 100644 --- a/packages/rpc-api/package.json +++ b/packages/rpc-api/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-api", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Defines all default Solana RPC methods as types", "exports": { "edge-light": { diff --git a/packages/rpc-graphql/CHANGELOG.md b/packages/rpc-graphql/CHANGELOG.md index 8b88bed0ba6..20d2a66c558 100644 --- a/packages/rpc-graphql/CHANGELOG.md +++ b/packages/rpc-graphql/CHANGELOG.md @@ -1,5 +1,21 @@ # @solana/rpc-graphql +## 2.0.0-rc.2 + +### Minor Changes + +- [#3098](https://github.com/solana-labs/solana-web3.js/pull/3098) [`2f541b6`](https://github.com/solana-labs/solana-web3.js/commit/2f541b6c7e87002cf26e911d31df4779d4da674c) Thanks [@buffalojoec](https://github.com/buffalojoec)! - Update program accounts filters for `programAccounts` query + +### Patch Changes + +- [#3213](https://github.com/solana-labs/solana-web3.js/pull/3213) [`3fc388f`](https://github.com/solana-labs/solana-web3.js/commit/3fc388f0b40243436a3ecbcd2af27ea8efa683e4) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Clean up SolanaRpcApi: no longer extend RpcApiMethods + remove export + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/fast-stable-stringify@2.0.0-rc.2 + - @solana/codecs-strings@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/rpc-graphql/package.json b/packages/rpc-graphql/package.json index a0884285a26..6442e6f1643 100644 --- a/packages/rpc-graphql/package.json +++ b/packages/rpc-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-graphql", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "A library for resolving GraphQl query calls to the Solana JSON RPC API", "exports": { "edge-light": { diff --git a/packages/rpc-parsed-types/CHANGELOG.md b/packages/rpc-parsed-types/CHANGELOG.md index be375582dd4..a3fb59d7ece 100644 --- a/packages/rpc-parsed-types/CHANGELOG.md +++ b/packages/rpc-parsed-types/CHANGELOG.md @@ -1,5 +1,13 @@ # @solana/rpc-parsed-types +## 2.0.0-rc.2 + +### Patch Changes + +- [#3134](https://github.com/solana-labs/solana-web3.js/pull/3134) [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823) Thanks [@buffalojoec](https://github.com/buffalojoec)! - Change unix timestamp type to bigint with an unsafe label + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + ## 2.0.0-rc.1 ## 2.0.0-rc.0 diff --git a/packages/rpc-parsed-types/package.json b/packages/rpc-parsed-types/package.json index 61f27fbd1a5..0e0048fc06c 100644 --- a/packages/rpc-parsed-types/package.json +++ b/packages/rpc-parsed-types/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-parsed-types", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Type definitions for parsed types used in the Solana RPC", "exports": { "edge-light": { diff --git a/packages/rpc-spec-types/CHANGELOG.md b/packages/rpc-spec-types/CHANGELOG.md index 40bfb9e3a56..2ef72560ca2 100644 --- a/packages/rpc-spec-types/CHANGELOG.md +++ b/packages/rpc-spec-types/CHANGELOG.md @@ -1,5 +1,29 @@ # @solana/rpc-spec-types +## 2.0.0-rc.2 + +### Patch Changes + +- [#3407](https://github.com/solana-labs/solana-web3.js/pull/3407) [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Use `RpcRequest`, `RpcResponse` and their transformers in RPC Subscriptions packages + + This change makes the RPC and RPC Subscriptions architecture more consistent by using the same `RpcRequest` and `RpcResponse` types and transformers as the basis for handling user requests (RPC calls or subscriptions) and returning responses to them. + + See the following PRs for more details: + + - [PR #3393](https://github.com/solana-labs/solana-web3.js/pull/3393) + - [PR #3394](https://github.com/solana-labs/solana-web3.js/pull/3394) + - [PR #3403](https://github.com/solana-labs/solana-web3.js/pull/3403) + - [PR #3404](https://github.com/solana-labs/solana-web3.js/pull/3404) + - [PR #3405](https://github.com/solana-labs/solana-web3.js/pull/3405) + +- [#3393](https://github.com/solana-labs/solana-web3.js/pull/3393) [`3c02c35`](https://github.com/solana-labs/solana-web3.js/commit/3c02c3582f5b87151b7ac1d9cd24b9d20f6945ea) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Move RpcRequest and RpcResponse types to rpc-spec-types + +- [#3145](https://github.com/solana-labs/solana-web3.js/pull/3145) [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Rename `RpcResponse` type to `RpcResponseData` to make room for a new `RpcResponse` type + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- [#3394](https://github.com/solana-labs/solana-web3.js/pull/3394) [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Use RpcRequest in createRpcMessage helper + ## 2.0.0-rc.1 ## 2.0.0-rc.0 diff --git a/packages/rpc-spec-types/package.json b/packages/rpc-spec-types/package.json index 201b038254c..672116c3fbe 100644 --- a/packages/rpc-spec-types/package.json +++ b/packages/rpc-spec-types/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-spec-types", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Shared generic JSON RPC specifications", "exports": { "edge-light": { diff --git a/packages/rpc-spec/CHANGELOG.md b/packages/rpc-spec/CHANGELOG.md index 46698c85cc6..4c90161ce67 100644 --- a/packages/rpc-spec/CHANGELOG.md +++ b/packages/rpc-spec/CHANGELOG.md @@ -1,5 +1,60 @@ # @solana/rpc-spec +## 2.0.0-rc.2 + +### Patch Changes + +- [#3221](https://github.com/solana-labs/solana-web3.js/pull/3221) [`6b43588`](https://github.com/solana-labs/solana-web3.js/commit/6b4358864cb328d1b83f11c94b29f75e1b3d635f) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Add new `isJsonRpcPayload` helper method + +- [#3407](https://github.com/solana-labs/solana-web3.js/pull/3407) [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Use `RpcRequest`, `RpcResponse` and their transformers in RPC Subscriptions packages + + This change makes the RPC and RPC Subscriptions architecture more consistent by using the same `RpcRequest` and `RpcResponse` types and transformers as the basis for handling user requests (RPC calls or subscriptions) and returning responses to them. + + See the following PRs for more details: + + - [PR #3393](https://github.com/solana-labs/solana-web3.js/pull/3393) + - [PR #3394](https://github.com/solana-labs/solana-web3.js/pull/3394) + - [PR #3403](https://github.com/solana-labs/solana-web3.js/pull/3403) + - [PR #3404](https://github.com/solana-labs/solana-web3.js/pull/3404) + - [PR #3405](https://github.com/solana-labs/solana-web3.js/pull/3405) + +- [#3146](https://github.com/solana-labs/solana-web3.js/pull/3146) [`628177f`](https://github.com/solana-labs/solana-web3.js/commit/628177ffcc1be1c40e0c82d80743b07f695cfe69) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Rename `RpcRequest` type to `RpcApiRequestPlan` to make room for new `RpcRequest` type + +- [#3429](https://github.com/solana-labs/solana-web3.js/pull/3429) [`06dcd86`](https://github.com/solana-labs/solana-web3.js/commit/06dcd86d830e866eb3ee7c47ea1bb99b8205bd1e) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Rename `RpcApiRequestPlan` to `RpcPlan` to stay consistent with the `RpcSusbscriptionsPlan` of the RPC Subscription architecture. + +- [#3393](https://github.com/solana-labs/solana-web3.js/pull/3393) [`3c02c35`](https://github.com/solana-labs/solana-web3.js/commit/3c02c3582f5b87151b7ac1d9cd24b9d20f6945ea) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Move RpcRequest and RpcResponse types to rpc-spec-types + +- [#3145](https://github.com/solana-labs/solana-web3.js/pull/3145) [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Rename `RpcResponse` type to `RpcResponseData` to make room for a new `RpcResponse` type + +- [#3213](https://github.com/solana-labs/solana-web3.js/pull/3213) [`3fc388f`](https://github.com/solana-labs/solana-web3.js/commit/3fc388f0b40243436a3ecbcd2af27ea8efa683e4) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Clean up SolanaRpcApi: no longer extend RpcApiMethods + remove export + +- [#3147](https://github.com/solana-labs/solana-web3.js/pull/3147) [`4f87d12`](https://github.com/solana-labs/solana-web3.js/commit/4f87d12cf942fbd4f427005d5ac41671ce28a22c) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Add new `RpcRequest` and `RpcResponse` types with `RpcRequestTransformer` and `RpcResponseTransformer` functions + +- [#3150](https://github.com/solana-labs/solana-web3.js/pull/3150) [`a705413`](https://github.com/solana-labs/solana-web3.js/commit/a705413e357fb5c5907c5fc1df17d241bc5c0f76) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Make `RpcApi` use new `RpcRequestTransformer` and `RpcResponseTransformer` + +- [#3432](https://github.com/solana-labs/solana-web3.js/pull/3432) [`91076ba`](https://github.com/solana-labs/solana-web3.js/commit/91076ba1884eb72880d1ee964b6800d90afb4460) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Redesign the `RpcPlan` by using a plan executor function. + + This change replaces the `payload` and `responseTransformer` attributes of the `RpcPlan` type (returned by the RPC API) in favour of a new `execute` function that accepts an `RpcTransport` and an optional `AbortSignal` and return an `RpcResponse`. That way, the RPC API is able to completely wrap the RPC Transport layer and can do things like: not calling the transport at all for caching purposes or calling the transport multiple times for retries or even for aggregating responses from multiple RPC calls. + + See the following PRs for more details: + + - [PR #3430](https://github.com/solana-labs/solana-web3.js/pull/3430) + - [PR #3431](https://github.com/solana-labs/solana-web3.js/pull/3431) + +- [#3229](https://github.com/solana-labs/solana-web3.js/pull/3229) [`f5660d2`](https://github.com/solana-labs/solana-web3.js/commit/f5660d2eb4d2ee5be8c9cd8e8b58a11de1a799bf) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Make API plans return payloads + +- [#3148](https://github.com/solana-labs/solana-web3.js/pull/3148) [`e1cb697`](https://github.com/solana-labs/solana-web3.js/commit/e1cb697d66dc906aa2433965452417e03cf86e13) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Make `RpcTransport` return new `RpcReponse` type instead of parsed JSON data + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- [#3230](https://github.com/solana-labs/solana-web3.js/pull/3230) [`d198638`](https://github.com/solana-labs/solana-web3.js/commit/d19863844cf28c252e6bedd7070e633692d9e46e) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Rename `createRpcApi` to `createJsonRpcApi` + +- [#3394](https://github.com/solana-labs/solana-web3.js/pull/3394) [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Use RpcRequest in createRpcMessage helper + +- Updated dependencies [[`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722), [`3c02c35`](https://github.com/solana-labs/solana-web3.js/commit/3c02c3582f5b87151b7ac1d9cd24b9d20f6945ea), [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2)]: + - @solana/rpc-spec-types@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/rpc-spec/package.json b/packages/rpc-spec/package.json index e68385ffdfc..b8c89a77be3 100644 --- a/packages/rpc-spec/package.json +++ b/packages/rpc-spec/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-spec", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "A generic implementation of JSON RPCs using proxies", "exports": { "edge-light": { diff --git a/packages/rpc-subscriptions-api/CHANGELOG.md b/packages/rpc-subscriptions-api/CHANGELOG.md index f04b3edbd46..8d3c26643cd 100644 --- a/packages/rpc-subscriptions-api/CHANGELOG.md +++ b/packages/rpc-subscriptions-api/CHANGELOG.md @@ -1,5 +1,46 @@ # @solana/rpc-subscriptions-api +## 2.0.0-rc.2 + +### Patch Changes + +- [#3218](https://github.com/solana-labs/solana-web3.js/pull/3218) [`1d87b3c`](https://github.com/solana-labs/solana-web3.js/commit/1d87b3c9fb5637cdceb31c5675e876d8fe088677) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Clean up SolanaRpcSubscriptionsApi: no longer extend RpcApiSubscriptionsMethods + +- [#3407](https://github.com/solana-labs/solana-web3.js/pull/3407) [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Use `RpcRequest`, `RpcResponse` and their transformers in RPC Subscriptions packages + + This change makes the RPC and RPC Subscriptions architecture more consistent by using the same `RpcRequest` and `RpcResponse` types and transformers as the basis for handling user requests (RPC calls or subscriptions) and returning responses to them. + + See the following PRs for more details: + + - [PR #3393](https://github.com/solana-labs/solana-web3.js/pull/3393) + - [PR #3394](https://github.com/solana-labs/solana-web3.js/pull/3394) + - [PR #3403](https://github.com/solana-labs/solana-web3.js/pull/3403) + - [PR #3404](https://github.com/solana-labs/solana-web3.js/pull/3404) + - [PR #3405](https://github.com/solana-labs/solana-web3.js/pull/3405) + +- [#3150](https://github.com/solana-labs/solana-web3.js/pull/3150) [`a705413`](https://github.com/solana-labs/solana-web3.js/commit/a705413e357fb5c5907c5fc1df17d241bc5c0f76) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Make `RpcApi` use new `RpcRequestTransformer` and `RpcResponseTransformer` + +- [#3134](https://github.com/solana-labs/solana-web3.js/pull/3134) [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823) Thanks [@buffalojoec](https://github.com/buffalojoec)! - Change unix timestamp type to bigint with an unsafe label + +- [#3406](https://github.com/solana-labs/solana-web3.js/pull/3406) [`4c7224d`](https://github.com/solana-labs/solana-web3.js/commit/4c7224d0a884b0dc91ea536ce5fbdcd0a0d7e011) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Replace subscriptionConfigurationHash with RpcRequest in RpcSubscriptionPlan + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- [`c8e6e71`](https://github.com/solana-labs/solana-web3.js/commit/c8e6e71529f219caf83ed444e53f5a1e757129dc) Thanks [@steveluscher](https://github.com/steveluscher)! - We refactored the lower levels of the subscriptions API entirely. + + Previously, all layers of the subscriptions implementation, from the `WebSocket` transport to the API that developers use, dealt in `AsyncIterables`. These are notoriously difficult to code in such a way that expresses all of the ways in which a subscription might be cancelled or error out. Very slight omissions of care could open memory leaks that would bring down the simplest of apps. The new subscriptions infra in Release Candidate 2 deals with event-based subscriptions all the way up to the highest level API, at which point the subscription is vended to the application as an `AsyncIterable`. + + This has eliminated several classes of memory leak and has made it easier to implement higher-level transports (like the autopinger and the subscription coalescer). Additionally, this update introduces a new channel pool implementation that opens new `WebSocket` connections when existing ones become ‘full.’ Lastly, performance in the new implementation has been improved through a new demultiplexing utility that can separate `message` events into several channels based on arbitrary criteria, meaning you can apply transforms to the message right at the source, and vend subscriptions to downstream consumers that care only about one particular kind of message. + +- Updated dependencies [[`1d87b3c`](https://github.com/solana-labs/solana-web3.js/commit/1d87b3c9fb5637cdceb31c5675e876d8fe088677), [`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403), [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722), [`3834d82`](https://github.com/solana-labs/solana-web3.js/commit/3834d82eb1dd150f261612d742c3105194689c13), [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac), [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1), [`17c373d`](https://github.com/solana-labs/solana-web3.js/commit/17c373dec6dd167ea5b4e37e213067aa05fa4e14), [`29d5113`](https://github.com/solana-labs/solana-web3.js/commit/29d5113b2c6f8c7907127ad992bad1329edbd7e7), [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71), [`a705413`](https://github.com/solana-labs/solana-web3.js/commit/a705413e357fb5c5907c5fc1df17d241bc5c0f76), [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac), [`747b9ab`](https://github.com/solana-labs/solana-web3.js/commit/747b9abb90c6baeec73a284d87a324bf3caeab03), [`231a030`](https://github.com/solana-labs/solana-web3.js/commit/231a0303ae5960e783719a8ff1d17a50ff26ad78), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`4c7224d`](https://github.com/solana-labs/solana-web3.js/commit/4c7224d0a884b0dc91ea536ce5fbdcd0a0d7e011), [`28ca5d1`](https://github.com/solana-labs/solana-web3.js/commit/28ca5d17d4c574a690a5bf29d4f1fe0ad8f5883c), [`92655fd`](https://github.com/solana-labs/solana-web3.js/commit/92655fda6631339f07c6cd7097ed9e2518f86853), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`0158b31`](https://github.com/solana-labs/solana-web3.js/commit/0158b3181ed96996f269f3bff689f76411e460b3), [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2), [`c8e6e71`](https://github.com/solana-labs/solana-web3.js/commit/c8e6e71529f219caf83ed444e53f5a1e757129dc)]: + - @solana/rpc-subscriptions-spec@2.0.0-rc.2 + - @solana/addresses@2.0.0-rc.2 + - @solana/rpc-transformers@2.0.0-rc.2 + - @solana/rpc-types@2.0.0-rc.2 + - @solana/transaction-messages@2.0.0-rc.2 + - @solana/transactions@2.0.0-rc.2 + - @solana/keys@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/rpc-subscriptions-api/package.json b/packages/rpc-subscriptions-api/package.json index a664ad68af4..1056394c4fd 100644 --- a/packages/rpc-subscriptions-api/package.json +++ b/packages/rpc-subscriptions-api/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-subscriptions-api", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Defines all default Solana RPC subscriptions as types", "exports": { "edge-light": { diff --git a/packages/rpc-subscriptions-channel-websocket/CHANGELOG.md b/packages/rpc-subscriptions-channel-websocket/CHANGELOG.md index a4a8399333c..733fe9e3d40 100644 --- a/packages/rpc-subscriptions-channel-websocket/CHANGELOG.md +++ b/packages/rpc-subscriptions-channel-websocket/CHANGELOG.md @@ -1,5 +1,23 @@ # @solana/rpc-subscriptions-channel-websocket +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- [`c8e6e71`](https://github.com/solana-labs/solana-web3.js/commit/c8e6e71529f219caf83ed444e53f5a1e757129dc) Thanks [@steveluscher](https://github.com/steveluscher)! - We refactored the lower levels of the subscriptions API entirely. + + Previously, all layers of the subscriptions implementation, from the `WebSocket` transport to the API that developers use, dealt in `AsyncIterables`. These are notoriously difficult to code in such a way that expresses all of the ways in which a subscription might be cancelled or error out. Very slight omissions of care could open memory leaks that would bring down the simplest of apps. The new subscriptions infra in Release Candidate 2 deals with event-based subscriptions all the way up to the highest level API, at which point the subscription is vended to the application as an `AsyncIterable`. + + This has eliminated several classes of memory leak and has made it easier to implement higher-level transports (like the autopinger and the subscription coalescer). Additionally, this update introduces a new channel pool implementation that opens new `WebSocket` connections when existing ones become ‘full.’ Lastly, performance in the new implementation has been improved through a new demultiplexing utility that can separate `message` events into several channels based on arbitrary criteria, meaning you can apply transforms to the message right at the source, and vend subscriptions to downstream consumers that care only about one particular kind of message. + +- Updated dependencies [[`1d87b3c`](https://github.com/solana-labs/solana-web3.js/commit/1d87b3c9fb5637cdceb31c5675e876d8fe088677), [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722), [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1), [`17c373d`](https://github.com/solana-labs/solana-web3.js/commit/17c373dec6dd167ea5b4e37e213067aa05fa4e14), [`8c2cb9f`](https://github.com/solana-labs/solana-web3.js/commit/8c2cb9f44a52b3c27bc15c2c972bea1aae1622e7), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`4c7224d`](https://github.com/solana-labs/solana-web3.js/commit/4c7224d0a884b0dc91ea536ce5fbdcd0a0d7e011), [`92655fd`](https://github.com/solana-labs/solana-web3.js/commit/92655fda6631339f07c6cd7097ed9e2518f86853), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2), [`c8e6e71`](https://github.com/solana-labs/solana-web3.js/commit/c8e6e71529f219caf83ed444e53f5a1e757129dc)]: + - @solana/rpc-subscriptions-spec@2.0.0-rc.2 + - @solana/subscribable@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/functional@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/rpc-subscriptions-channel-websocket/package.json b/packages/rpc-subscriptions-channel-websocket/package.json index 014d2047009..cc810eb498a 100644 --- a/packages/rpc-subscriptions-channel-websocket/package.json +++ b/packages/rpc-subscriptions-channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-subscriptions-channel-websocket", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "An RPC Subscriptions transport that uses WebSockets", "exports": { "edge-light": { diff --git a/packages/rpc-subscriptions-spec/CHANGELOG.md b/packages/rpc-subscriptions-spec/CHANGELOG.md index a7422aed96a..0a648fe6e1f 100644 --- a/packages/rpc-subscriptions-spec/CHANGELOG.md +++ b/packages/rpc-subscriptions-spec/CHANGELOG.md @@ -1,5 +1,47 @@ # @solana/rpc-subscriptions-spec +## 2.0.0-rc.2 + +### Patch Changes + +- [#3218](https://github.com/solana-labs/solana-web3.js/pull/3218) [`1d87b3c`](https://github.com/solana-labs/solana-web3.js/commit/1d87b3c9fb5637cdceb31c5675e876d8fe088677) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Clean up SolanaRpcSubscriptionsApi: no longer extend RpcApiSubscriptionsMethods + +- [#3407](https://github.com/solana-labs/solana-web3.js/pull/3407) [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Use `RpcRequest`, `RpcResponse` and their transformers in RPC Subscriptions packages + + This change makes the RPC and RPC Subscriptions architecture more consistent by using the same `RpcRequest` and `RpcResponse` types and transformers as the basis for handling user requests (RPC calls or subscriptions) and returning responses to them. + + See the following PRs for more details: + + - [PR #3393](https://github.com/solana-labs/solana-web3.js/pull/3393) + - [PR #3394](https://github.com/solana-labs/solana-web3.js/pull/3394) + - [PR #3403](https://github.com/solana-labs/solana-web3.js/pull/3403) + - [PR #3404](https://github.com/solana-labs/solana-web3.js/pull/3404) + - [PR #3405](https://github.com/solana-labs/solana-web3.js/pull/3405) + +- [#3145](https://github.com/solana-labs/solana-web3.js/pull/3145) [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Rename `RpcResponse` type to `RpcResponseData` to make room for a new `RpcResponse` type + +- [#3449](https://github.com/solana-labs/solana-web3.js/pull/3449) [`17c373d`](https://github.com/solana-labs/solana-web3.js/commit/17c373dec6dd167ea5b4e37e213067aa05fa4e14) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Add `transformChannelInboundMessages` and `transformChannelOutboundMessages` helper functions to transform incoming and outgoing messages on a given channel. + +- [#3406](https://github.com/solana-labs/solana-web3.js/pull/3406) [`4c7224d`](https://github.com/solana-labs/solana-web3.js/commit/4c7224d0a884b0dc91ea536ce5fbdcd0a0d7e011) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Replace subscriptionConfigurationHash with RpcRequest in RpcSubscriptionPlan + +- [#3433](https://github.com/solana-labs/solana-web3.js/pull/3433) [`92655fd`](https://github.com/solana-labs/solana-web3.js/commit/92655fda6631339f07c6cd7097ed9e2518f86853) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Rename `executeSubscriptionPlan` to `execute` in `RpcSubscriptionsPlan` + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- [#3394](https://github.com/solana-labs/solana-web3.js/pull/3394) [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Use RpcRequest in createRpcMessage helper + +- [`c8e6e71`](https://github.com/solana-labs/solana-web3.js/commit/c8e6e71529f219caf83ed444e53f5a1e757129dc) Thanks [@steveluscher](https://github.com/steveluscher)! - We refactored the lower levels of the subscriptions API entirely. + + Previously, all layers of the subscriptions implementation, from the `WebSocket` transport to the API that developers use, dealt in `AsyncIterables`. These are notoriously difficult to code in such a way that expresses all of the ways in which a subscription might be cancelled or error out. Very slight omissions of care could open memory leaks that would bring down the simplest of apps. The new subscriptions infra in Release Candidate 2 deals with event-based subscriptions all the way up to the highest level API, at which point the subscription is vended to the application as an `AsyncIterable`. + + This has eliminated several classes of memory leak and has made it easier to implement higher-level transports (like the autopinger and the subscription coalescer). Additionally, this update introduces a new channel pool implementation that opens new `WebSocket` connections when existing ones become ‘full.’ Lastly, performance in the new implementation has been improved through a new demultiplexing utility that can separate `message` events into several channels based on arbitrary criteria, meaning you can apply transforms to the message right at the source, and vend subscriptions to downstream consumers that care only about one particular kind of message. + +- Updated dependencies [[`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722), [`3c02c35`](https://github.com/solana-labs/solana-web3.js/commit/3c02c3582f5b87151b7ac1d9cd24b9d20f6945ea), [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1), [`8c2cb9f`](https://github.com/solana-labs/solana-web3.js/commit/8c2cb9f44a52b3c27bc15c2c972bea1aae1622e7), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2)]: + - @solana/rpc-spec-types@2.0.0-rc.2 + - @solana/subscribable@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/promises@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/rpc-subscriptions-spec/package.json b/packages/rpc-subscriptions-spec/package.json index fdcdf3edec3..b0654c3ee38 100644 --- a/packages/rpc-subscriptions-spec/package.json +++ b/packages/rpc-subscriptions-spec/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-subscriptions-spec", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "A generic implementation of JSON RPC Subscriptions using proxies", "exports": { "edge-light": { diff --git a/packages/rpc-subscriptions/CHANGELOG.md b/packages/rpc-subscriptions/CHANGELOG.md index 87a655241de..cefbe840232 100644 --- a/packages/rpc-subscriptions/CHANGELOG.md +++ b/packages/rpc-subscriptions/CHANGELOG.md @@ -1,5 +1,50 @@ # @solana/rpc-subscriptions +## 2.0.0-rc.2 + +### Patch Changes + +- [#3407](https://github.com/solana-labs/solana-web3.js/pull/3407) [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Use `RpcRequest`, `RpcResponse` and their transformers in RPC Subscriptions packages + + This change makes the RPC and RPC Subscriptions architecture more consistent by using the same `RpcRequest` and `RpcResponse` types and transformers as the basis for handling user requests (RPC calls or subscriptions) and returning responses to them. + + See the following PRs for more details: + + - [PR #3393](https://github.com/solana-labs/solana-web3.js/pull/3393) + - [PR #3394](https://github.com/solana-labs/solana-web3.js/pull/3394) + - [PR #3403](https://github.com/solana-labs/solana-web3.js/pull/3403) + - [PR #3404](https://github.com/solana-labs/solana-web3.js/pull/3404) + - [PR #3405](https://github.com/solana-labs/solana-web3.js/pull/3405) + +- [#3161](https://github.com/solana-labs/solana-web3.js/pull/3161) [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Change first argument of `onIntegerOverflow` handler from `methodName: string` to `request: RpcRequest` + +- [#3455](https://github.com/solana-labs/solana-web3.js/pull/3455) [`500a991`](https://github.com/solana-labs/solana-web3.js/commit/500a991d292638eaee1fa48a7b94acfe2ff83cb7) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Adds a channel creator function called `createDefaultSolanaRpcSubscriptionsChannelCreator`. This function works similarly to `createDefaultRpcSubscriptionsChannelCreator` but with some Solana-specific defaults. For instance, it safely handles `BigInt` values in JSON messages since Solana RPC servers accept and return integers larger than `Number.MAX_SAFE_INTEGER`. + +- [#3451](https://github.com/solana-labs/solana-web3.js/pull/3451) [`8f94a9e`](https://github.com/solana-labs/solana-web3.js/commit/8f94a9ede71b32662bff991e6def68bc9e8bc921) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Add a \`getRpcSubscriptionsChannelWithBigIntJSONSerialization\` helper function that parses and stringifies JSON messages with support for \`BigInt\` values. Any integer value is parsed as a \`BigInt\` in order to safely handle numbers that exceed the JavaScript \`Number.MAX_SAFE_INTEGER\` value. + +- [#3406](https://github.com/solana-labs/solana-web3.js/pull/3406) [`4c7224d`](https://github.com/solana-labs/solana-web3.js/commit/4c7224d0a884b0dc91ea536ce5fbdcd0a0d7e011) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Replace subscriptionConfigurationHash with RpcRequest in RpcSubscriptionPlan + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- [`c8e6e71`](https://github.com/solana-labs/solana-web3.js/commit/c8e6e71529f219caf83ed444e53f5a1e757129dc) Thanks [@steveluscher](https://github.com/steveluscher)! - We refactored the lower levels of the subscriptions API entirely. + + Previously, all layers of the subscriptions implementation, from the `WebSocket` transport to the API that developers use, dealt in `AsyncIterables`. These are notoriously difficult to code in such a way that expresses all of the ways in which a subscription might be cancelled or error out. Very slight omissions of care could open memory leaks that would bring down the simplest of apps. The new subscriptions infra in Release Candidate 2 deals with event-based subscriptions all the way up to the highest level API, at which point the subscription is vended to the application as an `AsyncIterable`. + + This has eliminated several classes of memory leak and has made it easier to implement higher-level transports (like the autopinger and the subscription coalescer). Additionally, this update introduces a new channel pool implementation that opens new `WebSocket` connections when existing ones become ‘full.’ Lastly, performance in the new implementation has been improved through a new demultiplexing utility that can separate `message` events into several channels based on arbitrary criteria, meaning you can apply transforms to the message right at the source, and vend subscriptions to downstream consumers that care only about one particular kind of message. + +- Updated dependencies [[`1d87b3c`](https://github.com/solana-labs/solana-web3.js/commit/1d87b3c9fb5637cdceb31c5675e876d8fe088677), [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722), [`3834d82`](https://github.com/solana-labs/solana-web3.js/commit/3834d82eb1dd150f261612d742c3105194689c13), [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac), [`3c02c35`](https://github.com/solana-labs/solana-web3.js/commit/3c02c3582f5b87151b7ac1d9cd24b9d20f6945ea), [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1), [`17c373d`](https://github.com/solana-labs/solana-web3.js/commit/17c373dec6dd167ea5b4e37e213067aa05fa4e14), [`29d5113`](https://github.com/solana-labs/solana-web3.js/commit/29d5113b2c6f8c7907127ad992bad1329edbd7e7), [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71), [`a705413`](https://github.com/solana-labs/solana-web3.js/commit/a705413e357fb5c5907c5fc1df17d241bc5c0f76), [`8c2cb9f`](https://github.com/solana-labs/solana-web3.js/commit/8c2cb9f44a52b3c27bc15c2c972bea1aae1622e7), [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac), [`747b9ab`](https://github.com/solana-labs/solana-web3.js/commit/747b9abb90c6baeec73a284d87a324bf3caeab03), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`4c7224d`](https://github.com/solana-labs/solana-web3.js/commit/4c7224d0a884b0dc91ea536ce5fbdcd0a0d7e011), [`28ca5d1`](https://github.com/solana-labs/solana-web3.js/commit/28ca5d17d4c574a690a5bf29d4f1fe0ad8f5883c), [`92655fd`](https://github.com/solana-labs/solana-web3.js/commit/92655fda6631339f07c6cd7097ed9e2518f86853), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2), [`c8e6e71`](https://github.com/solana-labs/solana-web3.js/commit/c8e6e71529f219caf83ed444e53f5a1e757129dc)]: + - @solana/rpc-subscriptions-spec@2.0.0-rc.2 + - @solana/rpc-subscriptions-api@2.0.0-rc.2 + - @solana/rpc-transformers@2.0.0-rc.2 + - @solana/rpc-spec-types@2.0.0-rc.2 + - @solana/rpc-types@2.0.0-rc.2 + - @solana/subscribable@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/rpc-subscriptions-channel-websocket@2.0.0-rc.2 + - @solana/fast-stable-stringify@2.0.0-rc.2 + - @solana/functional@2.0.0-rc.2 + - @solana/promises@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/rpc-subscriptions/package.json b/packages/rpc-subscriptions/package.json index dce18bad708..abe09f73759 100644 --- a/packages/rpc-subscriptions/package.json +++ b/packages/rpc-subscriptions/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-subscriptions", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "A library for subscribing to Solana RPC notifications", "exports": { "edge-light": { diff --git a/packages/rpc-transformers/CHANGELOG.md b/packages/rpc-transformers/CHANGELOG.md index 7066fcf12c5..330dac4aac2 100644 --- a/packages/rpc-transformers/CHANGELOG.md +++ b/packages/rpc-transformers/CHANGELOG.md @@ -1,5 +1,43 @@ # @solana/rpc-transformers +## 2.0.0-rc.2 + +### Patch Changes + +- [#3407](https://github.com/solana-labs/solana-web3.js/pull/3407) [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Use `RpcRequest`, `RpcResponse` and their transformers in RPC Subscriptions packages + + This change makes the RPC and RPC Subscriptions architecture more consistent by using the same `RpcRequest` and `RpcResponse` types and transformers as the basis for handling user requests (RPC calls or subscriptions) and returning responses to them. + + See the following PRs for more details: + + - [PR #3393](https://github.com/solana-labs/solana-web3.js/pull/3393) + - [PR #3394](https://github.com/solana-labs/solana-web3.js/pull/3394) + - [PR #3403](https://github.com/solana-labs/solana-web3.js/pull/3403) + - [PR #3404](https://github.com/solana-labs/solana-web3.js/pull/3404) + - [PR #3405](https://github.com/solana-labs/solana-web3.js/pull/3405) + +- [#3161](https://github.com/solana-labs/solana-web3.js/pull/3161) [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Change first argument of `onIntegerOverflow` handler from `methodName: string` to `request: RpcRequest` + +- [#3163](https://github.com/solana-labs/solana-web3.js/pull/3163) [`29d5113`](https://github.com/solana-labs/solana-web3.js/commit/29d5113b2c6f8c7907127ad992bad1329edbd7e7) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Add `getThrowSolanaErrorResponseTransformer`, `getResultResponseTransformer`, `getBigIntUpcastResponseTransformer` and `getTreeWalkerResponseTransformer` helpers + +- [#3150](https://github.com/solana-labs/solana-web3.js/pull/3150) [`a705413`](https://github.com/solana-labs/solana-web3.js/commit/a705413e357fb5c5907c5fc1df17d241bc5c0f76) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Make `RpcApi` use new `RpcRequestTransformer` and `RpcResponseTransformer` + +- [#3161](https://github.com/solana-labs/solana-web3.js/pull/3161) [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Add `getIntegerOverflowRequestTransformer`, `getBigIntDowncastRequestTransformer` and `getTreeWalkerRequestTransformer` helpers + +- [#3159](https://github.com/solana-labs/solana-web3.js/pull/3159) [`747b9ab`](https://github.com/solana-labs/solana-web3.js/commit/747b9abb90c6baeec73a284d87a324bf3caeab03) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Add `getDefaultCommitmentRequestTransformer` helper + +- [#3184](https://github.com/solana-labs/solana-web3.js/pull/3184) [`28ca5d1`](https://github.com/solana-labs/solana-web3.js/commit/28ca5d17d4c574a690a5bf29d4f1fe0ad8f5883c) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Remove temporary fix for Agave issue 479 + + The fix is now deployed on mainnet-beta (See https://github.com/anza-xyz/agave/issues/479 and https://github.com/anza-xyz/agave/pull/483). + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722), [`3834d82`](https://github.com/solana-labs/solana-web3.js/commit/3834d82eb1dd150f261612d742c3105194689c13), [`3c02c35`](https://github.com/solana-labs/solana-web3.js/commit/3c02c3582f5b87151b7ac1d9cd24b9d20f6945ea), [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1), [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2)]: + - @solana/rpc-spec-types@2.0.0-rc.2 + - @solana/rpc-types@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/functional@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/rpc-transformers/package.json b/packages/rpc-transformers/package.json index 65764077f37..23407d0c9f4 100644 --- a/packages/rpc-transformers/package.json +++ b/packages/rpc-transformers/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-transformers", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Reusable transformers for patching RPC inputs and outputs", "exports": { "edge-light": { diff --git a/packages/rpc-transport-http/CHANGELOG.md b/packages/rpc-transport-http/CHANGELOG.md index 3b2aefa5d7f..0ee0566d05d 100644 --- a/packages/rpc-transport-http/CHANGELOG.md +++ b/packages/rpc-transport-http/CHANGELOG.md @@ -1,5 +1,34 @@ # @solana/rpc-transport-http +## 2.0.0-rc.2 + +### Patch Changes + +- [#3407](https://github.com/solana-labs/solana-web3.js/pull/3407) [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Use `RpcRequest`, `RpcResponse` and their transformers in RPC Subscriptions packages + + This change makes the RPC and RPC Subscriptions architecture more consistent by using the same `RpcRequest` and `RpcResponse` types and transformers as the basis for handling user requests (RPC calls or subscriptions) and returning responses to them. + + See the following PRs for more details: + + - [PR #3393](https://github.com/solana-labs/solana-web3.js/pull/3393) + - [PR #3394](https://github.com/solana-labs/solana-web3.js/pull/3394) + - [PR #3403](https://github.com/solana-labs/solana-web3.js/pull/3403) + - [PR #3404](https://github.com/solana-labs/solana-web3.js/pull/3404) + - [PR #3405](https://github.com/solana-labs/solana-web3.js/pull/3405) + +- [#3196](https://github.com/solana-labs/solana-web3.js/pull/3196) [`512853e`](https://github.com/solana-labs/solana-web3.js/commit/512853e5d0964075261913f9b2b08137116ce82e) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Add new `createHttpTransportForSolanaRpc` function that creates a new HTTP transport specific to the Solana RPC API. This transport uses custom JSON parsing and stringifying strategies on both the request and response of Solana RPC API requests in order to prevents loss of precision for large integers. + +- [#3192](https://github.com/solana-labs/solana-web3.js/pull/3192) [`422f928`](https://github.com/solana-labs/solana-web3.js/commit/422f928086db5897522605243ac09148f9301fa1) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Add `fromJson` and `toJson` options to the HTTP transport + +- [#3148](https://github.com/solana-labs/solana-web3.js/pull/3148) [`e1cb697`](https://github.com/solana-labs/solana-web3.js/commit/e1cb697d66dc906aa2433965452417e03cf86e13) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Make `RpcTransport` return new `RpcReponse` type instead of parsed JSON data + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`6b43588`](https://github.com/solana-labs/solana-web3.js/commit/6b4358864cb328d1b83f11c94b29f75e1b3d635f), [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722), [`628177f`](https://github.com/solana-labs/solana-web3.js/commit/628177ffcc1be1c40e0c82d80743b07f695cfe69), [`06dcd86`](https://github.com/solana-labs/solana-web3.js/commit/06dcd86d830e866eb3ee7c47ea1bb99b8205bd1e), [`3c02c35`](https://github.com/solana-labs/solana-web3.js/commit/3c02c3582f5b87151b7ac1d9cd24b9d20f6945ea), [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1), [`3fc388f`](https://github.com/solana-labs/solana-web3.js/commit/3fc388f0b40243436a3ecbcd2af27ea8efa683e4), [`4f87d12`](https://github.com/solana-labs/solana-web3.js/commit/4f87d12cf942fbd4f427005d5ac41671ce28a22c), [`a705413`](https://github.com/solana-labs/solana-web3.js/commit/a705413e357fb5c5907c5fc1df17d241bc5c0f76), [`91076ba`](https://github.com/solana-labs/solana-web3.js/commit/91076ba1884eb72880d1ee964b6800d90afb4460), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`f5660d2`](https://github.com/solana-labs/solana-web3.js/commit/f5660d2eb4d2ee5be8c9cd8e8b58a11de1a799bf), [`e1cb697`](https://github.com/solana-labs/solana-web3.js/commit/e1cb697d66dc906aa2433965452417e03cf86e13), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`d198638`](https://github.com/solana-labs/solana-web3.js/commit/d19863844cf28c252e6bedd7070e633692d9e46e), [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2)]: + - @solana/rpc-spec@2.0.0-rc.2 + - @solana/rpc-spec-types@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/rpc-transport-http/package.json b/packages/rpc-transport-http/package.json index 6e22f9f3fb6..51e762f063f 100644 --- a/packages/rpc-transport-http/package.json +++ b/packages/rpc-transport-http/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-transport-http", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "An RPC transport that uses HTTP requests", "exports": { "edge-light": { diff --git a/packages/rpc-types/CHANGELOG.md b/packages/rpc-types/CHANGELOG.md index 7f84ea6b634..9390f9f577d 100644 --- a/packages/rpc-types/CHANGELOG.md +++ b/packages/rpc-types/CHANGELOG.md @@ -1,5 +1,24 @@ # @solana/rpc-types +## 2.0.0-rc.2 + +### Patch Changes + +- [#3467](https://github.com/solana-labs/solana-web3.js/pull/3467) [`3834d82`](https://github.com/solana-labs/solana-web3.js/commit/3834d82eb1dd150f261612d742c3105194689c13) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Remove `U64` and `I64` types in favour of `bigint` + +- [#3456](https://github.com/solana-labs/solana-web3.js/pull/3456) [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Remove `UnsafeBeyond2Pow53Minus1` type suffixes + +- [#3134](https://github.com/solana-labs/solana-web3.js/pull/3134) [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823) Thanks [@buffalojoec](https://github.com/buffalojoec)! - Change unix timestamp type to bigint with an unsafe label + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/addresses@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/codecs-numbers@2.0.0-rc.2 + - @solana/codecs-strings@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/rpc-types/package.json b/packages/rpc-types/package.json index 69bfd9cae34..19481daf2b9 100644 --- a/packages/rpc-types/package.json +++ b/packages/rpc-types/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-types", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Type definitions for values used in the Solana RPC, and helper functions for working with them", "exports": { "edge-light": { diff --git a/packages/rpc/CHANGELOG.md b/packages/rpc/CHANGELOG.md index 921d6e2e0b0..a50347157a8 100644 --- a/packages/rpc/CHANGELOG.md +++ b/packages/rpc/CHANGELOG.md @@ -1,5 +1,40 @@ # @solana/rpc +## 2.0.0-rc.2 + +### Patch Changes + +- [#3407](https://github.com/solana-labs/solana-web3.js/pull/3407) [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Use `RpcRequest`, `RpcResponse` and their transformers in RPC Subscriptions packages + + This change makes the RPC and RPC Subscriptions architecture more consistent by using the same `RpcRequest` and `RpcResponse` types and transformers as the basis for handling user requests (RPC calls or subscriptions) and returning responses to them. + + See the following PRs for more details: + + - [PR #3393](https://github.com/solana-labs/solana-web3.js/pull/3393) + - [PR #3394](https://github.com/solana-labs/solana-web3.js/pull/3394) + - [PR #3403](https://github.com/solana-labs/solana-web3.js/pull/3403) + - [PR #3404](https://github.com/solana-labs/solana-web3.js/pull/3404) + - [PR #3405](https://github.com/solana-labs/solana-web3.js/pull/3405) + +- [#3161](https://github.com/solana-labs/solana-web3.js/pull/3161) [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Change first argument of `onIntegerOverflow` handler from `methodName: string` to `request: RpcRequest` + +- [#3340](https://github.com/solana-labs/solana-web3.js/pull/3340) [`44c8772`](https://github.com/solana-labs/solana-web3.js/commit/44c8772c8711b99e68dce3348e17bfc5b1d2a833) Thanks [@steveluscher](https://github.com/steveluscher)! - Enabled Brotli, gzip, and Deflate compression by default when running in Node.js, where compression headers are not added by the runtime like they are in browsers + +- [#3148](https://github.com/solana-labs/solana-web3.js/pull/3148) [`e1cb697`](https://github.com/solana-labs/solana-web3.js/commit/e1cb697d66dc906aa2433965452417e03cf86e13) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Make `RpcTransport` return new `RpcReponse` type instead of parsed JSON data + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`6b43588`](https://github.com/solana-labs/solana-web3.js/commit/6b4358864cb328d1b83f11c94b29f75e1b3d635f), [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722), [`628177f`](https://github.com/solana-labs/solana-web3.js/commit/628177ffcc1be1c40e0c82d80743b07f695cfe69), [`3834d82`](https://github.com/solana-labs/solana-web3.js/commit/3834d82eb1dd150f261612d742c3105194689c13), [`06dcd86`](https://github.com/solana-labs/solana-web3.js/commit/06dcd86d830e866eb3ee7c47ea1bb99b8205bd1e), [`512853e`](https://github.com/solana-labs/solana-web3.js/commit/512853e5d0964075261913f9b2b08137116ce82e), [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac), [`3c02c35`](https://github.com/solana-labs/solana-web3.js/commit/3c02c3582f5b87151b7ac1d9cd24b9d20f6945ea), [`1c25dd4`](https://github.com/solana-labs/solana-web3.js/commit/1c25dd4069a3a8f5599285c9b0eaeb71a2f897d1), [`3fc388f`](https://github.com/solana-labs/solana-web3.js/commit/3fc388f0b40243436a3ecbcd2af27ea8efa683e4), [`4f87d12`](https://github.com/solana-labs/solana-web3.js/commit/4f87d12cf942fbd4f427005d5ac41671ce28a22c), [`29d5113`](https://github.com/solana-labs/solana-web3.js/commit/29d5113b2c6f8c7907127ad992bad1329edbd7e7), [`1fde4b1`](https://github.com/solana-labs/solana-web3.js/commit/1fde4b1d75c4af6d965ca26f6a7c649c6a517deb), [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71), [`a705413`](https://github.com/solana-labs/solana-web3.js/commit/a705413e357fb5c5907c5fc1df17d241bc5c0f76), [`91076ba`](https://github.com/solana-labs/solana-web3.js/commit/91076ba1884eb72880d1ee964b6800d90afb4460), [`bf07a60`](https://github.com/solana-labs/solana-web3.js/commit/bf07a606768eef7cd37c1dd0e2c0a35fe3b12f24), [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac), [`747b9ab`](https://github.com/solana-labs/solana-web3.js/commit/747b9abb90c6baeec73a284d87a324bf3caeab03), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`422f928`](https://github.com/solana-labs/solana-web3.js/commit/422f928086db5897522605243ac09148f9301fa1), [`f5660d2`](https://github.com/solana-labs/solana-web3.js/commit/f5660d2eb4d2ee5be8c9cd8e8b58a11de1a799bf), [`e1cb697`](https://github.com/solana-labs/solana-web3.js/commit/e1cb697d66dc906aa2433965452417e03cf86e13), [`28ca5d1`](https://github.com/solana-labs/solana-web3.js/commit/28ca5d17d4c574a690a5bf29d4f1fe0ad8f5883c), [`02cefa7`](https://github.com/solana-labs/solana-web3.js/commit/02cefa7cc98463e602f78a8acc10d85c37f03481), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`d198638`](https://github.com/solana-labs/solana-web3.js/commit/d19863844cf28c252e6bedd7070e633692d9e46e), [`db144da`](https://github.com/solana-labs/solana-web3.js/commit/db144da362e3389837b56f97abfb766cc8c847c2)]: + - @solana/rpc-spec@2.0.0-rc.2 + - @solana/rpc-transport-http@2.0.0-rc.2 + - @solana/rpc-transformers@2.0.0-rc.2 + - @solana/rpc-spec-types@2.0.0-rc.2 + - @solana/rpc-types@2.0.0-rc.2 + - @solana/rpc-api@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/fast-stable-stringify@2.0.0-rc.2 + - @solana/functional@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/rpc/package.json b/packages/rpc/package.json index 461401c7ded..ca889d2d998 100644 --- a/packages/rpc/package.json +++ b/packages/rpc/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "A library for sending JSON RPC requests to Solana RPCs", "exports": { "edge-light": { diff --git a/packages/signers/CHANGELOG.md b/packages/signers/CHANGELOG.md index b499bc1667b..a4c37a9cce0 100644 --- a/packages/signers/CHANGELOG.md +++ b/packages/signers/CHANGELOG.md @@ -1,5 +1,24 @@ # @solana/signers +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- [#3481](https://github.com/solana-labs/solana-web3.js/pull/3481) [`4decebb`](https://github.com/solana-labs/solana-web3.js/commit/4decebb9b619972f49c740323b59cf470696e105) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Remove the `feePayerSigner` attribute of transaction messages in favour of the existing `feePayer` attribute. This ensures fee payers are defined in a single place — whether they are using signers or not. + +- [#3482](https://github.com/solana-labs/solana-web3.js/pull/3482) [`d4965ec`](https://github.com/solana-labs/solana-web3.js/commit/d4965ece9abaf81e3006442db15f3f77d89a622c) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Override `feePayer` signer when the address matches the existing one. This is because users may want to provide a different wallet from the same address. + +- Updated dependencies [[`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403), [`231a030`](https://github.com/solana-labs/solana-web3.js/commit/231a0303ae5960e783719a8ff1d17a50ff26ad78), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`0158b31`](https://github.com/solana-labs/solana-web3.js/commit/0158b3181ed96996f269f3bff689f76411e460b3)]: + - @solana/addresses@2.0.0-rc.2 + - @solana/transaction-messages@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/instructions@2.0.0-rc.2 + - @solana/transactions@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + - @solana/keys@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/signers/package.json b/packages/signers/package.json index d102b61f99f..dedaa830f0f 100644 --- a/packages/signers/package.json +++ b/packages/signers/package.json @@ -1,6 +1,6 @@ { "name": "@solana/signers", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "An abstraction layer over signing messages and transactions in Solana", "exports": { "edge-light": { diff --git a/packages/subscribable/CHANGELOG.md b/packages/subscribable/CHANGELOG.md index daa5b32d53c..bb7c00e2812 100644 --- a/packages/subscribable/CHANGELOG.md +++ b/packages/subscribable/CHANGELOG.md @@ -1 +1,10 @@ # @solana/subscribable + +## 2.0.0-rc.2 + +### Patch Changes + +- [#3301](https://github.com/solana-labs/solana-web3.js/pull/3301) [`8c2cb9f`](https://github.com/solana-labs/solana-web3.js/commit/8c2cb9f44a52b3c27bc15c2c972bea1aae1622e7) Thanks [@steveluscher](https://github.com/steveluscher)! - Creates a package for working with subscribable data sources like event targets. From an `EventTarget` or object which conforms to the `EventEmitter` interface you can now create a more ergonomic `DataPublisher` (object with an `on` method that vends an unsubscribe function) or an abortable `AsyncIterable`. + +- Updated dependencies [[`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/errors@2.0.0-rc.2 diff --git a/packages/subscribable/package.json b/packages/subscribable/package.json index 5894ea98433..b7a4898889d 100644 --- a/packages/subscribable/package.json +++ b/packages/subscribable/package.json @@ -1,6 +1,6 @@ { "name": "@solana/subscribable", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Helpers for creating subscription-based event emitters", "exports": { "edge-light": { diff --git a/packages/sysvars/CHANGELOG.md b/packages/sysvars/CHANGELOG.md index 8683a24f95f..735ccd5df24 100644 --- a/packages/sysvars/CHANGELOG.md +++ b/packages/sysvars/CHANGELOG.md @@ -1,5 +1,19 @@ # @solana/sysvars +## 2.0.0-rc.2 + +### Patch Changes + +- [#3134](https://github.com/solana-labs/solana-web3.js/pull/3134) [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823) Thanks [@buffalojoec](https://github.com/buffalojoec)! - Change unix timestamp type to bigint with an unsafe label + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`3834d82`](https://github.com/solana-labs/solana-web3.js/commit/3834d82eb1dd150f261612d742c3105194689c13), [`3fc388f`](https://github.com/solana-labs/solana-web3.js/commit/3fc388f0b40243436a3ecbcd2af27ea8efa683e4), [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/rpc-types@2.0.0-rc.2 + - @solana/accounts@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/codecs@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/sysvars/package.json b/packages/sysvars/package.json index 162968addd7..d058327efa9 100644 --- a/packages/sysvars/package.json +++ b/packages/sysvars/package.json @@ -1,6 +1,6 @@ { "name": "@solana/sysvars", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "An abstraction layer over signing messages and transactions in Solana", "exports": { "edge-light": { diff --git a/packages/transaction-confirmation/CHANGELOG.md b/packages/transaction-confirmation/CHANGELOG.md index f5188131811..399eb79a064 100644 --- a/packages/transaction-confirmation/CHANGELOG.md +++ b/packages/transaction-confirmation/CHANGELOG.md @@ -1,5 +1,25 @@ # @solana/transaction-confirmation +## 2.0.0-rc.2 + +### Patch Changes + +- [#3353](https://github.com/solana-labs/solana-web3.js/pull/3353) [`696c72c`](https://github.com/solana-labs/solana-web3.js/commit/696c72ce25c96f06442785bddffbc890ceb802f3) Thanks [@steveluscher](https://github.com/steveluscher)! - Fixed a bug that could result in the transaction confirmer claiming that the blockheight had been exceeded, when the fact of the matter was that the confirmation was aborted by an `AbortSignal` + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403), [`10b08ac`](https://github.com/solana-labs/solana-web3.js/commit/10b08ac8cdb61aa1412475426cfcaf0eefe32722), [`3834d82`](https://github.com/solana-labs/solana-web3.js/commit/3834d82eb1dd150f261612d742c3105194689c13), [`9dfca45`](https://github.com/solana-labs/solana-web3.js/commit/9dfca454355819444bad29e48602886428ba4cac), [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71), [`500a991`](https://github.com/solana-labs/solana-web3.js/commit/500a991d292638eaee1fa48a7b94acfe2ff83cb7), [`231a030`](https://github.com/solana-labs/solana-web3.js/commit/231a0303ae5960e783719a8ff1d17a50ff26ad78), [`8f94a9e`](https://github.com/solana-labs/solana-web3.js/commit/8f94a9ede71b32662bff991e6def68bc9e8bc921), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`4c7224d`](https://github.com/solana-labs/solana-web3.js/commit/4c7224d0a884b0dc91ea536ce5fbdcd0a0d7e011), [`44c8772`](https://github.com/solana-labs/solana-web3.js/commit/44c8772c8711b99e68dce3348e17bfc5b1d2a833), [`e1cb697`](https://github.com/solana-labs/solana-web3.js/commit/e1cb697d66dc906aa2433965452417e03cf86e13), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`0158b31`](https://github.com/solana-labs/solana-web3.js/commit/0158b3181ed96996f269f3bff689f76411e460b3), [`c8e6e71`](https://github.com/solana-labs/solana-web3.js/commit/c8e6e71529f219caf83ed444e53f5a1e757129dc)]: + - @solana/addresses@2.0.0-rc.2 + - @solana/rpc-subscriptions@2.0.0-rc.2 + - @solana/rpc@2.0.0-rc.2 + - @solana/rpc-types@2.0.0-rc.2 + - @solana/transaction-messages@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/codecs-strings@2.0.0-rc.2 + - @solana/transactions@2.0.0-rc.2 + - @solana/promises@2.0.0-rc.2 + - @solana/keys@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/transaction-confirmation/package.json b/packages/transaction-confirmation/package.json index cf6bcdc9394..cbb5e2b459d 100644 --- a/packages/transaction-confirmation/package.json +++ b/packages/transaction-confirmation/package.json @@ -1,6 +1,6 @@ { "name": "@solana/transaction-confirmation", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Helpers for confirming Solana transactions", "exports": { "edge-light": { diff --git a/packages/transaction-messages/CHANGELOG.md b/packages/transaction-messages/CHANGELOG.md index 399dd80291c..1feedf98554 100644 --- a/packages/transaction-messages/CHANGELOG.md +++ b/packages/transaction-messages/CHANGELOG.md @@ -1,5 +1,23 @@ # @solana/transaction-messages +## 2.0.0-rc.2 + +### Patch Changes + +- [#3480](https://github.com/solana-labs/solana-web3.js/pull/3480) [`231a030`](https://github.com/solana-labs/solana-web3.js/commit/231a0303ae5960e783719a8ff1d17a50ff26ad78) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Change `feePayer` type of transaction messages from `Address` to `{ address: Address }` + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403), [`3834d82`](https://github.com/solana-labs/solana-web3.js/commit/3834d82eb1dd150f261612d742c3105194689c13), [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a)]: + - @solana/addresses@2.0.0-rc.2 + - @solana/rpc-types@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/codecs-data-structures@2.0.0-rc.2 + - @solana/codecs-numbers@2.0.0-rc.2 + - @solana/instructions@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + - @solana/functional@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/transaction-messages/package.json b/packages/transaction-messages/package.json index 3b5e28fd313..8b7a07ef9c5 100644 --- a/packages/transaction-messages/package.json +++ b/packages/transaction-messages/package.json @@ -1,6 +1,6 @@ { "name": "@solana/transaction-messages", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Helpers for creating transaction messages", "exports": { "edge-light": { diff --git a/packages/transactions/CHANGELOG.md b/packages/transactions/CHANGELOG.md index 20b4c7019be..858a4efa4ec 100644 --- a/packages/transactions/CHANGELOG.md +++ b/packages/transactions/CHANGELOG.md @@ -1,5 +1,24 @@ # @solana/transactions +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + +- Updated dependencies [[`292487d`](https://github.com/solana-labs/solana-web3.js/commit/292487da00ee57350e8faf49ccf961203aed6403), [`3834d82`](https://github.com/solana-labs/solana-web3.js/commit/3834d82eb1dd150f261612d742c3105194689c13), [`0245265`](https://github.com/solana-labs/solana-web3.js/commit/024526554fa0145e31e62a0d47f1eea556a30e71), [`231a030`](https://github.com/solana-labs/solana-web3.js/commit/231a0303ae5960e783719a8ff1d17a50ff26ad78), [`38faba0`](https://github.com/solana-labs/solana-web3.js/commit/38faba05fab479ddbd95d0e211744d203f8aa823), [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a), [`0158b31`](https://github.com/solana-labs/solana-web3.js/commit/0158b3181ed96996f269f3bff689f76411e460b3)]: + - @solana/addresses@2.0.0-rc.2 + - @solana/rpc-types@2.0.0-rc.2 + - @solana/transaction-messages@2.0.0-rc.2 + - @solana/errors@2.0.0-rc.2 + - @solana/codecs-data-structures@2.0.0-rc.2 + - @solana/codecs-numbers@2.0.0-rc.2 + - @solana/codecs-strings@2.0.0-rc.2 + - @solana/instructions@2.0.0-rc.2 + - @solana/codecs-core@2.0.0-rc.2 + - @solana/functional@2.0.0-rc.2 + - @solana/keys@2.0.0-rc.2 + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/transactions/package.json b/packages/transactions/package.json index 94b4d16f66a..dee51092d32 100644 --- a/packages/transactions/package.json +++ b/packages/transactions/package.json @@ -1,6 +1,6 @@ { "name": "@solana/transactions", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "Helpers for creating and serializing transactions", "exports": { "edge-light": { diff --git a/packages/webcrypto-ed25519-polyfill/CHANGELOG.md b/packages/webcrypto-ed25519-polyfill/CHANGELOG.md index 90645ef3499..ed28c6eeb2b 100644 --- a/packages/webcrypto-ed25519-polyfill/CHANGELOG.md +++ b/packages/webcrypto-ed25519-polyfill/CHANGELOG.md @@ -1,5 +1,11 @@ # @solana/webcrypto-ed25519-polyfill +## 2.0.0-rc.2 + +### Patch Changes + +- [#3137](https://github.com/solana-labs/solana-web3.js/pull/3137) [`fd72c2e`](https://github.com/solana-labs/solana-web3.js/commit/fd72c2ed1edad488318fa5d3e285f04852f4210a) Thanks [@mcintyre94](https://github.com/mcintyre94)! - The build is now compatible with the Vercel Edge runtime and Cloudflare Workers through the addition of `edge-light` and `workerd` to the package exports. + ## 2.0.0-rc.1 ### Patch Changes diff --git a/packages/webcrypto-ed25519-polyfill/package.json b/packages/webcrypto-ed25519-polyfill/package.json index fc156dec4ea..42c5dd4c916 100644 --- a/packages/webcrypto-ed25519-polyfill/package.json +++ b/packages/webcrypto-ed25519-polyfill/package.json @@ -1,6 +1,6 @@ { "name": "@solana/webcrypto-ed25519-polyfill", - "version": "2.0.0-rc.1", + "version": "2.0.0-rc.2", "description": "A polyfill that adds Ed25519 key manipulation capabilities to `SubtleCrypto` in environments where it is not yet supported", "exports": { "edge-light": {