Releases: bazelbuild/rules_nodejs
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
5.7.3
Update with
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "c2ad51299792d5af3b258f1dd71b3b57eff9424c2e1797d9c1d65717d95da03a",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.7.3/rules_nodejs-5.7.3.tar.gz"],
)
# Or for the "core" module
http_archive(
name = "rules_nodejs",
sha256 = "323c780aeb0dd8e27673389362b5c67cf5fd7fde6a6d5b09a94ea9af761fc29e",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.7.3/rules_nodejs-core-5.7.3.tar.gz"],
)
What's Changed
- Update esbuild versions by @mattem in #3604
- Update esbuild versions by @mattem in #3606
- fix(builtin): entry point from sources incorrectly used when binary is leveraged as tool, breaking resolution by @devversion in #3605
Full Changelog: 5.7.2...5.7.3
5.7.2
Update with:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "0e8a818724c0d5dcc10c31f9452ebd54b2ab94c452d4dcbb0d45a6636d2d5a44",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.7.2/rules_nodejs-5.7.2.tar.gz"],
)
# or for the "core" module
http_archive(
name = "rules_nodejs",
sha256 = "40b56e18c38295425381644f4d4efebccb5c704ac313f8baf88d047a3a6b4ab3",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.7.2/rules_nodejs-core-5.7.2.tar.gz"],
)
What's Changed
- Update NodeJS Versions by @mattem in #3591
- Update esbuild versions by @mattem in #3593
- chore: default node should be latest v16 by @alexeagle in #3595
- fix: yarn binary is now run from separate @Yarn repo by @alexeagle in #3597
- chore: convert to yaml issue templates by @alexeagle in #3596
- Update esbuild versions by @mattem in #3600
- fix: check RUNFILES env variable in @bazel/runfiles helper by @gregmagolan in #3602
- Update esbuild versions by @mattem in #3601
Full Changelog: 5.7.1...5.7.2
5.7.1
Update with WORKSPACE:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "5aae76dced38f784b58d9776e4ab12278bc156a9ed2b1d9fcd3e39921dc88fda",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.7.1/rules_nodejs-5.7.1.tar.gz"],
)
# or for "core" module
http_archive(
name = "rules_nodejs",
sha256 = "50adf0b0ff6fc77d6909a790df02eefbbb3bc2b154ece3406361dda49607a7bd",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.7.1/rules_nodejs-core-5.7.1.tar.gz"],
)
What's Changed
- Added support for linux ppc64le and linux s390x by @npanpaliya in #3574
- chore: export TsConfigInfo in public interface by @sallustfire in #3578
- Update NodeJS Versions by @mattem in #3579
- Fix: Deploy devserver-darwin_arm64 binary in concatjs package. by @nchavez324 in #3583
- Update esbuild versions by @mattem in #3584
- Update NodeJS Versions by @mattem in #3581
- Update NodeJS Versions by @mattem in #3589
- Update yarn version check by @yads in #3588
New Contributors
- @sallustfire made their first contribution in #3578
- @nchavez324 made their first contribution in #3583
- @yads made their first contribution in #3588
Full Changelog: 5.7.0...5.7.1