Skip to content

Commit

Permalink
Release v1.0.1 (#175)
Browse files Browse the repository at this point in the history
* Fixup npm publication script to properly deprecate the package
* Add changelog entry
  • Loading branch information
Shaptic committed Jan 3, 2024
1 parent cbf1542 commit 3791309
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Publish npm package
run: |
yarn publish
npm deprecate soroban-client@latest \
"⚠️ This package is now deprecated: transition to `stellar-sdk@beta`, instead! 🚚 All future updates and bug fixes will happen there. Please refer to the migration guide for details on porting your codebase: https://github.com/stellar/js-soroban-client/tree/main/docs/migration.md"
npm deprecate soroban-client@"<= 1.0.1" \
"⚠️ This package is now deprecated: transition to @stellar/stellar-sdk@latest, instead! 🚚 All future updates and bug fixes will happen there. Please refer to the migration guide for details on porting your codebase: https://github.com/stellar/js-soroban-client/tree/main/docs/migration.md"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
**This repository has been deprecated** in favor of the [`stellar-sdk`](https://github.com/stellar/js-stellar-sdk) package. Please read the [migration guide](https://gist.github.com/Shaptic/5ce4f16d9cce7118f391fbde398c2f30) for how to upgrade to that package. Future changes will only be made there.


## v1.0.1

### Fixed
* The package is now correctly marked in `npm` as deprecated.


## v1.0.0

### Breaking Changes
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": "soroban-client",
"version": "1.0.0",
"version": "1.0.1",
"description": "A library for working with Stellar's Soroban RPC servers.",
"author": "Stellar Development Foundation <[email protected]>",
"homepage": "https://github.com/stellar/js-soroban-client",
Expand All @@ -17,7 +17,7 @@
"soroban"
],
"main": "./lib/index.js",
"browser": "./dist/soroban-client.js",
"browser": "./dist/soroban-client.min.js",
"types": "./lib/index.d.ts",
"files": [
"/types",
Expand Down

0 comments on commit 3791309

Please sign in to comment.