Skip to content

Commit

Permalink
[sdk&cli] bump version @1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaloup committed Jun 14, 2024
1 parent 7094198 commit 413fba5
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 10 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 9 additions & 4 deletions packages/validator-bonds-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
```
Expand All @@ -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,
Expand Down Expand Up @@ -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 {**
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/validator-bonds-cli/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/validator-bonds-cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/validator-bonds-sdk/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions settlement-pipelines/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 413fba5

Please sign in to comment.