Releases: erlware/relx
Releases · erlware/relx
v4.0.0-rc1
New Features
- Actually removal of features:
- No longer an
escript
- Functionality that is a duplicate of
rebar3
has been removed rebar3
is now able to pass a map of OTP Applications sorelx
does not need to do a discovery step- Releases are no longer discovered unless needed
- No longer an
- Add support for
exref
,{exref, [Apps]}
andsrc_tests
- Neither form of
exref
will work if usingrebar3
as an escript. Install withrebar3 local install
in order to use this feature.
- Neither form of
- Add support for multiple
mode
types:dev
: Same as the olddev_mode
option. Creates symlinks for applications and configuration.minimal
: Same asprod
but does not include ERTS in the release.prod
: Strips debug info from beam modules, includes ERTS and excludes src
- Extended start script no longer requires exact version of ERTS but attempts to use the one in the
PATH
if none is bundled in release - On OTP-23:
- extended start script will use
erl_call
instead ofnodetool
- remote shell will not bind to a listen port making use of
epmdless
simpler
- extended start script will use
New Defaults
extended_start_script
istrue
by- Automatically includes
config/sys.config[.src]
andconfig/vm.args[.src]
- set
{sys_config, false}
and{vm_args, false}
to force them to be left out
- set
- Release boot script is now always named
start.boot
Bug Fixes
{include_src, false}
properly leaves outsrc
andinclude
of all applications, including OTP system applications- copy dir in overlay bug
- remove doc and man dir from erts when copying to release
- fix fallback version number that is currently a tuple {plain, "0"}
- boot script name is different after tarring
- how to call an rpc with multiple arguments?
- git describe failure
Backwards Incompatible Changes
Start Script
eval
requires trailing period:bin/<release_script> eval "3."
rpcterms
removedrpc
takes list of arguments, so to callfoo:bar(1,2,3)
:bin/<release_script> foo bar "[1,2,3]."
start
renamed todaemon
attach
renamed todaemon_attach
remote_console
has aliasesremote
andremsh
Release building
- Provider support removed from
relx
- No support for goal restrictions like
{appname, "> 1.1.1"}
v3.33.0: Merge pull request #744 from colrack/start_epmd_fix
- Fix undesired start of epmd when calling relx_get_nodename
- add configurable timeouts to nodetool
- Allow for API callers to define arbitrary overlay variables
- Correctly render redefined variable
- support setting the version of release to be extended
- Handle multiple tokens
- Fix path variables quoting for Windows
- Fix directory delimiting
- quick fix for overlay that copies to top level of release
v3.32.0
- Fix "'findstr' is not recognized as ..."
- change '' to ``. Bug windows 7+
- include apps in start_clean release but don't load in console_clean
- Support wildcards for copy/link to a directory.
- Make {goals, ...} option add goals to release depsolver.
- allow specifying additional providers via api and cli calls
- Fix eunit tests and add them to the CI pipeline
- add support for git ref and file content as app version
- Fix link handling on Windows
v3.31.0
v3.30.0
- Include dist and epmd arguments from vm.args in remote console and nodetool calls
- Don't require a cookie in the start script
- use RELX_OUT_FILE_PATH to write configs generated from
.src
files - Only create
$RUNNER_LOG_DIR
whenstart
is called in extended start script - Fix inclusion of vm.args.src in tarball
- Fix parameter shift on win32 for extension commands
v3.29.0: Attempt at a fix for vm.args usage (#688)
* Attempt at a fix for vm.args usage * bump sleep time to see if it fixes tests on travis
v3.27.0
v3.26.0
This release includes the fix for eperm errors people have been encountering when using with OTP-21: