Skip to content

build: update bazel dependencies - #3918

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
angular-robot:ng-renovate/bazel-dependencies
Aug 14, 2026
Merged

build: update bazel dependencies#3918
alan-agius4 merged 1 commit into
angular:mainfrom
angular-robot:ng-renovate/bazel-dependencies

Conversation

@angular-robot

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
aspect_rules_esbuild bazel_dep minor 0.26.00.27.0
aspect_rules_js bazel_dep minor 3.3.13.4.0
aspect_rules_ts bazel_dep minor 3.9.23.10.0
rules_pkg (source) bazel_dep minor 1.2.01.3.0
tar.bzl bazel_dep patch 0.10.70.10.8

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

Release Notes

aspect-build/rules_ts (aspect_rules_ts)

v3.10.0

Using Bzlmod:

Add to your MODULE.bazel file:

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

typescript = use_extension("@aspect_rules_ts//ts:extensions.bzl", "typescript", dev_dependency = True)

typescript.deps(
    version_from = "//:package.json",
)

use_repo(typescript, "npm_typescript")
What's Changed

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

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

v0.10.8

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.8")

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 = "0ca2f75db5d9883cee6745ffd365a1d076480173b7b298060ce5944e8b293a70",
    strip_prefix = "tar.bzl-0.10.8",
    url = "https://github.com/bazel-contrib/tar.bzl/releases/download/v0.10.8/tar.bzl-v0.10.8.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: ensure package_dir ancestors are emitted before real nested source dirs by @​acozzette in #​124

New Contributors

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

See associated pull request for more information.
@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 Aug 13, 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 MODULE.bazel files, including upgrading aspect_rules_js to 3.4.0 and aspect_rules_ts to 3.10.0. The reviewer noted that upgrading aspect_rules_ts to 3.10.0 deprecates the 'ext' extension in favor of the new 'typescript' extension, and recommended updating its usage across the affected MODULE.bazel files to avoid using deprecated features.

Comment thread MODULE.bazel
bazel_dep(name = "aspect_rules_esbuild", version = "0.26.0")
bazel_dep(name = "aspect_rules_ts", version = "3.9.2")
bazel_dep(name = "aspect_rules_esbuild", version = "0.27.0")
bazel_dep(name = "aspect_rules_ts", version = "3.10.0")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

With the upgrade of aspect_rules_ts to 3.10.0, the ext extension has been deprecated in favor of the new typescript extension. Consider updating the extension usage on line 45 to use typescript instead of ext to align with the latest API and avoid using deprecated features.

bazel_dep(name = "aspect_rules_js", version = "3.3.1")
bazel_dep(name = "aspect_rules_ts", version = "3.9.2")
bazel_dep(name = "aspect_rules_js", version = "3.4.0")
bazel_dep(name = "aspect_rules_ts", version = "3.10.0")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

With the upgrade of aspect_rules_ts to 3.10.0, the ext extension has been deprecated in favor of the new typescript extension. Consider updating the extension usage on line 28 to use typescript instead of ext to align with the latest API and avoid using deprecated features.


# TS
bazel_dep(name = "aspect_rules_ts", version = "3.9.2")
bazel_dep(name = "aspect_rules_ts", version = "3.10.0")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

With the upgrade of aspect_rules_ts to 3.10.0, the ext extension has been deprecated in favor of the new typescript extension. Consider updating the extension usage on line 85 to use typescript instead of ext to align with the latest API and avoid using deprecated features.

use_repo(npm, "npm_rules_browsers")

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

With the upgrade of aspect_rules_ts to 3.10.0, the ext extension has been deprecated in favor of the new typescript extension. Consider updating the extension usage on line 25 to use typescript instead of ext to align with the latest API and avoid using deprecated features.

@alan-agius4
alan-agius4 merged commit def8c5b into angular:main Aug 14, 2026
17 checks passed
@alan-agius4

Copy link
Copy Markdown
Contributor

This PR was merged into the repository. The changes were merged into the following branches:

@angular-robot
angular-robot deleted the ng-renovate/bazel-dependencies branch August 14, 2026 09:26
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.

2 participants