From 241b1ffd1bac7d123d1cad09b650e947744ed4cf Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 27 Mar 2025 14:13:10 -0700 Subject: [PATCH] Patch version. --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ece9a40..e3f0ba4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,37 @@ SPDX-FileCopyrightText: 2025 Chris Duncan SPDX-License-Identifier: GPL-3.0-or-later --> +## v4.0.8 + +### Notable Changes + +#### Overhaul server and CLI + +The server functionality has taken over all aspects of puppeteer usage while the +CLI simply spins up a server in no time at all and makes requests to it instead. +The `work` calls have also been consolidated into one function on the server +which can execute the proper underlying NanoPow method based on the `action` +property passed in the `POST` request being processed. + +#### Control server config with environment variables + +The server now recognizes the following envars: +* NANO_POW_DEBUG +* NANO_POW_EFFORT +* NANO_POW_PORT (replaces `PORT`) + +### Other Changes + +Remove size getter from GL. + +Fix types and related imports. + +Add tests to server test script. + +Update package configuration files. + + + ## v4.0.7 ### Notable Changes diff --git a/package-lock.json b/package-lock.json index b1d4a8c..7b8cdc2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nano-pow", - "version": "4.0.7", + "version": "4.0.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nano-pow", - "version": "4.0.7", + "version": "4.0.8", "license": "(GPL-3.0-or-later AND MIT)", "bin": { "nano-pow": "dist/bin/nano-pow.sh" diff --git a/package.json b/package.json index 5c07846..a6a5c57 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nano-pow", - "version": "4.0.7", + "version": "4.0.8", "description": "Proof-of-work generation and validation with WebGPU/WebGL for Nano cryptocurrency.", "keywords": [ "nemo", -- 2.34.1