From: Chris Duncan Date: Sat, 13 Sep 2025 06:38:00 +0000 (-0700) Subject: Merge branch 'releases/v0.5' X-Git-Tag: v0.10.5~18 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=9eaa087aa866f3cb2d5fd47b68bbf4d5e07aca30;p=libnemo.git Merge branch 'releases/v0.5' --- 9eaa087aa866f3cb2d5fd47b68bbf4d5e07aca30 diff --cc CHANGELOG.md index 2aefd5c,62beef9..0bd9b94 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@@ -3,69 -3,12 +3,75 @@@ 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.0 + +### Notable Changes + +#### Minification support + +Due to how the `Vault` worker was constructed, the build system could not take +advantage of all minification features without breaking how variable names and +class names are resolved in the worker itself. This version refactors how the +worker code is constructed in such a way that enables the build system to apply +name mangling and minification while bundling. This also enables other +frameworks like Angular to bundle `libnemo` without further breakage. + + ## v0.5.4 + + ### Notable Changes + + Fix restored wallets with undefined type. + ## v0.5.3