Releases: rabbitmq/rules_erlang
rules_erlang 3.6.2
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
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
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
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
What's Changed
- More configuration for
eunitinputs by @the-mikedavis in #61 - Improve the error message when erlang_package deps conflict by @pjk25 in #63
New Contributors
- @the-mikedavis made their first contribution in #61
Full Changelog: 3.3.0...3.4.0
rules_erlang 3.3.0
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
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
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_srcsarg 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
Full Changelog: 3.0.1...3.1.0
rules_erlang 3.0.1
Maintenance release
- Fixes an issue with the
erlang_headersrule 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
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:
Full Changelog: 2.5.2...3.0.0