From e5cf5398cd3e01d5552ed1056aafc06f92adb374 Mon Sep 17 00:00:00 2001 From: aiuto Date: Fri, 4 Oct 2019 14:55:59 -0400 Subject: [PATCH] Update version and changelog in prep for 1.0.0 release (#196) * -Update changelog to get ready for release 1.0 -Change README to point to releases page for WORKSPACE setup. Otherwise the readme shipped in the archive can never be in sync with the readme that has the correct sha256. * update incompatible changes * -Update changelog to get ready for release 1.0 -Change README to point to releases page for WORKSPACE setup. Otherwise the readme shipped in the archive can never be in sync with the readme that has the correct sha256. * fix wording of changelog * remove false file --- CHANGELOG.md | 15 +++++++++++++++ README.md | 16 +--------------- version.bzl | 2 +- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c58c55..fcf0ea6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +Release 1.0.0 + +**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. + + +Release 0.9.0 + **New Features** - common_settings.bzl: Standard data types for user defined build diff --git a/README.md b/README.md index 711925a..0b3a6fc 100644 --- a/README.md +++ b/README.md @@ -19,21 +19,7 @@ Skylib also provides build rules under the `rules` directory. ### `WORKSPACE` file -Add the following to your `WORKSPACE` file to import the Skylib repository into -your workspace. Replace the version number in the `tag` attribute with the -version you wish to depend on: - -```python -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") - -maybe( - http_archive, - name = "bazel_skylib", - url = "https://github.com/bazelbuild/bazel-skylib/releases/download/0.9.0/bazel_skylib-0.9.0.tar.gz", - sha256 = "1dde365491125a3db70731e25658dfdd3bc5dbdfd11b840b3e987ecf043c7ca0", -) -``` +See the **WORKSPACE setup** section [for the current release](https://github.com/bazelbuild/bazel-skylib/releases). If you want to use `lib/unittest.bzl` from Skylib versions released in or after December 2018, then you also should add to the `WORKSPACE` file: diff --git a/version.bzl b/version.bzl index 1d02870..de87db0 100644 --- a/version.bzl +++ b/version.bzl @@ -13,4 +13,4 @@ # limitations under the License. """The version of bazel-skylib.""" -version = "0.10.0" +version = "1.0.0"