All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- #35 which is a regression in 1.1.0 of
#23 fixed in 0.3.6.
Should only affect non-windows builds using
electron-rebuild
.
- ARM64 support.
No effective changes, bumping to v1.0.0 to reflect that the library should be considered stable at this point.
- Minimum supported node version is now v12.0.0, due to updating to
node-addon-api
v4.
- #23 Don't break electron-rebuild by avoiding a top-level binding.gyp.
-
Some examples showing usage.
-
#14 Support for QWORD parsing and formating as bigint values.
-
Support passing
null
forsubKey
to select current key, andvalueName
to select the default value, where the documented behavior of the underlying API supports it. -
#20 Added
renameKey()
andcopyTree()
.
-
Updated dependencies.
-
Refactored tests to use mocha.
-
#8: Removes
os
dependency and makes this package assert if called on non-windows platforms. Thanks to @aabuhijleh for solution here. -
More conservative handling of trailing null bytes for
parseMultiString()
should fix (hopefully unusual) cases of one or two missing trailing characters.
- #7: Nasty crash in
getValue()
on later versions of v8 on some values.
Note this release has potentially breaking changes, to reduce the potential exposure to a nasty bug in the earlier v0.3 releases.
Standard usage should not be affected.
- The allocated key values can no longer be an
External
value that can be passed to other packages, they are now instances of an (internal) HKEY type that have anative
property that has the previousExternal
value, ornull
after they are closed. - Use of closed keys will therefore no longer throw the underlying
windows API invalid value, but instead (for now) a standard
Error
with themessage
of"HKEY already closed"
.
- Nasty double-free with
closeKey()
. Was always possible if it was used incorrectly before, butv0.3.0
introduced GC, which means it was not possible to correctly usecloseKey()
. Huge thanks to @cwalther for catching and fixing this!
- Running on 32-bit node. Prebuilds both x86 and x64,
don't try to fall back since it would currently fail
(due to not depending on
node-addon-api
).
Broken
Minor release due to there being significant internal code changes.
- Use prebuildify to package a win64 prebuild.
- Moved to use N-API so we can prebuild binaries, big thanks to @danielgindi
- Running on node < 10, from @cwalther
- Correctly strip empty strings from the raw string
"\0\0"
to""
, from @cwalther.
AffectsgetValue()
,queryValue()
,parseString()
,parseValue()
.
First complete version.