Releases: bazelbuild/rules_nodejs
v6.0.1
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
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
v6.0.0
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_nodejs", version = "6.0.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 = "a833b08fc846e27a73ac2b7062e4f48cace0e72a072c6c3fa756847dc44246dd",
strip_prefix = "rules_nodejs-6.0.0",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.0/rules_nodejs-v6.0.0.tar.gz",
)
What's Changed
- Update NodeJS Versions by @mattem in #3622
- Update NodeJS Versions by @mattem in #3628
- chore: update release instructions by @alexeagle in #3632
- chore(6.0): remove concatjs package by @jbedard in #3637
- chore(6.0): remove packages by @jbedard in #3638
- chore(6.0): remove @bazel/esbuild package by @alexeagle in #3640
- chore(6.x): remove cypress package by @jbedard in #3641
- chore(6.0): remove terser package by @jbedard in #3642
- chore(6.0): remove jasmine package by @jbedard in #3643
- chore(6.0): remove rollup package by @jbedard in #3644
- chore(6.0): remove typescript package by @jbedard in #3645
- chore: update release automation by @alexeagle in #3646
- chore: bzlmod by @alexeagle in #3647
- chore(6.x): cleanup examples by @alexeagle in #3648
- chore(6.0): remove internal typescript tools by @jbedard in #3649
- chore(6.0): remove pkg_web by @jbedard in #3651
- chore(6.0): remove @bazel/create by @jbedard in #3650
- chore(6.0): move providers to build_bazel_rules_nodejs by @jbedard in #3652
- ci: add github actions testing by @alexeagle in #3654
- chore: bump to node 18 LTS as default by @alexeagle in #3656
- refactor: remove rules_nodejs dependency on bazel_skylib by @jbedard in #3659
- chore(6.0): remove all unsupported rules and packages by @jbedard in #3655
- chore: restore GHA CI just for main branch by @alexeagle in #3660
- chore: disable a failing test on windows by @alexeagle in #3661
- Update NodeJS Versions by @mattem in #3662
- chore: update bcr metadata by @alexeagle in #3663
- chore(6.0): cleanup unused files, remove references to deleted files by @jbedard in #3664
- docs: restore accidentally deleted toolchains docs by @jbedard in #3667
- Update NodeJS versions by @paullewis in #3666
- fix typo in README.md by @troycarlson in #3670
- Update NodeJS Versions by @mattem in #3668
New Contributors
- @paullewis made their first contribution in #3666
- @troycarlson made their first contribution in #3670
Full Changelog: 5.8.2...v6.0.0
v6.0.0-rc0
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_nodejs", version = "6.0.0-rc0")
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 = "08bb7f0fd3f5252d19bbbb4b2144c0836d1fea028cd6188647ff346766d93002",
strip_prefix = "rules_nodejs-6.0.0-rc0",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.0-rc0/rules_nodejs-v6.0.0-rc0.tar.gz",
)
What's Changed
- chore: update bcr metadata by @alexeagle in #3663
- chore(6.0): cleanup unused files, remove references to deleted files by @jbedard in #3664
- docs: restore accidentally deleted toolchains docs by @jbedard in #3667
- Update NodeJS versions by @paullewis in #3666
- fix typo in README.md by @troycarlson in #3670
- Update NodeJS Versions by @mattem in #3668
New Contributors
- @paullewis made their first contribution in #3666
- @troycarlson made their first contribution in #3670
Full Changelog: v6.0.0-beta1...v6.0.0-rc0
5.8.3
This release has no npm packages, as they were not changed since 5.8.2
upgrade with:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "5dd1e5dea1322174c57d3ca7b899da381d516220793d0adef3ba03b9d23baa8e",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.3/rules_nodejs-5.8.3.tar.gz"],
)
# or for the core package
http_archive(
name = "rules_nodejs",
sha256 = "be84fb5238a2034870810b60ae66f8555db385ff931bd6f61be204732df8d4a6",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.3/rules_nodejs-core-5.8.3.tar.gz"],
)
What's Changed
- Update NodeJS Versions by @mattem in #3622
- Update NodeJS Versions by @mattem in #3628
- chore: update release instructions by @alexeagle in #3632
- Update NodeJS Versions by @mattem in #3634
- chore: fix failing docs test by @jbedard in #3658
- refactor: remove rules_nodejs dependency on bazel_skylib by @jbedard in #3657
Full Changelog: 5.8.2...5.8.3
v6.0.0-beta1
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_nodejs", version = "6.0.0-beta1")
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 = "d124665ea12f89153086746821cf6c9ef93ab88360a50c1aeefa1fe522421704",
strip_prefix = "rules_nodejs-6.0.0-beta1",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.0-beta1/rules_nodejs-v6.0.0-beta1.tar.gz",
)
What's Changed
- chore: disable a failing test on windows by @alexeagle in #3661
- Update NodeJS Versions by @mattem in #3662
Full Changelog: v6.0.0-beta0...v6.0.0-beta1
v6.0.0-beta0
Good News
rules_nodejs is alive again, thanks to @jbedard who removed all the deprecated, unmaintained code.
This is a significantly smaller scope - it is only the "core" Bazel Module we used to ship in 5.x and earlier.
The 5.x
branch is your reference to the code before this removal.
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_nodejs", version = "6.0.0-beta0")
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 = "e53d58cf072240bba7b48c0fbd3dfaa5ebf2e005cee0bfce5f3a4ba6b813df4e",
strip_prefix = "rules_nodejs-6.0.0-beta0",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.0-beta0/rules_nodejs-v6.0.0-beta0.tar.gz",
)
What's Changed
- fix: allow root repositories to override node toolchain version under bzlmod by @kormide in #3626
- Update NodeJS Versions by @mattem in #3622
- Update NodeJS Versions by @mattem in #3628
- chore: update release instructions by @alexeagle in #3632
- chore(6.0): remove concatjs package by @jbedard in #3637
- chore(6.0): remove packages by @jbedard in #3638
- chore(6.0): remove @bazel/esbuild package by @alexeagle in #3640
- chore(6.x): remove cypress package by @jbedard in #3641
- chore(6.0): remove terser package by @jbedard in #3642
- chore(6.0): remove jasmine package by @jbedard in #3643
- chore(6.0): remove rollup package by @jbedard in #3644
- chore(6.0): remove typescript package by @jbedard in #3645
- chore: update release automation by @alexeagle in #3646
- chore: bzlmod by @alexeagle in #3647
- chore(6.x): cleanup examples by @alexeagle in #3648
- chore(6.0): remove internal typescript tools by @jbedard in #3649
- chore(6.0): remove pkg_web by @jbedard in #3651
- chore(6.0): remove @bazel/create by @jbedard in #3650
- chore(6.0): move providers to build_bazel_rules_nodejs by @jbedard in #3652
- ci: add github actions testing by @alexeagle in #3654
- chore: bump to node 18 LTS as default by @alexeagle in #3656
- refactor: remove rules_nodejs dependency on bazel_skylib by @jbedard in #3659
- chore(6.0): remove all unsupported rules and packages by @jbedard in #3655
- chore: restore GHA CI just for main branch by @alexeagle in #3660
Full Changelog: 5.8.1...v6.0.0-beta0
5.8.2
Note: no npm packages were pushed for this release since they were unchanged since 5.8.1
WORKSPACE snippet:
http_archive(
name = "rules_nodejs",
sha256 = "764a3b3757bb8c3c6a02ba3344731a3d71e558220adcb0cf7e43c9bba2c37ba8",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.2/rules_nodejs-core-5.8.2.tar.gz"],
)
What's Changed
Full Changelog: 5.8.1...5.8.2
5.8.1
What's Changed
- feat: provide @nodejs repository by @alexeagle in #3610
- chore: turn off automation for esbuild versions by @alexeagle in #3608
- Update NodeJS Versions by @mattem in #3612
- chore: add more maintenance notices on the documentation by @alexeagle in #3615
- Update NodeJS Versions by @mattem in #3616
- Upgrade rules_pkg to 0.3.0 to remove Python 2 dependency. by @rickeylev in #3620
- fix(builtin): convert pkg_web to use cjs instead of js by @KrauseStefan in #3500
- fix(concatjs): resolve error with TypeScript 5.0 by @crisbeto in #3625
New Contributors
- @rickeylev made their first contribution in #3620
Full Changelog: 5.7.3...5.8.1
5.8.0
This release contains Bazel modules only, there are no accompanying npm packages because they weren't affected.
Upgrade with:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "dcc55f810142b6cf46a44d0180a5a7fb923c04a5061e2e8d8eb05ccccc60864b",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.0/rules_nodejs-5.8.0.tar.gz"],
)
# or for core module
http_archive(
name = "rules_nodejs",
sha256 = "08337d4fffc78f7fe648a93be12ea2fc4e8eb9795a4e6aa48595b66b34555626",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.0/rules_nodejs-core-5.8.0.tar.gz"],
)
What's Changed
- feat: provide @nodejs repository by @alexeagle in #3610
- chore: turn off automation for esbuild versions by @alexeagle in #3608
- Update NodeJS Versions by @mattem in #3612
Full Changelog: 5.7.3...5.8.0