3.14.0-rc2
Pre-release
Pre-release
New Features (since 3.13.2):
git_subdir
dependencies (and #2290) allow to only get a subdirectory of a given git repository. This change will not work with older rebar3 versions and may error out their build if used, although an identical plugin could be written to patch up for that use case. Declare the dependency as:{git_subdir, Url, Dir}
{git_subdir, Url, {tag, Ref}, Dir}
{git_subdir, Url, {ref, Ref}, Dir}
- Add powershell script generation option for escriptize on windows; use for rebar3 itself
- dialyzer support: run single-app success typing and store project apps in PLT
- Add symlink to the
ct_run
of the last common test run - ipv6 support for proxy configuration
- Source file encoding specifier support for templates
- Allow passing arguments in r3:do and r3:async_do
Relx Changes (including more new features):
- relx 4.0 support, see the full release notes from rc-1 and the changes in rc-2 for the lot of new features and changes it contains
- add --all option for release building in parallel
Compiler Changes:
- Update compiler hooks order and internal compiler phases
- Split up the compiler DAG
- Switch to EPP analysis covering all apps at once when compiling
- Track build artifacts in DAG
- Another Compiler Refactor: Performance & Cleanup
- Name the app being escriptized to help readability when escriptize is run as a hook
Other Changes:
- OTP-23 readiness
- Update hex core to v0.6.8, which includes some security work, and creates a new lockfile version. Related: eliminate lock file warnings when upgrading from 1.1.0 locks
- Add vendor_hex_core.sh script
- Allow users to override default hex auth config
- Fix tests in Windows; adjust absolute paths behaviour for OTP-22 and later
- output checkouts compilation to
_build/<profile>/checkouts/
, which helps prevent long-standing issues with the ebin/ directory being left around in the source location - Support ENV var for mix in the bare compiler (related to - Allow specifying the outdir in bare compiler added in 3.13.1)
- checking epmd is started without a crash for features requiring named nodes
- Fix typo in abort message
- Newer version of the certifi certs bundle; a good thing to keep up
- Annotate generated escript with last release version for quicker version checks without calling the tool
- Simplify windows script
- Return an error if no apps are found when using bare compiler
- xref now outputs relative file paths
- Move
absolute_path/2
andnormalized_path
torebar_file_utils
- rebar_git_resource: fix {vsn, git} parser
- Fix race condition in rebar_prv_shell boot
- re-enable use of rebar_packages_cdn in rebar_pkg_resource
- only write lock file if locks have changed
- rebar_git_resource: allow non-single-digit git versions
- rebar_dir: return _checkouts path in a canonical form
- Bump cth_readable (1.4.8) to fix assertion macros
- Proper Unicode handling in port process output
- get a sorted list of modules for coverage output (screen and HTML)
- Run dialyzer for extra_src_dirs
- remove warning when booting applications in the shell
- Fix bootstrap crashes when compilers get modified