]> zoso.dev Git - nano-pow.git/commitdiff
Patch version. v4.0.8
authorChris Duncan <chris@zoso.dev>
Thu, 27 Mar 2025 21:13:10 +0000 (14:13 -0700)
committerChris Duncan <chris@zoso.dev>
Thu, 27 Mar 2025 21:13:10 +0000 (14:13 -0700)
CHANGELOG.md
package-lock.json
package.json

index ece9a4063dd2e8e08c60500f1319ea4ae6818e55..e3f0ba413fbf813e2ea3c1c1c1a62d9a3e3dbcd3 100644 (file)
@@ -3,6 +3,37 @@ SPDX-FileCopyrightText: 2025 Chris Duncan <chris@zoso.dev>
 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
index b1d4a8c91ba6a01df01de79cbedfc4f33cf5ad54..7b8cdc2ce97421bbab3199f7f79dfc080bccb336 100644 (file)
@@ -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"
index 5c07846f2d1533728ee24c7607bde45684ec46e7..a6a5c5725633d5db90b7f5450cdcefb63117a215 100644 (file)
@@ -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",