Skip to content

Releases: erlang/otp

OTP 21.3.1

25 Sep 11:39
Compare
Choose a tag to compare
Patch Package:           OTP 21.3.1
Git Tag:                 OTP-21.3.1
Date:                    2019-03-19
Trouble Report Id:       OTP-14701, OTP-15676, OTP-15679
Seq num:                 ERL-861, ERL-881, ERL-883, ERL-884
System:                  OTP
Release:                 21
Application:             erl_interface-3.11.1, ssl-9.2.1
Predecessor:             OTP 21.3

 Check out the git tag OTP-21.3.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.

 ---------------------------------------------------------------------
 --- erl_interface-3.11.1 --------------------------------------------
 ---------------------------------------------------------------------

 The erl_interface-3.11.1 application can be applied independently of
 other applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15676    Application(s): erl_interface
               Related Id(s): ERL-881, OTP-15442

               Fixed two bugs in the erl_call program. A missing
               initialization (introduced in erl_interface-3.11) which
               either caused a crash or failure to connect to or start
               a node, and an incorrectly calculated timeout which
               could cause failure to start an erlang node. These bugs
               only caused failures on some platforms.


 ---------------------------------------------------------------------
 --- ssl-9.2.1 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ssl-9.2.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-14701    Application(s): ssl
               Related Id(s): ERL-883, ERL-884

               The timeout for a passive receive was sometimes not
               cancelled and later caused a server crash. This bug has
               now been corrected.


  OTP-15679    Application(s): ssl
               Related Id(s): ERL-861

               Add tag for passive message (active N) in cb_info to
               retain transport transparency.


 Full runtime dependencies of ssl-9.2.1: crypto-4.2, erts-10.0,
 inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------

OTP 21.3

12 Mar 14:17
Compare
Choose a tag to compare

OTP 21.3

Erlang/OTP 21.3 is the third service release for the 21st major release
with improvements, as well as a few features!

Highlights

  • Kernel:

    • The standard logger handler, logger_std_h, now has a new internal
      feature for log rotation. For full information see the documentation.
  • SSL:

    • The Reason part of the error return from the functions connect and
      handshake has a better and documented format. This is a potential
      incompatibility. See the documentation.
    • Refactoring of state handling has improved the TLS application data
      throughput and reduced CPU overhead
    • Code optimizations has reduced CPU load for encryption/decryption,
      especially for Erlang's distribution protocol over TLS
    • Now supports active N
  • Erl_interface:

    • Support for plugin of a user supplied socket implementation has been added.
  • OTP:

    • The HTML reference documentation now shows the OTP version where
      modules and functions were first introduced. Versions of OTP older than R13B04 is not shown in the reference
      documentation

For a full list of details see:
http://erlang.org/download/otp_src_21.3.readme

Pre-built versions for Windows can be fetched here:
http://erlang.org/download/otp_win32_21.3.exe
http://erlang.org/download/otp_win64_21.3.exe

Online documentation can be browsed here:
http://erlang.org/documentation/doc-10.3/doc

The Erlang/OTP source can also be found at GitHub on the official
Erlang repository:
https://github.com/erlang/otp/tree/OTP-21.3

Please report any new issues via Erlang/OTPs public issue tracker
https://bugs.erlang.org

We want to thank all of those who sent us patches, suggestions and bug
reports!

Thank you!

The Erlang/OTP Team at Ericsson

OTP 21.2.7

25 Sep 11:39
Compare
Choose a tag to compare
Patch Package:           OTP 21.2.7
Git Tag:                 OTP-21.2.7
Date:                    2019-03-06
Trouble Report Id:       OTP-15551, OTP-15651, OTP-15652
Seq num:                 ERIERL-304
System:                  OTP
Release:                 21
Application:             erts-10.2.5, kernel-6.2.1
Predecessor:             OTP 21.2.6

 Check out the git tag OTP-21.2.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.

 ---------------------------------------------------------------------
 --- OTP-21.2.7 ------------------------------------------------------
 ---------------------------------------------------------------------

 --- Fixed Bugs and Malfunctions ---

  OTP-15551    Application(s): erts, otp

               Fixes of install/release phase in build system.

               -- The source tree was modified when
               installing/releasing and/or applying a patch.

               -- Some files were installed with wrong access rights.

               -- If applying a patch (using otp_patch_apply) as
               another user (except root) than the user that built the
               source, the documentation was not properly updated.


 ---------------------------------------------------------------------
 --- erts-10.2.5 -----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.2.5 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
       dependencies have to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)
       -- sasl-3.3 (first satisfied in OTP 21.2)


 --- Fixed Bugs and Malfunctions ---

  OTP-15551    Application(s): erts, otp

               Fixes of install/release phase in build system.

               -- The source tree was modified when
               installing/releasing and/or applying a patch.

               -- Some files were installed with wrong access rights.

               -- If applying a patch (using otp_patch_apply) as
               another user (except root) than the user that built the
               source, the documentation was not properly updated.


  OTP-15651    Application(s): erts, kernel
               Related Id(s): ERIERL-304

               Setting the recbuf size of an inet socket the buffer is
               also automatically increased. Fix a bug where the auto
               adjustment of inet buffer size would be triggered even
               if an explicit inet buffer size had already been set.


  OTP-15652    Application(s): erts
               Related Id(s): ERIERL-304

               Reading from UDP using active true or active N mode has
               been optimized when more packets than specified by
               read_packets are available on the socket.


 Full runtime dependencies of erts-10.2.5: kernel-6.1, sasl-3.3,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- kernel-6.2.1 ----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The kernel-6.2.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:
       -- erts-10.2.5 (first satisfied in OTP 21.2.7)


 --- Fixed Bugs and Malfunctions ---

  OTP-15651    Application(s): erts, kernel
               Related Id(s): ERIERL-304

               Setting the recbuf size of an inet socket the buffer is
               also automatically increased. Fix a bug where the auto
               adjustment of inet buffer size would be triggered even
               if an explicit inet buffer size had already been set.


 Full runtime dependencies of kernel-6.2.1: erts-10.2.5, sasl-3.0,
 stdlib-3.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------

OTP 22.0-rc1

25 Sep 11:38
Compare
Choose a tag to compare
OTP-22.0-rc1

Release Candidate 1

OTP 21.2.6

25 Sep 11:39
Compare
Choose a tag to compare
Patch Package:           OTP 21.2.6
Git Tag:                 OTP-21.2.6
Date:                    2019-02-18
Trouble Report Id:       OTP-14728, OTP-15573
Seq num:                 ERIERL-303, ERIERL-306
System:                  OTP
Release:                 21
Application:             erts-10.2.4, stdlib-3.7.1
Predecessor:             OTP 21.2.5

 Check out the git tag OTP-21.2.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.

 ---------------------------------------------------------------------
 --- erts-10.2.4 -----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.2.4 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
       dependencies have to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)
       -- sasl-3.3 (first satisfied in OTP 21.2)


 --- Fixed Bugs and Malfunctions ---

  OTP-14728    Application(s): erts
               Related Id(s): ERIERL-303

               When using the {linger,{true,T}} option;
               gen_tcp:listen/2 used the full linger time before
               returning for example eaddrinuse. This bug has now been
               corrected.


 Full runtime dependencies of erts-10.2.4: kernel-6.1, sasl-3.3,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- stdlib-3.7.1 ----------------------------------------------------
 ---------------------------------------------------------------------

 The stdlib-3.7.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15573    Application(s): stdlib
               Related Id(s): ERIERL-306

               Optimize pretty printing of terms. The slower behaviour
               was introduced in Erlang/OTP 20.


 Full runtime dependencies of stdlib-3.7.1: compiler-5.0, crypto-3.3,
 erts-10.0, kernel-6.0, sasl-3.0


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------

OTP 21.2.5

25 Sep 11:39
Compare
Choose a tag to compare
Patch Package:           OTP 21.2.5
Git Tag:                 OTP-21.2.5
Date:                    2019-02-04
Trouble Report Id:       OTP-15554
Seq num:                 ERIERL-289
System:                  OTP
Release:                 21
Application:             inets-7.0.5
Predecessor:             OTP 21.2.4

 Check out the git tag OTP-21.2.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.

 ---------------------------------------------------------------------
 --- inets-7.0.5 -----------------------------------------------------
 ---------------------------------------------------------------------

 The inets-7.0.5 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15554    Application(s): inets
               Related Id(s): ERIERL-289

               Fixed bug that causes a crash in http client when using
               hostnames (e.g. localhost) with the the option
               ipv6_host_with_brackets set to true.

               This change also fixes a regression: httpc:request
               fails with connection error (nxdomain) if option
               ipv6_host_with_brackets set to true and host component
               of the URI is an IPv6 address.


 Full runtime dependencies of inets-7.0.5: erts-6.0, kernel-3.0,
 mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------

OTP 21.2.4

25 Sep 11:39
Compare
Choose a tag to compare
Patch Package:           OTP 21.2.4
Git Tag:                 OTP-21.2.4
Date:                    2019-01-25
Trouble Report Id:       OTP-15536, OTP-15537, OTP-15538, OTP-15544
Seq num:                 ERIERL-229, ERIERL-289, ERL-827
System:                  OTP
Release:                 21
Application:             erts-10.2.3, inets-7.0.4
Predecessor:             OTP 21.2.3

 Check out the git tag OTP-21.2.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.2.3 -----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.2.3 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
       dependencies have to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)
       -- sasl-3.3 (first satisfied in OTP 21.2)


 --- Fixed Bugs and Malfunctions ---

  OTP-15536    Application(s): erts
               Related Id(s): ERL-827

               Fix bug where doing a gen_tcp:send on a socket with
               delay_send set to true could cause a segfault if the
               other side closes the connection.

               Bug was introduced in erts-10.2 (OTP-21.2).


  OTP-15537    Application(s): erts

               Fix a race condition when a port program closes that
               could result in the next started port to hang during
               startup.

               When this fault happens the following error is normally
               (but not always) logged:

               =ERROR REPORT==== 14-Jan-2019::10:45:52.868246 ===
               Bad input fd in erts_poll()! fd=11, port=#Port<0.505>,
               driver=spawn, name=/bin/sh -s unix:cmd

               Bug was introduced in erts-10.0 (OTP-21.0).


  OTP-15538    Application(s): erts
               Related Id(s): ERIERL-229

               Fix a bug where polling for external events could be
               delayed for a very long time if all active schedulers
               were 100% loaded.

               Bug was introduced in erts-10.2 (OTP-21.2).


 Full runtime dependencies of erts-10.2.3: kernel-6.1, sasl-3.3,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- inets-7.0.4 -----------------------------------------------------
 ---------------------------------------------------------------------

 The inets-7.0.4 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15544    Application(s): inets
               Related Id(s): ERIERL-289

               Make sure ipv6 addresses with brackets in URIs are
               converted correctly before passing to lower level
               functions like gen_tcp and ssl functions. Could cause
               connection to fail.


 Full runtime dependencies of inets-7.0.4: erts-6.0, kernel-3.0,
 mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------

OTP 21.2.3

25 Sep 11:39
Compare
Choose a tag to compare
Patch Package:           OTP 21.2.3
Git Tag:                 OTP-21.2.3
Date:                    2019-01-16
Trouble Report Id:       OTP-15477, OTP-15492, OTP-15495, OTP-15501,
                         OTP-15504, OTP-15505, OTP-15509
Seq num:                 ERIERL-283, ERL-371, ERL-514, ERL-790,
                         ERL-807, ERL-821
System:                  OTP
Release:                 21
Application:             compiler-7.3.1, erts-10.2.2, ssl-9.1.2,
                         xmerl-1.3.19
Predecessor:             OTP 21.2.2

 Check out the git tag OTP-21.2.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.

 ---------------------------------------------------------------------
 --- compiler-7.3.1 --------------------------------------------------
 ---------------------------------------------------------------------

 The compiler-7.3.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15501    Application(s): compiler
               Related Id(s): ERL-514, ERL-807, OTP-14808

               An optimization that avoided allocation of a stack
               frame for some case expressions was introduced in OTP
               21. (ERL-504/OTP-14808) It turns out that in rare
               circumstances, this optimization is not safe.
               Therefore, this optimization has been disabled.

               A similar optimization will be included in OTP 22 in a
               safe way.


 Full runtime dependencies of compiler-7.3.1: crypto-3.6, erts-9.0,
 hipe-3.12, kernel-4.0, stdlib-2.5


 ---------------------------------------------------------------------
 --- erts-10.2.2 -----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.2.2 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
       dependencies have to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)
       -- sasl-3.3 (first satisfied in OTP 21.2)


 --- Fixed Bugs and Malfunctions ---

  OTP-15495    Application(s): erts
               Related Id(s): ERL-821

               Fixed a crash when dangling files were closed after
               init:restart/0.


  OTP-15509    Application(s): erts
               Related Id(s): PR-2027, PR-2093

               A bug that could cause dirty schedulers to become
               unresponsive has been fixed.


 Full runtime dependencies of erts-10.2.2: kernel-6.1, sasl-3.3,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- ssl-9.1.2 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ssl-9.1.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15477    Application(s): ssl
               Related Id(s): ERL-790

               Fix encoding of the SRP extension length field in ssl.
               The old encoding of the SRP extension length could
               cause interoperability problems with third party SSL
               implementations when SRP was used.


  OTP-15504    Application(s): ssl
               Related Id(s): ERL-371

               Guarantee active once data delivery, handling TCP
               stream properly.


  OTP-15505    Application(s): ssl

               Correct gen_statem returns for some error cases


 Full runtime dependencies of ssl-9.1.2: crypto-4.2, erts-10.0,
 inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


 ---------------------------------------------------------------------
 --- xmerl-1.3.19 ----------------------------------------------------
 ---------------------------------------------------------------------

 The xmerl-1.3.19 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15492    Application(s): xmerl
               Related Id(s): ERIERL-283

               The charset detection parsing crash in some cases when
               the XML directive is not syntactic correct.


 Full runtime dependencies of xmerl-1.3.19: erts-6.0, kernel-3.0,
 stdlib-2.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------

OTP 21.2.2

25 Sep 11:39
Compare
Choose a tag to compare
Patch Package:           OTP 21.2.2
Git Tag:                 OTP-21.2.2
Date:                    2018-12-28
Trouble Report Id:       OTP-15397
Seq num:                 ERL-801
System:                  OTP
Release:                 21
Application:             ssh-4.7.3
Predecessor:             OTP 21.2.1

 Check out the git tag OTP-21.2.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.

 ---------------------------------------------------------------------
 --- ssh-4.7.3 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ssh-4.7.3 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15397    Application(s): ssh
               Related Id(s): ERL-801

               Fixed port leakage if a ssh:daemon call failed.


 Full runtime dependencies of ssh-4.7.3: crypto-4.2, erts-6.0,
 kernel-3.0, public_key-1.5.2, stdlib-3.3


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------

OTP 21.2.1

25 Sep 11:39
Compare
Choose a tag to compare
Patch Package:           OTP 21.2.1
Git Tag:                 OTP-21.2.1
Date:                    2018-12-21
Trouble Report Id:       OTP-15485, OTP-15486, OTP-15487, OTP-15489
Seq num:                 ERL-308, ERL-804
System:                  OTP
Release:                 21
Application:             erts-10.2.1, ssl-9.1.1
Predecessor:             OTP 21.2

 Check out the git tag OTP-21.2.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.

 ---------------------------------------------------------------------
 --- erts-10.2.1 -----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.2.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
       dependencies have to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)
       -- sasl-3.3 (first satisfied in OTP 21.2)


 --- Fixed Bugs and Malfunctions ---

  OTP-15485    Application(s): erts

               Fixed bug on big endian architectures when changing
               file permissions or ownership with file:change_mode,
               change_owner, change_group or write_file_info. Bug
               exists since OTP-21.0.


  OTP-15486    Application(s): erts
               Related Id(s): PR-2061

               Fixed bug in atomics with option {signed,false} when
               returned values are (1 bsl 63) or larger. Could cause
               heap corruption leading to VM crash or other unpleasant
               symptoms. Bug exists since OTP-21.2 when module atomics
               was introduced.


  OTP-15487    Application(s): erts
               Related Id(s): ERL-804

               Fixed bug in operator band of two negative operands
               causing erroneous result if the absolute value of one
               of the operands have the lowest N*W bits as zero and
               the other absolute value is not larger than N*W bits. N
               is an integer of 1 or larger and W is 32 or 64
               depending on word size.


 Full runtime dependencies of erts-10.2.1: kernel-6.1, sasl-3.3,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- ssl-9.1.1 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ssl-9.1.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15489    Application(s): ssl
               Related Id(s): ERL-308

               Fixed renegotiation bug. Client did not handle server
               initiated renegotiation correctly after rewrite to two
               connection processes, due to ERL-622 commit
               d87ac1c55188f5ba5cdf72384125d94d42118c18. This could
               manifest it self as a " bad_record_mac" alert.

               Also included are some optimizations


 Full runtime dependencies of ssl-9.1.1: crypto-4.2, erts-10.0,
 inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------