Skip to content

Commit

Permalink
0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekn committed Jun 28, 2018
1 parent 72cc780 commit 9867b21
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion after_deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
npm install jsdoc
git clone -b gh-pages "https://[email protected]/stellar/js-stellar-sdk.git" jsdoc

if [ ! -d "jsdoc" ]; then
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -18,7 +18,7 @@
"url": "https://github.com/stellar/js-stellar-sdk.git"
},
"engines": {
"node": ">=0.6"
"node": ">=6"
},
"author": "Stellar Development Foundation <[email protected]>",
"license": "Apache-2.0",
Expand Down

0 comments on commit 9867b21

Please sign in to comment.