diff --git a/.changeset/empty-wombats-guess.md b/.changeset/empty-wombats-guess.md deleted file mode 100644 index 180fafcaeac6..000000000000 --- a/.changeset/empty-wombats-guess.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"@solana/addresses": patch -"@solana/assertions": patch -"@solana/codecs-core": patch -"@solana/codecs-data-structures": patch -"@solana/codecs-numbers": patch -"@solana/codecs-strings": patch -"@solana/compat": patch -"@solana/errors": patch -"@solana/keys": patch -"@solana/options": patch -"@solana/react": patch -"@solana/signers": patch -"@solana/subscribable": patch -"@solana/sysvars": patch -"@solana/transaction-confirmation": patch -"@solana/webcrypto-ed25519-polyfill": patch ---- - -A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. diff --git a/.changeset/hot-hotels-sort.md b/.changeset/hot-hotels-sort.md deleted file mode 100644 index 19ec5efd488e..000000000000 --- a/.changeset/hot-hotels-sort.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@solana/codecs-data-structures': patch ---- - -`LiteralUnionCodec` is now exported from `@solana/codecs-data-structures` diff --git a/.changeset/silent-wolves-cry.md b/.changeset/silent-wolves-cry.md deleted file mode 100644 index f15656d72568..000000000000 --- a/.changeset/silent-wolves-cry.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'@solana/rpc-transport-http': minor -'@solana/errors': minor ---- - -When the HTTP transport throws an error, you can now access the response headers through `e.context.headers`. This can be useful, for instance, if the HTTP error is a 429 Rate Limit error, and the response contains a `Retry-After` header. - -```ts -try { - const { value: latestBlockhash } = await rpc.getLatestBlockhash().send(); -} catch (e) { - if (isSolanaError(e, SOLANA_ERROR__RPC__TRANSPORT_HTTP_ERROR)) { - if (e.context.code === 429 /* rate limit error */) { - const retryAfterHeaderValue = e.context.headers.get('Retry-After'); - if (retryAfterHeaderValue != null) { - // ... - } - } - } -} -``` diff --git a/packages/accounts/CHANGELOG.md b/packages/accounts/CHANGELOG.md index 88d7cb8e5d5d..c09dea9b3aab 100644 --- a/packages/accounts/CHANGELOG.md +++ b/packages/accounts/CHANGELOG.md @@ -1,5 +1,17 @@ # @solana/accounts +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/addresses@2.1.0 + - @solana/codecs-core@2.1.0 + - @solana/codecs-strings@2.1.0 + - @solana/errors@2.1.0 + - @solana/rpc-types@2.1.0 + - @solana/rpc-spec@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/accounts/package.json b/packages/accounts/package.json index ed7410247d53..2347ff815c04 100644 --- a/packages/accounts/package.json +++ b/packages/accounts/package.json @@ -1,6 +1,6 @@ { "name": "@solana/accounts", - "version": "2.0.0", + "version": "2.1.0", "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 27f2a93b8164..b1f88adeeb74 100644 --- a/packages/addresses/CHANGELOG.md +++ b/packages/addresses/CHANGELOG.md @@ -1,5 +1,17 @@ # @solana/addresses +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/assertions@2.1.0 + - @solana/codecs-core@2.1.0 + - @solana/codecs-strings@2.1.0 + - @solana/errors@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/addresses/package.json b/packages/addresses/package.json index 05a76ebc340a..304cc9f64667 100644 --- a/packages/addresses/package.json +++ b/packages/addresses/package.json @@ -1,6 +1,6 @@ { "name": "@solana/addresses", - "version": "2.0.0", + "version": "2.1.0", "description": "Helpers for generating account addresses", "exports": { "edge-light": { diff --git a/packages/assertions/CHANGELOG.md b/packages/assertions/CHANGELOG.md index b06d10a3b383..02b0e324f0ab 100644 --- a/packages/assertions/CHANGELOG.md +++ b/packages/assertions/CHANGELOG.md @@ -1,5 +1,14 @@ # @solana/assertions +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/errors@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/assertions/package.json b/packages/assertions/package.json index fd67b7d92889..9fa358183843 100644 --- a/packages/assertions/package.json +++ b/packages/assertions/package.json @@ -1,6 +1,6 @@ { "name": "@solana/assertions", - "version": "2.0.0", + "version": "2.1.0", "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 69af007bf002..dc2653a3ed92 100644 --- a/packages/codecs-core/CHANGELOG.md +++ b/packages/codecs-core/CHANGELOG.md @@ -1,5 +1,14 @@ # @solana/codecs-core +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/errors@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/codecs-core/package.json b/packages/codecs-core/package.json index b78563213547..e1bac776290d 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", + "version": "2.1.0", "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 5fff547724f1..4720e1bf5337 100644 --- a/packages/codecs-data-structures/CHANGELOG.md +++ b/packages/codecs-data-structures/CHANGELOG.md @@ -1,5 +1,18 @@ # @solana/codecs-data-structures +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- [#3545](https://github.com/solana-labs/solana-web3.js/pull/3545) [`cfe6910`](https://github.com/solana-labs/solana-web3.js/commit/cfe691010a493d06983a8a2728cda9751135906d) Thanks [@Jasu](https://github.com/Jasu)! - `LiteralUnionCodec` is now exported from `@solana/codecs-data-structures` + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/codecs-core@2.1.0 + - @solana/codecs-numbers@2.1.0 + - @solana/errors@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/codecs-data-structures/package.json b/packages/codecs-data-structures/package.json index a185f70819ab..27aa2606edcd 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", + "version": "2.1.0", "description": "Codecs for various data structures", "exports": { "edge-light": { diff --git a/packages/codecs-numbers/CHANGELOG.md b/packages/codecs-numbers/CHANGELOG.md index 4d17422a54c0..3db27dd14c5c 100644 --- a/packages/codecs-numbers/CHANGELOG.md +++ b/packages/codecs-numbers/CHANGELOG.md @@ -1,5 +1,15 @@ # @solana/codecs-numbers +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/codecs-core@2.1.0 + - @solana/errors@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/codecs-numbers/package.json b/packages/codecs-numbers/package.json index 3b2a73f15678..7b91d6b94b97 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", + "version": "2.1.0", "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 1d2532fdbcb7..0b3c9d148512 100644 --- a/packages/codecs-strings/CHANGELOG.md +++ b/packages/codecs-strings/CHANGELOG.md @@ -1,5 +1,16 @@ # @solana/codecs-strings +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/codecs-core@2.1.0 + - @solana/codecs-numbers@2.1.0 + - @solana/errors@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/codecs-strings/package.json b/packages/codecs-strings/package.json index 5c62b55c49ab..5110963852c8 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", + "version": "2.1.0", "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 8469db036134..3b0d28b9d289 100644 --- a/packages/codecs/CHANGELOG.md +++ b/packages/codecs/CHANGELOG.md @@ -1,5 +1,16 @@ # @solana/codecs +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`cfe6910`](https://github.com/solana-labs/solana-web3.js/commit/cfe691010a493d06983a8a2728cda9751135906d)]: + - @solana/codecs-core@2.1.0 + - @solana/codecs-data-structures@2.1.0 + - @solana/codecs-numbers@2.1.0 + - @solana/codecs-strings@2.1.0 + - @solana/options@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/codecs/package.json b/packages/codecs/package.json index e93378b05443..e8ffe9694612 100644 --- a/packages/codecs/package.json +++ b/packages/codecs/package.json @@ -1,6 +1,6 @@ { "name": "@solana/codecs", - "version": "2.0.0", + "version": "2.1.0", "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 7c67bad45532..0f259501dffb 100644 --- a/packages/compat/CHANGELOG.md +++ b/packages/compat/CHANGELOG.md @@ -1,5 +1,18 @@ # @solana/compat +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/addresses@2.1.0 + - @solana/codecs-core@2.1.0 + - @solana/errors@2.1.0 + - @solana/keys@2.1.0 + - @solana/transactions@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/compat/package.json b/packages/compat/package.json index b452efb1f505..c920145f256a 100644 --- a/packages/compat/package.json +++ b/packages/compat/package.json @@ -1,6 +1,6 @@ { "name": "@solana/compat", - "version": "2.0.0", + "version": "2.1.0", "description": "Helpers for converting from legacy web3js classes", "exports": { "edge-light": { diff --git a/packages/errors/CHANGELOG.md b/packages/errors/CHANGELOG.md index 09556731e1bc..2dbc71eba3b5 100644 --- a/packages/errors/CHANGELOG.md +++ b/packages/errors/CHANGELOG.md @@ -1,5 +1,30 @@ # @solana/errors +## 2.1.0 + +### Minor Changes + +- [#3564](https://github.com/solana-labs/solana-web3.js/pull/3564) [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c) Thanks [@steveluscher](https://github.com/steveluscher)! - When the HTTP transport throws an error, you can now access the response headers through `e.context.headers`. This can be useful, for instance, if the HTTP error is a 429 Rate Limit error, and the response contains a `Retry-After` header. + + ```ts + try { + const { value: latestBlockhash } = await rpc.getLatestBlockhash().send(); + } catch (e) { + if (isSolanaError(e, SOLANA_ERROR__RPC__TRANSPORT_HTTP_ERROR)) { + if (e.context.code === 429 /* rate limit error */) { + const retryAfterHeaderValue = e.context.headers.get('Retry-After'); + if (retryAfterHeaderValue != null) { + // ... + } + } + } + } + ``` + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + ## 2.0.0 ### Patch Changes diff --git a/packages/errors/package.json b/packages/errors/package.json index 5a78103dd26d..7cb9f0ddf343 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -1,6 +1,6 @@ { "name": "@solana/errors", - "version": "2.0.0", + "version": "2.1.0", "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 84d3040a1096..ee6cbaf34f4e 100644 --- a/packages/fast-stable-stringify/CHANGELOG.md +++ b/packages/fast-stable-stringify/CHANGELOG.md @@ -1,5 +1,7 @@ # @solana/fast-stable-stringify +## 2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/fast-stable-stringify/package.json b/packages/fast-stable-stringify/package.json index f0c34c19cb2e..24d1e8574174 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", + "version": "2.1.0", "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 6a45d6f5fe43..d45b9e2373cf 100644 --- a/packages/functional/CHANGELOG.md +++ b/packages/functional/CHANGELOG.md @@ -1,5 +1,7 @@ # @solana/functional +## 2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/functional/package.json b/packages/functional/package.json index 80cd1905e0d9..212c40d0d412 100644 --- a/packages/functional/package.json +++ b/packages/functional/package.json @@ -1,6 +1,6 @@ { "name": "@solana/functional", - "version": "2.0.0", + "version": "2.1.0", "description": "Functional JavaScript helpers", "exports": { "edge-light": { diff --git a/packages/instructions/CHANGELOG.md b/packages/instructions/CHANGELOG.md index a337839ca5f3..239ced7db957 100644 --- a/packages/instructions/CHANGELOG.md +++ b/packages/instructions/CHANGELOG.md @@ -1,5 +1,12 @@ # @solana/instructions +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/errors@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/instructions/package.json b/packages/instructions/package.json index 0e072a0ae3fb..b72fb5ef311f 100644 --- a/packages/instructions/package.json +++ b/packages/instructions/package.json @@ -1,6 +1,6 @@ { "name": "@solana/instructions", - "version": "2.0.0", + "version": "2.1.0", "description": "Helpers for creating transaction instructions", "exports": { "edge-light": { diff --git a/packages/keys/CHANGELOG.md b/packages/keys/CHANGELOG.md index 383054d0a168..0905e0fb3643 100644 --- a/packages/keys/CHANGELOG.md +++ b/packages/keys/CHANGELOG.md @@ -1,5 +1,17 @@ # @solana/keys +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/assertions@2.1.0 + - @solana/codecs-core@2.1.0 + - @solana/codecs-strings@2.1.0 + - @solana/errors@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/keys/package.json b/packages/keys/package.json index ab3a3cbaba4a..29b0c133eac6 100644 --- a/packages/keys/package.json +++ b/packages/keys/package.json @@ -1,6 +1,6 @@ { "name": "@solana/keys", - "version": "2.0.0", + "version": "2.1.0", "description": "Helpers for generating and transforming key material", "exports": { "edge-light": { diff --git a/packages/library/CHANGELOG.md b/packages/library/CHANGELOG.md index 0e0d16c4f8ad..ec6836e1354c 100644 --- a/packages/library/CHANGELOG.md +++ b/packages/library/CHANGELOG.md @@ -1,5 +1,29 @@ # @solana/web3.js +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/addresses@2.1.0 + - @solana/errors@2.1.0 + - @solana/keys@2.1.0 + - @solana/signers@2.1.0 + - @solana/sysvars@2.1.0 + - @solana/transaction-confirmation@2.1.0 + - @solana/accounts@2.1.0 + - @solana/instructions@2.1.0 + - @solana/programs@2.1.0 + - @solana/rpc-parsed-types@2.1.0 + - @solana/rpc-subscriptions@2.1.0 + - @solana/rpc-types@2.1.0 + - @solana/transaction-messages@2.1.0 + - @solana/transactions@2.1.0 + - @solana/codecs@2.1.0 + - @solana/rpc@2.1.0 + - @solana/functional@2.1.0 + - @solana/rpc-spec-types@2.1.0 + ## 2.0.0 ### Major Changes diff --git a/packages/library/package.json b/packages/library/package.json index f4b48abaef5a..4b3295cba2e4 100644 --- a/packages/library/package.json +++ b/packages/library/package.json @@ -1,6 +1,6 @@ { "name": "@solana/web3.js", - "version": "2.0.0", + "version": "2.1.0", "description": "Solana Javascript API", "exports": { "edge-light": { diff --git a/packages/options/CHANGELOG.md b/packages/options/CHANGELOG.md index b8a907f7e491..992a2e66e0e8 100644 --- a/packages/options/CHANGELOG.md +++ b/packages/options/CHANGELOG.md @@ -1,5 +1,18 @@ # @solana/options +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`cfe6910`](https://github.com/solana-labs/solana-web3.js/commit/cfe691010a493d06983a8a2728cda9751135906d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/codecs-core@2.1.0 + - @solana/codecs-data-structures@2.1.0 + - @solana/codecs-numbers@2.1.0 + - @solana/codecs-strings@2.1.0 + - @solana/errors@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/options/package.json b/packages/options/package.json index 4de2ca6999d4..e8cd65a039b3 100644 --- a/packages/options/package.json +++ b/packages/options/package.json @@ -1,6 +1,6 @@ { "name": "@solana/options", - "version": "2.0.0", + "version": "2.1.0", "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 001c81deaddc..fac4d0232f4c 100644 --- a/packages/programs/CHANGELOG.md +++ b/packages/programs/CHANGELOG.md @@ -1,5 +1,13 @@ # @solana/programs +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/addresses@2.1.0 + - @solana/errors@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/programs/package.json b/packages/programs/package.json index 8130b7f4cc9c..fbf2f973945d 100644 --- a/packages/programs/package.json +++ b/packages/programs/package.json @@ -1,6 +1,6 @@ { "name": "@solana/programs", - "version": "2.0.0", + "version": "2.1.0", "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 d0007a71156f..18e5660698d0 100644 --- a/packages/promises/CHANGELOG.md +++ b/packages/promises/CHANGELOG.md @@ -1,5 +1,7 @@ # @solana/promises +## 2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/promises/package.json b/packages/promises/package.json index d43df7427714..6f3db2bba868 100644 --- a/packages/promises/package.json +++ b/packages/promises/package.json @@ -1,6 +1,6 @@ { "name": "@solana/promises", - "version": "2.0.0", + "version": "2.1.0", "description": "Helpers for using JavaScript promises", "exports": { "edge-light": { diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 3c5e2b6c19ab..38c712960148 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,19 @@ # @solana/react +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/addresses@2.1.0 + - @solana/errors@2.1.0 + - @solana/keys@2.1.0 + - @solana/signers@2.1.0 + - @solana/transactions@2.1.0 + - @solana/promises@2.1.0 + ## 2.0.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 13095cf45c85..536e9cfb5b11 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@solana/react", - "version": "2.0.0", + "version": "2.1.0", "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 ec534b76e2bf..99865c3ef735 100644 --- a/packages/rpc-api/CHANGELOG.md +++ b/packages/rpc-api/CHANGELOG.md @@ -1,5 +1,22 @@ # @solana/rpc-api +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/addresses@2.1.0 + - @solana/codecs-core@2.1.0 + - @solana/codecs-strings@2.1.0 + - @solana/errors@2.1.0 + - @solana/keys@2.1.0 + - @solana/rpc-parsed-types@2.1.0 + - @solana/rpc-types@2.1.0 + - @solana/transaction-messages@2.1.0 + - @solana/transactions@2.1.0 + - @solana/rpc-spec@2.1.0 + - @solana/rpc-transformers@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/rpc-api/package.json b/packages/rpc-api/package.json index 6287d62f285f..943b9e230a6a 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", + "version": "2.1.0", "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 831cab284c58..02703712ed04 100644 --- a/packages/rpc-graphql/CHANGELOG.md +++ b/packages/rpc-graphql/CHANGELOG.md @@ -1,5 +1,13 @@ # @solana/rpc-graphql +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d)]: + - @solana/codecs-strings@2.1.0 + - @solana/fast-stable-stringify@2.1.0 + ## 2.0.0 ### Minor Changes diff --git a/packages/rpc-graphql/package.json b/packages/rpc-graphql/package.json index 7738437dac8e..11bbca85c526 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", + "version": "2.1.0", "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 034b9633fbd8..c3b1cd17685f 100644 --- a/packages/rpc-parsed-types/CHANGELOG.md +++ b/packages/rpc-parsed-types/CHANGELOG.md @@ -1,5 +1,7 @@ # @solana/rpc-parsed-types +## 2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/rpc-parsed-types/package.json b/packages/rpc-parsed-types/package.json index 13c3ca88c858..b157e98bc22b 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", + "version": "2.1.0", "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 b00dfd3f95f9..83dc22fb1e12 100644 --- a/packages/rpc-spec-types/CHANGELOG.md +++ b/packages/rpc-spec-types/CHANGELOG.md @@ -1,5 +1,7 @@ # @solana/rpc-spec-types +## 2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/rpc-spec-types/package.json b/packages/rpc-spec-types/package.json index 0c620c1cff7d..b0fc9eadb1cc 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", + "version": "2.1.0", "description": "Shared generic JSON RPC specifications", "exports": { "edge-light": { diff --git a/packages/rpc-spec/CHANGELOG.md b/packages/rpc-spec/CHANGELOG.md index 70c76d86a9b8..7afec5a79e43 100644 --- a/packages/rpc-spec/CHANGELOG.md +++ b/packages/rpc-spec/CHANGELOG.md @@ -1,5 +1,13 @@ # @solana/rpc-spec +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/errors@2.1.0 + - @solana/rpc-spec-types@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/rpc-spec/package.json b/packages/rpc-spec/package.json index 63b383c4056c..bf805cdbef6e 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", + "version": "2.1.0", "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 3ad147b683c5..1ffadd8644af 100644 --- a/packages/rpc-subscriptions-api/CHANGELOG.md +++ b/packages/rpc-subscriptions-api/CHANGELOG.md @@ -1,5 +1,18 @@ # @solana/rpc-subscriptions-api +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d)]: + - @solana/addresses@2.1.0 + - @solana/keys@2.1.0 + - @solana/rpc-types@2.1.0 + - @solana/transaction-messages@2.1.0 + - @solana/transactions@2.1.0 + - @solana/rpc-subscriptions-spec@2.1.0 + - @solana/rpc-transformers@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/rpc-subscriptions-api/package.json b/packages/rpc-subscriptions-api/package.json index 0661a0506a8c..a9288f18660d 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", + "version": "2.1.0", "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 f16a5b7d4d81..bfb2ed4dcf05 100644 --- a/packages/rpc-subscriptions-channel-websocket/CHANGELOG.md +++ b/packages/rpc-subscriptions-channel-websocket/CHANGELOG.md @@ -1,5 +1,15 @@ # @solana/rpc-subscriptions-channel-websocket +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/errors@2.1.0 + - @solana/subscribable@2.1.0 + - @solana/rpc-subscriptions-spec@2.1.0 + - @solana/functional@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/rpc-subscriptions-channel-websocket/package.json b/packages/rpc-subscriptions-channel-websocket/package.json index 5e912e85f297..336b8b6e7517 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", + "version": "2.1.0", "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 154a033a34bb..ad1e720805f0 100644 --- a/packages/rpc-subscriptions-spec/CHANGELOG.md +++ b/packages/rpc-subscriptions-spec/CHANGELOG.md @@ -1,5 +1,15 @@ # @solana/rpc-subscriptions-spec +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/errors@2.1.0 + - @solana/subscribable@2.1.0 + - @solana/promises@2.1.0 + - @solana/rpc-spec-types@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/rpc-subscriptions-spec/package.json b/packages/rpc-subscriptions-spec/package.json index 4ab8fb2f3c7b..d31875b87816 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", + "version": "2.1.0", "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 7cb1b7c707d7..be66313ea369 100644 --- a/packages/rpc-subscriptions/CHANGELOG.md +++ b/packages/rpc-subscriptions/CHANGELOG.md @@ -1,5 +1,22 @@ # @solana/rpc-subscriptions +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/errors@2.1.0 + - @solana/subscribable@2.1.0 + - @solana/rpc-subscriptions-api@2.1.0 + - @solana/rpc-types@2.1.0 + - @solana/rpc-subscriptions-channel-websocket@2.1.0 + - @solana/rpc-subscriptions-spec@2.1.0 + - @solana/rpc-transformers@2.1.0 + - @solana/fast-stable-stringify@2.1.0 + - @solana/functional@2.1.0 + - @solana/promises@2.1.0 + - @solana/rpc-spec-types@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/rpc-subscriptions/package.json b/packages/rpc-subscriptions/package.json index 808e524bf7fa..8487921daabe 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", + "version": "2.1.0", "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 15013c18c194..102181273d14 100644 --- a/packages/rpc-transformers/CHANGELOG.md +++ b/packages/rpc-transformers/CHANGELOG.md @@ -1,5 +1,15 @@ # @solana/rpc-transformers +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/errors@2.1.0 + - @solana/rpc-types@2.1.0 + - @solana/functional@2.1.0 + - @solana/rpc-spec-types@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/rpc-transformers/package.json b/packages/rpc-transformers/package.json index 5a0ed82a8f2c..c72562e0e6a5 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", + "version": "2.1.0", "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 a2c093120ccc..bcc04342dada 100644 --- a/packages/rpc-transport-http/CHANGELOG.md +++ b/packages/rpc-transport-http/CHANGELOG.md @@ -1,5 +1,33 @@ # @solana/rpc-transport-http +## 2.1.0 + +### Minor Changes + +- [#3564](https://github.com/solana-labs/solana-web3.js/pull/3564) [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c) Thanks [@steveluscher](https://github.com/steveluscher)! - When the HTTP transport throws an error, you can now access the response headers through `e.context.headers`. This can be useful, for instance, if the HTTP error is a 429 Rate Limit error, and the response contains a `Retry-After` header. + + ```ts + try { + const { value: latestBlockhash } = await rpc.getLatestBlockhash().send(); + } catch (e) { + if (isSolanaError(e, SOLANA_ERROR__RPC__TRANSPORT_HTTP_ERROR)) { + if (e.context.code === 429 /* rate limit error */) { + const retryAfterHeaderValue = e.context.headers.get('Retry-After'); + if (retryAfterHeaderValue != null) { + // ... + } + } + } + } + ``` + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/errors@2.1.0 + - @solana/rpc-spec@2.1.0 + - @solana/rpc-spec-types@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/rpc-transport-http/package.json b/packages/rpc-transport-http/package.json index 6ccb6cc1da4f..97c93e4c2e6d 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", + "version": "2.1.0", "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 cd041e6e54d5..6d7c49604d0a 100644 --- a/packages/rpc-types/CHANGELOG.md +++ b/packages/rpc-types/CHANGELOG.md @@ -1,5 +1,16 @@ # @solana/rpc-types +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/addresses@2.1.0 + - @solana/codecs-core@2.1.0 + - @solana/codecs-numbers@2.1.0 + - @solana/codecs-strings@2.1.0 + - @solana/errors@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/rpc-types/package.json b/packages/rpc-types/package.json index e4c3215abe50..af3a14ac6e91 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", + "version": "2.1.0", "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 feb6e6359596..8e993cfbabb0 100644 --- a/packages/rpc/CHANGELOG.md +++ b/packages/rpc/CHANGELOG.md @@ -1,5 +1,20 @@ # @solana/rpc +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/errors@2.1.0 + - @solana/rpc-transport-http@2.1.0 + - @solana/rpc-api@2.1.0 + - @solana/rpc-types@2.1.0 + - @solana/rpc-spec@2.1.0 + - @solana/rpc-transformers@2.1.0 + - @solana/fast-stable-stringify@2.1.0 + - @solana/functional@2.1.0 + - @solana/rpc-spec-types@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/rpc/package.json b/packages/rpc/package.json index 1dad672941e2..9fecd07b2568 100644 --- a/packages/rpc/package.json +++ b/packages/rpc/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc", - "version": "2.0.0", + "version": "2.1.0", "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 fbfbd624e962..3095188decad 100644 --- a/packages/signers/CHANGELOG.md +++ b/packages/signers/CHANGELOG.md @@ -1,5 +1,20 @@ # @solana/signers +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/addresses@2.1.0 + - @solana/codecs-core@2.1.0 + - @solana/errors@2.1.0 + - @solana/keys@2.1.0 + - @solana/instructions@2.1.0 + - @solana/transaction-messages@2.1.0 + - @solana/transactions@2.1.0 + ## 2.0.0 ### Minor Changes diff --git a/packages/signers/package.json b/packages/signers/package.json index f5f3798eded2..d3c36f6f22ca 100644 --- a/packages/signers/package.json +++ b/packages/signers/package.json @@ -1,6 +1,6 @@ { "name": "@solana/signers", - "version": "2.0.0", + "version": "2.1.0", "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 fb3e1a15f4fe..4963d3590f24 100644 --- a/packages/subscribable/CHANGELOG.md +++ b/packages/subscribable/CHANGELOG.md @@ -1,5 +1,14 @@ # @solana/subscribable +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/errors@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/subscribable/package.json b/packages/subscribable/package.json index b49052059a2c..3a4b1bde6cc1 100644 --- a/packages/subscribable/package.json +++ b/packages/subscribable/package.json @@ -1,6 +1,6 @@ { "name": "@solana/subscribable", - "version": "2.0.0", + "version": "2.1.0", "description": "Helpers for creating subscription-based event emitters", "exports": { "edge-light": { diff --git a/packages/sysvars/CHANGELOG.md b/packages/sysvars/CHANGELOG.md index 2769d54b78d9..568abecbc4c3 100644 --- a/packages/sysvars/CHANGELOG.md +++ b/packages/sysvars/CHANGELOG.md @@ -1,5 +1,17 @@ # @solana/sysvars +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/errors@2.1.0 + - @solana/accounts@2.1.0 + - @solana/rpc-types@2.1.0 + - @solana/codecs@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/sysvars/package.json b/packages/sysvars/package.json index af00d57ef2a3..6ee410ed0d2a 100644 --- a/packages/sysvars/package.json +++ b/packages/sysvars/package.json @@ -1,6 +1,6 @@ { "name": "@solana/sysvars", - "version": "2.0.0", + "version": "2.1.0", "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 1206044ce344..13c580506b8d 100644 --- a/packages/transaction-confirmation/CHANGELOG.md +++ b/packages/transaction-confirmation/CHANGELOG.md @@ -1,5 +1,23 @@ # @solana/transaction-confirmation +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/addresses@2.1.0 + - @solana/codecs-strings@2.1.0 + - @solana/errors@2.1.0 + - @solana/keys@2.1.0 + - @solana/rpc-subscriptions@2.1.0 + - @solana/rpc-types@2.1.0 + - @solana/transaction-messages@2.1.0 + - @solana/transactions@2.1.0 + - @solana/rpc@2.1.0 + - @solana/promises@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/transaction-confirmation/package.json b/packages/transaction-confirmation/package.json index 1082a1362e22..801efae1c8b5 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", + "version": "2.1.0", "description": "Helpers for confirming Solana transactions", "exports": { "edge-light": { diff --git a/packages/transaction-messages/CHANGELOG.md b/packages/transaction-messages/CHANGELOG.md index a404ef69e816..10a4db011e85 100644 --- a/packages/transaction-messages/CHANGELOG.md +++ b/packages/transaction-messages/CHANGELOG.md @@ -1,5 +1,19 @@ # @solana/transaction-messages +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`cfe6910`](https://github.com/solana-labs/solana-web3.js/commit/cfe691010a493d06983a8a2728cda9751135906d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/addresses@2.1.0 + - @solana/codecs-core@2.1.0 + - @solana/codecs-data-structures@2.1.0 + - @solana/codecs-numbers@2.1.0 + - @solana/errors@2.1.0 + - @solana/instructions@2.1.0 + - @solana/rpc-types@2.1.0 + - @solana/functional@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/transaction-messages/package.json b/packages/transaction-messages/package.json index 19752567f5aa..2afbc8e81ea8 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", + "version": "2.1.0", "description": "Helpers for creating transaction messages", "exports": { "edge-light": { diff --git a/packages/transactions/CHANGELOG.md b/packages/transactions/CHANGELOG.md index f1e82938658a..ad78bac0a4ee 100644 --- a/packages/transactions/CHANGELOG.md +++ b/packages/transactions/CHANGELOG.md @@ -1,5 +1,22 @@ # @solana/transactions +## 2.1.0 + +### Patch Changes + +- Updated dependencies [[`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d), [`cfe6910`](https://github.com/solana-labs/solana-web3.js/commit/cfe691010a493d06983a8a2728cda9751135906d), [`5af7f20`](https://github.com/solana-labs/solana-web3.js/commit/5af7f2013135a79893a0f190a905c6dd077ac38c)]: + - @solana/addresses@2.1.0 + - @solana/codecs-core@2.1.0 + - @solana/codecs-data-structures@2.1.0 + - @solana/codecs-numbers@2.1.0 + - @solana/codecs-strings@2.1.0 + - @solana/errors@2.1.0 + - @solana/keys@2.1.0 + - @solana/instructions@2.1.0 + - @solana/rpc-types@2.1.0 + - @solana/transaction-messages@2.1.0 + - @solana/functional@2.1.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/transactions/package.json b/packages/transactions/package.json index e6e43191249f..52e4c891bffd 100644 --- a/packages/transactions/package.json +++ b/packages/transactions/package.json @@ -1,6 +1,6 @@ { "name": "@solana/transactions", - "version": "2.0.0", + "version": "2.1.0", "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 02438ae9d967..a0dc411dbe87 100644 --- a/packages/webcrypto-ed25519-polyfill/CHANGELOG.md +++ b/packages/webcrypto-ed25519-polyfill/CHANGELOG.md @@ -1,5 +1,11 @@ # @solana/webcrypto-ed25519-polyfill +## 2.1.0 + +### Patch Changes + +- [#3552](https://github.com/solana-labs/solana-web3.js/pull/3552) [`1adf435`](https://github.com/solana-labs/solana-web3.js/commit/1adf435cfc724303f64e509a6fda144ec8f5019d) Thanks [@leantOnSol](https://github.com/leantOnSol)! - A two-versions-old version of Node LTS is now specified everywhere via the `engines` field, including the one in the root of the `pnpm` workspace, and engine-strictness is delegated to the `.npmrc` files. + ## 2.0.0 ### Patch Changes diff --git a/packages/webcrypto-ed25519-polyfill/package.json b/packages/webcrypto-ed25519-polyfill/package.json index 6598d6ddd6ca..6b5d42f39cb5 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", + "version": "2.1.0", "description": "A polyfill that adds Ed25519 key manipulation capabilities to `SubtleCrypto` in environments where it is not yet supported", "exports": { "edge-light": {