Skip to content

Releases: stellar/js-stellar-sdk

v0.14.0

25 Feb 18:16
be76087
Compare
Choose a tag to compare
  • Updated some out-of-date dependencies
  • Update documentation to explicitly set fees
  • Add Server.prototype.fetchBaseFee, which devs can use to fetch the current
    base fee; we plan to add more functions to help suggest fees in future
    releases
  • Add includeFailed to OperationCallBuilder for including failed
    transactions in calls
  • Add operationFeeStats to Server for the new fee stats endpoint

v0.13.0

04 Feb 16:32
a95dbe6
Compare
Choose a tag to compare
  • Add prettier and eslint (replacing jshint)
  • Add pre-commit hook for running prettier
  • Add Airbnb's eslint rules
  • Fix code with linter issues
  • Fix jsdoc script
  • Travis changes: bump Node version, and add yarn caching
  • Fix bug with validating offsets in trade aggregation

v0.12.0

24 Jan 14:37
Compare
Choose a tag to compare
  • Update stellar-base to 0.10.0
  • Breaking change: Added TransactionBuilder.setTimeout method that sets timebounds.max_time on a transaction. Because of the distributed nature of the Stellar network it is possible that the status of your transaction will be determined after a long time if the network is highly congested. If you want to be sure to receive the status of the transaction within a given period you should set the TimeBounds with maxTime on the transaction (this is what setTimeout does internally; if there's minTime set but no maxTime it will be added). Call to TransactionBuilder.setTimeout is required if Transaction does not have max_time set. If you don't want to set timeout, use TimeoutInfinite. In general you should set TimeoutInfinite only in smart contracts. Please check TransactionBuilder.setTimeout docs for more information.
  • Breaking change: Add offset parameter to TradeAggregationCallBuilder to reflect new changes to the endpoint in horizon-0.15.0
  • Fixed decoding empty homeDomain.

v0.11.0

17 Sep 18:51
Compare
Choose a tag to compare
  • Update js-xdr (by updating stellar-base) to support unmarshaling non-utf8 strings.
  • String fields returned by Operation.fromXDRObject() are of type Buffer now (except SetOptions.home_domain and ManageData.name - both required to be ASCII by stellar-core).

v0.10.3

16 Aug 19:16
Compare
Choose a tag to compare
  • Update stellar-base and xdr files.

v0.10.2

08 Aug 18:50
Compare
Choose a tag to compare
  • Update stellar-base (and js-xdr).

v0.10.1

01 Aug 08:52
Compare
Choose a tag to compare
  • Update stellar-base to 0.8.1.

v0.10.0

31 Jul 18:03
Compare
Choose a tag to compare
  • Update stellar-base to 0.8.0 with bump_sequence support.

v0.9.2

19 Jul 13:45
Compare
Choose a tag to compare
  • Removed .babelrc file from the NPM package.

v0.9.1

28 Jun 11:42
Compare
Choose a tag to compare

Breaking changes

  • stellar-sdk is now using native Promise instead of bluebird. The catch function is different. Instead of:

    .catch(StellarSdk.NotFoundError, function (err) { /* ... */ })

    please use the following snippet:

    .catch(function (err) {
      if (err instanceof StellarSdk.NotFoundError) { /* ... */ }
    })
  • We no longer support IE 11, Firefox < 42, Chrome < 49.

Changes

  • Fixed _ is undefined bug.
  • Minified browser build is around 130 KB smaller! 🎊