Closure Rules 0.7.0
This release upgrades dependencies, improves performance, and adds a few features.
Upgrades
@com_google_javascript_closure_compiler
2008-01-01 → 2008-04-02@com_google_javascript_closure_library
2017-12-03 → 2018-04-05@com_google_template_soy
2018-01-03 → 2018-03-14@com_google_protobuf
3.5.0 → 3.5.1@com_google_guava
21.0 → 24.1-jre@com_google_auto_value
1.4-rc2 → 1.6@com_google_auto_factory
1.0-beta3 → 1.0-beta5@com_google_errorprone_error_prone_annotations
2.0.19 → 2.1.3@com_squareup_javawriter
2.5.1 →@com_squareup_javapoet
1.7.0
Features
-
There's now a fine-grained build graph for the Closure Library. Read dea93c4 for details on how this can reduce footprints and build latencies. See also //closure/library for the full catalog of build rules.
-
deps.js
no longer needs to be an implicit dependency thanks totransitionalforwarddeclarations.js
. -
A
lenient
attribute is now available forclosure_js_library
which makes the compiler more easy-going.
Changes
goog.labs
,goog.ui
, and third party APIs may no longer be exported from
//closure/library
and//closure/library:testing
by default.- Several breaking changes to the private
//closure/private:defs.bzl
Skylark API.
Workspace
http_archive(
name = "io_bazel_rules_closure",
sha256 = "a80acb69c63d5f6437b099c111480a4493bad4592015af2127a2f49fb7512d8d",
strip_prefix = "rules_closure-0.7.0",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/0.7.0.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/0.7.0.tar.gz",
],
)
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
closure_repositories()