diff --git a/.github/workflows/npm_publish.yml b/.github/workflows/npm_publish.yml index e90ab61d..06c04b2e 100644 --- a/.github/workflows/npm_publish.yml +++ b/.github/workflows/npm_publish.yml @@ -24,9 +24,9 @@ jobs: - name: Publish npm package to both places run: | - yarn publish --access public + yarn publish --access public --tag protocol-22-beta sed -i -e 's#"@stellar/stellar-base"#"stellar-base"#' package.json - yarn publish + yarn publish --tag protocol-22-beta env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 8318bf49..94074114 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ ## Unreleased +## [`v13.0.0-beta.1`](https://github.com/stellar/js-stellar-base/compare/v12.1.1...v13.0.0-beta.1) + +**This is the first release that supports Protocol 22.** While the network has not upgraded yet, you can start integrating the new features into your codebase if you want a head start. Keep in mind that while the binary XDR is backwards-compatible, the naming and layout of structures is not. In other words, this build will continue to work on Protocol 21, but you may have to update code that references XDR directly. + +### Breaking Changes +* XDR definitions have been upgraded to Protocol 22 ([#777](https://github.com/stellar/js-stellar-base/pull/777)). + +### Added +* You can create contracts with constructors a new, optional parameter of `Operation.createCustomContract`, `constructorArgs: xdr.ScVal[]` ([#770](https://github.com/stellar/js-stellar-base/pull/770)). + + ## [`v12.1.1`](https://github.com/stellar/js-stellar-base/compare/v12.1.0...v12.1.1) ### Fixed diff --git a/package.json b/package.json index 6df089dd..46fde34f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stellar/stellar-base", - "version": "12.1.1", + "version": "13.0.0-beta.1", "description": "Low-level support library for the Stellar network.", "main": "./lib/index.js", "browser": {