From 413fba51aeacf7dc73887831d9cc6855c448bd6d Mon Sep 17 00:00:00 2001 From: Ondra Chaloupka Date: Fri, 14 Jun 2024 07:02:29 +0200 Subject: [PATCH] [sdk&cli] bump version @1.5.0 --- CHANGELOG.md | 19 +++++++++++++++++++ packages/validator-bonds-cli/README.md | 13 +++++++++---- packages/validator-bonds-cli/package.json | 4 ++-- packages/validator-bonds-cli/src/index.ts | 2 +- packages/validator-bonds-sdk/package.json | 2 +- settlement-pipelines/package.json | 4 ++-- 6 files changed, 34 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 207b71c2..2da24ace 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,25 @@ All notable changes to this project will be documented in this file. See [standa --env "GIT_REV=`git rev-parse --short HEAD`" --env 'GIT_REV_NAME=v1.5.0' vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4 ``` +## TS CLI&SDK [1.5.0](https://github.com/marinade-finance/validator-bonds/compare/v1.3.6...v1.5.0) (2024-06-14) + +Versioning skips one major version from 1.4.0 to align with the contract update version. + +### Updates + +* `configure-config` adds option `--min-bond-max-stake-wanted`, a minimum value for max-stake-wanted field (in lamports) in `Bond` account +* `configure-bond` adds option `--max-stake-wanted`, the maximum stake amount (in SOLs) to be delegated to them +* updates of `show-bond` to provide info on `cpmpe` and `max-stake-wanted` field, listing content of `vote account` +* default CLI error reporting does not print whole exception, to get it printed use `--debug` +* CLI show information about latest available version in the NPM registry when an error occurs + +## TS CLI&SDK [1.3.6](https://github.com/marinade-finance/validator-bonds/compare/v1.3.5...v1.3.6) (2024-05-13) + +### Updates + +* `show-bond` accepts `withdraw request` as address argument +* `init-withdraw-request` accepts parameter `"ALL"` for `--amount` + ## TS CLI&SDK [1.3.5](https://github.com/marinade-finance/validator-bonds/compare/v1.3.3...v1.3.5) (2024-05-06) ### Fixes diff --git a/packages/validator-bonds-cli/README.md b/packages/validator-bonds-cli/README.md index bcf9c8e3..941cbfbf 100644 --- a/packages/validator-bonds-cli/README.md +++ b/packages/validator-bonds-cli/README.md @@ -23,7 +23,7 @@ added 165 packages in 35s # to verify installed version validator-bonds --version -1.3.6 +1.5.0 ``` To get info on available commands @@ -443,7 +443,7 @@ To check where NPM packages are and will be installed: # Get npm global installation folder npm list -g > /usr/lib -> +-- @marinade.finance/validator-bonds-cli@1.3.6 +> +-- @marinade.finance/validator-bonds-cli@1.5.0 > ... # In this case, the `bin` folder is located at /usr/bin ``` @@ -469,7 +469,7 @@ With this configuration, NPM packages will be installed under the `prefix` direc npm i -g @marinade.finance/validator-bonds-cli@latest npm list -g > ~/.local/share/npm/lib -> `-- @marinade.finance/validator-bonds-cli@1.3.6 +> `-- @marinade.finance/validator-bonds-cli@1.5.0 ``` To execute the installed packages from any location, @@ -541,6 +541,11 @@ Commands: help [command] display help for command ``` +## Troubleshooting + +* Verify using the latest available version: https://www.npmjs.com/package/@marinade.finance/validator-bonds-cli +* Try running with `--verbose` to get more details on the CLI run + ## FAQ and issues * **npm WARN EBADENGINE Unsupported engine {** @@ -615,7 +620,7 @@ Commands: # Get npm global installation folder npm list -g > ~/.local/share/npm/lib - > `-- @marinade.finance/validator-bonds-cli@1.3.6 + > `-- @marinade.finance/validator-bonds-cli@1.5.0 # In this case, the 'bin' folder is located at ~/.local/share/npm/bin # Get validator-bonds binary folder diff --git a/packages/validator-bonds-cli/package.json b/packages/validator-bonds-cli/package.json index 5788e3f6..001818cf 100644 --- a/packages/validator-bonds-cli/package.json +++ b/packages/validator-bonds-cli/package.json @@ -1,6 +1,6 @@ { "name": "@marinade.finance/validator-bonds-cli", - "version": "1.3.6", + "version": "1.5.0", "description": "CLI of the validator bonds contract", "repository": { "type": "git", @@ -24,7 +24,7 @@ ], "main": "src/index", "dependencies": { - "@marinade.finance/validator-bonds-sdk": "workspace:^1.3.6", + "@marinade.finance/validator-bonds-sdk": "^1.5.0", "@coral-xyz/anchor": "^0.29.0", "@solana/web3.js": "^1.93.0", "@marinade.finance/ledger-utils": "^3.0.1", diff --git a/packages/validator-bonds-cli/src/index.ts b/packages/validator-bonds-cli/src/index.ts index e6dfe677..30c60d59 100644 --- a/packages/validator-bonds-cli/src/index.ts +++ b/packages/validator-bonds-cli/src/index.ts @@ -19,7 +19,7 @@ export const logger: Logger = configureLogger() const program = new Command() program - .version('1.3.6') + .version('1.5.0') .allowExcessArguments(false) .configureHelp({ showGlobalOptions: true }) .option( diff --git a/packages/validator-bonds-sdk/package.json b/packages/validator-bonds-sdk/package.json index 7827a6da..39173883 100644 --- a/packages/validator-bonds-sdk/package.json +++ b/packages/validator-bonds-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@marinade.finance/validator-bonds-sdk", - "version": "1.3.6", + "version": "1.5.0", "description": "SDK of the validator bonds contract", "repository": { "type": "git", diff --git a/settlement-pipelines/package.json b/settlement-pipelines/package.json index 54fd42f3..51c1284d 100644 --- a/settlement-pipelines/package.json +++ b/settlement-pipelines/package.json @@ -1,6 +1,6 @@ { "name": "@marinade.finance/settlement-pipelines", - "version": "1.3.6", + "version": "1.5.0", "description": "Tests for settlement pipelines CLI", "repository": { "type": "git", @@ -17,7 +17,7 @@ "author": "Marinade.Finance", "license": "ISC", "devDependencies": { - "@marinade.finance/validator-bonds-sdk": "workspace: ^1.3.6", + "@marinade.finance/validator-bonds-sdk": "workspace: ^1.5.0", "@coral-xyz/anchor": "^0.29.0", "@solana/web3.js": "^1.93.0", "@marinade.finance/ledger-utils": "^3.0.1",