Releases: stellar/js-stellar-base
v9.0.0-beta.2
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
Fix
- Add fully-qualified
Operation
type to XDR type definitions (#591).
v9.0.0-beta.0
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
v8.2.2
v8.2.1
v8.2.0
v8.1.0
Add
-
TransactionBase.addDecoratedSignature
is a clearer way to add signatures directly to a built transaction without fiddling with the underlyingsignatures
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
v8.0.1
v8.0.0
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 nowxdr.HashIdPreimage
xdr.OperationIdId
is nowxdr.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...
andP...
, i.e. theStrKey
class) and their respective signer keys (i.e.xdr.SignerKey
s), 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
v8.0.0-beta.0
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 nowxdr.HashIdPreimage
xdr.OperationIdId
is nowxdr.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...
andP...
, i.e. theStrKey
class) and their respective signer keys (i.e.xdr.SignerKey
s), 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])