Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Version Packages #8

wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Dec 13, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@solana/errors@2.1.0

Minor Changes

  • 5af7f20 Thanks @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.

    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

  • 1adf435 Thanks @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.

  • 704d8a2 Thanks @mcintyre94! - Change data field of transaction message instructions to use ReadonlyUint8Array

@solana/rpc-transport-http@2.1.0

Minor Changes

  • 5af7f20 Thanks @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.

    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, 5af7f20, 704d8a2]:
    • @solana/errors@2.1.0
    • @solana/rpc-spec@2.1.0
    • @solana/rpc-spec-types@2.1.0

@solana/sysvars@2.1.0

Minor Changes

  • c880687 Thanks @steveluscher! - Removed the fees sysvar which has been disabled on the network for a year, and has now been removed from the test validator in Agave 2.0

    % solana feature status JAN1trEUEtZjgXYzNBYHU9DYd7GnThhXfFP7SzPXkPsG
    Feature                                      | Status                  | Activation Slot | Description
    JAN1trEUEtZjgXYzNBYHU9DYd7GnThhXfFP7SzPXkPsG | active since epoch 483  | 208656004       | disable fees sysvar
    

Patch Changes

  • 1adf435 Thanks @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, 9b179dc, 5af7f20, 704d8a2]:

    • @solana/errors@2.1.0
    • @solana/rpc-types@2.1.0
    • @solana/accounts@2.1.0
    • @solana/codecs@2.1.0

@solana/accounts@2.1.0

Patch Changes

  • 9b179dc Thanks @lorisleiva! - Add missing space attribute to AccountInfoBase and BaseAccount

  • Updated dependencies [1adf435, 9b179dc, 5af7f20, 704d8a2]:

    • @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

@solana/addresses@2.1.0

Patch Changes

  • 1adf435 Thanks @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, 5af7f20, 704d8a2]:

    • @solana/assertions@2.1.0
    • @solana/codecs-core@2.1.0
    • @solana/codecs-strings@2.1.0
    • @solana/errors@2.1.0

@solana/assertions@2.1.0

Patch Changes

  • 1adf435 Thanks @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, 5af7f20, 704d8a2]:

    • @solana/errors@2.1.0

@solana/codecs@2.1.0

Patch Changes

  • Updated dependencies [1adf435, cfe6910]:
    • @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

@solana/codecs-core@2.1.0

Patch Changes

  • 1adf435 Thanks @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, 5af7f20, 704d8a2]:

    • @solana/errors@2.1.0

@solana/codecs-data-structures@2.1.0

Patch Changes

  • 1adf435 Thanks @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.

  • cfe6910 Thanks @Jasu! - LiteralUnionCodec is now exported from @solana/codecs-data-structures

  • Updated dependencies [1adf435, 5af7f20, 704d8a2]:

    • @solana/codecs-core@2.1.0
    • @solana/codecs-numbers@2.1.0
    • @solana/errors@2.1.0

@solana/codecs-numbers@2.1.0

Patch Changes

  • 1adf435 Thanks @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, 5af7f20, 704d8a2]:

    • @solana/codecs-core@2.1.0
    • @solana/errors@2.1.0

@solana/codecs-strings@2.1.0

Patch Changes

  • 1adf435 Thanks @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, 5af7f20, 704d8a2]:

    • @solana/codecs-core@2.1.0
    • @solana/codecs-numbers@2.1.0
    • @solana/errors@2.1.0

@solana/compat@2.1.0

Patch Changes

  • 1adf435 Thanks @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.

  • #40 790b050 Thanks @steveluscher! - yAdded a helper to convert legacy TransactionInstruction objects to modern IInstruction objects

  • #57 9029dc1 Thanks @nickfrosty! - updated readme to include instruction compat functions

  • Updated dependencies [1adf435, d1c787c, 5af7f20, 704d8a2]:

    • @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/transactions@2.1.0

@solana/instructions@2.1.0

Patch Changes

  • 704d8a2 Thanks @mcintyre94! - Change data field of transaction message instructions to use ReadonlyUint8Array

  • Updated dependencies [1adf435, 5af7f20, 704d8a2]:

    • @solana/codecs-core@2.1.0
    • @solana/errors@2.1.0

@solana/keys@2.1.0

Patch Changes

  • 1adf435 Thanks @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.

  • #60 d1c787c Thanks @steveluscher! - Key operations now work in versions of Firefox that support Ed25519 natively

  • Updated dependencies [1adf435, 5af7f20, 704d8a2]:

    • @solana/assertions@2.1.0
    • @solana/codecs-core@2.1.0
    • @solana/codecs-strings@2.1.0
    • @solana/errors@2.1.0

