]> git.codecow.com Git - libnemo.git/commitdiff
v0.7.0
authorChris Duncan <chris@zoso.dev>
Tue, 9 Sep 2025 05:12:08 +0000 (22:12 -0700)
committerChris Duncan <chris@zoso.dev>
Tue, 9 Sep 2025 05:12:08 +0000 (22:12 -0700)
CHANGELOG.md
package-lock.json
package.json

index 0f3fe5969e345f4d1d545444d947cfdf889744ae..d1108cced0f15df59c2bcf063e6c718d0f07183f 100644 (file)
@@ -3,6 +3,29 @@ SPDX-FileCopyrightText: 2025 Chris Duncan <chris@zoso.dev>
 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
index 32edba0c90406f537a87dfa28ae8d7b90df1aabe..3a31f3d5b9a587bd0abe87b8c5562bc6205de3a6 100644 (file)
@@ -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"
index c32c7e639dc1b69a28cb519087055167ee0c8758..95fccffd6f83ffcb2ace6994dabeb6a6e8b68335 100644 (file)
@@ -1,6 +1,6 @@
 {
        "name": "libnemo",
-       "version": "0.6.0",
+       "version": "0.7.0",
        "description": "Nano cryptocurrency wallet library.",
        "keywords": [
                "nemo",