2024-06-03 13:22:42 +00:00
|
|
|
# Release 1.7.1
|
|
|
|
|
|
|
|
**What's Changed**
|
|
|
|
* Fix distribution tarballs to include directory rules. (https://github.com/bazelbuild/bazel-skylib/pull/520)
|
|
|
|
|
|
|
|
**Full Changelog**: https://github.com/bazelbuild/bazel-skylib/compare/1.7.0...1.7.1
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
# Release 1.7.0
|
2024-04-25 15:37:37 +00:00
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
**New features**
|
|
|
|
* Implement `directory` rules by @matts1 in https://github.com/bazelbuild/bazel-skylib/pull/510
|
|
|
|
* Add `is_normalized` and `starts_with` to paths module by @comius in https://github.com/bazelbuild/bazel-skylib/pull/514
|
|
|
|
|
|
|
|
**New Contributors**
|
|
|
|
* @matts1 made their first contribution in https://github.com/bazelbuild/bazel-skylib/pull/510
|
|
|
|
|
|
|
|
**Full Changelog**: https://github.com/bazelbuild/bazel-skylib/compare/1.6.1...1.7.0
|
|
|
|
|
|
|
|
|
|
|
|
# Release 1.6.1
|
|
|
|
|
|
|
|
**What's Changed**
|
2024-04-25 15:37:37 +00:00
|
|
|
* Fix `modules` Bazel 6 compatibility by @phst in https://github.com/bazelbuild/bazel-skylib/pull/499
|
2024-04-25 15:53:26 +00:00
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
**New Contributors**
|
2024-04-25 15:53:26 +00:00
|
|
|
* @phst made their first contribution in https://github.com/bazelbuild/bazel-skylib/pull/499
|
2024-04-25 15:37:37 +00:00
|
|
|
|
|
|
|
**Full Changelog**: https://github.com/bazelbuild/bazel-skylib/compare/1.6.0...1.6.1
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
# Release 1.6.0
|
2024-04-24 21:40:06 +00:00
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
**What's Changed**
|
2024-04-24 21:40:06 +00:00
|
|
|
* Add helper functions for module extensions as `modules` by @fmeum in https://github.com/bazelbuild/bazel-skylib/pull/457
|
|
|
|
* Make `out` on `native_binary` optional by @tpudlik in https://github.com/bazelbuild/bazel-skylib/pull/474
|
|
|
|
* Remove outdated rules_cc dependency @cpsauer in https://github.com/bazelbuild/bazel-skylib/pull/476
|
|
|
|
* Add toolchains argument to unittests.make by @jylinv0 in https://github.com/bazelbuild/bazel-skylib/pull/483
|
|
|
|
* Allow `bzl_library` to depend on non-`bzl_library` targets by @Wyverald in https://github.com/bazelbuild/bazel-skylib/pull/495
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
**New Contributors**
|
2024-04-24 21:40:06 +00:00
|
|
|
* @jylinv0 made their first contribution in https://github.com/bazelbuild/bazel-skylib/pull/483
|
|
|
|
* @tpudlik made their first contribution in https://github.com/bazelbuild/bazel-skylib/pull/474
|
|
|
|
|
|
|
|
**Full Changelog**: https://github.com/bazelbuild/bazel-skylib/compare/1.5.0...1.6.0
|
|
|
|
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
# Release 1.5.0
|
2023-11-05 16:16:45 +00:00
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
**What's Changed**
|
2023-11-05 16:16:45 +00:00
|
|
|
* Expose int- and string-valued build settings as Make variables by @fmeum in https://github.com/bazelbuild/bazel-skylib/pull/440
|
|
|
|
* Modify actions in order not to need `toolchain` param by @kotlaja in https://github.com/bazelbuild/bazel-skylib/pull/455
|
|
|
|
* versions: Don't fail on Bazel dev builds by @fmeum in https://github.com/bazelbuild/bazel-skylib/pull/463
|
|
|
|
* Add error for empty `bzl_library` by @keith in https://github.com/bazelbuild/bazel-skylib/pull/457
|
|
|
|
* Add `doc` param to `unittest.make` by @UebelAndre in https://github.com/bazelbuild/bazel-skylib/pull/464
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
**New Contributors**
|
2023-11-05 16:16:45 +00:00
|
|
|
* @kotlaja made their first contribution in https://github.com/bazelbuild/bazel-skylib/pull/455
|
|
|
|
* @keith made their first contribution in https://github.com/bazelbuild/bazel-skylib/pull/457
|
|
|
|
|
|
|
|
**Full Changelog**: https://github.com/bazelbuild/bazel-skylib/compare/1.4.2...1.5.0
|
|
|
|
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
# Release 1.4.2
|
2023-05-31 19:24:07 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
# Release 1.4.1
|
2023-02-09 16:03:12 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
# Release 1.4.0
|
2023-01-27 15:02:13 +00:00
|
|
|
|
|
|
|
**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
|
|
|
|
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
# Release 1.3.0
|
2022-09-01 14:12:35 +00:00
|
|
|
|
|
|
|
**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
|
|
|
|
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
# Release 1.2.1
|
2022-03-10 16:31:05 +00:00
|
|
|
|
|
|
|
Bugfix release: fixes build failure with --incompatible_disallow_empty_glob
|
|
|
|
(#359)
|
|
|
|
|
|
|
|
**Contributors**
|
|
|
|
|
|
|
|
Alexandre Rostovtsev, Ivo List
|
|
|
|
|
|
|
|
|
2022-02-11 17:02:05 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
# Release 1.1.1 (initially tagged as 1.1.0)
|
2021-09-27 16:23:51 +00:00
|
|
|
|
|
|
|
**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
|
|
|
|
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
# Release 1.0.3
|
2020-08-27 14:01:44 +00:00
|
|
|
|
|
|
|
**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
|
|
|
|
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
# Release 1.0.0
|
2019-10-04 18:55:59 +00:00
|
|
|
|
|
|
|
**Incompatible Changes**
|
|
|
|
|
|
|
|
- @bazel_skylib//:lib.bzl is removed. You now must specify specific modules
|
|
|
|
via @bazel_skylib//lib:<file>.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.
|
|
|
|
|
|
|
|
|
2024-05-31 08:04:57 +00:00
|
|
|
# Release 0.9.0
|
2019-10-04 18:55:59 +00:00
|
|
|
|
2019-08-23 18:37:16 +00:00
|
|
|
**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
|
2021-06-16 17:00:06 +00:00
|
|
|
https://github.com/bazelbuild/proposals/blob/HEAD/designs/2018-11-09-config-setting-chaining.md.
|
2019-08-23 18:37:16 +00:00
|
|
|
- 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
|
|
|
|
|
|
|
|
- This rule is an alternative for genrule(): it can run a binary with the
|
|
|
|
desired arguments, environment, inputs, and outputs, as a single build
|
|
|
|
action, without shelling out to Bash.
|
|
|
|
- Fixes https://github.com/bazelbuild/bazel-skylib/issues/149
|
|
|
|
|
|
|
|
- New `native_binary()` and `native_test()` rules let you wrap a pre-built
|
|
|
|
binary in a binary and test rule respectively.
|
|
|
|
|
|
|
|
- native_binary() wraps a pre-built binary or script in a *_binary rule
|
|
|
|
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.
|
|
|
|
- native_test() is similar, but creates a testable rule instead of a
|
|
|
|
binary rule.
|
|
|
|
- Fixes https://github.com/bazelbuild/bazel-skylib/issues/148
|
|
|
|
|
|
|
|
- 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/4319
|
|
|
|
|
|
|
|
- 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**
|