1Release 1.0.3 2 3**Significant Changes** 4 5- Move Gazelle extension to //gazelle/bzl and change package name 6- Stop depending on rules_pkg through the federation. (#259) 7- copy_file: Add parameter to allow symlinks (#252) 8- Create Gazelle language for Starlark (#251) 9- Create a helper rule (`select_file`) for selecting a file from outputs of another rule (#233) 10 11 12**Incompatible Changes** 13- Remove links to maprules (#213) 14- Remove old_sets.bzl (#231) 15 It has been deprecated for a while, the code is not really compatible with Bazel depset-related changes. 16 17**Contributors** 18Andrew Z Allen, Bocete, Bor Kae Hwang, irengrig, Jay Conrod, Jonathan B Coe, Marc Plano-Lesay, Robbert van Ginkel, Thomas Van Lenten, Yannic 19 20 21Release 1.0.0 22 23**Incompatible Changes** 24 25- @bazel_skylib//:lib.bzl is removed. You now must specify specific modules 26 via @bazel_skylib//lib:<file>.bzl. 27- maprule.bzl is removed. 28 29**New Features** 30 31- Added types.is_set() to test whether an arbitrary object is a set as defined by sets.bzl. 32 33 34Release 0.9.0 35 36**New Features** 37 38- common_settings.bzl: Standard data types for user defined build 39 configuration. Common scalar build settings for rules to use so they don't 40 recreate them locally. This fulfills part of the SBC design doc: 41 https://docs.google.com/document/d/1vc8v-kXjvgZOdQdnxPTaV0rrLxtP2XwnD2tAZlYJOqw/edit#bookmark=id.iiumwic0jphr 42- selects.bzl: Add config_setting_group for config_setting AND/OR-chaining 43 Implements 44 https://github.com/bazelbuild/proposals/blob/master/designs/2018-11-09-config-setting-chaining.md. 45- Make sets.bzl point to new_sets.bzl instead of old_sets.bzl. new_sets.bzl 46 and old_sets.bzl should be removed in the following skylib release. 47 48- run_binary: runs an executable as an action 49 50 - This rule is an alternative for genrule(): it can run a binary with the 51 desired arguments, environment, inputs, and outputs, as a single build 52 action, without shelling out to Bash. 53 - Fixes https://github.com/bazelbuild/bazel-skylib/issues/149 54 55- New `native_binary()` and `native_test()` rules let you wrap a pre-built 56 binary in a binary and test rule respectively. 57 58 - native_binary() wraps a pre-built binary or script in a *_binary rule 59 interface. Rules like genrule can tool-depend on it, and it can be 60 executed with "bazel run". This rule can also augment the binary with 61 runfiles. 62 - native_test() is similar, but creates a testable rule instead of a 63 binary rule. 64 - Fixes https://github.com/bazelbuild/bazel-skylib/issues/148 65 66- diff_test: test rule compares two files and passes if the files match. 67 68 On Linux/macOS/non-Windows, the test compares files using 'diff'. 69 70 On Windows, the test compares files using 'fc.exe'. This utility is 71 available on all Windows versions I tried (Windows 2008 Server, Windows 2016 72 Datacenter Core). 73 74 See https://github.com/bazelbuild/bazel/issues/5508, 75 https://github.com/bazelbuild/bazel/issues/4319 76 77- maprule: move functionality to maprule_util.bzl. maprule_util.bzl will 78 benefit planned new rules (namely a genrule alternative). 79 80**This release is tested with Bazel 0.28** 81