]> git.codecow.com Git - libnemo.git/commitdiff
Merge branch 'releases/v0.4'
authorChris Duncan <chris@zoso.dev>
Thu, 4 Sep 2025 00:14:56 +0000 (17:14 -0700)
committerChris Duncan <chris@zoso.dev>
Thu, 4 Sep 2025 00:14:56 +0000 (17:14 -0700)
1  2 
CHANGELOG.md

diff --cc CHANGELOG.md
index 0c1a08c9ebfc1d1b550663e26e7ab6f0b2ba4b82,4a1fde625d5cbb4882d038894f0bbe83021f0a46..f20db2bb87762b6a7d5c73c2391f24ab955c1105
@@@ -3,60 -3,14 +3,68 @@@ SPDX-FileCopyrightText: 2025 Chris Dunc
  SPDX-License-Identifier: GPL-3.0-or-later
  -->
  
 +## v0.5.2
 +
 +### Notable Changes
 +
 +Remove async-await from new Vault functionality in favor of Promise chaining
 +(see [v0.4.0](#v040) for details).
 +
 +
 +
 +## v0.5.1
 +
 +### Notable Changes
 +
 +Fix type definitions for unit denomination `convert()` function overloads.
 +
 +
 +
 +## v0.5.0
 +
 +### Notable Changes
 +
 +#### Sign arbitrary data with Wallet
 +
 +The ability to "log in with Nano" is gaining traction, and while the `sign()`
 +function from `Tools` allows signing arbitrary string data using a private key,
 +there was no way to sign with a `libnemo` wallet which does not expose private
 +keys. Now, the `sign()` instance method of the `Wallet` class has been updated
 +to accept one or more strings of data, hash them to a 32-byte value using
 +BLAKE2b, sign with a given account index, and return the signature. Note that
 +the data is first hashed only to maintain compatibility with other Nano tools; a
 +future update could enable signing full-length messages without hashing them.
 +Also note that the Nano app for Ledger wallets still have a bug which prevents
 +them from signing nonces.
 +
 +#### Implement missing password update method
 +
 +The `Vault` class for wallet secrets supports an `update` action to re-encrypt
 +them using a new password if the wallet is unlocked. However, the `Wallet` class
 +itself did not have a method to make this request to its vault. This has now
 +been implemented.
 +
 +### Other Changes
 +
 +The `convert()` tool now supports denomination output as a float in addition to
 +string and bigint.
 +
 +Some functions extracted to separate files to improve organization.
 +
 +Type definitions updated.
 +
 +Tests added or updated to accomodate new features.
 +
 +
 +
+ ## v0.4.2
+ ### Notable Changes
+ Fix type comparison to undefined when restoring Wallets from database.
  ## v0.4.1
  
  ### Notable Changes