From 9867b21c93cdf4d108dc2d58e79bbc737456edc0 Mon Sep 17 00:00:00 2001 From: Bartek Nowotarski Date: Thu, 28 Jun 2018 12:46:45 +0200 Subject: [PATCH] 0.9.0 --- CHANGELOG.md | 37 +++++++++++++++++++++++++++++++++++++ after_deploy.sh | 1 - package.json | 4 ++-- 3 files changed, 39 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dea48e929..6f6831d3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,43 @@ As this project is pre 1.0, breaking changes may happen for minor version bumps. A breaking change will get clearly notified in this log. +## 0.9.0 + +### Breaking changes + +* `stellar-sdk` is now using native `Promise` instead of `bluebird`. The `catch` function is different. Instead of: + + ```js + .catch(StellarSdk.NotFoundError, function (err) { /* ... */ }) + ``` + please use the following snippet: + ```js + .catch(function (err) { + if (err instanceof StellarSdk.NotFoundError) { /* ... */ } + }) + ``` + +* We no longer support IE 11, Firefox < 42, Chrome < 49. + +### Changes + +* Fixed `_ is undefined` bug. +* Browser build is around 130 KB smaller! + +## 0.8.2 + +* Added `timeout` option to `StellarTomlResolver` and `FederationServer` calls (https://github.com/stellar/js-stellar-sdk/issues/158). +* Fixed adding random value to URLs multiple times (https://github.com/stellar/js-stellar-sdk/issues/169). +* Fixed jsdoc for classes that extend `CallBuilder`. +* Updated dependencies. +* Added `yarn.lock` file to repository. + +## 0.8.1 + +* Add an allowed trade aggregation resolution of one minute +* Various bug fixes +* Improved documentation + ## 0.8.0 * Modify `/trades` endpoint to reflect changes in horizon. diff --git a/after_deploy.sh b/after_deploy.sh index 318f3fa17..03d6e726d 100755 --- a/after_deploy.sh +++ b/after_deploy.sh @@ -1,4 +1,3 @@ -npm install jsdoc git clone -b gh-pages "https://stellar-jenkins@github.com/stellar/js-stellar-sdk.git" jsdoc if [ ! -d "jsdoc" ]; then diff --git a/package.json b/package.json index db694073d..37030d9c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stellar-sdk", - "version": "0.8.2", + "version": "0.9.0", "description": "stellar-sdk is a library for working with the Stellar Horizon server.", "main": "lib/index.js", "scripts": { @@ -18,7 +18,7 @@ "url": "https://github.com/stellar/js-stellar-sdk.git" }, "engines": { - "node": ">=0.6" + "node": ">=6" }, "author": "Stellar Development Foundation ", "license": "Apache-2.0",