Skip to content

Latest commit

 

History

History
363 lines (220 loc) · 16.3 KB

CHANGELOG.md

File metadata and controls

363 lines (220 loc) · 16.3 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

contract release v2.1.0 (2024-10-03)

Breaking updates

  • Removal of instructions related to version v1: closeSettlement, closeSettlementClaim, claimSettlement (PR#109)
  • Update FundSettlement instruction to handle non-delegated lamports. Input accounts were changed. (PR#77)

TS CLI&SDK 2.0.3 (2024-08-30)

Updates

  • possible to use long version of -u parameter that is --url to define rpc url address
  • show-bond to display number of SOLs locked in bond

Fixes

  • show-bond fix the way how field amountToWithdraw is calculated

TS CLI&SDK 2.0.2 (2024-08-26)

Updates

  • claim-withdraw-request not throwing error on already claimed request

Fixes

  • claim-withdraw-request make possible to claim a bond with an activating stake account when other funded accounts are already active

TS CLI&SDK 2.0.1 (2024-08-05)

Updates

  • fund-bond to show information and not an error when funding stake account is already funded
  • show-bond to accept stake account address and showing delegated voter as base for PDA bond account address
  • show-settlement to better format merkle tree root data

TS CLI&SDK 2.0.0 (2024-07-11)

Breaking

  • CLI and SDK updated to be aligned with changes in contract v2.0.0

Updates

  • added command bond-address to show PDA based on vote account address and config account address
  • show-bond does not show information about funded stake account by default, parameter --with-funding has to be used explicitly

Fixes

  • show-bond fix on showing negative number after floating point when withdraw amount is bigger than available bond amount

contract release v2.0.0 (2024-07-11)

Breaking updates

  • SettlementClaim account is not about to be used anymore. Deduplication of claiming will not be made with creating the PDA account but using bitmap data structure in account SettlementClaims (PR#73)

Updates

  • fund_bond instruction permits to fund StakeAccount in state Activating and not only fully activated stake accounts (PR#74)
  • claim_settlement instruction permits to withdraw amount of SOL when exactly matching the size of the StakeAccount (PR#70)

TS CLI&SDK 1.5.3 (2024-06-30)

Fixes

  • show-bond fix on SOL units formatting

TS CLI&SDK 1.5.2 (2024-06-27)

Updates

  • init-bond and configure-bond --max-stake-wanted works with lamports (not SOLs)

TS CLI&SDK 1.5.1 (2024-06-17)

Updates

  • show-bond to simplify printing vote account data
  • init-withdraw-request to limit the creation of the withdraw request to the minimal size of the stake account

contract release v1.5.0 (2024-06-14)

Updates

  • changes in Config and Bond account, and related instructions, to be possible to configure fields cpmpe and max_stake_wanted

TS CLI&SDK 1.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 (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 (2024-05-06)

Fixes

  • CLI: fixing withdraw claim command that was wrongly filtering stake accounts possible for claiming
  • fixing issue with CLI bin publishing from 1.3.4

TS CLI&SDK 1.3.3 (2024-04-26)

Fixes

  • CLI show uses term numberfor providing info on count of arguments
  • bond related commands uses bond and vote account addresses

TS CLI&SDK 1.3.2 (2024-04-15)

Fixes

  • CLI help to show global options for subcommands as well

TS CLI&SDK 1.3.1 (2024-04-15)

Fixes

  • CLI show-bond to not querying getEpochInfo for every loaded stake account, mitigating error Server responded with 429 Too Many Requests

TS CLI&SDK 1.3.0 (2024-04-12)

Updates

CLI and SDK aligned with contract release v1.4.0

CLI Features

  • cancel-settlement command was added

Fixes

  • CLI considers solana config file when loading keypair

contract release v1.4.0 (2024-04-12)

TS CLI&SDK 1.2.1+1.2.2 (2024-04-09)

Fixes

  • README updates
  • bumps of library dependencies
  • cli show-config to display bonds-withdrawer-authority calculated PDA

TS CLI&SDK 1.2.0 (2024-03-19)

Updates

CLI and SDK aligned with contract release v1.3.0

CLI Features

  • init-withdraw-request, cancel-withdraw-request, claim-withdraw-request commands were added to work with funding and withdrawing stake accounts to Bonds Program
  • mint-bond command were added to make possible to configure the bond account without signing CLI with validator identity
  • configure-bond command adjusted to work with mint-bond SPL tokens
  • show-bond adjusted to show funded amounts
  • pause, resume commands for emergency purposes added

Fixes

  • on execution the error Server responded with 429 Too Many Requests. Retrying after 1000ms delay... should not be failing the commands anymore

contract release v1.3.0 (2024-03-08)

TS CLI&SDK 1.1.12 (2024-02-19)

Features

  • show-bond command accepts vote account address, not only the bond account address

TS CLI&SDK 1.1.11 (2024-02-15)

Fixes

  • moved to work with contract update v1.2.0

Features

  • show-bond command is capable to list more bond records than before (still limited by getProgramAccounts RPC call)

contract release v1.2.0 (2024-02-15)

TS CLI&SDK 1.1.10 (2024-02-04)

Features

  • allow init-bond to be used without validator identity signature, aligning with contract v1.1.0 update

contract release v1.1.0 (2024-02-04)

TS CLI&SDK 1.1.8 (2024-01-30)

Fixes

  • pubkeys arguments to accept keypair or wallet and take the pubkey part from it

TS CLI&SDK 1.1.7 (2024-01-27)

Fixes

  • CLI works better on confirming sent transactions

TS CLI&SDK 1.1.4 (2024-01-15)

Fixes

  • CLI does not require --keypair path to exist when show-* command or --print-only is used

TS CLI&SDK 1.1.3 (2024-01-12)

Features

  • adding create, cancel, withdraw request SDK functions

validator-bonds contract release (2024-01-12)

TS CLI&SDK 1.1.1 (2024-01-05)

Features

  • support for ledger in CLI
  • adding fund bond CLI command

validator-bonds contract release (2024-01-03)

TS CLI&SDK 1.1.0 (2024-01-03)

Features

  • bond will be now created with validator identity signature instead of vote account withdrawer

Fixes

  • readme published to npm registry
  • CLI fixing nodejs bin installation
  • fixing --keypair argument being parsed correctly

TS CLI&SDK 1.0.3 (2024-01-02)

Fixes

  • readme published to npm registry
  • CLI fixing nodejs bin installation
  • fixing --keypair argument being parsed correctly

TS CLI&SDK 1.0.0 (2023-12-31)

Features

  • SDK and CLI with init, configure and show Config and Bond accounts