Release Notes
v2.2.0
Ledger release v2.2.0
Release date: May 10, 2023
CLI enhancements
We introduced a lot of improvements in the new version of CLI, such as:
- added support for additional
signercommands - added support for additional
symbolcommands - added support for additional
intentcommands - added support for additional
bridgecommands- bridge can now be removed from a wallet by using CLI
- added support for additional
effectcommands
Additionally, CLI now supports connecting with only root URL, so you can update without the suffix /api/v2.
Added various UX improvements for CLI:
- suggesting the user to create a ledger when it doesn't exist
- templates implemented when creating ledger
- if there is one page in CLI, there is no need to "quit" manually, it can be done automatically.
Enhanced security
- implemented "spend" action and validate that only authorized users can do it on a certain wallet
- added full URL and
x-ledgerheader to JWT Hash - implemented validation of record access when getting all records
- implemented record level validation
- refactored authentication middleware to use JWT's KID to verify token
- implement $in filtering operator for bearer
SDK
- renamed
instancetoledgerin SDK - prevented mutation of objects used as argument in the SDK methods
- created DB initial setup using ledger SDK
- allowed generation of tokens without request hash (hsh) claim
Other important changes
- change
signertype to object in ledger records. Now signer should be sent like:
"signer": {
"public": "9+anQm7Kv7SKF7ga5jOaTOqhOcH3ZH+ZUBh99X1JqNs="
}- related to previous bullet, added new document in the Ledger documentation to further explain reference records: About Referenced Records
- implemented saving of intent processing statuses to DB
- implemented update endpoints for all records
destroyandissueactions are now handled on symbol records
Improvements & Fixes
- improved error message when creating a new ledger without local signer
- added JSDOC to @minka/errors classes
- fixed issue when routing intents without bridge stayed in pending status
- fixed issue when using routes without bridges
- make intent signature api more resilient to avoid potential race conditions
Studio
N/A