Skip to content

Releases: rabbitmq/rules_erlang

rules_erlang 3.6.2

08 Sep 14:23

Choose a tag to compare

What's Changed

  • Fix a crash when erlang is not available on the host by @pjk25 in #72

Full Changelog: 3.6.1...3.6.2

rules_erlang 3.6.1

08 Sep 11:22
074ed36

Choose a tag to compare

What's Changed

  • Allow configuration of "static" external erlangs on the host by @pjk25 in #71

Full Changelog: 3.6.0...3.6.1

rules_erlang 3.6.0

08 Sep 07:13

Choose a tag to compare

What's Changed

This release provides a workspace macro for redefined platform definitions and the detection of an existing Erlang installation on the host. It honors the ERLANG_HOME environment variable, and will fall back to erl as is available on the PATH. This makes it simpler to get started with rules_erlang.

  • Add @rules_erlang//:debug_build config_setting by @pjk25 in #67
  • erlang_toolchain now provides TemplateVariableInfo by @pjk25 in #68
  • Auto-detection of system erlang by @pjk25 in #70

Full Changelog: 3.5.0...3.6.0

rules_erlang 3.5.0

15 Aug 13:01

Choose a tag to compare

What's Changed

  • Allow ~ in the names of escripts by @pjk25 in #64
  • Update erlang_headers default files by @pjk25 in #65

Full Changelog: 3.4.0...3.5.0

rules_erlang 3.4.0

15 Aug 07:35

Choose a tag to compare

What's Changed

  • More configuration for eunit inputs by @the-mikedavis in #61
  • Improve the error message when erlang_package deps conflict by @pjk25 in #63

New Contributors

Full Changelog: 3.3.0...3.4.0

rules_erlang 3.3.0

14 Jul 07:17

Choose a tag to compare

What's Changed

  • Allow data targets for the shell rule by @f-f in #56
  • Expose the default erlang_headers filenames in the .bzl file by @pjk25 in #59
  • Provide more substitutions in the generlang rule by @pjk25 in #58
  • Allow overriding the compile_first argument in bytecode rule by @f-f in #57

Full Changelog: 3.2.0...3.3.0

rules_erlang 3.2.0

13 Jun 10:12
e8a9116

Choose a tag to compare

What's Changed

  • Fix xref2 rule for use with the root package in a workspace by @pjk25 in #53
  • Source archive rule by @pjk25 in #51

Full Changelog: 3.1.0...3.2.0

rules_erlang 3.1.0

08 Jun 08:31

Choose a tag to compare

What's Changed

  • Add xref2 rule which performs xref checks like the updated erlang.mk by @pjk25 in #44
  • Provide more logs when plt rules fail by @pjk25 in #45
  • Fix usage instructions in README by @f-f in #47
  • Remove the first_srcs arg to fix the build of github and hex apps by @f-f in #46
  • Copy rather than symlink erlang into place by @pjk25 in #48
  • Adopt latest rabbitmq-server-buildenv:linux-rbe for RBE by @github-actions in #49
  • Use erlang 25 in automated tests by @pjk25 in #50

New Contributors

  • @f-f made their first contribution in #47
  • @github-actions made their first contribution in #49

Full Changelog: 3.0.1...3.1.0

rules_erlang 3.0.1

01 Jun 15:59

Choose a tag to compare

Maintenance release

  • Fixes an issue with the erlang_headers rule and local builds
  • Fixes an issue with erlang.mk package auto-import

Full Changelog: 3.0.0...3.0.1

rules_erlang 3.0.0

01 Jun 07:49

Choose a tag to compare

What's Changed

This is a substantial update which provides the option of using Bazel to compile Erlang within a project. This can greatly simplify the management of which Erlang versions are test in say, a CI environment.

A few breaking changes were required, notably an Erlang/OTP "platform" must be targeted to resolve the toolchains needed by all the erlang related rules. There is a special platform, @rules_erlang//platforms:erlang_external_platform, which makes use of the existing --@//:erlang_home and --@//:erlang_version to maintain the behavior of rules_erlang 2.x with an external Erlang. On windows this is currently the only working option.

Also, the erlc rule has been renamed to erlang_bytecode in attempt to be more conventional with rule names.

The rest of the changes are mentioned in #43.

PRs in this release:

  • Enhanced erlang mk autobuild by @pjk25 in #41
  • v3 by @pjk25 in #43

Full Changelog: 2.5.2...3.0.0