From ef5310f74561cac52916162cedd1a1296e7b6fe5 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 8 Sep 2025 22:12:08 -0700 Subject: [PATCH] v0.7.0 --- CHANGELOG.md | 23 +++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 26 insertions(+), 3 deletions(-) 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", -- 2.47.3