Releases: bazel-contrib/rules_nodejs
Releases · bazel-contrib/rules_nodejs
Release list
v6.1.2
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_nodejs", version = "6.1.2")Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_nodejs",
sha256 = "b6016a89a12a3d339ece93f2b3988f5e812f452ad497bc963634646ff4aa100b",
strip_prefix = "rules_nodejs-6.1.2",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.1.2/rules_nodejs-v6.1.2.tar.gz",
)What's Changed
- Update Node.js Versions by @mattem in #3747
- Update Node.js Versions by @mattem in #3748
- fix: register Node.js toolchains in correct order by @gregmagolan in #3750
Full Changelog: v6.1.1...v6.1.2
5.8.5
upgrade with:
http_archive(
name = "rules_nodejs",
sha256 = "0c2277164b1752bb71ecfba3107f01c6a8fb02e4835a790914c71dfadcf646ba",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.5/rules_nodejs-core-5.8.5.tar.gz"],
)
# OR
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "a1295b168f183218bc88117cf00674bcd102498f294086ff58318f830dd9d9d1",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.5/rules_nodejs-5.8.5.tar.gz"],
)Full Changelog: 5.8.4...5.8.5
v6.1.1
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_nodejs", version = "6.1.1")Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_nodejs",
sha256 = "3e8369256ad63197959d2253c473a9dcc57c2841d176190e59b91d25d4fe9e67",
strip_prefix = "rules_nodejs-6.1.1",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.1.1/rules_nodejs-v6.1.1.tar.gz",
)What's Changed
- Update Node.js Versions by @mattem in #3743
- chore: bump to bazel-lib 2.7.1 (dev dep) by @gregmagolan in #3744
- chore: don't cancel concurrent main builds by @gregmagolan in #3746
- Update Node.js Versions by @mattem in #3745
Full Changelog: v6.1.0...v6.1.1
v6.1.0
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_nodejs", version = "6.1.0")Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_nodejs",
sha256 = "dddd60acc3f2f30359bef502c9d788f67e33814b0ddd99aa27c5a15eb7a41b8c",
strip_prefix = "rules_nodejs-6.1.0",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.1.0/rules_nodejs-v6.1.0.tar.gz",
)What's Changed
- Update presubmit.yml by @alexeagle in #3719
- chore: disable RBE on CI to work-around cc toolchain failures at HEAD by @gregmagolan in #3726
- refactor: remove unused run_npm from NodeInfo provider by @gregmagolan in #3725
- Update NodeJS Versions by @mattem in #3723
- chore: misc cleanup by @gregmagolan in #3729
- chore: upgrade to Bazel 7.1.1 by @gregmagolan in #3728
- chore: re-enable macos on Bazel CI by @gregmagolan in #3732
- fix: support node_version_from_nvmrc with bzlmod by @gregmagolan in #3730
- fix: use default node url if the user happens to explicitly set [] by @gregmagolan in #3731
- chore: add .bazelversion to e2e/smoke by @gregmagolan in #3733
- chore: correct NodeJS spelling to Node.js by @gregmagolan in #3734
- chore: support local development on MacOS ARM by @gregmagolan in #3735
- feat: update node toolchain to provide File objects by @gregmagolan in #3736
- chore: upgrade GHA CI to bazel-contrib/.github/.github/workflows/bazel.yaml@v6 by @gregmagolan in #3737
- refactor: deprecate npm_files list attribute in favor of npm_srcs depset by @gregmagolan in #3738
- refactor: all public rules and macros should be prefixed with 'nodejs_' to match convention by @gregmagolan in #3739
- refactor: rename NodeInfo npm_srcs to npm_sources by @gregmagolan in #3740
- fix: fixup backward compat on npm_path by @gregmagolan in #3741
- Update Node.js Versions by @mattem in #3742
Full Changelog: v6.0.5...v6.1.0
v6.0.5
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_nodejs", version = "6.0.5")Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_nodejs",
sha256 = "a50986c7d2f2dc43a5b9b81a6245fd89bdc4866f1d5e316d9cef2782dd859292",
strip_prefix = "rules_nodejs-6.0.5",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.5/rules_nodejs-v6.0.5.tar.gz",
)What's Changed
- Update NodeJS Versions by @mattem in #3712
- chore: cancel previous GHA from the same PR by @gregmagolan in #3715
- Update NodeJS Versions by @mattem in #3717
Full Changelog: v6.0.3...v6.0.5
v6.0.4
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_nodejs", version = "6.0.4")Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_nodejs",
sha256 = "1acabd60b174a75436a78f921bbf4b03614cb892629f0f8ed0ee2ee3e48baf99",
strip_prefix = "rules_nodejs-6.0.4",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.4/rules_nodejs-v6.0.4.tar.gz",
)What's Changed
- Update NodeJS Versions by @mattem in #3712
- chore: cancel previous GHA from the same PR by @gregmagolan in #3715
- Update NodeJS Versions by @mattem in #3717
Full Changelog: v6.0.3...v6.0.4
v6.0.3
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_nodejs", version = "6.0.3")Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_nodejs",
sha256 = "f36e4a4747210331767033dc30728ae3df0856e88ecfdc48a0077ba874db16c3",
strip_prefix = "rules_nodejs-6.0.3",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.3/rules_nodejs-v6.0.3.tar.gz",
)What's Changed
- Disable Bzlmod explicitly in .bazelrc by @meteorcloudy in #3696
- Fix issue link by @meteorcloudy in #3697
- Avoid usage of uname and cleanup os_name logic by @dzbarsky in #3698
- Update NodeJS Versions by @mattem in #3699
- Update NodeJS Versions by @mattem in #3700
- Update NodeJS Versions by @mattem in #3701
- Use
headersattribute for toolchains only if it is set by @avdv in #3704 - Update MODULE.bazel by @alexeagle in #3706
- Work properly on intel CPUs on macos. Normalize x86_64->amd64 naming in
osname()method by @sfc-gh-ptabor in #3707 - Update NodeJS Versions by @mattem in #3708
- Update update-nodejs-versions.yml by @alexeagle in #3710
- Update NodeJS Versions by @mattem in #3709
New Contributors
- @avdv made their first contribution in #3704
- @sfc-gh-ptabor made their first contribution in #3707
Full Changelog: v6.0.2...v6.0.3
v6.0.2
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_nodejs", version = "6.0.2")Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_nodejs",
sha256 = "162f4adfd719ba42b8a6f16030a20f434dc110c65dc608660ef7b3411c9873f9",
strip_prefix = "rules_nodejs-6.0.2",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.2/rules_nodejs-v6.0.2.tar.gz",
)What's Changed
- Fix
node_repositoriesload path in docs/install.md (index.bzl no longer exists) by @jankeromnes in #3690 - Add current_node_cc_headers by @dzbarsky in #3694
- Update NodeJS Versions by @mattem in #3692
New Contributors
- @jankeromnes made their first contribution in #3690
Full Changelog: v6.0.1...v6.0.2
v6.0.1
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_nodejs", version = "6.0.1")Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_nodejs",
sha256 = "5ad078287b5f3069735652e1fc933cb2e2189b15d2c9fc826c889dc466c32a07",
strip_prefix = "rules_nodejs-6.0.1",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.1/rules_nodejs-v6.0.1.tar.gz",
)What's Changed
- Update release.yml by @alexeagle in #3672
- chore: update stale issue message by @jbedard in #3673
- Update NodeJS Versions by @mattem in #3674
- Expose node headers as a cc_library by @dzbarsky in #3679
- Update NodeJS Versions by @mattem in #3680
- Build with incompatible_disallow_empty_glob by @limdor in #3621
- Add "npx" target to node repo by @matthewjh in #3429
- fix(windows): unbreak CI with allow_empty by @alexeagle in #3681
- Update release.yml by @alexeagle in #3682
New Contributors
Full Changelog: v6.0.0...v6.0.1
5.8.4
upgrade with:
http_archive(
name = "rules_nodejs",
sha256 = "8fc8e300cb67b89ceebd5b8ba6896ff273c84f6099fc88d23f24e7102319d8fd",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.4/rules_nodejs-core-5.8.4.tar.gz"],
)
# OR
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "709cc0dcb51cf9028dd57c268066e5bc8f03a119ded410a13b5c3925d6e43c48",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.4/rules_nodejs-5.8.4.tar.gz"],
)Full Changelog: 5.8.3...5.8.4