Skip to content

Releases: bazelbuild/rules_closure

Closure Rules 0.13.0

24 Feb 05:38
72d3084
Compare
Choose a tag to compare

This release upgrades many dependencies and includes compatibility changes.

Other noteworthy changes:

  • Experimental support for using webdriver and real browsers for closure_js_test (f055e21)
  • Previously deprecated 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.

Closure Rules 0.12.0

23 Jun 18:25
04a1b4d
Compare
Choose a tag to compare

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.

Closure Rules 0.11.0

31 Aug 18:57
c5a2d60
Compare
Choose a tag to compare

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.

Closure Rules 0.10.0

07 Oct 19:36
Compare
Choose a tag to compare

This release upgrades JsCompiler and includes more compatibility changes.

Closure Rules 0.9.0

05 Sep 15:01
Compare
Choose a tag to compare

This release upgrades many dependencies and includes compatibility changes.

Closure Rules 0.8.0

03 Aug 11:16
Compare
Choose a tag to compare

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+.

Upgrades

  • @com_google_dagger 2.9 → 2.14.1

Workspace

http_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()

Closure Rules 0.7.0

09 May 19:03
dea93c4
Compare
Choose a tag to compare

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 to transitionalforwarddeclarations.js.

  • A lenient attribute is now available for closure_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()

Closure Rules 0.6.1

27 Apr 14:25
Compare
Choose a tag to compare

Changes

  • Modernize JS protobuf rule (#263)
  • Remove com_google_protobuf_java (#249)

Workspace

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()

Tips

  • build --distinct_host_configuration=false in ~/.bazelrc makes protobuf build 2x fast

Closure Rules 0.6.0

11 Apr 06:00
Compare
Choose a tag to compare

This 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()

Closure Rules v0.4.2

29 Aug 01:46
Compare
Choose a tag to compare

This is a maintenance release (i.e. not tracking HEAD) which upgrades the following components:

  • Closure Compiler v20170124 → v20170806 (Release notes)
  • Closure Library v20170124 → v20170806 (Release notes: [1] [2] [3] [4] [5])
  • Closure Templates 2016-02-01 → 2017-08-08
  • Closure Stylesheets 1.4.0 → 1.5.0
  • Protobuf 3.2.0 → 3.3.0
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",
    ],
)