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

Bump stellar-sdk from 10.4.1 to 12.3.0 #513

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 16, 2024

Bumps stellar-sdk from 10.4.1 to 12.3.0.

Release notes

Sourced from stellar-sdk's releases.

v12.3.0

Added

  • rpc.Server now has a getTransactions, which has the same response schema as getTransactions except with bundles of transactions (#1037).
  • rpc.Server now has a getVersionInfo method which reports version information of the RPC instance it is connected to (#1028):
export interface GetVersionInfoResponse {
  version: string;
  commit_hash: string;
  build_time_stamp: string;
  captive_core_version: string;
  protocol_version: number;
}

Fixed

  • Lower authorization entry's default signature expiration to ~8min for security reasons (#1023).
  • Remove statusText error check to broaden compatibility (#1001).
  • Upgraded stellar-base which includes various fixes (release notes, #1045).

Contributors

@​Shaptic @​chadoh @​aditya1702 @​psheth9

New Contributors

Full Changelog: stellar/js-stellar-sdk@v12.2.0...v12.3.0

v12.2.0

Fixed

  • @stellar/stellar-base and its underlying dependency @stellar/js-xdr have been upgraded to their latest versions; reference their release notes (v12.1.0 and v3.1.2, respectively) for details (#1013).

Added

  • You can now pass custom headers to both rpc.Server and Horizon.Server (#1013):
import { Server } from "@stellar/stellar-sdk/rpc";
const s = new Server("<some URL>", { headers: { "X-Custom-Header": "hello" }})

  • Horizon.Server now supports the new POST /transactions_async endpoint via the submitAsyncTransaction method (#989). Its purpose is to provide an immediate response to the submission rather than waiting for Horizon to determine its status. The response schema is as follows:
interface SubmitAsyncTransactionResponse {
  // the submitted transaction hash
  hash: string;
  // one of "PENDING", "DUPLICATE", "TRY_AGAIN_LATER", or "ERROR"
  tx_status: string;
  // a base64-encoded xdr.TransactionResult iff `tx_status` is "ERROR"
  error_result_xdr: string;
}
</tr></table> 

... (truncated)

Changelog

Sourced from stellar-sdk's changelog.

v12.3.0

Added

  • rpc.Server now has a getTransactions, which has the same response schema as getTransactions except with bundles of transactions (#1037).
  • rpc.Server now has a getVersionInfo method which reports version information of the RPC instance it is connected to (#1028):
export interface GetVersionInfoResponse {
  version: string;
  commit_hash: string;
  build_time_stamp: string;
  captive_core_version: string;
  protocol_version: number;
}

Fixed

  • Lower authorization entry's default signature expiration to ~8min for security reasons (#1023).
  • Remove statusText error check to broaden compatibility (#1001).
  • Upgraded stellar-base which includes various fixes (release notes, #1045).

v12.2.0

Fixed

  • @stellar/stellar-base and its underlying dependency @stellar/js-xdr have been upgraded to their latest versions; reference their release notes (v12.1.0 and v3.1.2, respectively) for details (#1013).

Added

  • You can now pass custom headers to both rpc.Server and Horizon.Server (#1013):
import { Server } from "@stellar/stellar-sdk/rpc";
const s = new Server("<some URL>", { headers: { "X-Custom-Header": "hello" }})

  • Horizon.Server now supports the new POST /transactions_async endpoint via the submitAsyncTransaction method (#989). Its purpose is to provide an immediate response to the submission rather than waiting for Horizon to determine its status. The response schema is as follows:
interface SubmitAsyncTransactionResponse {
  // the submitted transaction hash
  hash: string;
  // one of "PENDING", "DUPLICATE", "TRY_AGAIN_LATER", or "ERROR"
  tx_status: string;
  // a base64-encoded xdr.TransactionResult iff `tx_status` is "ERROR"
  error_result_xdr: string;
}
  • rpc.Server now has a getFeeStats method which retrieves fee statistics for a previous chunk of ledgers to provide users with a way to provide informed decisions about getting their transactions included in the following ledgers (#998):
export interface GetFeeStatsResponse {
  sorobanInclusionFee: FeeDistribution;
  inclusionFee: FeeDistribution;
</tr></table> 

... (truncated)

Commits
  • 99cf4cc Release v12.3.0 (#1045)
  • e6cda07 RPC: Add support for getTransactions endpoint (#1037)
  • 581b32a Use renamed custom types example contract (#1043)
  • 3e081ba Modify auth entry sig expiration to ~8min (#1023)
  • 72ec060 Add support for getVersionInfo endpoint (#1028)
  • e4dd603 Remove statusText error check to broaden compatibility (#1001)
  • a2f69d9 Bump the minor-and-patch group across 1 directory with 9 updates (#1027)
  • 5ab7797 Update endpoint documentation references in the jsdocs (#1026)
  • 6a0c519 Update npm link in the README (#1025)
  • 161c083 Bump the minor-and-patch group across 1 directory with 2 updates (#1018)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 16, 2024
Copy link

vercel bot commented Sep 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stellar-claim ❌ Failed (Inspect) Oct 8, 2024 10:34pm

Bumps [stellar-sdk](https://github.com/stellar/js-stellar-sdk) from 10.4.1 to 12.3.0.
- [Release notes](https://github.com/stellar/js-stellar-sdk/releases)
- [Changelog](https://github.com/stellar/js-stellar-sdk/blob/master/CHANGELOG.md)
- [Commits](stellar/js-stellar-sdk@v10.4.1...v12.3.0)

---
updated-dependencies:
- dependency-name: stellar-sdk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/stellar-sdk-12.3.0 branch from 253e2e2 to 55d0d81 Compare October 8, 2024 22:33
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 18, 2024

Superseded by #527.

@dependabot dependabot bot closed this Dec 18, 2024
auto-merge was automatically disabled December 18, 2024 22:50

Pull request was closed

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/stellar-sdk-12.3.0 branch December 18, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants