Update dependency bazel_skylib to v1 #78
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
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
directory
rules by @matts1 in https://github.com/bazelbuild/bazel-skylib/pull/510is_normalized
andstarts_with
to paths module by @comius in https://github.com/bazelbuild/bazel-skylib/pull/514New Contributors
Full Changelog: bazelbuild/bazel-skylib@1.6.1...1.7.0
v1.6.1
Compare Source
What's Changed
modules
Bazel 6 compatibility by @phst in https://github.com/bazelbuild/bazel-skylib/pull/499New Contributors
Full Changelog: bazelbuild/bazel-skylib@1.6.0...1.6.1
v1.6.0
Compare Source
What's Changed
modules
by @fmeum in https://github.com/bazelbuild/bazel-skylib/pull/457out
onnative_binary
optional by @tpudlik in https://github.com/bazelbuild/bazel-skylib/pull/474bzl_library
to depend on non-bzl_library
targets by @Wyverald in https://github.com/bazelbuild/bazel-skylib/pull/495New Contributors
Full Changelog: bazelbuild/bazel-skylib@1.5.0...1.6.0
v1.5.0
Compare Source
What's Changed
toolchain
param by @kotlaja in https://github.com/bazelbuild/bazel-skylib/pull/455doc
param tounittest.make
by @UebelAndre in https://github.com/bazelbuild/bazel-skylib/pull/464New Contributors
Full Changelog: bazelbuild/bazel-skylib@1.4.2...1.5.0
MODULE.bazel setup
WORKSPACE setup
Additional WORKSPACE setup for the Gazelle plugin
v1.4.2
Compare Source
Release 1.4.2
Bugfix release: fixes
build_test
to respecttarget_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
Additional WORKSPACE setup for the Gazelle plugin
MODULE.bazel setup
And for the Gazelle plugin:
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
Other Notable Changes
Contributors
Alexandre Rostovtsev, Nick Gooding, Simon Stewart, Xùdōng Yáng
v1.3.0
Compare Source
New Features
dicts.omit
anddicts.pick
(#304)expand_template
rule (#330)subpackages
module (#348)copy_directory
rule (#366)bzlmod
support (#385)Incompatible Changes
native_binary
andnative_test
now use symlinks instead of copying, ifthe OS supports it (#340)
native_binary
andnative_test
now build in target configuration insteadof host configuration (#341)
copy_file
no longer adds non-executables todefault_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
messages (#320)
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
Contributors
Alexandre Rostovtsev, Geoffrey Martin-Noble, Kevin Kress, Samuel Freilich,
UebelAndre, Yesudeep Mangalapilly
WORKSPACE setup
Using the rules
See the source.
v1.1.1
Compare Source
New Features
@bazel_tools
(#273)
analysistest.make() (#299)
Incompatible Changes
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
@bazel_tools
(#273)
analysistest.make() (#299)
Incompatible Changes
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
select_file
) for selecting a file from outputs of another rule (#233)Incompatible Changes
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
Incompatible Changes
Added types.is_set() to test whether an arbitrary object is a set as defined by sets.bzl.
WORKSPACE setup
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
Using the rules
See the source.
v1.0.0
Compare Source
Incompatible Changes
via @bazel_skylib//lib:.bzl.
New Features
v0.9.0
Compare Source
New Features
common_settings.bzl: Standard data types for user defined build
configuration. Common scalar build settings for rules to use so they don't
recreate them locally. This fulfills part of the SBC design doc:
https://docs.google.com/document/d/1vc8v-kXjvgZOdQdnxPTaV0rrLxtP2XwnD2tAZlYJOqw/edit#bookmark=id.iiumwic0jphr
selects.bzl: Add config_setting_group for config_setting AND/OR-chaining
Implements
https://github.com/bazelbuild/proposals/blob/HEAD/designs/2018-11-09-config-setting-chaining.md.
Make sets.bzl point to new_sets.bzl instead of old_sets.bzl. new_sets.bzl
and old_sets.bzl should be removed in the following skylib release.
run_binary: runs an executable as an action
desired arguments, environment, inputs, and outputs, as a single build
action, without shelling out to Bash.
New
native_binary()
andnative_test()
rules let you wrap a pre-builtbinary in a binary and test rule respectively.
interface. Rules like genrule can tool-depend on it, and it can be
executed with "bazel run". This rule can also augment the binary with
runfiles.
binary rule.
diff_test: test rule compares two files and passes if the files match.
On Linux/macOS/non-Windows, the test compares files using 'diff'.
On Windows, the test compares files using 'fc.exe'. This utility is
available on all Windows versions I tried (Windows 2008 Server, Windows 2016
Datacenter Core).
See https://github.com/bazelbuild/bazel/issues/5508,
https://github.com/bazelbuild/bazel/issues/43194319
maprule: move functionality to maprule_util.bzl. maprule_util.bzl will
benefit planned new rules (namely a genrule alternative).
This release is tested with Bazel 0.28
v0.8.0
Compare Source
New Features
analysis_test
rule to verify that targets under test pass Bazel’s analysis phase. This is similar to the existingbuild_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 BazelWORKSPACE
.SHA-256 digest:
2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e
[Complete list of changes](
v0.7.0
Compare Source
Incompatible Changes
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
Assert statements go here
New Features
Added Windows support for
unittest.bzl
.Added maprule rules (
cmd_maprule
andbash_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.
This PR was generated by Mend Renovate. View the repository job log.