Releases: erlang/rebar3
3.7.0-rc2
- reset default profile app plugins to empty if at the top level (#1885)
- properly support top level app erl_opts from REBAR_CONFIG os var (#1889)
- only print skip warning if version is different (#1886)
- add option to compiler provider to only build dependencies (#1888)
- add compile type for dynamic project compilation (allows for overriding the entire compilation process of an individual application, for example so Elixir projects that are built with
mix) - rebar_compiler is a new behaviour that a plugin can implement to be called on any use of the compile provider to compile source files and keep track of their dependencies.
- only include modules in the .app modules list that are from
src_dirswhile leaving out those fromextra_src_dirs
- add compile type for dynamic project compilation (allows for overriding the entire compilation process of an individual application, for example so Elixir projects that are built with
- warn if the matched package is retired, skip prerelease (#1897)
- upgrade relx and set base_dir in overlay_vars (#1902)
- compiler behaviour (#1893)
- Bump bbmustache and fix templates (#1862)
- Fix sample config punctuation (#1890)
From 3.7.0-rc1:
3.7.0-rc1
- support for hex v2, multiple repository fetching, private organizations (#1884)
- see rebar3_hex for instructions authenticating against private organizations and working with repositories
- fix: only eval config scripts and apply overrides once per app (#1879)
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
deloperations for overrides, which allow to unset specific values from lists such aserl_optsin 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 --retryoption, 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