Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare v11.0.0-beta.0 release. #818

Merged
merged 4 commits into from
Apr 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
run: yarn preversion

- name: Publish npm package
run: yarn publish
run: yarn publish --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
21 changes: 18 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ A breaking change will get clearly marked in this log.
## Unreleased


## [v11.0.0-beta.0](https://github.com/stellar/js-stellar-sdk/compare/v10.4.1...v11.0.0-beta.0)

This version is marked by a major version bump because of the significant upgrades to underlying dependencies. While there should be no noticeable API changes from a downstream perspective, there may be breaking changes in the way that this library is bundled.

### Update

- Build system has been overhauled to support Webpack 5 ([#814](https://github.com/stellar/js-stellar-sdk/pull/814)).

- `stellar-base` has been updated to its corresponding overhaul ([#818](https://github.com/stellar/js-stellar-sdk/pull/818)).

### Fix

- Missing fields have been added to certain API responses ([#801](https://github.com/stellar/js-stellar-sdk/pull/801) and [#797](https://github.com/stellar/js-stellar-sdk/pull/797)).


## [v10.4.1](https://github.com/stellar/js-stellar-sdk/compare/v10.4.0...v10.4.1)

### Update
Expand Down Expand Up @@ -105,7 +120,7 @@ This is a promotion from the beta version without changes, besides upgrading the
These deprecated fields will be removed in the next major version. It's unlikely that this breaking change should affect anyone, as these fields have likely been missing/invalid for some time.

### Update
- Update a number of dependencies that needed various security updates:
- Update a number of dependencies that needed various security updates:

* several dependencies bumped their patch version ([#736](https://github.com/stellar/js-stellar-sdk/pull/736), [#684](https://github.com/stellar/js-stellar-sdk/pull/684), [#672](https://github.com/stellar/js-stellar-sdk/pull/672), [#666](https://github.com/stellar/js-stellar-sdk/pull/666), [#644](https://github.com/stellar/js-stellar-sdk/pull/644), [#622](https://github.com/stellar/js-stellar-sdk/pull/622))
* axios has been bumped to 0.25.0 without causing breaking changes ([#742](https://github.com/stellar/js-stellar-sdk/pull/742))
Expand Down Expand Up @@ -254,10 +269,10 @@ This beta release adds **support for Automated Market Makers**. For details, you
* `liquidity_pool_id` is a new optional field

- The trustline effects (`TrustlineCreated`, `TrustlineUpdated`, `TrustlineRevoked`) have changed ([#690](https://github.com/stellar/js-stellar-sdk/pull/690)):
* the asset type can now be `liquidity_pool_shares`
* the asset type can now be `liquidity_pool_shares`
* they can optionally include a `liquidity_pool_id`

- Trustline sponsorship effects (`TrustlineSponsorshipCreated`, `TrustlineSponsorshipUpdated`, `TrustlineSponsorshipRemoved`) have been updated ([#690](https://github.com/stellar/js-stellar-sdk/pull/690)):
- Trustline sponsorship effects (`TrustlineSponsorshipCreated`, `TrustlineSponsorshipUpdated`, `TrustlineSponsorshipRemoved`) have been updated ([#690](https://github.com/stellar/js-stellar-sdk/pull/690)):
* the `asset` field is now optional, and is replaced by
* the `liquidity_pool_id` field for liquidity pools

Expand Down
2 changes: 1 addition & 1 deletion config/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const webpackConfig = require('./webpack.config.browser.js');

delete webpackConfig.output;
webpackConfig.entry = {}; // karma fills these in
delete webpackConfig.entry; // karma fills these in
webpackConfig.plugins.shift(); // drop eslinter plugin

module.exports = function (config) {
Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stellar-sdk",
"version": "10.4.1",
"description": "stellar-sdk is a library for working with the Stellar Horizon server.",
"version": "11.0.0-beta.0",
"description": "A library for working with the Stellar Horizon server.",
"keywords": [
"stellar"
],
Expand All @@ -17,6 +17,7 @@
"author": "Stellar Development Foundation <hello@stellar.org>",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"browser": "./dist/stellar-sdk.js",
"files": [
"/types",
"/lib",
Expand Down Expand Up @@ -61,16 +62,16 @@
"exclude": [
"test/test-browser.js"
],
"recursive": true,
"sort": true,
"recursive": true,
"timeout": 60000
},
"nyc": {
"instrument": false,
"sourceMap": false,
"reporter": [
"text-summary"
],
"sourceMap": false
]
},
"devDependencies": {
"@babel/cli": "^7.21.0",
Expand Down Expand Up @@ -133,14 +134,14 @@
"@types/node": "^18.15.11",
"@types/randombytes": "^2.0.0",
"@types/urijs": "^1.19.6",
"axios": "1.3.5",
"axios": "1.3.6",
"bignumber.js": "^9.1.1",
"detect-node": "^2.0.4",
"es6-promise": "^4.2.4",
"eventsource": "^2.0.2",
"lodash": "^4.17.21",
"randombytes": "^2.1.0",
"stellar-base": "git+https://github.com/stellar/js-stellar-base#777e85c",
"stellar-base": "v9.0.0-beta.1",
"toml": "^3.0.0",
"typescript": "^5.0.4",
"urijs": "^1.19.1",
Expand Down
Loading