Skip to content

Releases: XRPLF/xrpl.js

xrpl@4.0.0

16 Jul 18:27
275c957
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/@xrplf/isomorphic@1.0.1...xrpl@4.0.0

xrpl@1.0.4-mpt-beta

09 Jul 14:17
97c70ff
Compare
Choose a tag to compare
xrpl@1.0.4-mpt-beta Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/@xrplf/isomorphic@1.0.1...xrpl@1.0.4-mpt-beta

ripple-binary-codec@1.0.4-mpt-beta

09 Jul 14:18
97c70ff
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/@xrplf/isomorphic@1.0.1...ripple-binary-codec@1.0.4-mpt-beta

xrpl@3.1.0

03 Jun 20:43
92849e5
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/xrpl@3.0.0...xrpl@3.1.0

ripple-binary-codec@2.1.0

03 Jun 20:40
92849e5
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/xrpl@3.0.0...ripple-binary-codec@2.1.0

@xrplf/isomorphic@1.0.1

03 Jun 20:39
92849e5
Compare
Choose a tag to compare

What's Changed

  • fix: throw error if hexToBytes or hexToString is provided a string that is not in hex by @mvadari in #2657

New Contributors

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/xrpl@3.0.0...@xrplf/isomorphic@1.0.1

xrpl@1.0.1-mpt-beta

22 Apr 20:07
58f6415
Compare
Choose a tag to compare

ripple-binary-codec@1.0.1-mpt-beta

22 Apr 20:08
58f6415
Compare
Choose a tag to compare

xrpl@3.0.0

01 Feb 22:06
a090842
Compare
Choose a tag to compare

What's Changed

Migration Guide

BREAKING CHANGES

  • Bump typescript to 5.x
  • Remove Node 14 support
  • Remove crypto polyfills, create-hash, elliptic, hash.js, and their many dependencies in favor of @noble/hashes and @nobel/curves
  • Remove bip32 and bip39 in favor of @scure/bip32 and @scure/bip39
  • Remove assert dependency. If you were catching AssertionError you need to change to Error
  • Configuring a proxy:
    • Instead of passing various parameters on the ConnectionsOptions you know specify the agent parameter. This object can use be created by libraries such as https-proxy-agent or any that implements the http.Agent.
    • This was changed to both support the latest https-proxy-agent and to remove the need to include the package in bundlers. Tests will still be done using https-proxy-agent and only tested in a node environment which was the only way it was previously supported anyway
  • Remove BroadcastClient which was deprecated
  • Uses @xrplf/secret-numbers instead of xrpl-secret-numbers
  • Improve key algorithm detection. It will now throw Errors with helpful messages
  • Move authorizeChannel from wallet/signer to wallet/authorizeChannel to solve a circular dependency issue.
  • When using a bundler you must remove the mapping of ws to WSWrapper. ex. ws: 'xrpl/dist/npm/client/WSWrapper'. See [../UNIQUE_STEPS](Unique Steps) for the new, much smaller, configs.
  • Transaction type has been redefined to include all transactions and SubmittableTransaction was created to define the old value. The following functions which only handle transactions to be submitted now use SubmittableTransaction:
    • Client.autofill
    • Client.submit
    • Client.submitAndWait
    • Client.prepareTransaction
    • getSignedTx
    • isAccountDelete
  • dropsToXRP and Client.getXrpBalance now return a number instead of a string
  • Buffer has been replaced with UInt8Array for both params and return values. Buffer may continue to work with params since they extend UInt8Arrays.

Bundling Changes

Bundler configurations are much more simplified. See [../UNIQUE_STEPS](Unique Steps) for the new, much smaller, configs.

  • removed the following polyfills:
    • buffer
    • assert
    • crypto-browserify
    • https-browserify
    • os-browserify
    • process
    • stream-browserify
    • stream-http
    • url
    • util - previously added automatically by webpack
    • events - previously added automatically by webpack but manual for vite**
  • Removed mappings for:
    • ws to WsWrapper
    • Excluding https-proxy-agent

Non-Breaking Changes

  • Deprecated:
    • convertHexToString in favor of @xrplf/isomorphic/utils's hexToString
    • convertStringToHex in favor of @xrplf/isomorphic/utils's stringToHex

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/xrpl@2.14.1...xrpl@3.0.0

xrpl@2.14.1

01 Feb 19:05
f7d0cfb
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump ws from 8.14.2 to 8.16.0 by @dependabot in #2610
  • fix AMM ledger object's LPTokenBalance type to IssuedCurrencyAmount by @khancode in #2621

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/ripple-binary-codec@1.11.0...xrpl@2.14.1