@solana/web3.js@2.1.0

Patch Changes

  • Updated dependencies [1adf435, d1c787c, 9b179dc, 29d1e28, 5af7f20, 70eb596, 704d8a2, c880687]:
    • @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/rpc-types@2.1.0
    • @solana/accounts@2.1.0
    • @solana/rpc-subscriptions@2.1.0
    • @solana/rpc@2.1.0
    • @solana/transaction-messages@2.1.0
    • @solana/instructions@2.1.0
    • @solana/programs@2.1.0
    • @solana/rpc-parsed-types@2.1.0
    • @solana/transactions@2.1.0
    • @solana/codecs@2.1.0
    • @solana/functional@2.1.0
    • @solana/rpc-spec-types@2.1.0

@solana/options@2.1.0

Patch Changes

  • 1adf435 Thanks @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, cfe6910, 5af7f20, 704d8a2]:

    • @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/programs@2.1.0

Patch Changes

@solana/react@2.1.0

Patch Changes

  • 1adf435 Thanks @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, d1c787c, 5af7f20, 704d8a2]:

    • @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

@solana/rpc@2.1.0

Patch Changes

  • 29d1e28 Thanks @steveluscher! - Disabled the MaxListenersExceededWarning in Node when creating event targets for internal use

  • Updated dependencies [1adf435, 9b179dc, 5af7f20, 704d8a2]:

    • @solana/errors@2.1.0
    • @solana/rpc-types@2.1.0
    • @solana/rpc-transport-http@2.1.0
    • @solana/rpc-api@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

@solana/rpc-api@2.1.0

Patch Changes

  • Updated dependencies [1adf435, d1c787c, 9b179dc, 5af7f20, 704d8a2]:
    • @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-types@2.1.0
    • @solana/transaction-messages@2.1.0
    • @solana/rpc-parsed-types@2.1.0
    • @solana/transactions@2.1.0
    • @solana/rpc-spec@2.1.0
    • @solana/rpc-transformers@2.1.0

@solana/rpc-graphql@2.1.0

Patch Changes

  • Updated dependencies [1adf435]:
    • @solana/codecs-strings@2.1.0
    • @solana/fast-stable-stringify@2.1.0

@solana/rpc-spec@2.1.0

Patch Changes

@solana/rpc-subscriptions@2.1.0

Patch Changes

  • 29d1e28 Thanks @steveluscher! - Disabled the MaxListenersExceededWarning in Node when creating event targets for internal use

  • 70eb596 Thanks @steveluscher! - The online/offline checker in the subscriptions implementation no longer throws an error when hosted in the Content Scripts environment of a browser extension

  • Updated dependencies [1adf435, 9b179dc, 29d1e28, 5af7f20, 704d8a2]:

    • @solana/errors@2.1.0
    • @solana/subscribable@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-subscriptions-api@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

@solana/rpc-subscriptions-api@2.1.0

Patch Changes

  • Updated dependencies [1adf435, d1c787c, 9b179dc, 29d1e28, 704d8a2]:
    • @solana/addresses@2.1.0
    • @solana/keys@2.1.0
    • @solana/rpc-types@2.1.0
    • @solana/rpc-subscriptions-spec@2.1.0
    • @solana/transaction-messages@2.1.0
    • @solana/transactions@2.1.0
    • @solana/rpc-transformers@2.1.0

@solana/rpc-subscriptions-channel-websocket@2.1.0

Patch Changes

  • 29d1e28 Thanks @steveluscher! - Disabled the MaxListenersExceededWarning in Node when creating event targets for internal use

  • Updated dependencies [1adf435, 29d1e28, 5af7f20, 704d8a2]:

    • @solana/errors@2.1.0
    • @solana/subscribable@2.1.0
    • @solana/rpc-subscriptions-spec@2.1.0
    • @solana/functional@2.1.0

@solana/rpc-subscriptions-spec@2.1.0

Patch Changes

  • 29d1e28 Thanks @steveluscher! - Disabled the MaxListenersExceededWarning in Node when creating event targets for internal use

  • Updated dependencies [1adf435, 29d1e28, 5af7f20, 704d8a2]:

    • @solana/errors@2.1.0
    • @solana/subscribable@2.1.0
    • @solana/promises@2.1.0
    • @solana/rpc-spec-types@2.1.0

