Closure rules for Bazel
This release upgrades many dependencies and includes compatibility changes.
Other noteworthy changes:
closure_js_test
(https://github.com/bazelbuild/rules_closure/commit/f055e21c59df26548b114606015c0ac2da1df701)closure_js_deps
is removed.Note that this will be the latest version to support legacy structs which is being replaced with proper providers in the next release.
This release upgrades many dependencies and includes compatibility changes. It also improves Bazel TreeArtifact support.
Note that this releases deprecates closure_js_deps
which generates already deprecated 'deps.js' files. It will be removed in the next release.
This release upgrades many dependencies and includes compatibility changes.
Note that this releases removes the deprecated closure_repositories macro. It was deprecated in favor of rules_closure_dependencies()
and rules_closure_toolchains()
to be more consistent with other rules.
This release upgrades JsCompiler and includes more compatibility changes.
This release upgrades many dependencies and includes compatibility changes.
This release upgrades a dagger dependency and adds some changes to prepare for Bazel incompatible change. Update to this release for Bazel 0.16.0+.
@com_google_dagger
2.9 → 2.14.1http_archive(
name = "io_bazel_rules_closure",
sha256 = "b29a8bc2cb10513c864cb1084d6f38613ef14a143797cea0af0f91cd385f5e8c",
strip_prefix = "rules_closure-0.8.0",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/0.8.0.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/0.8.0.tar.gz",
],
)
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
closure_repositories()
This release upgrades dependencies, improves performance, and adds a few features.
@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.0There's now a fine-grained build graph for the Closure Library. Read dea93c4667e95802a8511c873fb8504eb1cf5125 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 to transitionalforwarddeclarations.js
.
A lenient
attribute is now available for closure_js_library
which makes the compiler more easy-going.
goog.labs
, goog.ui
, and third party APIs may no longer be exported from
//closure/library
and //closure/library:testing
by default.//closure/private:defs.bzl
Skylark API.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()
http_archive(
name = "io_bazel_rules_closure",
sha256 = "d317365f46902cfc6cfb0aa032aa7f6e4063da8b8794a7c8398588af4df60deb",
strip_prefix = "rules_closure-0.6.1",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/0.6.1.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/0.6.1.tar.gz",
],
)
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
closure_repositories()
build --distinct_host_configuration=false
in ~/.bazelrc
makes protobuf build 2x fastThis release includes many enhancements, which are documented by the commit history. This release is meant to formally tag the work we've been doing off HEAD.
http_archive(
name = "io_bazel_rules_closure",
sha256 = "7fb23196455e26d83559cf8a2afa13f720d512f10215228186badfe6d6ad1b18",
strip_prefix = "rules_closure-0.6.0",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/0.6.0.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/0.6.0.tar.gz",
],
)
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
closure_repositories()
This is a maintenance release (i.e. not tracking HEAD) which upgrades the following components:
http_archive(
name = "io_bazel_rules_closure",
strip_prefix = "rules_closure-0.4.2",
sha256 = "25f5399f18d8bf9ce435f85c6bbf671ec4820bc4396b3022cc5dc4bc66303609",
urls = [
"http://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/0.4.2.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/0.4.2.tar.gz",
],
)