Skip to content

Releases: stellar/js-stellar-base

v9.0.0-beta.2

08 May 22:48
3fed7d3
Compare
Choose a tag to compare
v9.0.0-beta.2 Pre-release
Pre-release

v9.0.0-beta.2

Updates

  • Upgrades the js-xdr dependency (major performance improvements, see [email protected]) and other dependencies to their latest versions (#592).

v9.0.0-beta.1

21 Apr 20:15
c7bcd02
Compare
Choose a tag to compare
v9.0.0-beta.1 Pre-release
Pre-release

Fix

  • Add fully-qualified Operation type to XDR type definitions (#591).

v9.0.0-beta.0

20 Apr 20:27
c29784d
Compare
Choose a tag to compare
v9.0.0-beta.0 Pre-release
Pre-release

This version is marked by a major version bump because of the significant upgrades to underlying dependencies. While there should be no noticeable API changes from a downstream perspective, there may be breaking changes in the way that this library is bundled.

Fixes

  • Build system has been overhauled to support Webpack 5 (#585).
  • Current and vNext XDR updated to latest versions (#587).

Full diff here.

v8.2.2

13 Dec 21:55
f508a02
Compare
Choose a tag to compare

Fix

  • Enable signing in service workers using FastSigning (#567).

v8.2.1

04 Oct 18:48
0e26959
Compare
Choose a tag to compare

Fix

  • Turn all XLM-like (i.e. casing agnostic) asset codes into the native asset with code XLM (#546).

v8.2.0

07 Sep 17:56
437e823
Compare
Choose a tag to compare

v8.2.0

Add

  • Operation.setOptions now supports the new CAP-40 signed payload signer (ed25519SignedPayload) thanks to @orbitlens (#542).

v8.1.0

18 Aug 18:18
832824d
Compare
Choose a tag to compare

Add

  • TransactionBase.addDecoratedSignature is a clearer way to add signatures directly to a built transaction without fiddling with the underlying signatures array (#535).

  • Update the XDR definitions (and the way in which they're generated) to contain both the latest current XDR (which introduces CAP-42) and the "v-next" XDR (which contains XDR related to Soroban and should be considered unstable) (#537).

Fix

  • Correctly set minAccountSequence in TransactionBuilder for large values (#539, thank you @overcat!).

v8.0.1

17 May 21:18
8df813f
Compare
Choose a tag to compare

v8.0.1

Fix

  • Correctly predict claimable balance IDs with large sequence numbers (#530, thank you @overcat!).

v8.0.0

18 Apr 18:13
98feac6
Compare
Choose a tag to compare

This is a promotion without changes from v8.0.0-beta.0. Its CHANGELOG is replicated below.

This release adds support for Protocol 19.

It includes CAP-21 (new transaction preconditions) and CAP-40 (signed payload signers).

This is considered a beta release until the XDR for the Stellar protocol stabilizes and is officially released.

Breaking

  • As of this release, the minimum supported version of NodeJS is 14.x.
  • Two XDR types have been renamed:
    • xdr.OperationId is now xdr.HashIdPreimage
    • xdr.OperationIdId is now xdr.HashIdPreimageOperationId

Add

  • Support for converting signed payloads (CAP-40) to and from their StrKey (P...) representation (#511):

    • Keypair.signPayloadDecorated(data)
    • StrKey.encodeSignedPayload(buf)
    • StrKey.decodeSignedPayload(str)
    • StrKey.isValidSignedPayload(str)
  • Support for creating transactions with the new preconditions (CAP-21) via TransactionBuilder (#513).

  • A way to convert between addresses (like G... and P..., i.e. the StrKey class) and their respective signer keys (i.e. xdr.SignerKeys), particularly for use in the new transaction preconditions (#520):

    • SignerKey.decodeAddress(address)
    • SignerKey.encodeSignerKey(address)
    • TransactionBuilder.setTimebounds(min, max)
    • TransactionBuilder.setLedgerbounds(min, max)
    • TransactionBuilder.setMinAccountSequence(seq)
    • TransactionBuilder.setMinAccountSequenceAge(age)
    • TransactionBuilder.setMinAccountSequenceLedgerGap(gap)
    • TransactionBuilder.setExtraSigners([signers])

Fix

  • Correct a TypeScript definition on the RevokeLiquidityPoolSponsorship operation (#522).

  • Resolves a bug that incorrectly sorted Assets with mixed-case asset codes (it preferred lowercase codes incorrectly) (#516).

  • Update developer dependencies:

v8.0.0-beta.0

12 Apr 22:38
533dac1
Compare
Choose a tag to compare
v8.0.0-beta.0 Pre-release
Pre-release

This release adds support for Protocol 19.

It includes CAP-21 (new transaction preconditions) and CAP-40 (signed payload signers).

This is considered a beta release until the XDR for the Stellar protocol stabilizes and is officially released.

Breaking

  • As of this release, the minimum supported version of NodeJS is 14.x.
  • Two XDR types have been renamed:
    • xdr.OperationId is now xdr.HashIdPreimage
    • xdr.OperationIdId is now xdr.HashIdPreimageOperationId

Add

  • Support for converting signed payloads (CAP-40) to and from their StrKey (P...) representation (#511):

    • Keypair.signPayloadDecorated(data)
    • StrKey.encodeSignedPayload(buf)
    • StrKey.decodeSignedPayload(str)
    • StrKey.isValidSignedPayload(str)
  • Support for creating transactions with the new preconditions (CAP-21) via TransactionBuilder (#513).

  • A way to convert between addresses (like G... and P..., i.e. the StrKey class) and their respective signer keys (i.e. xdr.SignerKeys), particularly for use in the new transaction preconditions (#520):

    • SignerKey.decodeAddress(address)
    • SignerKey.encodeSignerKey(address)
    • TransactionBuilder.setTimebounds(min, max)
    • TransactionBuilder.setLedgerbounds(min, max)
    • TransactionBuilder.setMinAccountSequence(seq)
    • TransactionBuilder.setMinAccountSequenceAge(age)
    • TransactionBuilder.setMinAccountSequenceLedgerGap(gap)
    • TransactionBuilder.setExtraSigners([signers])

Fix

  • Correct a TypeScript definition on the RevokeLiquidityPoolSponsorship operation (#522).

  • Resolves a bug that incorrectly sorted Assets with mixed-case asset codes (it preferred lowercase codes incorrectly) (#516).

  • Update developer dependencies: