Releases: erlang/otp
Releases · erlang/otp
OTP 21.1.1
Patch Package: OTP 21.1.1
Git Tag: OTP-21.1.1
Date: 2018-10-12
Trouble Report Id: OTP-14297, OTP-15318, OTP-15333, OTP-15335,
OTP-15337, OTP-15342, OTP-15348
Seq num: ERIERL-242, ERL-689, ERL-737, ERL-738,
ERL-747
System: OTP
Release: 21
Application: compiler-7.2.6, eldap-1.2.6, erts-10.1.1,
ssl-9.0.3
Predecessor: OTP 21.1
Check out the git tag OTP-21.1.1, and build a full OTP system
including documentation. Apply one or more applications from this
build as patches to your installation using the 'otp_patch_apply'
tool. For information on install requirements, see descriptions for
each application version below.
---------------------------------------------------------------------
--- compiler-7.2.6 --------------------------------------------------
---------------------------------------------------------------------
The compiler-7.2.6 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15335 Application(s): compiler
Related Id(s): ERL-689, OTP-15219
In rare circumstances, the matched out tail of a binary
could be the entire original binary. (There was partial
correction to this problem in version 7.2.5 of the
compiler application.)
Full runtime dependencies of compiler-7.2.6: crypto-3.6, erts-9.0,
hipe-3.12, kernel-4.0, stdlib-2.5
---------------------------------------------------------------------
--- eldap-1.2.6 -----------------------------------------------------
---------------------------------------------------------------------
The eldap-1.2.6 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15342 Application(s): eldap
Related Id(s): ERIERL-242
A race condition at close could cause the eldap client
to exit with a badarg message as cause.
Full runtime dependencies of eldap-1.2.6: asn1-3.0, erts-6.0,
kernel-3.0, ssl-5.3.4, stdlib-2.0
---------------------------------------------------------------------
--- erts-10.1.1 -----------------------------------------------------
---------------------------------------------------------------------
Note! The erts-10.1.1 application can *not* be applied independently
of other applications on an arbitrary OTP 21 installation.
On a full OTP 21 installation, also the following runtime
dependency has to be satisfied:
-- kernel-6.1 (first satisfied in OTP 21.1)
--- Fixed Bugs and Malfunctions ---
OTP-14297 Application(s): erts
Related Id(s): OTP-15141
A bug where the socket option 'pktoptions' caused a
read of uninitialized memory has been fixed. Would
cause malfunction on FreeBSD.
OTP-15318 Application(s): erts
Fixed a memory leak on errors when reading files.
OTP-15333 Application(s): erts
Related Id(s): ERL-737
File access through UNC paths works again on Windows.
This regression was introduced in OTP 21.
Full runtime dependencies of erts-10.1.1: kernel-6.1, sasl-3.0.1,
stdlib-3.5
---------------------------------------------------------------------
--- ssl-9.0.3 -------------------------------------------------------
---------------------------------------------------------------------
The ssl-9.0.3 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15337 Application(s): ssl
Related Id(s): ERL-738
Correct alert handling with new TLS sender process,
from ssl-9.0.2. CLOSE ALERTS could under some
circumstances be encoded using an incorrect cipher
state. This would cause the peer to regard them as
unknown messages.
OTP-15348 Application(s): ssl
Related Id(s): ERL-747
Correct handling of socket packet option with new TLS
sender process, from ssl-9.0.2. When changing the
socket option {packet, 1|2|3|4} with ssl:setopts/2 the
option must internally be propagated to the sender
process as well as the reader process as this
particular option also affects the data to be sent.
Full runtime dependencies of ssl-9.0.3: crypto-4.2, erts-10.0,
inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
OTP 21.1
Highlights
SSH:
-
The cipher 'chacha20-poly1305@openssh.com' is now supported if OpenSSL 1.1.1 or higher is used as cryptolib.
-
The key exchange methods 'curve25519-sha256@libssh.org', 'curve25519-sha256' and 'curve448-sha512' are implemented.
They all depends on that OpenSSL 1.1.1 or higher used as cryptolib.
Crypto:
- Typing in crypto and public_key applications are reworked and corrected.
- New chapter on Algorithm details in the User's guide
ERTS, Kernel:
- The socket options recvtos, recvttl, recvtclass and pktoptions have been implemented in the socket modules. Se documentation in gen_tcp, gen_udp and inet modules for more info!
For more details see:
http://erlang.org/download/otp_src_21.1.readme
Pre built versions for Windows can be fetched here:
http://erlang.org/download/otp_win32_21.1.exe
http://erlang.org/download/otp_win64_21.1.exe
Online documentation can be browsed here:
http://erlang.org/documentation/doc-10.1/doc
OTP 21.0.9
Patch Package: OTP 21.0.9
Git Tag: OTP-21.0.9
Date: 2018-09-12
Trouble Report Id: OTP-15289, OTP-15292, OTP-15296
Seq num: ERIERL-226, ERIERL-235, ERL-576
System: OTP
Release: 21
Application: compiler-7.2.4, erts-10.0.8
Predecessor: OTP 21.0.8
Check out the git tag OTP-21.0.9, and build a full OTP system
including documentation. Apply one or more applications from this
build as patches to your installation using the 'otp_patch_apply'
tool. For information on install requirements, see descriptions for
each application version below.
---------------------------------------------------------------------
--- compiler-7.2.4 --------------------------------------------------
---------------------------------------------------------------------
The compiler-7.2.4 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15292 Application(s): compiler
Fix a regression in OTP-15204 that removed .beam file
metadata that some external build tools relied on.
Full runtime dependencies of compiler-7.2.4: crypto-3.6, erts-9.0,
hipe-3.12, kernel-4.0, stdlib-2.5
---------------------------------------------------------------------
--- erts-10.0.8 -----------------------------------------------------
---------------------------------------------------------------------
The erts-10.0.8 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15289 Application(s): erts
Related Id(s): ERIERL-235, ERL-576, OTP-14943
As of ERTS version 10.0 (OTP 21.0) the erl_child_setup
program, which creates port programs, ignores TERM
signals. This setting was unintentionally inherited by
port programs. Handling of TERM signals in port
programs has now been restored to the default behavior.
That is, terminate the process.
OTP-15296 Application(s): erts
Related Id(s): ERIERL-226, OTP-15279
The fix made for OTP-15279 in erts-10.07 (OTP-21.0.8)
was not complete. It could cause a new connection
attempt to be incorrectly aborted in certain cases.
This fix will amend that flaw.
Full runtime dependencies of erts-10.0.8: kernel-6.0, sasl-3.0.1,
stdlib-3.5
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
OTP 21.0.8
Patch Package: OTP 21.0.8
Git Tag: OTP-21.0.8
Date: 2018-09-06
Trouble Report Id: OTP-15275, OTP-15279, OTP-15280
Seq num: ERIERL-226
System: OTP
Release: 21
Application: erts-10.0.7, kernel-6.0.1
Predecessor: OTP 21.0.7
Check out the git tag OTP-21.0.8, and build a full OTP system
including documentation. Apply one or more applications from this
build as patches to your installation using the 'otp_patch_apply'
tool. For information on install requirements, see descriptions for
each application version below.
---------------------------------------------------------------------
--- erts-10.0.7 -----------------------------------------------------
---------------------------------------------------------------------
The erts-10.0.7 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15275 Application(s): erts
Related Id(s): PR-1943
A process could get stuck in an infinite rescheduling
loop between normal and dirty schedulers. This bug was
introduced in ERTS version 10.0.
Thanks to Maxim Fedorov for finding and fixing this
issue.
OTP-15279 Application(s): erts
Related Id(s): ERIERL-226
Garbage collection of a distribution entry could cause
an emulator crash if net_kernel had not brought
previous connection attempts on it down properly.
Full runtime dependencies of erts-10.0.7: kernel-6.0, sasl-3.0.1,
stdlib-3.5
---------------------------------------------------------------------
--- kernel-6.0.1 ----------------------------------------------------
---------------------------------------------------------------------
The kernel-6.0.1 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15280 Application(s): kernel
Related Id(s): ERIERL-226, OTP-15279
Fixed bug in net_kernel that could cause an emulator
crash if certain connection attempts failed. Bug exists
since kernel-6.0 (OTP-21.0).
Full runtime dependencies of kernel-6.0.1: erts-10.0, sasl-3.0,
stdlib-3.5
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
OTP 21.0.7
Patch Package: OTP 21.0.7
Git Tag: OTP-21.0.7
Date: 2018-08-30
Trouble Report Id: OTP-15237, OTP-15269
Seq num: ERL-713
System: OTP
Release: 21
Application: erts-10.0.6
Predecessor: OTP 21.0.6
Check out the git tag OTP-21.0.7, and build a full OTP system
including documentation. Apply one or more applications from this
build as patches to your installation using the 'otp_patch_apply'
tool. For information on install requirements, see descriptions for
each application version below.
---------------------------------------------------------------------
--- erts-10.0.6 -----------------------------------------------------
---------------------------------------------------------------------
The erts-10.0.6 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15237 Application(s): erts
A race between termination of a process and resume of
the same process via erlang:resume_process/1 could
cause the VM to crash. This bug was introduced in erts
version 10.0 (OTP 21.0).
OTP-15269 Application(s): erts
Related Id(s): ERL-713
When tracing on running, in trace events could be lost
when a process was rescheduled between a dirty and a
normal scheduler.
Full runtime dependencies of erts-10.0.6: kernel-6.0, sasl-3.0.1,
stdlib-3.5
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
OTP 21.0.6
Patch Package: OTP 21.0.6
Git Tag: OTP-21.0.6
Date: 2018-08-24
Trouble Report Id: OTP-15203, OTP-15215, OTP-15233
Seq num:
System: OTP
Release: 21
Application: crypto-4.3.2, inets-7.0.1, ssl-9.0.1
Predecessor: OTP 21.0.5
Check out the git tag OTP-21.0.6, and build a full OTP system
including documentation. Apply one or more applications from this
build as patches to your installation using the 'otp_patch_apply'
tool. For information on install requirements, see descriptions for
each application version below.
---------------------------------------------------------------------
--- crypto-4.3.2 ----------------------------------------------------
---------------------------------------------------------------------
The crypto-4.3.2 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15233 Application(s): crypto
Update the crypto engine functions to handle multiple
loads of an engine.
engine_load/3/4 is updated so it doesn't add the engine
ID to OpenSSLs internal list of engines which makes it
possible to run the engine_load more than once if it
doesn't contain global data.
Added ensure_engine_loaded/2/3 which guarantees that
the engine just is loaded once and the following calls
just returns a reference to it. This is done by add the
ID to the internal OpenSSL list and check if it is
already registered when the function is called.
Added ensure_engine_unloaded/1/2 to unload engines
loaded with ensure_engine_loaded.
Then some more utility functions are added.
engine_add/1, adds the engine to OpenSSL internal list
engine_remove/1, remove the engine from OpenSSL
internal list
engine_get_id/1, fetch the engines id
engine_get_name/1, fetch the engine name
Full runtime dependencies of crypto-4.3.2: erts-9.0, kernel-5.3,
stdlib-3.4
---------------------------------------------------------------------
--- inets-7.0.1 -----------------------------------------------------
---------------------------------------------------------------------
The inets-7.0.1 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15215 Application(s): inets
Change status code for no mod found to handle request
to 501
Full runtime dependencies of inets-7.0.1: erts-6.0, kernel-3.0,
mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5
---------------------------------------------------------------------
--- ssl-9.0.1 -------------------------------------------------------
---------------------------------------------------------------------
The ssl-9.0.1 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15203 Application(s): ssl
Correct cipher suite handling for ECDHE_*, the
incorrect handling could cause an incorrrect suite to
be selected and most likly fail the handshake.
Full runtime dependencies of ssl-9.0.1: crypto-4.2, erts-10.0,
inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
OTP 21.0.5
Patch Package: OTP 21.0.5
Git Tag: OTP-21.0.5
Date: 2018-08-11
Trouble Report Id: OTP-15194, OTP-15204, OTP-15223, OTP-15225
Seq num: ERL-673, ERL-679
System: OTP
Release: 21
Application: compiler-7.2.3, crypto-4.3.1, erts-10.0.5
Predecessor: OTP 21.0.4
Check out the git tag OTP-21.0.5, and build a full OTP system
including documentation. Apply one or more applications from this
build as patches to your installation using the 'otp_patch_apply'
tool. For information on install requirements, see descriptions for
each application version below.
---------------------------------------------------------------------
--- POTENTIAL INCOMPATIBILITIES -------------------------------------
---------------------------------------------------------------------
OTP-15225 Application(s): erts
Fixed a bug causing some Erlang references to be
inconsistently ordered. This could for example cause
failure to look up certain elements with references as
keys in search data structures. This bug was introduced
in R13B02.
Thanks to Simon Cornish for finding the bug and
supplying a fix.
---------------------------------------------------------------------
--- compiler-7.2.3 --------------------------------------------------
---------------------------------------------------------------------
The compiler-7.2.3 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15204 Application(s): compiler
Related Id(s): ERL-679
Fixed an issue where files compiled with the
+deterministic option differed if they were compiled in
a different directory but were otherwise identical.
Full runtime dependencies of compiler-7.2.3: crypto-3.6, erts-9.0,
hipe-3.12, kernel-4.0, stdlib-2.5
---------------------------------------------------------------------
--- crypto-4.3.1 ----------------------------------------------------
---------------------------------------------------------------------
The crypto-4.3.1 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15194 Application(s): crypto
Related Id(s): ERL-673
Fixed a node crash in crypto:compute_key(ecdh, ...)
when passing a wrongly typed Others argument.
Full runtime dependencies of crypto-4.3.1: erts-9.0, kernel-5.3,
stdlib-3.4
---------------------------------------------------------------------
--- erts-10.0.5 -----------------------------------------------------
---------------------------------------------------------------------
The erts-10.0.5 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15223 Application(s): erts
Fixed a bug which caused an emulator crash when
enif_send() was called by a NIF that executed on a
dirty scheduler. The bug was either triggered when the
NIF called enif_send() without a message environment,
or when the process executing the NIF was send traced.
OTP-15225 Application(s): erts
*** POTENTIAL INCOMPATIBILITY ***
Fixed a bug causing some Erlang references to be
inconsistently ordered. This could for example cause
failure to look up certain elements with references as
keys in search data structures. This bug was introduced
in R13B02.
Thanks to Simon Cornish for finding the bug and
supplying a fix.
Full runtime dependencies of erts-10.0.5: kernel-6.0, sasl-3.0.1,
stdlib-3.5
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
OTP 21.0.4
Patch Package: OTP 21.0.4
Git Tag: OTP-21.0.4
Date: 2018-07-26
Trouble Report Id: OTP-15169, OTP-15184, OTP-15196
Seq num:
System: OTP
Release: 21
Application: erts-10.0.4
Predecessor: OTP 21.0.3
Check out the git tag OTP-21.0.4, and build a full OTP system
including documentation. Apply one or more applications from this
build as patches to your installation using the 'otp_patch_apply'
tool. For information on install requirements, see descriptions for
each application version below.
---------------------------------------------------------------------
--- erts-10.0.4 -----------------------------------------------------
---------------------------------------------------------------------
The erts-10.0.4 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15169 Application(s): erts
Fixed a bug that prevented the noshell option from
working correctly on Mac OS X and BSD.
OTP-15184 Application(s): erts
Fixed a crash when matching directly against a literal
map using a single key that had been saved on the
stack.
OTP-15196 Application(s): erts
Fix node crash when passing a bad time option to
file:read_file_info/2.
Full runtime dependencies of erts-10.0.4: kernel-6.0, sasl-3.0.1,
stdlib-3.5
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
OTP 21.0.3
Patch Package: OTP 21.0.3
Git Tag: OTP-21.0.3
Date: 2018-07-13
Trouble Report Id: OTP-15154, OTP-15183, OTP-15176
Seq num: ERIERL-198, ERIERL-202, ERL-640, ERL-670
System: OTP
Release: 21
Application: erts-10.0.3
Predecessor: OTP 21.0.2
Check out the git tag OTP-21.0.3, and build a full OTP system
including documentation. Apply one or more applications from this
build as patches to your installation using the 'otp_patch_apply'
tool. For information on install requirements, see descriptions for
each application version below.
---------------------------------------------------------------------
--- otp-21.0.3 ------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15176 Application(s): otp
Related Id(s): ERIERL-198, ERIERL-202, ERL-640,
OTP-14283, OTP-15177
Build support for the erlang/corba repository.
---------------------------------------------------------------------
--- erts-10.0.3 -----------------------------------------------------
---------------------------------------------------------------------
The erts-10.0.3 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15154 Application(s): erts
Fixed a scheduler bug that caused normal schedulers to
run dirty code.
OTP-15183 Application(s): erts
Related Id(s): ERL-670
Fixed a bug in erlang:trace_info/2 which caused the
emulator to crash when a bad argument was passed. The
bug was introduced in ERTS version 10.0.
Full runtime dependencies of erts-10.0.3: kernel-6.0, sasl-3.0.1,
stdlib-3.5
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
OTP 21.0.2
Patch Package: OTP 21.0.2
Git Tag: OTP-21.0.2
Date: 2018-07-04
Trouble Report Id: OTP-15067, OTP-15151, OTP-15156, OTP-15157,
OTP-15158, OTP-15159, OTP-15166
Seq num: ERL-573, ERL-654, ERL-655, ERL-660
System: OTP
Release: 21
Application: compiler-7.2.2, erts-10.0.2,
public_key-1.6.1, stdlib-3.5.1
Predecessor: OTP 21.0.1
Check out the git tag OTP-21.0.2, and build a full OTP system
including documentation. Apply one or more applications from this
build as patches to your installation using the 'otp_patch_apply'
tool. For information on install requirements, see descriptions for
each application version below.
---------------------------------------------------------------------
--- compiler-7.2.2 --------------------------------------------------
---------------------------------------------------------------------
The compiler-7.2.2 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15156 Application(s): compiler
Related Id(s): ERL-655
In rare cases involving matching of binary literal
strings, the compiler could optimize away code that
should be executed.
OTP-15157 Application(s): compiler
There could be an internal consistency check failure
when compiling code that called map_get(Key, Map) and
then updated the same map.
OTP-15166 Application(s): compiler
Related Id(s): ERL-660
In rare circumstances, the compiler could crash in
beam_jump when compiling a floating point operation.
Full runtime dependencies of compiler-7.2.2: crypto-3.6, erts-9.0,
hipe-3.12, kernel-4.0, stdlib-2.5
---------------------------------------------------------------------
--- erts-10.0.2 -----------------------------------------------------
---------------------------------------------------------------------
The erts-10.0.2 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15067 Application(s): erts
Related Id(s): ERL-573
Fixed a rare bug that could cause processes to be
scheduled after they had been freed.
OTP-15158 Application(s): erts
Related Id(s): ERL-654
Fixed a race condition in the inet driver that could
cause receive to hang when the emulator was compiled
with gcc 8.
Full runtime dependencies of erts-10.0.2: kernel-6.0, sasl-3.0.1,
stdlib-3.5
---------------------------------------------------------------------
--- public_key-1.6.1 ------------------------------------------------
---------------------------------------------------------------------
The public_key-1.6.1 application can be applied independently of
other applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15151 Application(s): public_key
Related Id(s): OTP-15113
Some of the keylengths in the newly generated moduli
file in public_key are not universally supported. This
could cause the SSH key exchange
diffie-hellman-group-exchange-sha* to fail.
Those keylengths are now removed.
Full runtime dependencies of public_key-1.6.1: asn1-3.0, crypto-3.8,
erts-6.0, kernel-3.0, stdlib-3.5
---------------------------------------------------------------------
--- stdlib-3.5.1 ----------------------------------------------------
---------------------------------------------------------------------
The stdlib-3.5.1 application can be applied independently of other
applications on a full OTP 21 installation.
--- Fixed Bugs and Malfunctions ---
OTP-15159 Application(s): stdlib
Fix a bug that could cause a crash when formatting a
list of non-characters using the control sequences p or
P and limiting the output with the option chars_limit.
Full runtime dependencies of stdlib-3.5.1: compiler-5.0, crypto-3.3,
erts-10.0, kernel-6.0, sasl-3.0
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------