]> zoso.dev Git - nano-pow.git/commitdiff
Patch version. v3.1.3
authorChris Duncan <chris@zoso.dev>
Sat, 15 Mar 2025 19:46:54 +0000 (12:46 -0700)
committerChris Duncan <chris@zoso.dev>
Sat, 15 Mar 2025 19:46:54 +0000 (12:46 -0700)
CHANGELOG.md
package-lock.json
package.json

index 30b31ba1b8f97144f4a71d0166acfee1bcdbf149..dd5bd564484867496960bfefec77c85116c454c2 100644 (file)
@@ -3,6 +3,58 @@ SPDX-FileCopyrightText: 2025 Chris Duncan <chris@zoso.dev>
 SPDX-License-Identifier: GPL-3.0-or-later
 -->
 
+## v3.1.3
+
+### Notable Changes
+
+#### Changelog
+
+You're reading it!
+
+#### More options for CLI input
+
+The command line tool now accepts input from stdin. This enables scripting
+operations like redirects
+
+```console
+nano-pow < hashes.txt
+```
+
+and pipes.
+
+```console
+cat hashes.txt | nano-pow
+```
+
+#### Get output in JSON format
+
+JSON is an exteremely flexible data structure notation, and now the command line
+tool can output results in the JSON format.
+
+```console
+nano-pow --json <blockhash_value>
+# output
+# [
+#   {
+#     "blockhash": <blockhash_value>,
+#     "work": <work_value>
+#   }
+# ]
+```
+
+#### Other Changes
+
+Updated CLI documentation for new input/output features.
+
+Refactored WebGL draw shader to align with WebGPU compute shader on BLAKE2b
+initialization.
+
+Rename file of test blockhashes since they are not seeds.
+
+Update README license section.
+
+
+
 ## v3.1.2
 
 ### Notable Changes
index d5940e15f7fda6d2beaebd9d33319e77a7604d6d..2d9278f3b6540c55b92259a88f5973832733db3f 100644 (file)
@@ -1,12 +1,12 @@
 {
        "name": "nano-pow",
-       "version": "3.1.2",
+       "version": "3.1.3",
        "lockfileVersion": 3,
        "requires": true,
        "packages": {
                "": {
                        "name": "nano-pow",
-                       "version": "3.1.2",
+                       "version": "3.1.3",
                        "license": "(GPL-3.0-or-later AND MIT)",
                        "bin": {
                                "nano-pow": "dist/cli.js"
index c754f61381bb6f3a430e1b6784fcd0f54de885fd..ea0c79b8e3435fba4f9dcb55785e60be719b9f0e 100644 (file)
@@ -1,6 +1,6 @@
 {
        "name": "nano-pow",
-       "version": "3.1.2",
+       "version": "3.1.3",
        "description": "Proof-of-work generation and validation with WebGPU/WebGL for Nano cryptocurrency.",
        "keywords": [
                "nemo",