SPDX-License-Identifier: GPL-3.0-or-later
-->
+## v5.1.0
+
+### Notable Changes
+
+#### Work caching
+
+Generating proof-of-work is not necessarily cheap for older or smaller systems.
+To save computation time and resources if a work value is not used immediately,
+the most recent `work` values are cached locally based on the combination of
+`hash` and `difficulty`, and existing PoW will be retrieved if possible instead
+of recomputed. The values are cached in local storage when in the browser or in
+a process variable when running as a work server, and only the most recent 1000
+values will be stored to ensure the cache does not become slower than compute.
+
+#### Code generating code
+
+Since the BLAKE2b algorithm used for computing PoW does not change but the APIs
+implemented by NanoPow do, the API-specific versions of `work_generate` have
+been abstracted and are now generated by a script in order to maintain
+consistency regardless of the implementation and to make future improvements
+easier. The algorithm as written for `work_validate` continues to be independent
+from that script in order to provide a check-and-balance between the two and
+ensure accuracy of results.
+
+### Other Changes
+
+Added utility functions for hex string validation.
+
+Expanded list of test blockhashes for longer testing.
+
+Consolidated npm scripts.
+
+
## v5.0.5
### Notable Changes