Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 12, 2024

Bumps @solana/codecs-strings from 2.0.0-rc.0 to 2.0.0-rc.1.

Release notes

Sourced from @​solana/codecs-strings's releases.

The New web3.js - Release Candidate rc.1

v2.0.0-rc.1 (2024-08-09)

Since we published the first Release Candidate of @solana/[email protected] your feedback has helped us to catch bugs that we missed during development. A special thank you today to @​WilfredAlmeida the reports that led to the fixes in this, updated Release Candidate rc.1.

Also new in this release are handy tools that help you load key pairs and to derive public CryptoKey instances from private CryptoKey instances.

To install the Release Candidate:

npm install --save @solana/web3.js@rc
  • Try the runnable examples in the examples/ directory to get a feel for the API.
  • Use the example dApp at https://solana-labs.github.io/solana-web3.js/example/ – source available here – for an example of how to build transactions with the new web3.js for use with wallets.
  • Install TypeScript clients for on-chain programs like System and Token, then build a useful application or backend service.

Before the general release of web3.js, shortly before Breakpoint 2024 in September, we want to collect as much feedback as possible from you. If you find a bug, are missing a feature, or would like an API modified, file a GitHub Issue.

Changelog since Release Candidate rc.0

  • #3050 7d310f6 Thanks @​lorisleiva! - Add a createKeyPairFromPrivateKeyBytes helper that creates a keypair from the 32-byte private key bytes.

    import { createKeyPairFromPrivateKeyBytes } from '@solana/keys';
    const { privateKey, publicKey } = await createKeyPairFromPrivateKeyBytes(new Uint8Array([...]));

  • #3049 f9a8446 Thanks @​lorisleiva! - Add a getPublicKeyFromPrivateKey helper that, given an extractable CryptoKey private key, gets the corresponding public key as a CryptoKey.

    import { createPrivateKeyFromBytes, getPublicKeyFromPrivateKey } from '@solana/keys';
    const privateKey = await createPrivateKeyFromBytes(new Uint8Array([...]), true);
    const publicKey = await getPublicKeyFromPrivateKey(privateKey);
    const extractablePublicKey = await getPublicKeyFromPrivateKey(privateKey, true);

  • #3051 1ad523d Thanks @​lorisleiva! - Add a createKeyPairSignerFromPrivateKeyBytes helper that compose createKeyPairFromPrivateKeyBytes and createSignerFromKeyPair.

  • #3071 b4bf318 Thanks @​steveluscher! - Created a helper that you can use to race two or more promises without having to worry about them leaking memory

  • #3070 f2bb4e8 Thanks @​steveluscher! - Created a package for dealing with JavaScript Promises, and copied the implementation of getAbortablePromise into it

  • #3072 c122c75 Thanks @​steveluscher! - Fixed a memory leak with transaction confirmation and subscriptions

Commits
  • b7aa3f6 Version Packages (rc) (#3075)
  • a8185e4 chore: fix typos (#3089)
  • c96bdfd chore: bump tsx from 4.16.5 to 4.17.0 (#3088)
  • 3036345 chore: bump jest-environment-jsdom from 30.0.0-alpha.5 to 30.0.0-alpha.6 (#3084)
  • 924c184 chore: bump @​radix-ui/themes from 3.1.1 to 3.1.3 (#3085)
  • 9850395 chore: bump vite from 5.3.5 to 5.4.0 (#3083)
  • 484a230 chore: bump jest from 30.0.0-alpha.5 to 30.0.0-alpha.6 (#3082)
  • ab287ce Disable the safeRace() tests until we can get them working in CI
  • 1c4ec1c Build with a concurrency of 1 on CI (#3080)
  • ffafaa7 Give the safeRace tests more time to run on these slow GitHub Actions runners
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the automerge Merge this pull request automatically once CI and reviews are compelte label Aug 12, 2024
@joncinque joncinque closed this Aug 12, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 12, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@joncinque joncinque reopened this Aug 12, 2024
Bumps [@solana/codecs-strings](https://github.com/solana-labs/solana-web3.js) from 2.0.0-rc.0 to 2.0.0-rc.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](solana-foundation/solana-web3.js@v2.0.0-rc.0...v2.0.0-rc.1)

---
updated-dependencies:
- dependency-name: "@solana/codecs-strings"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/solana/codecs-strings-2.0.0-rc.1 branch from 8977dcc to 39b5ac3 Compare August 12, 2024 10:30
@joncinque joncinque merged commit b8b2c71 into master Aug 12, 2024
17 checks passed
@joncinque joncinque deleted the dependabot/npm_and_yarn/solana/codecs-strings-2.0.0-rc.1 branch August 12, 2024 11:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this pull request automatically once CI and reviews are compelte
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant