Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

build: update bazel dependencies (21.0.x) #32595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
angular-robot wants to merge 1 commit into angular:21.0.x
base: 21.0.x
Choose a base branch
Loading
from angular-robot:ng-renovate/21.0.x-bazel-dependencies

Conversation

@angular-robot
Copy link
Contributor

@angular-robot angular-robot commented Dec 25, 2025
edited
Loading

This PR contains the following updates:

Package Type Update Change
aspect_bazel_lib bazel_dep patch 2.22.02.22.5
aspect_rules_esbuild bazel_dep minor 0.24.00.25.0
aspect_rules_js bazel_dep minor 2.8.32.9.1
aspect_rules_ts bazel_dep patch 3.8.03.8.1
bazel_skylib bazel_dep minor 1.8.21.9.0
rules_browsers git_override digest 8ef3e995f0e50d
rules_pkg (source) bazel_dep minor 1.1.01.2.0
yq.bzl bazel_dep patch 0.3.20.3.4

Release Notes

aspect-build/rules_esbuild (aspect_rules_esbuild)

v0.25.0

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_esbuild", version = "0.25.0")

Using WORKSPACE

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
 name = "aspect_rules_esbuild",
 sha256 = "fa87640cdf67470441309581983042c697f2e7279dafcfaa7bb719d7de887745",
 strip_prefix = "rules_esbuild-0.25.0",
 url = "https://github.com/aspect-build/rules_esbuild/releases/download/v0.25.0/rules_esbuild-v0.25.0.tar.gz",
)
######################
# rules_esbuild setup #
######################
# Fetches the rules_esbuild dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@​aspect_rules_esbuild//esbuild:dependencies.bzl", "rules_esbuild_dependencies")
rules_esbuild_dependencies()
load("@​aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains")
rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION)
# Register a toolchain containing esbuild npm package and native bindings
load("@​aspect_rules_esbuild//esbuild:repositories.bzl", "LATEST_ESBUILD_VERSION", "esbuild_register_toolchains")
esbuild_register_toolchains(
 name = "esbuild",
 esbuild_version = LATEST_ESBUILD_VERSION,
)

To use rules_esbuild with bazel-lib 2.0, you must additionally register the coreutils toolchain.

load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
register_coreutils_toolchains()

What's Changed

New Contributors

Full Changelog: aspect-build/rules_esbuild@v0.24.0...v0.25.0

aspect-build/rules_js (aspect_rules_js)

v2.9.1

Many companies are successfully building with rules_js.
If you're getting value from the project, please let us know!
Just comment on our Adoption Discussion.

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "2.9.1")
####### Node.js version #########
# By default you get the node version from DEFAULT_NODE_VERSION in @​rules_nodejs//nodejs:repositories.bzl
# Optionally you can pin a different node version:
bazel_dep(name = "rules_nodejs", version = "6.3.0")
node = use_extension("@​rules_nodejs//nodejs:extensions.bzl", "node", dev_dependency = True)
node.toolchain(node_version = "18.14.2")
#################################
npm = use_extension("@​aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)
npm.npm_translate_lock(
 name = "npm",
 pnpm_lock = "//:pnpm-lock.yaml",
 verify_node_modules_ignored = "//:.bazelignore",
)
use_repo(npm, "npm")
pnpm = use_extension("@​aspect_rules_js//npm:extensions.bzl", "pnpm")
# Allows developers to use the matching pnpm version, for example:
# bazel run -- @​pnpm --dir /home/runner/work/rules_js/rules_js install
use_repo(pnpm, "pnpm")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
 name = "aspect_rules_js",
 sha256 = "b87afa2205b6fa4540e01d2c47b02a92ed67e24e24f738d46c4c8099836a769a",
 strip_prefix = "rules_js-2.9.1",
 url = "https://github.com/aspect-build/rules_js/releases/download/v2.9.1/rules_js-v2.9.1.tar.gz",
)
load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
rules_js_dependencies()
load("@​aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains")
rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION)
load("@​aspect_rules_js//npm:repositories.bzl", "npm_translate_lock")
npm_translate_lock(
 name = "npm",
 npmrc = "//:.npmrc",
 pnpm_lock = "//:pnpm-lock.yaml",
 verify_node_modules_ignored = "//:.bazelignore",
)
load("@​npm//:repositories.bzl", "npm_repositories")
npm_repositories()

What's Changed

New Contributors

Full Changelog: aspect-build/rules_js@v2.9.0...v2.9.1

aspect-build/rules_ts (aspect_rules_ts)

v3.8.1

