diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c0e6042..c0834cae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# UNRELEASED +# 4.0.0 (2020-02-17) * Switch to NAPI bcrypt diff --git a/README.md b/README.md index af4283ff..cad7c298 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,15 @@ If you are on a stable version of node, please provide a sufficient code snippet ## Version Compatibility -| Node Version | Bcrypt Version | -| -------------- | -------------- | -| 0.4 | <= 0.4 | -| 0.6, 0.8, 0.10 | >= 0.5 | -| 0.11 | >= 0.8 | -| 4 | <= 2.1.0 | -| 8 | >= 1.0.3 | -| 10, 11 | >= 3 | -| 12 | >= 3.0.6 | +| Node Version | Bcrypt Version | +| -------------- | ------------------| +| 0.4 | <= 0.4 | +| 0.6, 0.8, 0.10 | >= 0.5 | +| 0.11 | >= 0.8 | +| 4 | <= 2.1.0 | +| 8 | >= 1.0.3 <= 4.0.0 | +| 10, 11 | >= 3 | +| 12 | >= 3.0.6 | `node-gyp` only works with stable/released versions of node. Since the `bcrypt` module uses `node-gyp` to build and install, you'll need a stable version of node to use bcrypt. If you do not, you'll likely see an error that starts with: