From: Chris Duncan Date: Sat, 13 Sep 2025 06:45:41 +0000 (-0700) Subject: Merge branch 'releases/v0.6' X-Git-Tag: v0.10.5~17 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=58e8ebabb32a88ad5f3afdaf8c9739980c4dec91;p=libnemo.git Merge branch 'releases/v0.6' --- 58e8ebabb32a88ad5f3afdaf8c9739980c4dec91 diff --cc CHANGELOG.md index 0bd9b94,3560820..83b62df --- a/CHANGELOG.md +++ b/CHANGELOG.md @@@ -3,56 -3,14 +3,64 @@@ SPDX-FileCopyrightText: 2025 Chris Dunc SPDX-License-Identifier: GPL-3.0-or-later --> +## v0.8.0 + +### Notable Changes + +#### Configure wallet timeout + +Previously, the default timeout period before a wallet autolocked itself was set +to two minutes. Now, a new method `wallet.config()` accepts a configuration +object consisting of currently one property `timeout` indicating the timeout +period in seconds between 10 and 600 (10 minutes). If left unconfigured, the +default is still two minutes. + +#### Check for lock status + +A new property `wallet.isLocked` indicates if the wallet's Vault is in a locked +state. + +### Other Changes + +Vault timer includes a simple interval ticker to keep the worker from sleeping. + +Developer build now includes sourcemaps for easier debugging. + +Some new tests have been added and some existing ones fixed. + + + +## 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.1 + + ### Notable Changes + + Fix restored wallets with undefined type. + + + ## v0.6.0 ### Notable Changes