@solana/rpc-transformers@2.1.0

Patch Changes

  • Updated dependencies [1adf435, 9b179dc, 5af7f20, 704d8a2]:
    • @solana/errors@2.1.0
    • @solana/rpc-types@2.1.0
    • @solana/functional@2.1.0
    • @solana/rpc-spec-types@2.1.0

@solana/rpc-types@2.1.0

Patch Changes

  • 9b179dc Thanks @lorisleiva! - Add missing space attribute to AccountInfoBase and BaseAccount

  • Updated dependencies [1adf435, 5af7f20, 704d8a2]:

    • @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

@solana/signers@2.1.0

Patch Changes

  • 1adf435 Thanks @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, d1c787c, 5af7f20, 704d8a2]:

    • @solana/addresses@2.1.0
    • @solana/codecs-core@2.1.0
    • @solana/errors@2.1.0
    • @solana/keys@2.1.0
    • @solana/transaction-messages@2.1.0
    • @solana/instructions@2.1.0
    • @solana/transactions@2.1.0

@solana/subscribable@2.1.0

Patch Changes

  • 1adf435 Thanks @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.

  • 29d1e28 Thanks @steveluscher! - Disabled the MaxListenersExceededWarning in Node when creating event targets for internal use

  • Updated dependencies [1adf435, 5af7f20, 704d8a2]:

    • @solana/errors@2.1.0

@solana/transaction-confirmation@2.1.0

Patch Changes

  • 1adf435 Thanks @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.

  • 29d1e28 Thanks @steveluscher! - Disabled the MaxListenersExceededWarning in Node when creating event targets for internal use

  • Updated dependencies [1adf435, d1c787c, 9b179dc, 29d1e28, 5af7f20, 70eb596, 704d8a2]:

    • @solana/addresses@2.1.0
    • @solana/codecs-strings@2.1.0
    • @solana/errors@2.1.0
    • @solana/keys@2.1.0
    • @solana/rpc-types@2.1.0
    • @solana/rpc-subscriptions@2.1.0
    • @solana/rpc@2.1.0
    • @solana/transaction-messages@2.1.0
    • @solana/transactions@2.1.0
    • @solana/promises@2.1.0

@solana/transaction-messages@2.1.0

Patch Changes

  • 704d8a2 Thanks @mcintyre94! - Change data field of transaction message instructions to use ReadonlyUint8Array

  • Updated dependencies [1adf435, cfe6910, 9b179dc, 5af7f20, 704d8a2]:

    • @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/rpc-types@2.1.0
    • @solana/instructions@2.1.0
    • @solana/functional@2.1.0

@solana/transactions@2.1.0

Patch Changes

  • Updated dependencies [1adf435, d1c787c, cfe6910, 9b179dc, 5af7f20, 704d8a2]:
    • @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/rpc-types@2.1.0
    • @solana/transaction-messages@2.1.0
    • @solana/instructions@2.1.0
    • @solana/functional@2.1.0

@solana/webcrypto-ed25519-polyfill@2.1.0

Patch Changes

  • 1adf435 Thanks @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.

  • #59 710e571 Thanks @steveluscher! - Fixed a bug where specifying Ed25519 in a different case, or as an object { name: 'Ed25519' } would cause key operations to be delegated to the underlying runtime instead of the polyfill

@solana/fast-stable-stringify@2.1.0

@solana/functional@2.1.0

@solana/promises@2.1.0

@solana/rpc-parsed-types@2.1.0

@solana/rpc-spec-types@2.1.0

@github-actions github-actions bot force-pushed the changeset-release/main branch 6 times, most recently from 7e721da to 95c0add Compare December 15, 2024 16:40
@github-actions github-actions bot added the stale label Dec 30, 2024
@github-actions github-actions bot force-pushed the changeset-release/main branch from 95c0add to c2484de Compare January 3, 2025 06:50
@github-actions github-actions bot removed the stale label Jan 3, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch 5 times, most recently from 14d3ca6 to 2056fc0 Compare January 15, 2025 07:19
@github-actions github-actions bot force-pushed the changeset-release/main branch from 2056fc0 to 4871039 Compare January 16, 2025 19:31
@github-actions github-actions bot added the stale label Jan 31, 2025
@steveluscher steveluscher added the do-not-close Add this tag to exempt an issue/PR from being closed by the stalebot label Feb 3, 2025
@github-actions github-actions bot removed the stale label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-close Add this tag to exempt an issue/PR from being closed by the stalebot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant