Skip to content
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

Update dependency bazel_skylib to v1 #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 17, 2021

This PR contains the following updates:

Package Type Update Change
bazel_skylib http_archive major 0.6.0 -> 1.7.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

bazelbuild/bazel-skylib (bazel_skylib)

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

MODULE.bazel setup

bazel_dep(name = "bazel_skylib", version = "1.5.0")

### If the Gazelle plugin is needed:
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)

WORKSPACE setup

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

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

load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()

Additional WORKSPACE setup for the Gazelle plugin

http_archive(
    name = "bazel_skylib_gazelle_plugin",
    sha256 = "747addf3f508186234f6232674dd7786743efb8c68619aece5fb0cac97b8f415",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-gazelle-plugin-1.5.0.tar.gz",
        "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-gazelle-plugin-1.5.0.tar.gz",
    ],
)

load("@​bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace")

bazel_skylib_gazelle_plugin_workspace()

load("@​bazel_skylib_gazelle_plugin//:setup.bzl", "bazel_skylib_gazelle_plugin_setup")

bazel_skylib_gazelle_plugin_setup()

v1.4.2

Compare Source

Release 1.4.2

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

WORKSPACE setup

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_skylib",
    sha256 = "66ffd9315665bfaafc96b52278f57c7e2dd09f5ede279ea6d39b2be471e7e3aa",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
        "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
    ],
)

load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()

Additional WORKSPACE setup for the Gazelle plugin

http_archive(
    name = "bazel_skylib_gazelle_plugin",
    sha256 = "3327005dbc9e49cc39602fb46572525984f7119a9c6ffe5ed69fbe23db7c1560",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-gazelle-plugin-1.4.2.tar.gz",
        "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-gazelle-plugin-1.4.2.tar.gz",
    ],
)

load("@​bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace")

bazel_skylib_gazelle_plugin_workspace()

load("@​bazel_skylib_gazelle_plugin//:setup.bzl", "bazel_skylib_gazelle_plugin_setup")

bazel_skylib_gazelle_plugin_setup()

MODULE.bazel setup

bazel_dep(name = "bazel_skylib", version = "1.4.2")

And for the Gazelle plugin:

bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.2", dev_dependency = True)

Using the rules

See the source.

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

v1.1.0

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

v1.0.3

Compare Source

Significant Changes

  • Move Gazelle extension to //gazelle/bzl and change package name
  • Stop depending on rules_pkg through the federation. (#​259)
  • copy_file: Add parameter to allow symlinks (#​252)
  • Create Gazelle language for Starlark (#​251)
  • Create a helper rule (select_file) for selecting a file from outputs of another rule (#​233)

Incompatible Changes

  • Remove links to maprules (#​213)
  • Remove old_sets.bzl (#​231)
    It has been deprecated for a while, the code is not really compatible with Bazel depset-related changes.

Contributors
Andrew Z Allen, Bocete, Bor Kae Hwang, irengrig, Jay Conrod, Jonathan B Coe, Marc Plano-Lesay, Robbert van Ginkel, Thomas Van Lenten, Yannic

v1.0.2

Compare Source

New Features

  • Added types.is_set() to test whether an arbitrary object is a set as defined by sets.bzl.

Incompatible Changes

  • @​bazel_skylib//:lib.bzl is removed. You now must specify specific modules via @​bazel_skylib//lib:.bzl.
  • maprule.bzl is removed.
    Added types.is_set() to test whether an arbitrary object is a set as defined by sets.bzl.

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.0.2/bazel-skylib-1.0.2.tar.gz",
        "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
    ],
    sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44",
)
load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()

Using the rules

See the source.

v1.0.1

Compare Source

New Features

Patch release to 1.0.0 to provide toolchain for unittest library.

WORKSPACE setup

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "bazel_skylib",
    url = "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.1/bazel-skylib-1.0.1.tar.gz",
    sha256 = "f1c8360c01fcf276778d3519394805dc2a71a64274a3a0908bc9edff7b5aebc8",
)
load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()

Using the rules

See the source.

v1.0.0

Compare Source

Incompatible Changes

  • @​bazel_skylib//:lib.bzl is removed. You now must specify specific modules
    via @​bazel_skylib//lib:.bzl.
  • maprule.bzl is removed.

New Features

  • Added types.is_set() to test whether an arbitrary object is a set as defined by sets.bzl.

v0.9.0

Compare Source

New Features

This release is tested with Bazel 0.28

v0.8.0

Compare Source

New Features

  • “Analysis Test” testing framework under unittest.bzl. See documentation for details. Some new feature highlights:
    • Support for verifying rule-under-test failure conditions
    • Support for verifying actions registered by a rule-under-test
    • Support for verifying rule behavior under non-default bazel flags
  • analysis_test rule to verify that targets under test pass Bazel’s analysis phase. This is similar to the existing build_test rule, except that actions of the underlying targets are not executed. See documentation.
  • write_file rule to write UTF-8 encoded text files. (Works for bash platforms and Windows)
  • copy_file rule to copy a file to another location. (Works for bash platforms and Windows)
  • dicts.add() now accepts kwargs to add to the resulting dict.

This release is tested with Bazel 0.23

Thanks to the following external contributors:

Please use the bazel-skylib.0.8.0.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: 2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e

[Complete list of changes](

v0.7.0

Compare Source

Incompatible Changes

  • Made an incompatible change to unittest.bzl requiring minor migration effort:
    Test implementation functions for this framework now must return the result of unittest.end(env) instead of simply invoking this method. That is:
    def _your_test(ctx):
    env = unittest.begin(ctx)

Assert statements go here

    unittest.end(env)
```
must become:
```
def _your_test(ctx):
    env = unittest.begin(ctx)

Assert statements go here

    return unittest.end(env)
```

New Features

  • Added Windows support for unittest.bzl.

  • Added maprule rules (cmd_maprule and bash_maprule under //rules/maprule.bzl for Windows and bash support, respectively)

  • Added a build_test rule (build_test under //rules/build_test.bzl) to create test targets that verify that other targets build. Note that this rule does not currently work on Windows (though support for Windows shall come at a later time).


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 force-pushed the renovate/bazel_skylib-1.x branch from 0897d31 to a57e62c Compare October 18, 2021 21:21
@renovate renovate bot force-pushed the renovate/bazel_skylib-1.x branch from a57e62c to 9b3fe52 Compare March 7, 2022 13:31
@renovate renovate bot force-pushed the renovate/bazel_skylib-1.x branch from 9b3fe52 to b375ee4 Compare March 26, 2022 13:02
@renovate renovate bot force-pushed the renovate/bazel_skylib-1.x branch from b375ee4 to ce69c38 Compare September 25, 2022 14:54
@renovate renovate bot force-pushed the renovate/bazel_skylib-1.x branch from ce69c38 to 66ab514 Compare March 18, 2023 18:06
@renovate renovate bot force-pushed the renovate/bazel_skylib-1.x branch from 66ab514 to e67cae4 Compare June 1, 2023 03:35
@renovate renovate bot force-pushed the renovate/bazel_skylib-1.x branch from e67cae4 to 889df0a Compare November 6, 2023 17:38
@renovate renovate bot force-pushed the renovate/bazel_skylib-1.x branch 2 times, most recently from a8bbd73 to a575f3b Compare April 25, 2024 15:58
@renovate renovate bot force-pushed the renovate/bazel_skylib-1.x branch from a575f3b to c421889 Compare May 31, 2024 10:20
@renovate renovate bot force-pushed the renovate/bazel_skylib-1.x branch from c421889 to 6a0d041 Compare June 3, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants