Skip to content

Releases: formatjs/rules_formatjs

v0.7.0

01 Jun 19:51
c928717

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6+ only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_formatjs", version = "0.7.0")

That's it! The toolchains are automatically registered.

What's Changed

  • ci: set Renovate minimum release age to 7d by @longlho in #68
  • chore(deps): update commitlint monorepo to v21 by @renovate[bot] in #60
  • chore(deps): update dependency @evilmartians/lefthook to v2.1.9 by @renovate[bot] in #66
  • chore(deps): update bazel-contrib/.github action to v7.6.0 by @renovate[bot] in #64
  • chore(deps): update dependency oxfmt to ^0.52.0 by @renovate[bot] in #63
  • chore(deps): update dependency bazel to v9.1.0 by @renovate[bot] in #37
  • feat: add formatjs_cli versions through 1.1.12 by @longlho in #69

Full Changelog: v0.6.0...v0.7.0

v0.6.0

15 May 04:14
61b9b27

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6+ only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_formatjs", version = "0.6.0")

That's it! The toolchains are automatically registered.

What's Changed

  • chore(deps): update bazel-contrib/publish-to-bcr action to v1.2.0 by @renovate[bot] in #44
  • chore(deps): update pnpm to v10.33.4 by @renovate[bot] in #56
  • chore(deps): update commitlint monorepo to v20.5.3 by @renovate[bot] in #58
  • chore(deps): update dependency oxfmt to ^0.48.0 by @renovate[bot] in #59
  • feat: update formatjs cli to 1.1.5 by @longlho in #65

Full Changelog: v0.5.1...v0.6.0

v0.5.1

10 May 05:51
76861c2

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6+ only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_formatjs", version = "0.5.1")

That's it! The toolchains are automatically registered.

What's Changed

  • chore(deps): update dependency @evilmartians/lefthook to v2.1.6 by @renovate[bot] in #30
  • chore(deps): update bazel-contrib/setup-bazel action to v0.19.0 by @renovate[bot] in #41
  • chore(deps): update dependency oxfmt to ^0.45.0 by @renovate[bot] in #45
  • chore(deps): update pnpm to v10.33.0 by @renovate[bot] in #43
  • chore(deps): update dependency rules_shell to v0.8.0 by @renovate[bot] in #42
  • chore(deps): update pnpm/action-setup action to v6 by @renovate[bot] in #46
  • chore(deps): update dependency oxfmt to ^0.46.0 by @renovate[bot] in #55
  • build: sync formatjs_cli versions by @longlho in #62

Full Changelog: v0.5.0...v0.5.1

v0.5.0

12 Apr 00:58
812b99a

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6+ only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_formatjs", version = "0.5.0")

That's it! The toolchains are automatically registered.

What's Changed

  • fix: remove ignore_directories from REPO.bazel for Bazel 7 compat by @longlho in #47
  • build: update MODULE.bazel.lock by @longlho in #51
  • feat: add formatjs_cli v1.1.0 and v1.1.1 by @longlho in #54

Full Changelog: v0.4.5...v0.5.0

v0.4.5

20 Mar 03:54
2cd2bf8

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6+ only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_formatjs", version = "0.4.5")

That's it! The toolchains are automatically registered.

What's Changed

  • fix: bump formatjs_cli to 1.0.0 by @longlho in #39
  • chore(deps): update commitlint monorepo to v20.5.0 by @renovate[bot] in #26
  • chore(deps): update dependency aspect_bazel_lib to v2.22.5 by @renovate[bot] in #27
  • chore(deps): update pnpm to v10.32.1 by @renovate[bot] in #28
  • chore(deps): update bazel-contrib/.github action to v7.4.0 by @renovate[bot] in #32
  • chore(deps): update actions/upload-artifact action to v7 by @renovate[bot] in #36
  • chore(deps): update pnpm/action-setup action to v5 by @renovate[bot] in #38

Full Changelog: v0.4.4...v0.4.5

v0.4.4

29 Jan 19:02
dda80e9

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6+ only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_formatjs", version = "0.4.4")

That's it! The toolchains are automatically registered.

What's Changed

  • chore(deps): update bazel-contrib/setup-bazel action to v0.18.0 by @renovate[bot] in #29
  • chore(deps): update dependency oxfmt to ^0.27.0 - autoclosed by @renovate[bot] in #31
  • chore(deps): update dependency bazel to v9 by @renovate[bot] in #33
  • fix: upgrade CLI to 0.1.11 by @longlho in #34

Full Changelog: v0.4.3...v0.4.4

v0.4.3

08 Jan 02:51

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6+ only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_formatjs", version = "0.4.3")

That's it! The toolchains are automatically registered.

Full Changelog: v0.4.2...v0.4.3

v0.4.2

07 Jan 14:59

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6+ only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_formatjs", version = "0.4.2")

That's it! The toolchains are automatically registered.

Full Changelog: v0.4.1...v0.4.2

v0.4.1

06 Jan 21:10

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6+ only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_formatjs", version = "0.4.1")

That's it! The toolchains are automatically registered.

Full Changelog: v0.4.0...v0.4.1

v0.4.0

06 Jan 20:47

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6+ only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_formatjs", version = "0.4.0")

That's it! The toolchains are automatically registered.

Testing the Installation

A smoke test is included in the release at e2e/smoke/. To verify the rules work in your environment:

cd e2e/smoke
bazel build //:extract

This will extract messages from a simple React component and verify that the FormatJS CLI toolchain is working correctly.

What's Changed

  • chore(deps): update dependency rules_shell to v0.6.1 by @renovate[bot] in #25
  • chore(deps): update dependency oxfmt to ^0.23.0 by @renovate[bot] in #21

Full Changelog: v0.3.0...v0.4.0