From: Chris Duncan Date: Tue, 9 Sep 2025 05:12:08 +0000 (-0700) Subject: v0.7.0 X-Git-Tag: v0.10.5~23^2 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=ef5310f74561cac52916162cedd1a1296e7b6fe5;p=libnemo.git v0.7.0 --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f3fe59..d1108cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,29 @@ SPDX-FileCopyrightText: 2025 Chris Duncan SPDX-License-Identifier: GPL-3.0-or-later --> +## v0.7.0 + +### Notable Changes + +#### Wallet accounts use Map + +Since `libnemo` allows any arbitrary account index within the valid index range +to be derived from a wallet, iterating arrays can be catastrophically slow. A +custom class with a custom iterator implementation was used previously, but to +take advantage of engine performance optimizations geared towards built-ins, it +now uses the Map class instead. + +### Other Changes + +Accounts implement toJSON() method to stringify all relevant properties. + +Tests are type checked, and the custom assert implementation in tests uses type +guards to inform subsequent code. + +README and package description updated. + + + ## v0.6.0 ### Notable Changes diff --git a/package-lock.json b/package-lock.json index 32edba0..3a31f3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "libnemo", - "version": "0.6.0", + "version": "0.7.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "libnemo", - "version": "0.6.0", + "version": "0.7.0", "license": "(GPL-3.0-or-later AND MIT AND ISC)", "dependencies": { "nano-pow": "^5.1.6" diff --git a/package.json b/package.json index c32c7e6..95fccff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libnemo", - "version": "0.6.0", + "version": "0.7.0", "description": "Nano cryptocurrency wallet library.", "keywords": [ "nemo",