Warning
Node 20 by default
This release updates the default Node.js version from v18 to v20. If this is breaking for you, explicitly set a v18 release.
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_nodejs", version = "6.4.0")
Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_nodejs",
sha256 = "8bfd114e95e88df5ecc66b03b726944f47a8b46db4b3b6ace87cfc316713bd1c",
strip_prefix = "rules_nodejs-6.4.0",
url = "https://github.com/bazel-contrib/rules_nodejs/releases/download/v6.4.0/rules_nodejs-v6.4.0.tar.gz",
)
What's Changed
- Update Node.js Versions by @mattem in #3826
- Update Node.js Versions by @mattem in #3827
- fix(publish): pick up secret when passed from caller workflow by @alexeagle in #3828
- Update Node.js Versions by @mattem in #3831
- feat: change nodejs default to 20 by @alexeagle in #3830
Full Changelog: v6.3.5...v6.4.0