Releases: stellar/js-stellar-base
Releases · stellar/js-stellar-base
v14.0.4
v14.0.4
Fixed
- Fixes a bug in
Addresswhich prevented it from decoding claimable balances (#825). - Fixes bugs in
Soroban.formatTokenAmountthat would cause a lack of leading or trailing zeroes at the decimal point in some cases (#821, #823).
Contributors
- @JakeUrban made their first contribution in #825
- @Shaptic
Full Changelog: v14.0.3...v14.0.4
v14.0.3
v14.0.2
v14.0.1
v14.0.0
v14.0.0: Protocol 23
Breaking Changes
- This package now requires >= Node 20.
- XDR definitions have been updated to align with Protocol 23 (#800).
- Removed the custom
Buffer.subarraypolyfill introduced in v11.0.1 as a workaround for React Native's Hermes engine. Please use@exodus/patch-broken-hermes-typed-arraysas an alternative, if needed (#795).
Added
- The
sodium-nativeandtweetnacldependencies have been replaced with@noble/curves(#802). - Support for claimable balances and liquidity pools in
StrKey(#799). - Support for claimable balances, liquidity pools, and muxed accounts in
Address(#801). - Added the ability for
nativeToScValto convert arrays with differing types to smart contract values (#803). For example,
nativeToScVal([1, "x", "y"], { type: [ "i128", "symbol" ] })returns a Vec<i128, symbol, string>.
Fixed
- Fix browser compatibility with proper module resolution and UMD configuration (#798).
- Remove
MuxedAccount.parseBaseAddressfrom TypeScript definitions (#797).
Contributors
Full Changelog: v13.1.0...v14.0.0
v14.0.0-rc.2: Protocol 23 Release Candidate 2
v14.0.0-rc.2: Protocol 23, Release Candidate 2
Please refer to v14.0.0-rc.1 for more release notes in this major version update.
Fixed
Full Changelog: v13.1.0...v14.0.0-rc.2
v14.0.0-rc.1: Protocol 23 Release Candidate
v14.0.0-rc.1: Protocol 23, Release Candidate 1
Breaking Changes
- This package now requires >= Node 20.
- XDR definitions have been updated to align with Protocol 23 (#800).
- Removed the custom
Buffer.subarraypolyfill introduced in #733 in v11.0.1 as a workaround for React Native's Hermes engine. Please use@exodus/patch-broken-hermes-typed-arraysas an alternative, if needed (#795).
Added
- The
sodium-nativeandtweetnacldependencies have been replaced with@noble/curves(#802). - Support for claimable balances and liquidity pools in
StrKey(#799). - Support for claimable balances, liquidity pools, and muxed accounts in
Address(#801). - Added the ability for
nativeToScValto convert arrays with differing types to smart contract values, e.g.,nativeToScVal([1, "x", "y"], { type: [ "i128", "symbol" ]})will give you aVec<i128, symbol, string>(#803).
Fixed
- Fix browser compatibility with proper module resolution and UMD configuration (#798).
- Remove
MuxedAccount.parseBaseAddressfrom TypeScript definitions (#797).
Full Changelog: v13.1.0...v14.0.0-rc.1
v13.1.0
v13.1.0
Added
nativeToScValnow supports encodingKeypairs as addresses (#794).- Within
authorizeEntry, theSigningCallbackcallback function should now return an object containing both the signature and the identity of the signer. In multi-signature situations, it isn't necessarily the case that the address within the authorization entry is the one that actually signs that entry. Thus, the callback now takes the following form, where the originalPromise<BufferLike>option is preserved for backwards compatibility and should be considered deprecated (#783):
export type SigningCallback = (
preimage: xdr.HashIdPreimage
) => Promise<
BufferLike |
{ signature: BufferLike, publicKey: string }
>;Fixed
scValToNativewill decode addresses more efficiently and reliably (#794).
v13.0.1
v13.0.0
v13.0.0: Protocol 22.
This version is unchanged from beta.1, whose changelog is replicated below.
Breaking Changes
- XDR definitions have been upgraded to Protocol 22 (#777).
Added
- You can create contracts with constructors a new, optional parameter of
Operation.createCustomContract,constructorArgs: xdr.ScVal[](#770).