Releases: erlang/rebar3
3.6.2
- Reload logger config in shell according to sys.config
- add report in the effects_code_generation, as it is the short form for both report_errors and report_warnings preventing some unnecessary re-compiling
- Friendlier output on include_lib errors
- Bump certifi to update certificates
- fixed typo erl_first_files
- smarter shell code reloading, add env options for refresh_paths & refresh_paths_blacklist
- Warn but succeed when atoms are passed to erl_first_files
3.6.1
3.6.0
This is the first important release to support OTP-21.0 officially, rather than just release candidates. There are some new features:
- upgrades to relx to 3.25.0 introduce support for OTP-21's 'sys.config.src' files, which allow automatic replacement of variables in sys.config files, without needing to use set
RELX_REPLACE_OS_VARS
, and without having to wrap them in strings to work. It also contains a bunch of bugfixes. - Introduce support of
del
operations for overrides, which allow to unset specific values from lists such aserl_opts
in dependencies - Add hooks to the upgrade command
- Add --start-clean flag to rebar3 shell
There are also plenty of bugfixes:
- Bump cth_readable for OTP-21 compat
- upgrade bbmustache to 1.5.0
- run compile provider in default namespace from bare compiler, fixing some build issues in mix builds
- Resolve string vs list crashing rebar3 erl_first_files
- Create ERLANG_LIB_*_erl_interface environment variables only if erl_interface exists
- Auto-boot main app in OTP app project templates
- Use maps for child spec example in templates
3.5.3
This is a patch release fixing a few things with 3.5.2:
- Restore default templates in bootstrapped rebar3
- start at least one async thread in async thread poll
- Logger support in cth_readable, and compact CT output
Do note that Erlang R16B support has officially ended in order to support Erlang/OTP-21-rc1, given that logging handling required maps, which did not exist back in R16. If you need R16B support, the old rebar3 releases should work for a good while.
A new compact format for common test output has been added and made default, equivalent to --readable=compact
. You can revert to previous behaviour with --readable=true
or cancel all reformatting of output with --readable=false
as before.
3.5.2
- Support Erlang/OTP-21
- ensure destination directory exists before copying data to it and fix src_dirs symlinking logic
- Display warnings when global cache dirs are read-only
- Bump cth_readable to 1.3.4 to restore eunit macro formatter functionality and lager compat
- Reload pre-started apps running in first shell boot with new sys.config
- Fix local upgrade etag handling
- Fix precedence rules of erl_opts for test profile
- Display rebar.config.script errors for better diagnosing of issues
- Handle Schema-less Proxy URLs in ENV vars
- Fix quotes handling in packages etag values
- Remove noisy debug message about internal state
- force an order on multiple profiles to fix inconsistencies on repeated runs
- use debug level for logs about bad package versioning
- don't attempt to retry finding missing packages when updating index
- Functions allowing providers and plugins to set ENV vars have been exposed
- do not return first hex package version for a constraint with no match
- Set unicode option for standard_io at entry point
- fix hooks and plugins usage when cleaning build artifacts for deps
- upgrade erlware commons and relx for various bug fixes
- Fix alias provider argument passing
3.5.1
THIS RELEASE IS DEPRECATED IN FAVOUR OF 3.5.2 SINCE IT HAD SOME INADEQUATE COMPILE OPTIONS
- Support Erlang/OTP-21
- ensure destination directory exists before copying data to it and fix src_dirs symlinking logic
- Display warnings when global cache dirs are read-only
- Bump cth_readable to 1.3.4 to restore eunit macro formatter functionality and lager compat
- Reload pre-started apps running in first shell boot with new sys.config
- Fix local upgrade etag handling
- Fix precedence rules of erl_opts for test profile
- Display rebar.config.script errors for better diagnosing of issues
- Handle Schema-less Proxy URLs in ENV vars
- Fix quotes handling in packages etag values
- Remove noisy debug message about internal state
- force an order on multiple profiles to fix inconsistencies on repeated runs
- use debug level for logs about bad package versioning
- don't attempt to retry finding missing packages when updating index
- Functions allowing providers and plugins to set ENV vars have been exposed
- do not return first hex package version for a constraint with no match
- Set unicode option for standard_io at entry point
- fix hooks and plugins usage when cleaning build artifacts for deps
- upgrade erlware commons and relx for various bug fixes
- Fix alias provider argument passing
3.5.0
Release 3.5.0 adds some new features!
- The alias plugin has been promoted to a built-in command
- Support minimal coverage enforcement in tests with
cover --min_coverage=0..100
- add eunit and ct option to set coverdata file name (
--cover_export_name
) - Add experimental support for
ct --retry
option, allowing to replay previously failed test cases.
The alias plugin is a particular highlight letting you define your own rebar3 commands out of sequences of existing ones.
Multiple fixes were also added:
- Update to the bootstrap script fixing some file handling and windows issues
- Prevent escriptize failure when ebin/ has subdirectories
- Prevent plugin unloading from killing currently running command (soft-purge in-compile)
- Fix file handling on Windows 7
- fix code path handling when validating plugins
- Disable color in git log commands when enabled globally
- Update manpages
3.4.7
3.4.6
3.4.5
- OTP-21 readiness, Full Unicode support, massive dep upgrade
- fixed handling of proxy username and password when fetching registry
- git versions from tag made consistent and all strip 'v' prefix
- Prevent hard crash on duplicate plugin paths
- Fix include paths in profile multiapp edge case
- Fix unlock state carry, which broke
do
sequences withunlock
in them. - Avoid guessing on utf8 decoding of app files
- Various fixes related to .app files
- Warn user when an unsupported local git or hg resource is used
- Corrects a fix to src_dir values
- Update eunit_formatters to latest version
- Changes in wording of warnings for more accuracy