Using Bzlmod:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_ts", version = "3.8.1")
rules_ts_ext = use_extension("@​aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True)
rules_ts_ext.deps(
 ts_version_from = "//:package.json",
)
use_repo(rules_ts_ext, "npm_typescript")

Using legacy WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
 name = "aspect_rules_ts",
 sha256 = "dc3235a4e8cdb59518c42abdf1ba48f6bb47c5893abbc4c936ccded313234c6d",
 strip_prefix = "rules_ts-3.8.1",
 url = "https://github.com/aspect-build/rules_ts/releases/download/v3.8.1/rules_ts-v3.8.1.tar.gz",
)
##################
# rules_ts setup #
##################
# Fetches the rules_ts dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@​aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies")
rules_ts_dependencies(
 # This keeps the TypeScript version in-sync with the editor, which is typically best.
 ts_version_from = "//:package.json",
 # Alternatively, you could pick a specific version, or use
 # load("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_TYPESCRIPT_VERSION")
 # ts_version = LATEST_TYPESCRIPT_VERSION
)
load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
rules_js_dependencies()
load("@​aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains")
rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION)
load("@​aspect_rules_js//npm:repositories.bzl", "npm_translate_lock")
npm_translate_lock(
 name = "npm",
 npmrc = "//:.npmrc",
 pnpm_lock = "//:pnpm-lock.yaml",
 verify_node_modules_ignored = "//:.bazelignore",
)
load("@​npm//:repositories.bzl", "npm_repositories")
npm_repositories()
# Register aspect_bazel_lib toolchains;
# If you use npm_translate_lock or npm_import from aspect_rules_js you can omit this block.
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()

To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain.

load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
register_coreutils_toolchains()

What's Changed

Full Changelog: aspect-build/rules_ts@v3.8.0...v3.8.1

bazelbuild/bazel-skylib (bazel_skylib)

v1.9.0

Compare Source

What's Changed

  • Optimize copy_file and set allow_symlink by default to True if is_executable is False (#​565)
  • Give rules/private:is_windows an empty applicable_license (#​600)
  • Bump rules_go dependency for compatibility with Bazel 9 (#​601)

Contributors:
@​fdinoff, @​fmeum, @​fweikert, @​susinmotion

Full Changelog: bazelbuild/bazel-skylib@1.8.2...1.9.0

bazelbuild/rules_pkg (rules_pkg)

v1.2.0

Compare Source

New Features

  • pkg_deb: add support for md5sums control file
  • pkg_deb: Allow for variables in the package name
  • pkg_deb: Overridable debuginfo type
  • pkg_install: Add destdir_flag to pick up destdir from a bazel-skylib.string_flag().
  • pkg_install: support for symlinks
  • pkg_mklink: support raw symlinks from declare_symlink() (Bazel 8+ only)
  • pkg_rpm: "data" attribute to provide files for rpmbuild b
  • pkg_tar: Conditionally preserve file mtime
  • pkg_tar: Support compression_level when using xz
  • pkg_zip: support synlinks

Incompatible Changes

MODULE.bazel setup

bazel_dep(name = "rules_pkg", version = "1.2.0")

WORKSPACE setup

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
 name = "rules_pkg",
 urls = [
 "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/1.2.0/rules_pkg-1.2.0.tar.gz",
 "https://github.com/bazelbuild/rules_pkg/releases/download/1.2.0/rules_pkg-1.2.0.tar.gz",
 ],
 sha256 = "b5c9184a23bb0bcff241981fd9d9e2a97638a1374c9953bb1808836ce711f990",
)
load("@​rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()

Using the rules

See the source.

What's Changed

New Contributors

Full Changelog: bazelbuild/rules_pkg@1.1.0...1.2.0

bazel-contrib/yq.bzl (yq.bzl)

v0.3.4

Using Bzlmod

Add to your MODULE.bazel file:

bazel_dep(name = "yq.bzl", version = "0.3.4")

What's Changed

New Contributors

Full Changelog: bazel-contrib/yq.bzl@v0.3.3...v0.3.4


  • If you want to rebase/retry this PR, check this box

@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only] labels Dec 25, 2025
@angular-robot angular-robot force-pushed the ng-renovate/21.0.x-bazel-dependencies branch 5 times, most recently from 33b01db to ff3d409 Compare January 13, 2026 09:09
See associated pull request for more information.
@angular-robot angular-robot force-pushed the ng-renovate/21.0.x-bazel-dependencies branch from ff3d409 to 2678ff0 Compare January 13, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mmalerba mmalerba mmalerba approved these changes

@wagnermaciel wagnermaciel Awaiting requested review from wagnermaciel

Assignees

No one assigned

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only]

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /