Skip to content

Releases: stellar/js-stellar-sdk

v14.5.0

26 Jan 23:04
6eb8ff7

Choose a tag to compare

v14.5.0

Added

  • Introduced CLI functionality for generating smart contract bindings (#1287).
  • Added BindingGeneration class for parsing contract specs into fully typed TypeScript libraries for calling contract methods (#1287).
  • Introduced rpc.Server.fundAddress that supports funding contract and account addresses via Friendbot (#1314).
  • Updated the StellarToml interface with SEP 45 fields WEB_AUTH_FOR_CONTRACTS_ENDPOINT and WEB_AUTH_CONTRACT_ID (#1326).

Fixed

  • X-App-Name and X-App-Version headers are now included when using CallBuilder.stream() (#1317).
  • CallBuilder now correctly uses the configured server URL for all requests, including pagination and linked resources. Previously, URLs returned by Horizon in _links would bypass reverse proxies (#1318).

Deprecated

  • rpc.Server.requestAirdrop is deprecated in favor of rpc.Server.fundAddress (#1314).

Contributors

@ElliotFriend, @leighmcculloch, @Ryang-21, @wpalmeri made their first contribution in #1321, and @joaquinsoza made their first contribution in #1314

Full Changelog: v14.4.3...v14.5.0

v14.4.3

22 Dec 20:40
1a9a39e

Choose a tag to compare

v14.4.3

Fixed

  • Upgraded underlying @stellar/stellar-base library to include its fixes (release notes).

v14.4.2

05 Dec 21:59
4de8c70

Choose a tag to compare

v14.4.2

Fixed

  • Fixed package installation for Windows environments (#1306)

Full Changelog: v14.4.1...v14.4.2

v14.4.1

04 Dec 23:51
be48c9e

Choose a tag to compare

v14.4.1

Fixed

  • Set Api.GetEventsRequest.endLedger to be optional to align with RPC behavior (#1304)
  • Added back Typepoint and marked it deprecated in favor of Timepoint (#1303)

Contributors

Full Changelog: v14.4.0...v14.4.1

v14.4.0

02 Dec 18:32
a81ccfe

Choose a tag to compare

v14.4.0

Added

  • Introduced an rpc.Server.getAssetBalance() helper to fetch asset balances both for contracts and accounts (#1286).
  • rpc.Api.BalanceResponse now can include a revocable field in its balanceEntry for when trustlines are fetched (#1286).
  • Added Timepoint and Duration support to Spec (#1288)
  • Api.GetHealthResponse interface now includes latestLedger, ledgerRetentionWindow, and oldestLedger fields (#1297).
  • Added publicKey, signTransaction, and signAuthEntry as optional fields to contract.MethodOptions (#1293).

Fixed

  • Api.RawEventResponse.topics is now optional to reflect topicless events (#1292).
  • parseRawEvents correctly checks if Api.RawEventResponse.topics is undefined (#1292).
  • Remove WebAssembly usage in favor of manual wasm parsing (#1300).
  • Fixed URL contamination in Horizon.Server methods (#1296).

Contributors

Full Changelog: v14.3.3...v14.4.0

v14.3.3

17 Nov 22:07
59eb782

Choose a tag to compare

v14.3.3

Added

  • Spec.nativeToScVal supports parsing Muxed Address(#1274),

Contributors

Full Changelog: v14.3.2...v14.3.3

v14.3.2

10 Nov 22:01
1c1ccce

Choose a tag to compare

v14.3.2

Added

  • AssembledTransaction.sign() throws an error if publicKey was not provided when instantiated (#1269).

Fixed

  • The underlying stellar-base library has been upgraded, refer to its release notes for more updates (#1273).
  • A missing dependency definition may have caused issues in certain build environments (#1272).

Contributors

Full Changelog: v14.3.1...v14.3.2

v14.3.1

07 Nov 00:04
30dc07b

Choose a tag to compare

v14.3.1

Added

  • Added optional server: rpc.Server field to ClientOption for HttpClient reuse. (#1234).

Fixed

  • Replaced global HttpClient with per-instance clients in horizon.Server and rpc.Server to prevent cross-instance header contamination (#1234).

Contributors

Full Changelog: v14.3.0...v14.3.1

v14.3.0

20 Oct 20:58
064262c

Choose a tag to compare

Added

  • Spec.scValToNative now supports parsing Options (#1228).
  • Added getLedgers method to rpc.Server for retreiving ledger data. (#1231).

Fixed

  • Spec.scValToNative returns null for voids or Optionals instead of the ambiguous undefined (#1228).
  • The getEvents API now requires either a start and end ledger or a cursor to be provided (#1231).

Deprecated

  • GetEventsRequest interface moved from server.ts to api.ts (#1231).

Contributors

@ElliotFriend @Ryang-21

Full Changelog: v14.2.0...v14.3.0

v14.2.0

19 Sep 18:55
0d5a136

Choose a tag to compare

v14.2.0

Added

  • rpc.Server now includes getAccountEntry, getTrustline, and getClaimableBalance methods to facilitate retrieving those entries without manually constructing the ledger keys (#1218, #1221).

Fixed

  • The getTransactions API no longer requires startLedger when providing cursor because they are mutually exclusive (#1192).
  • Updated @stellar/stellar-base to latest patch (see its release notes, #1221).

New Contributors

@kostekIV, @janewang, @xiv, and @Ryang-21 made their first contributions!

Full Changelog: v14.1.1...v14.2.0