Releases: erlware/relx
Releases · erlware/relx
4.9.0
v4.8.0
v4.7.0
- Use
erlexecdirectly in relx helper functions - add shelltest for pathname quoting in extended_start_script
- add overlay error test
- Make rlx_util:parse_vsn parse integer versions
- fix awk script check_name() in extended_bin
- avoid crash when overlay is malformed
- add upgrade test
- keep attributes when stripping beams
- Fix include_erts,true Windows releases
- ensure the erl file is writable before copying dyn_erl to it
v4.6.0
- print a warning about use of ERL_DIST_PORT on erts prior to 11.1
- extended_bin: support 'inet_dist_use_interface' when using
remote_console,rpcandeval - add support for
optional_applications, added in OTP-24 to the app spec (.app) file - keep order of deps as given in relx release config when creating the
.relfile - extended_bin: fix ERTS version mismatch warning
- more helpful error if file:consult fails with .app
- replace literal ampersand character in os variable by escaped version…
v4.5.0
- use copied erts dir when tar'ing even when the user sets the erts
- improve error message when a symlink creation fails
- State extended with a filter method to filter xref_warnings
- Do not require logger
- Add default time warp mode of multi
- optionally allow static node name prefixes
- use random:uniform instead of os:pid when constructing node name in nodetool
- Fix eval command to use ERL_DIST_PORT, consistency with rpc command
- Tweak CI versions (add 24)
- Fix bin script arguments to erlexec
- avoid quoting $@ in bin script's exec
- Bump setup-erlang CI to v1.1.2
v4.3.0
v4.2.0
v4.1.0
- add USE_NODETOOL env variable in extended start script to force use of nodetool for
rpcandeval - fix overlay vars from embedded files not taking precedence
- fix search of system_libs directory for applications
- Bring back deprecated start/attach extended start script commands
- Prepare *.beam to be writeable before strip
- Fix/remove vm args inclusion restriction
- updates to start script for otp 23.1
- Fix file link error when shell language is not english
- fix node naming on Windows in batch template
- Embedded specific fixes
v4.0.0
New Features
- Actually removal of features:
- No longer an
escript - Functionality that is a duplicate of
rebar3has been removed rebar3is now able to pass a map of OTP Applications sorelxdoes not need to do a discovery step- Releases are no longer discovered unless needed
- No longer an
- Add support for
systoolschecksexref,{exref, [Apps]}andsrc_tests- Neither form of
exrefwill work if usingrebar3as an escript. Install withrebar3 local installin order to use this feature. The default xref analysis done by relx now makes this option less useful but it is kept to allow a user to choose what is best for them.
- Neither form of
- Alternative to
exrefadded which is enabled by default,check_for_undefined_functions. check_for_undefined_functions option using xref on release - Add support for multiple
modetypes:dev: Same as the olddev_modeoption. Creates symlinks for applications and configuration.minimal: Same asprodbut 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
PATHif none is bundled in release - On OTP-23:
- extended start script will use
erl_callinstead ofnodetool - remote shell will not bind to a listen port making use of
epmdlesssimpler
- extended start script will use
- include_start_script_for allows setting which type of scripts to include
- flexible release cookie
- preserve order of applications in release config -- Thanks @moiseev for the initial fix and test used for this issue!
- add overlay var for each application in the release
- otp-23 support and new env var ERL_DIST_PORT
- support getting ERL_DIST_PORT from vm.args -erl_epmd_port argument
New Defaults
extended_start_scriptistrueby- 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 - add check_for_undefined_functions option using xref on release
Bug Fixes
{include_src, false}properly leaves outsrcandincludeof 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
- correctly delete symlinks on windows (resolves #801)
- Windows: add powershell start script, fix nodetool ping output
- Windows: Fix issue on making junctions on paths with spaces
- otp-23 support fix: don't use undefined for longname remote shell
- use RELX_RPC_TIMEOUT in nodetool for timeout
- fix foreground subcommand with shell/input
- fix heart command setup and the reboot test of it
Backwards Incompatible Changes
Start Script
evalrequires trailing period:bin/<release_script> eval "3."rpctermsremovedrpctakes list of arguments, so to callfoo:bar(1,2,3):bin/<release_script> foo bar "[1,2,3]"startrenamed todaemonattachrenamed todaemon_attach
remote_consolehas aliasesremoteandremsh
Release building
- Provider support removed from
relx - No support for goal restrictions like
{appname, "> 1.1.1"}
v4.0.0-rc2
Changes since v4.0.0-rc1
- Correctly delete symlinks on windows (resolves #801)
- support getting ERL_DIST_PORT from vm.args -erl_epmd_port argument
- move create_RELEASES function to relx
- Adding powershell start scripts for windows, fix nodetool ping output
- Windows: Fix issue on making junctions on paths with spaces
- otp-23 support fix: don't use undefined for longname remote shell
- otp-23 support and new env var ERL_DIST_PORT
- unquote MAYBE_DIST_ARGS in extended start script so they work
- fix timeout environment variable in erl_call
- add overlay var for each application in the release
- use RELX_RPC_TIMEOUT in nodetool for timeout
- Replace extended start script tests in Common Test with ones using shelltestrunner
- use with erl_call and builtin nodename in remsh
- Fix foreground subcommand with shell/input
- fix heart command setup and the reboot test of it