Skip to content

build: update bazel dependencies#3845

Open
angular-robot wants to merge 1 commit into
angular:mainfrom
angular-robot:ng-renovate/bazel-dependencies
Open

build: update bazel dependencies#3845
angular-robot wants to merge 1 commit into
angular:mainfrom
angular-robot:ng-renovate/bazel-dependencies

Conversation

@angular-robot

@angular-robot angular-robot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
aspect_rules_js bazel_dep patch 3.2.23.2.3
aspect_rules_ts bazel_dep minor 3.8.113.9.2
bazel_lib bazel_dep minor 3.4.03.5.0
tar.bzl bazel_dep patch 0.10.50.10.7

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

Release Notes

aspect-build/rules_ts (aspect_rules_ts)

v3.9.2

Using Bzlmod:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_ts", version = "3.9.2")

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")
What's Changed

Full Changelog: aspect-build/rules_ts@v3.9.1...v3.9.2

v3.9.1

Using Bzlmod:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_ts", version = "3.9.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")
What's Changed
  • perf: calculate all ts_project output paths in a single pass over srcs by @​jbedard in #​945
  • perf: use tuple form of endswith in hot src-classification paths by @​jbedard in #​946
  • refactor: drop redundant copy_files_to_bin_actions pass over tsconfig_inputs by @​jbedard in #​947
  • refactor: minor ts version naming clarifications by @​jbedard in #​949
  • perf: reduce per-file string work in write_tsconfig and srcs path relativization by @​jbedard in #​948

Full Changelog: aspect-build/rules_ts@v3.9.0...v3.9.1

v3.9.0

Using Bzlmod:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_ts", version = "3.9.0")

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")
What's Changed
New Contributors

Full Changelog: aspect-build/rules_ts@v3.8.11...v3.9.0

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

v0.10.7

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "tar.bzl", version = "0.10.7")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "tar.bzl",
    sha256 = "89017f8c7310257e006f0b1f905cc628de726533e99110b3954f6e980e23cc86",
    strip_prefix = "tar.bzl-0.10.7",
    url = "https://github.com/bazel-contrib/tar.bzl/releases/download/v0.10.7/tar.bzl-v0.10.7.tar.gz",
)
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

######################

# tar.bzl dependencies #
######################
http_archive(
    name = "bazel_skylib",
    sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f",
    urls = [
        "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz",
        "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz",
    ],
)

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "db7da732db4dece80cd6d368220930950c9306ff356ebba46498fe64e65a3945",
    strip_prefix = "bazel-lib-2.19.3",
    url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.19.3/bazel-lib-v2.19.3.tar.gz",
)

http_archive(
    name = "bazel_lib",
    sha256 = "6fd3b1e1a38ca744f9664be4627ced80895c7d2ee353891c172f1ab61309c933",
    strip_prefix = "bazel-lib-3.0.0",
    url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.0.0/bazel-lib-v3.0.0.tar.gz",
)

# Back-port https://github.com/bazelbuild/bazel-central-registry/blob/main/modules/gawk/5.3.2.bcr.1/source.json

# to WORKSPACE semantics
http_archive(
    name = "gawk",
    integrity = "sha256-+MNIZQnecFGSE4sA7ywAu73Q6Eww1cB9I/xzqdxMycw=",
    remote_file_integrity = {
        "BUILD.bazel": "sha256-dt89+9IJ3UzQvoKzyXOiBoF6ok/4u4G0cb0Ja+plFy0=",
        "posix/config_darwin.h": "sha256-gPVRlvtdXPw4Ikwd5S89wPPw5AaiB2HTHa1KOtj40mU=",
        "posix/config_linux.h": "sha256-iEaeXYBUCvprsIEEi5ipwqt0JV8d73+rLgoBYTegC6Q=",
    },
    remote_file_urls = {
        f: ["https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/refs/heads/main/modules/gawk/5.3.2.bcr.1/overlay/" + f]
        for f in [
            "BUILD.bazel",
            "posix/config_darwin.h",
            "posix/config_linux.h",
        ]
    },
    strip_prefix = "gawk-5.3.2",
    urls = ["https://ftpmirror.gnu.org/gnu/gawk/gawk-5.3.2.tar.xz"],
)

######################

# setup #
######################

load("@​tar.bzl//tar:extensions.bzl", "create_repositories")

create_repositories()

register_toolchains("@​bsd_tar_toolchains//:all")

load("@​bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies", "bazel_lib_register_toolchains")

bazel_lib_dependencies()

bazel_lib_register_toolchains()

load("@​bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load("@​platforms//host:extension.bzl", "host_platform_repo")

maybe(
    host_platform_repo,
    name = "host_platform",
)

What's Changed

  • fix(preserve_symlinks): handle CAS-backed external repos and empty-common-prefix relative links by @​jbedard in #​115

Full Changelog: bazel-contrib/tar.bzl@v0.10.6...v0.10.7

@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 Jul 16, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several Bazel dependencies across multiple modules and rules, including rules_angular, rules_browsers, and rules_sass. Specifically, it upgrades tar.bzl to 0.10.7, bazel_lib to 3.5.0, aspect_rules_js to 3.2.3, aspect_rules_ts to 3.9.1, and aspect_tools_telemetry to 0.4.2, along with updating the corresponding lock files. I have no feedback to provide on these changes.

See associated pull request for more information.
@angular-robot
angular-robot force-pushed the ng-renovate/bazel-dependencies branch from 0fa0e79 to e47e5ab Compare July 18, 2026 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

Development

Successfully merging this pull request may close these issues.

1 participant