Skip to content

Conversation

@angular-robot
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
aspect_bazel_lib bazel_dep patch 2.22.0 -> 2.22.2
aspect_rules_esbuild bazel_dep minor 0.24.0 -> 0.25.0
aspect_rules_ts bazel_dep patch 3.8.0 -> 3.8.1
bazel_skylib bazel_dep minor 1.8.2 -> 1.9.0
rules_browsers git_override digest 8ef3e99 -> 5f0e50d
rules_pkg (source) bazel_dep minor 1.1.0 -> 1.2.0
yq.bzl bazel_dep patch 0.3.2 -> 0.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_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

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 Dec 25, 2025
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