Skip to content

Update dependency bazel_skylib to v1.8.0 #797

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 1, 2025

This PR contains the following updates:

Package Type Update New value References Sourcegraph
bazel_skylib http_archive minor 1.8.0 source code search for "bazel_skylib"

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


Release Notes

bazelbuild/bazel-skylib (bazel_skylib)

v1.8.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazelbuild/bazel-skylib@1.7.1...1.8.0

v1.7.1

Compare Source

What's Changed

Full Changelog: bazelbuild/bazel-skylib@1.7.0...1.7.1

v1.7.0

Compare Source

New features

New Contributors

Full Changelog: bazelbuild/bazel-skylib@1.6.1...1.7.0

v1.6.1

Compare Source

What's Changed

New Contributors

Full Changelog: bazelbuild/bazel-skylib@1.6.0...1.6.1

v1.6.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazelbuild/bazel-skylib@1.5.0...1.6.0

v1.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazelbuild/bazel-skylib@1.4.2...1.5.0

v1.4.2

Compare Source

Bugfix release: fixes build_test to respect target_compatible_with (#​448)

New Features

  • bzl_library allows .scl files (new Starlark dialect loadable by Bazel at
    HEAD with --experimental_enable_scl_dialect)

Contributors
Alexandre Rostovtsev, UebelAndre, Vertexwahn, Xavier Bonaventura

v1.4.1

Compare Source

Bugfix release: fixes gazelle plugin failure with
--incompatible_disallow_empty_glob (#​431) and (for released versions) with
--incompatible_disable_starlark_host_transitions (#​433).

Contributors
Alexandre Rostovtsev, Chuck Grindel

v1.4.0

Compare Source

New Features

  • The Gazelle plugin is marked stable for general use (#​400, #​424)

Other Notable Changes

  • copy_file/copy_directory again allow sandboxing (#​392)

Contributors
Alexandre Rostovtsev, Nick Gooding, Simon Stewart, Xùdōng Yáng

v1.3.0

Compare Source

New Features

  • Added dicts.omit and dicts.pick (#​304)
  • Added expand_template rule (#​330)
  • Added subpackages module (#​348)
  • Added copy_directory rule (#​366)
  • Added bzlmod support (#​385)

Incompatible Changes

  • native_binary and native_test now use symlinks instead of copying, if
    the OS supports it (#​340)
  • native_binary and native_test now build in target configuration instead
    of host configuration (#​341)
  • copy_file no longer adds non-executables to default_runfiles (#​326)

Contributors

Alex Eagle, Alexandre Rostovtsev, Barry McNamara, Derek Cormier, Fabian
Meumertzheim, Geoffrey Martin-Noble, hchsiao, Kevin Kres, nickgooding,
Vertexwahn, Vinh Tran

v1.2.1

Compare Source

Bugfix release: fixes build failure with --incompatible_disallow_empty_glob
(#​359)

Contributors

Alexandre Rostovtsev, Ivo List

Release 1.2.0

New Features

  • The unittest toolchain has better support for special characters in failure
    messages (#​320)
  • Use portable Bash shebangs for BSD compatibility (#​329)
  • Add loadingtest - tests which evaluate during the loading phase (#​347)
  • Add doc parameter to analysistest.make, allowing analysis tests to be
    documented in a Stardoc-friendly way (#​343, #​352)

Contributors

Alexandre Rostovtsev, Geoffrey Martin-Noble, Kevin Kress, Samuel Freilich,
UebelAndre, Yesudeep Mangalapilly

v1.2.0

Compare Source

Release 1.2.0

Note: the 1.2.x releases of Skylib will be the last ones to support Bazel 4.2. Starting with release 1.3, Skylib will require Bazel 5 or newer.

New Features

  • The unittest toolchain has better support for special characters in failure messages (#​320)
  • Use portable Bash shebangs for BSD compatibility (#​329)
  • Add loadingtest - tests which evaluate during the loading phase (#​347)
  • Add doc parameter to analysistest.make, allowing analysis tests to be documented in a Stardoc-friendly way (#​343, #​352)

Contributors

Alexandre Rostovtsev, Geoffrey Martin-Noble, Kevin Kress, Samuel Freilich,
UebelAndre, Yesudeep Mangalapilly

WORKSPACE setup

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

Using the rules

See the source.

v1.1.1

Compare Source

New Features

  • Gazelle: support relative imports (#​271) and imports from @bazel_tools
    (#​273)
  • Add partial.is_instance() (#​276)
  • Allow unittest.suite() to accept partial calls of test rules (#​276)
  • Allow specifying additional aspects to target under test in
    analysistest.make() (#​299)
  • Add Windows support for build_test (#​302)

Incompatible Changes

  • structs.to_dict() ignores deprecated to_json()/to_proto() methods (#​295)

Contributors

aiuto, alandonovan, Alex Eagle, Alexandre Rostovtsev, Andrew Z Allen, c-parsons,
Christopher Sauer, Daniel Wagner-Hall, David Sanderson, dmaclach, Laurent Le
Brun, Mansur, Olek Wojnar, Philipp Wollermann, River, Samuel Giddins, Thaler
Benedek


Configuration

📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the bot label Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants