-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency erlang to v27 #198
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/erlang-27.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
2 times, most recently
from
May 21, 2024 19:06
54d0d5a
to
4bd4693
Compare
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
from
May 30, 2024 16:49
4bd4693
to
82ab9d3
Compare
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
3 times, most recently
from
June 13, 2024 17:01
8a70b54
to
8186de8
Compare
Pull Request Test Coverage Report for Build 8186de8e751da2ff537bdd22de8c0f39ff1f5ba8-PR-198Details
💛 - Coveralls |
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
from
June 13, 2024 18:01
8186de8
to
cf3b6c8
Compare
Pull Request Test Coverage Report for Build cf3b6c8113da54b4415bec884f39da79f2bfd62d-PR-198Details
💛 - Coveralls |
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
from
June 18, 2024 13:19
cf3b6c8
to
b573957
Compare
Pull Request Test Coverage Report for Build b57395708a8d489d1b600550cfea350a70b20b3c-PR-198Details
💛 - Coveralls |
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
from
July 7, 2024 07:12
b573957
to
9add7a7
Compare
Pull Request Test Coverage Report for Build 9add7a7eba732baa9434a3671a0c9e6885169768-PR-198Details
💛 - Coveralls |
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
from
July 10, 2024 14:05
9add7a7
to
f14b256
Compare
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
from
September 17, 2024 09:39
f14b256
to
7315d53
Compare
Pull Request Test Coverage Report for Build 8aebf3c1bac323e022f9fe69baf78299a574c48a-PR-198Details
💛 - Coveralls |
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
4 times, most recently
from
September 18, 2024 14:44
ed5d6bc
to
38a1747
Compare
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
2 times, most recently
from
September 30, 2024 16:39
efab17e
to
60fbe51
Compare
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
from
October 8, 2024 05:46
60fbe51
to
a6be12f
Compare
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
2 times, most recently
from
October 23, 2024 17:38
f459ee4
to
a664e9f
Compare
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
2 times, most recently
from
December 5, 2024 17:50
f5d7053
to
fc47eac
Compare
renovate
bot
force-pushed
the
renovate/erlang-27.x
branch
from
December 11, 2024 15:30
fc47eac
to
8aebf3c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
26.2.5
->27.2
Release Notes
erlang/otp (erlang)
v27.2
: OTP 27.2Compare Source
OTP 27.2
Erlang/OTP 27.2 is the second maintenance patch package for OTP 27, with mostly bug fixes as well as improvements.
Potential incompatibilities:
full_result
request optionwhen returning an asynchronous request.
For details about bugfixes and potential incompatibilities see the Erlang 27.2 README
The Erlang/OTP source can also be found at GitHub on the official Erlang repository, https://github.com/erlang/otp
Download links for this and previous versions are found here
v27.1.3
: OTP 27.1.3Compare Source
Check out the git tag OTP-27.1.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.
common_test-1.27.4
The common_test-1.27.4 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
With this change, cth_surefire hook module handles group path reduction for a
skipped group. This fixes a bug manifesting with improper group path for a
group executed after a group which was skipped.
Own Id: OTP-19365
Related Id(s): ERIERL-1157, PR-9080
Improvements and New Features
With this change, prefix option can be specified in cth_conn_log option list.
Option allows to specify how much of additional information is added in raw
log output.
Own Id: OTP-19293
Related Id(s): ERIERL-1139, PR-8924, PR-8931
compiler-8.5.3
The compiler-8.5.3 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
In rare circumstances, the destructive tuple update optimization could be
applied when it was unsafe.
Own Id: OTP-19340
Related Id(s): GH-9014, PR-9024
In rare circumstances involving appending to multiple binaries, the compile
could emit unsafe code that would crash the runtime system.
Own Id: OTP-19374
Related Id(s): GH-9100, PR-9111
erts-15.1.3
The erts-15.1.3 application can be applied independently of other applications
on a full OTP 27 installation.
Fixed Bugs and Malfunctions
gen_udp:send on domain local can leak inet_reply messages.
Own Id: OTP-19332
Related Id(s): #8989
net:getifaddrs does not properly report the running flag on windows.
Own Id: OTP-19366
Related Id(s): ERIERL-1134, OTP-19061
kernel-10.1.2
Note! The kernel-10.1.2 application cannot be applied independently of other
applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
On windows the socket:recv could return with success ({ok, Data}) even though
not all data had been read.
Own Id: OTP-19328
gen_udp:send on domain local can leak inet_reply messages.
Own Id: OTP-19332
Related Id(s): #8989
Failure to create an UDP IPv6 socket when inet_backend = socket with certain
IPv6 socket options.
Own Id: OTP-19357
net:getifaddrs does not properly report the running flag on windows.
Own Id: OTP-19366
Related Id(s): ERIERL-1134, OTP-19061
public_key-1.16.4
The public_key-1.16.4 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
If both
ext-key-usage
andkey-usage
are defined for a certificate itshould be checked that these usages are consistent with each other. This will
have the affect that such certificates where the
ext-key-usages
is marked ascritical and the usages is consistent with the
key-use
it can be consideredvalid without mandatory application specific checks for the
ext-key-useage
extension.
Own Id: OTP-19240
Related Id(s): PR-8840, OTP-19532
Handle decoding of EDDSA key properly, when decoding a PEM file that contains
only the public EDDSA key.
Own Id: OTP-19350
Related Id(s): GH-9009, PR-9053
ssh-5.2.4
The ssh-5.2.4 application can be applied independently of other applications on
a full OTP 27 installation.
Fixed Bugs and Malfunctions
With this change, ssh connection does not crash upon receiving exit-signal
message for an already terminated channel.
Own Id: OTP-19326
Related Id(s): GH-8929, PR-8995
ssl-11.2.5
Note! The ssl-11.2.5 application cannot be applied independently of other
applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
Avoid generating an internal alert for case that should have been an orderly
shutdown by the supervisor.
Own Id: OTP-19311
Related Id(s): PR-8980
If present, extended key-usage TLS (SSL) role check (
pk-clientAuth
,pk-serverAuth
) should always be performed for peer-cert. An intermediate CAcert may relax the requirement if
AnyExtendedKeyUsage
purpose is present.In OTP-25.3.2.8, OTP-26.2 and OTP-27.0 these requirements became too relaxed.
There where two problems, firstly the peer cert extension was only checked if
it was marked critical, and secondly the CA cert check did not assert the
relaxed
AnyExtendedKeyUsage
purpose.This could result in that certificates might be misused for purposes not
intended by the certificate authority.
Thanks to Bryan Paxton for reporting the issue.
Own Id: OTP-19352
Related Id(s): PR-9130, CVE-2024-53846, OTP-19240
Improvements and New Features
Back port certificate_authorities option for TLS-1.3 servers to pre TLS-1.3
servers to enable them to disable the sending of certificate authorities in
their certificate request. This will have same affect as the the TLS-1.3
server option although it is handled by a different mechanism in these
versions, where the functionality is described to be more of a guidance,
although some pre TLS clients have proven to make it mandatory as in TLS-1.3
extension handling.
Own Id: OTP-19325
Related Id(s): ERIERL-1147, PR-9001
Thanks to
Frej Drejhammar, zmstone
v27.1.2
: OTP 27.1.2Compare Source
Check out the git tag OTP-27.1.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.
common_test-1.27.3
The common_test-1.27.3 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
With this change, jquery and tablesorter licenses are added to COPYRIGHT file.
Also tablesorter is updated to version 2.32.
Own Id: OTP-19265
Related Id(s): PR-8876
erts-15.1.2
The erts-15.1.2 application can be applied independently of other applications
on a full OTP 27 installation.
Fixed Bugs and Malfunctions
A bug has been fixed where receiving an SCTP message with
gen_sctp
couldwaste the first fragments of a message and only deliver the last fragment.
This happened with low probability when the OS signaled that the socket was
ready for reading in combination with an internal time-out retry.
A bug has been fixed with a lingering time-out from after an SCTP connect that
could stop the flow of incoming messages on an active
gen_tcp
socket.Own Id: OTP-19235
Related Id(s): ERIERL-1133, PR-8837
An boolean option
non_block_send
for SCTP, has ben added to be able toachieve the old behaviour to avoid blocking send operations by passing the OS
network stack error message (
{error,eagain}
through.Own Id: OTP-19258
Related Id(s): ERIERL-1134, OTP-19061
The call
gen_tcp:send/2
could hang indefinitely despite having set thesend_timeout
option for the following unfortunate combination ofcircumstances:
high_watermark
was hit,causing the
gen_tcp:send/2
operation to block.gen_tcp:recv/2,3
call had to bedone from a different process. It had to block, waiting for data for a while
before completing the operation, and the received packet had to fill at
least 75% of the receive buffer.
Under these circumstances he information that a send operation was waiting got
lost, so the send operation that blocked in the first placed would never
return. The data it had would be sent, though, and send operations from other
processes, still work.
This bug has been fixed.
Own Id: OTP-19267
Related Id(s): ERIERL-1138, GH-6455, PR-8892, OTP-18520
In rare circumstances, in code that matches multiple tuples, the JIT could
generate code that would raise a
badmatch
exception even if the given tupleswere correct.
Own Id: OTP-19268
Related Id(s): GH-8875, PR-8895
Fixed beam crash that could happen if resetting
call_time
orcall_memory
trace counters of a function while it is called. Bug exists since OTP R16.
Own Id: OTP-19269
Related Id(s): GH-8835, PR-8897
kernel-10.1.1
Note! The kernel-10.1.1 application cannot be applied independently of other
applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
A bug has been fixed where receiving an SCTP message with
gen_sctp
couldwaste the first fragments of a message and only deliver the last fragment.
This happened with low probability when the OS signaled that the socket was
ready for reading in combination with an internal time-out retry.
A bug has been fixed with a lingering time-out from after an SCTP connect that
could stop the flow of incoming messages on an active
gen_tcp
socket.Own Id: OTP-19235
Related Id(s): ERIERL-1133, PR-8837
An boolean option
non_block_send
for SCTP, has ben added to be able toachieve the old behaviour to avoid blocking send operations by passing the OS
network stack error message (
{error,eagain}
through.Own Id: OTP-19258
Related Id(s): ERIERL-1134, OTP-19061
ssh-5.2.3
The ssh-5.2.3 application can be applied independently of other applications on
a full OTP 27 installation.
Fixed Bugs and Malfunctions
With this change, a race condition is removed from ssh client connection setup
procedure.
Own Id: OTP-19124
Related Id(s): GH-7550, PR-8766
With this change, ssh:connect is not affected by presence of EXIT message in
queue.
Own Id: OTP-19246
Related Id(s): GH-8223, PR-8854
With this change, ssh appends {active, false} option after socket options
received from user - so that false value is always used.
Own Id: OTP-19247
Related Id(s): PR-8226
ssl-11.2.4
Note! The ssl-11.2.4 application cannot be applied independently of other
applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
Refactor trying to also make some optimizations introduced a bug in signature
algorithms checks in OTP-26.2.1. This could manifest itself in not being able
to negotiate connections using certificates needing to use some TLS-1.2
compatibility legacy signature schemes.
Own Id: OTP-19249
Related Id(s): ERIERL-1137, PR-8866
Correct timeout handling for termination code run for own alerts, so that
intended timeout is used instead of falling back to OS TCP-stack timeout that
is unreasonably long on some platforms.
Own Id: OTP-19274
Related Id(s): PR-8901
Fix assertion so that works as intended. This could result in that some
TLS-1.2 clients would fail to connect to the the erlang server. Bug introduced
in OTP-27.1.1
Own Id: OTP-19288
Related Id(s): GH-8908, PR-8916
stdlib-6.1.2
The stdlib-6.1.2 application can be applied independently of other applications
on a full OTP 27 installation.
Fixed Bugs and Malfunctions
With this change, uri_string:normalize assumes empty path (do not crash) when
no path is provided in the URI map.
Own Id: OTP-19266
Related Id(s): ERIERL-1127, PR-8890
Fixed spec for
json:format/3
.Own Id: OTP-19286
Related Id(s): GH-8880, PR-8914
Thanks to
Jakub Witczak
v27.1.1
: OTP 27.1.1Compare Source
Check out the git tag OTP-27.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.
common_test-1.27.2
The common_test-1.27.2 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
With this change, HTML reports include jQuery version 3.7.1.
Own Id: OTP-19252
Related Id(s): PR-8858
erts-15.1.1
The erts-15.1.1 application can be applied independently of other applications
on a full OTP 27 installation.
Fixed Bugs and Malfunctions
On Windows, successive failed socket calls caused socket to become
"uninitialized".
Own Id: OTP-19251
Related Id(s): #8853
The socket framework fails to start on a IPv6-only Windows machine.
Own Id: OTP-19254
Related Id(s): #8848
public_key-1.16.3
The public_key-1.16.3 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Introduction of verify_fun/4 unfortunately introduced an argument switch for
some specific path validation errors so that verify_fun/3 could under these
circumstances be called with a DER cert instead of a decod cert, also in this
situation the verify_fun/4 would have the certificates in reverse order.
Own Id: OTP-19245
Related Id(s): GH-8832
Improvements and New Features
Do not hide crypto badarg reason, this error handling enhancement facilitates
debugging. These kind of runtime errors are not documented and should never be
relied on for matching, they are intended for catching input errors early.
Own Id: OTP-19238
ssl-11.2.3
Note! The ssl-11.2.3 application cannot be applied independently of other
applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
Starting from TLS-1.3 some server handshake alerts might arrive after
ssl:connection/2,3,4 has returned. If the socket is in active mode the
controlling process will get the alert message, but passive sockets would only
get {error, closed} on next call to ssl:recv/2,3 or ssl/setopts/2. Passive
sockets calls will now return {error, error_alert()} instead.
Own Id: OTP-19236
Related Id(s): PR-8261
Servers configured to support only version (pre TLS-1.2) should ignore hello
version extension, as it is an unknown extension to them, this will result in
that new clients that do not support the old server version will get an
insufficient security alert from the server and not a protocol version alert,
this is consistent with how old servers not able to support higher protocol
versions work.
Own Id: OTP-19257
stdlib-6.1.1
The stdlib-6.1.1 application can be applied independently of other applications
on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Remove whitespace stripping of returned binaries in
json:decode/3
.Own Id: OTP-19227
Related Id(s): ERIERL-1130, PR-8809
Fix
zip:unzip/2
to not crash when extracting zip files with garbage in theZip64 extra header. This bug was introduced in Erlang 27.1 and has so far only
been seen on some archives creates by MS Excel.
Own Id: OTP-19241
Related Id(s): PR-8836
With this change, shutdown procedure handles a race condition between
supervisor executing a shutdown and child process termination from other
reason.
Own Id: OTP-19256
Related Id(s): PR-8780
Thanks to
Jakub Witczak
v27.1
: OTP 27.1Compare Source
Check out the git tag OTP-27.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.
HIGHLIGHTS
The [
zip
][zip] module has been updated with support for:files in archives.
zip:list_dir/2
now also returns directories, not only files. (You candisable this behaviour by using the option
skip_directories
).Various bugs in the original implementation have also been fixed, such as:
(that is the non-extended timestamp).
timestamps for UTC timestamps).
of setting everything to 644.
Own Id: OTP-19214
Application(s): erts, stdlib
Related Id(s): [PR-8765]
POTENTIAL INCOMPATIBILITIES
Progress reports for a dynamically started supervisor will now be logged at
debug level.
Own Id: OTP-19202
Application(s): stdlib
Related Id(s): [GH-8715], PR-8261, [PR-8741]
OTP-27.1
Fixed Bugs and Malfunctions
The description of the pre-defined macros has been clarified. In particular,
it is now made clear that the release returned by
?OTP_RELEASE
is therelease under which the compiler is run.
Own Id: OTP-19103
Related Id(s): [GH-8486], [PR-8518]
ex_doc
now runs using an explicit escript instance instead of/usr/bin/env
so that package tools such as
nix
can build the documentation.Own Id: OTP-19145
Related Id(s): [GH-8378], [PR-8596]
The
otp_patch_apply
script, used for patching OTP applications, has beenfixed. It was not possible (and still is not possible) to apply applications
from the OTP 27.0.1 patch package onto an OTP 27.0 installation.
Own Id: OTP-19182
./otp_build download_ex_doc
was usingsha1sum
andsha256sum
which workon various Unix systems. macOS does not have these applications installed by
default, so we added a new dependency to the build process,
shasum
, which isinstalled by default on macOS and allows us to check the integrity of
ex_doc
.Own Id: OTP-19193
Related Id(s): [GH-8656], [PR-8707]
On documentation web pages using Mermaid JS scripts for figures, the scripts
are now loaded asynchronously so that the rest of pages can be shown while the
scripts are still downloading.
Own Id: OTP-19197
Related Id(s): [PR-8731]
Improvements and New Features
The obsolete documentation for OAM Principles has been removed.
Own Id: OTP-19110
Related Id(s): [PR-8528]
asn1-5.3.1
The asn1-5.3.1 application can be applied independently of other applications on
a full OTP 27 installation.
Fixed Bugs and Malfunctions
Fixed a cosmetic but harmless issue with the ASN.1 compiler passing on the
undec_rest
option to the Erlang compiler.Own Id: OTP-19218
Related Id(s): [GH-8779], [PR-8781]
common_test-1.27.1
The common_test-1.27.1 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Groups with empty list specifying groups and test cases no longer crash
execution.
Own Id: OTP-19032
Related Id(s): [GH-4362], [PR-7919]
The Common_Test documentation and type specs have been polished.
Own Id: OTP-19148
Related Id(s): [PR-8516]
Man pages are now available for
erl
,erlc
,dialyzer
, and all otherprograms that are included in Erlang/OTP.
Own Id: OTP-19201
Related Id(s): [PR-8740]
compiler-8.5.2
The compiler-8.5.2 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Fixed a crash in an optimization pass relating to appending binaries.
Own Id: OTP-19168
Related Id(s): [GH-8630]
Fixed a bug in the compiler's alias analysis pass that could make it emit
unsafe code.
Own Id: OTP-19178
Related Id(s): [PR-8686]
crypto-5.5.1
The crypto-5.5.1 application can be applied independently of other applications
on a full OTP 27 installation.
Fixed Bugs and Malfunctions
crypto built with
--enable-fips
will now accept an OpenSSL 3 lib withoutfips provider as long as fips mode is not enabled.
Own Id: OTP-19212
Related Id(s): [GH-8562]
Improvements and New Features
Added a warning in the documentation to avoid calling
crypto:start/0
as itdoes not work for FIPS mode. Use
application:start(crypto)
instead.Own Id: OTP-19143
Deprecation of RSA encryption functions has been reverted, as there still
exists legitimate use cases with other padding modes than PKCS-1.
While use PCKS-1 padding with some versions of cryptolib could be considered
secure, we still recommend using other algorithms that are less sensitive to
oracle attacks.
Own Id: OTP-19163
Compiler warnings for some removed functions have been corrected to point out
the correct replacement functions.
Own Id: OTP-19186
Related Id(s): [PR-8709]
dialyzer-5.2.1
The dialyzer-5.2.1 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Man pages are now available for
erl
,erlc
,dialyzer
, and all otherprograms that are included in Erlang/OTP.
Own Id: OTP-19201
Related Id(s): [PR-8740]
diameter-2.4.1
The diameter-2.4.1 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Function specs for the main API module has been updated.
Own Id: OTP-19126
Related Id(s): [#8399]
Man pages are now available for
erl
,erlc
,dialyzer
, and all otherprograms that are included in Erlang/OTP.
Own Id: OTP-19201
Related Id(s): [PR-8740]
diameter:stop_service/1
has been made more synchronous.Own Id: OTP-19206
Related Id(s): ERIERL-1102
edoc-1.3.2
The edoc-1.3.2 application can be applied independently of other applications on
a full OTP 27 installation.
Fixed Bugs and Malfunctions
Broken links in release notes have been mended.
Own Id: OTP-19139
Related Id(s): [PR-8584]
erts-15.1
The erts-15.1 application can be applied independently of other applications on
a full OTP 27 installation.
Fixed Bugs and Malfunctions
The
erl -man example
has been corrected to not consider values set inERL_ZFLAGS
and stop parsing arguments when a--
is encountered.Own Id: OTP-19098
Related Id(s): [GH-8477], [PR-8478]
Compiler warnings for Windows I/O back-end have been silenced.
Own Id: OTP-19113
Bugs related to
return_to
trace have been fixed. It did not work for morethan once trace session and it did sometimes not trigger for exceptions.
Own Id: OTP-19122
Potential deadlocks while writing a crash dump have been eliminated.
Own Id: OTP-19133
Related Id(s): [GH-8498], [PR-8521]
When loading a damaged or too old BEAM file, the runtime system could crash.
Own Id: OTP-19153
Related Id(s): [PR-8623]
A scheduler thread could get stuck when deleting a memory allocator carrier
when adjacent carriers were deleted and/or inserted simultaneously by other
schedulers. This in turn could cause the other schedulers to get stuck as
well.
Own Id: OTP-19154
Related Id(s): [GH-8613], [PR-8627]
Statistics for number of carriers in a shared pool after calling
instrument:allocations
orinstrument:carriers
are now correct. Also, apotential bug in carrier block scanning was eliminated.
Own Id: OTP-19166
Related Id(s): [PR-8636]
A race in the kTLS flavour of SSL distribution has been fixed so that
inet_drv.c
doesn't read ahead too much data, which could cause the kTLSencryption to be activated too late when some encrypted data had already been
read into the
inet_drv.c
buffer as unencrypted.Own Id: OTP-19175
Related Id(s): [GH-8561], [PR-8690]
Fixed an emulator crash relating to compressed ETS tables.
Own Id: OTP-19176
Related Id(s): [PR-8683]
A function (encode_sockaddr) was called with superfluous argument, on Windows,
in the net nif.
Own Id: OTP-19181
Fixed a crash that could happen on reallocation failure.
Own Id: OTP-19192
Man pages are now available for
erl
,erlc
,dialyzer
, and all otherprograms that are included in Erlang/OTP.
Own Id: OTP-19201
Related Id(s): [PR-8740]
A previous correction in the Erlang/OTP 27.0.1 emergency patch had the
unfortunate side effect of sometimes causing an unnecessary fullsweep (major)
garbage collection instead of a generation (minor) garbage collection. This
has been corrected.
Own Id: OTP-19209
Related Id(s): [PR-8539], [PR-8751]
Fixed trace matchspec functions
trace
andenable_trace
to use the sessiontracer when enabling trace flags on untraced processes.
Own Id: OTP-19211
Related Id(s): [GH-8657]
Fixed a typo in the type spec for
erlang:garbage_collection_defaults/0
.Own Id: OTP-19215
Related Id(s): [PR-8757]
Corrected socket:ioctl for genaddr (SIOCGENADDR).
Own Id: OTP-19216
The support for Transparent Huge Pages has been disabled on non-amd64 Linux
systems.
Own Id: OTP-19219
Related Id(s): [PR-8702]
Fixed a race condition on Windows when upgrading from
-noshell
to a shellthat would cause Erlang to crash with the error:
Own Id: OTP-19220
Related Id(s): [GH-7621], [PR-8774]
Improvements and New Features
Added functions
getservbyname
andgetservbyport
to thenet
module.Own Id: OTP-19101
Related Id(s): OTP-18835
Introduced enet | esock variants of [
inet
][inet] functions, either when calledwith sockets, with explicit inet_backend config or with the e inet_backend
kernel config option.
Own Id: OTP-19132
Related Id(s): OTP-19101
Optimize process and port creation when such tracing is not enabled by any
trace session.
Own Id: OTP-19167
Related Id(s): [PR-8655]
Compiler warnings for some removed functions have been corrected to point out
the correct replacement functions.
Own Id: OTP-19186
Related Id(s): [PR-8709]
A boolean option
read_ahead
has been implemented forgen_tcp
, defaulttrue
, to facilitate not reading past (caching data) the end of a packet. Inparticular, for kTLS, caching data could read in data that was supposed to be
decrypted by the platform's network stack, before crypto parameters could be
activated.
Own Id: OTP-19199
Related Id(s): [GH-8561], [GH-8690], [GH-8785], OTP-19175
The [
zip
][zip] module has been updated with support for:files in archives.
zip:list_dir/2
now also returns directories, not only files. (You candisable this behaviour by using the option
skip_directories
).Various bugs in the original implementation have also been fixed, such as:
(that is the non-extended timestamp).
timestamps for UTC timestamps).
of setting everything to 644.
Own Id: OTP-19214
Related Id(s): [PR-8765]
*** HIGHLIGHT ***
ftp-1.2.3
The ftp-1.2.3 application can be applied independently of other applications on
a full OTP 27 installation.
Fixed Bugs and Malfunctions
Eliminated a race condition that sometimes resulted in
ftp:recv_bin/2
returning
ok
instead of{ok, Data}
.Own Id: OTP-19119
Related Id(s): [GH-8454], [PR-8543]
inets-9.3
The inets-9.3 application can be applied independently of other applications on
a full OTP 27 installation.
Improvements and New Features
The documentation for the [
httpd
][httpd] module has been improved, along withcorrection of headings and types.
Own Id: OTP-19171
Related Id(s): [PR-8578]
Userinfo is now properly percent-decoded before usage in headers.
Own Id: OTP-19172
Related Id(s): [PR-8575]
kernel-10.1
Note! The kernel-10.1 application cannot be applied independently of other
applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
A faulty assertion was corrected in the
prim_tty
module. This assertioncould trigger when invalid UTF-8 was read from stdin just as the mode was
changed from unicode to latin1.
Own Id: OTP-19097
Related Id(s): [PR-8503]
Opening a
disk_log
file and combininghead_func
withrotate
options didnot work.
Own Id: OTP-19104
Related Id(s): ERIERL-870
Fixed an error info printout for
erlang:is_process_alive/1
on non-localpids.
Own Id: OTP-19134
Related Id(s): [PR-8560]
A race in the kTLS flavour of SSL distribution has been fixed so that
inet_drv.c
doesn't read ahead too much data, which could cause the kTLSencryption to be activated too late when some encrypted data had already been
read into the
inet_drv.c
buffer as unencrypted.Own Id: OTP-19175
Related Id(s): [GH-8561], [PR-8690]
Fixed a deadlock when an application crashes during startup and log messages
were sent to standard out. Logger would fail to print the messages to standard
out and instead print them to standard error.
Own Id: OTP-19205
The
-proto_dist
init parameter will no longer be ignored when specifiedmultiple times. It will now log a warning and use the first specified value.
Own Id: OTP-19208
Related Id(s): [PR-8672]
Corrected socket:ioctl for genaddr (SIOCGENADDR).
Own Id: OTP-19216
Improvements and New Features
Added functions
getservbyname
andgetservbyport
to thenet
module.Own Id: OTP-19101
Related Id(s): OTP-18835
Introduced enet | esock variants of [
inet
][inet] functions, either when calledwith sockets, with explicit inet_backend config or with the e inet_backend
kernel config option.
Own Id: OTP-19132
Related Id(s): OTP-19101
The function
socket:i/0
now uses the [net
][net] module (instead of the [inet
][inet]module) for service translation.
Own Id: OTP-19138
Related Id(s): OTP-19101
A boolean option
read_ahead
has been implemented forgen_tcp
, defaulttrue
, to facilitate not reading past (caching data) the end of a packet. Inparticular, for kTLS, caching data could read in data that was supposed to be
decrypted by the platform's network stack, before crypto parameters could be
activated.
Own Id: OTP-19199
Related Id(s): [GH-8561], [GH-8690], [GH-8785], OTP-19175
odbc-2.15
The odbc-2.15 application can be applied independently of other applications on
a full OTP 27 installation.
Improvements and New Features
Figures in the documentation have been improved.
Own Id: OTP-19130
Related Id(s): [PR-7226]
public_key-1.16.2
The public_key-1.16.2 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
For completeness handle rsa_pss implicit default value, although this will
probably not be commonly used as it provides very weak security.
Own Id: OTP-19179
The
public_key:cacerts_load()
function could in some error cases returnundefined
instead of{error, Reason}
.Own Id: OTP-19183
Related Id(s): [GH-8604]
Added support for DragonFly.
Own Id: OTP-19191
Related Id(s): [PR-8703]
Improvements and New Features
Deprecation of RSA encryption functions has been reverted, as there still
exists legitimate use cases with other padding modes than PKCS-1.
While use PCKS-1 padding with some versions of cryptolib could be considered
secure, we still recommend using other algorithms that are less sensitive to
oracle attacks.
Own Id: OTP-19163
It is now possible to use a verification fun of arity 4, giving the user fun
access to both encoded and decoded versions of the certificate. This is
desirable as a workaround for encoding errors preventing re-encoding from
being reliable. This also saves some work load if the encoded version is
needed.
Note that calling
public_key:pkix_path_validation/3
with only decoded certsis not recommended, due to the decoding workarounds, although it will work as
long as the workarounds are not needed.
If the decoded version is needed before thecall to [
public_key
][public_key] it isrecommend to use the combined_cert- type to avoid double decoding. Note that
the path validation algorithm itself always needs both the encoded and decoded
versions of the certs.
The ssl implementation will now benefit from using this function instead of
emulating the verify_fun/4.
Own Id: OTP-19169
runtime_tools-2.1.1
The runtime_tools-2.1.1 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Fixed a bug where dbg sessions on remote nodes were terminated prematurely.
Own Id: OTP-19188
Related Id(s): [PR-8692]
snmp-5.17
The snmp-5.17 application can be applied independently of other applications on
a full OTP 27 installation.
Fixed Bugs and Malfunctions
Man pages are now available for
erl
,erlc
,dialyzer
, and all otherprograms that are included in Erlang/OTP.
Own Id: OTP-19201
Related Id(s): [PR-8740]
Improvements and New Features
Figures in the documentation have been improved.
Own Id: OTP-19130
Related Id(s): [PR-7226]
ssh-5.2.2
The ssh-5.2.2 application can be applied independently of other applications on
a full OTP 27 installation.
Fixed Bugs and Malfunctions
The SSh daemon started with a TCP port number argument will now re-try
obtaining a listen socket before returning an error to the user.
Own Id: OTP-19170
Related Id(s): [GH-7746]
Robustness has been improved by monitoring the connection handler process
before casting the socket control notification.
Own Id: OTP-19173
Related Id(s): [PR-8310]
ssl-11.2.2
Note! The ssl-11.2.2 application cannot be applied independently of other
applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
A race in the kTLS flavour of SSL distribution has been fixed so that
inet_drv.c
doesn't read ahead too much data, which could cause the kTLSencryption to be activated too late when some encrypted data had already been
read into the
inet_drv.c
buffer as unencrypted.Own Id: OTP-19175
Related Id(s): [GH-8561], [PR-8690]
Improvements and New Features
All TLS-1.3 terminations are now graceful (previous TLS version terminations
already were).
Own Id: OTP-17848
It is now possible to use a verification fun of arity 4, giving the user fun
access to both encoded and decoded versions of the certificate. This is
desirable as a workaround for encoding errors preventing re-encoding from
being reliable. This also saves some work load if the encoded version is
needed.
Note that calling
public_key:pkix_path_validation/3
with only decoded certsis not recommended, due to the decoding workarounds, although it will work as
long as the workarounds are not needed.
If the decoded version is needed before thecall to [
public_key
][public_key] it isrecommend to use the combined_cert- type to avoid double decoding. Note that
the path validation algorithm itself always needs both the encoded and decoded
versions of the certs.
The ssl implementation will now benefit from using this function instead of
emulating the verify_fun/4.
Own Id: OTP-19169
Compiler warnings for some removed functions have been corrected to point out
the correct replacement functions.
Own Id: OTP-19186
Related Id(s): [PR-8709]
Include more information in logging of SNI (Server Name Indication) mismatch
error.
Own Id: OTP-19187
stdlib-6.1
The stdlib-6.1 application can be applied independently of other applications on
a full OTP 27 installation.
Fixed Bugs and Malfunctions
The help printout for incorrect
io:format/0
strings now handles thek
modifier correctly.
Own Id: OTP-19146
Related Id(s): [GH-8568], [PR-8611]
Fixed a bug that caused the shell completion to crash when keyword and tuple
appeared on the same line.
Own Id: OTP-19157
Related Id(s): [PR-8638]
Due to PR-7419/OTP-18671, the cached internal value of the
callback_mode
started leaking out to
logger
reports, which could causelogger
handlersto crash. This has now been fixed to show the value that was set, as before
caching.
Own Id: OTP-19164
Related Id(s): [GH-8605], [PR-7419], OTP-18671
Fixed an emulator crash relating to compressed ETS tables.
Own Id: OTP-19176
Related Id(s): [PR-8683]
The error description for
maps:update/3
will no longer insist that the thirdargument is not a map when a key could not be found
Own Id: OTP-19189
Multiple issues have been corrected in the markdown parser that creates
documentation for the shell.
The parser was incorrectly parsing formatted markdown (either bold or italics)
within parenthesis. This used to not be shown correctly in the shell
documentation
(_Option._)
, which was displayed verbatim. This fix makesOption.
to appear in italics.The markdown parser is also used in the creation of other documentation
formats, so this was a bug that affected other generated documentation
formats.
Own Id: OTP-19200
Related Id(s): [GH-8738], [PR-8739]
Fixed category for some codepoint ranges in
unicode_util
.Own Id: OTP-19210
Related Id(s): [GH-8748]
Fixed [
argparse
][argparse] to print sub-commands help when available.Own Id: OTP-19222
Related Id(s): [PR-8777]
Improvements and New Features
Class annotation to HTML from fenced blocks have been added.
Own Id: OTP-19105
Related Id(s): [PR-8499]
Added JSON formatting functions for indented output.
Own Id: OTP-19112
Improved illegal pattern error for accidental map associations.
Own Id: OTP-19128
Related Id(s): [PR-8555]
Progress reports for a dynamically started supervisor will now be logged at
debug level.
Own Id: OTP-19202
Related Id(s): [GH-8715], PR-8261, [PR-8741]
*** POTENTIAL INCOMPATIBILITY ***
The [
zip
][zip] module has been updated with support for:files in archives.
zip:list_dir/2
now also returns directories, not only files. (You candisable this behaviour by using the option
skip_directories
).Various bugs in the original implementation have also been fixed, such as:
(that is the non-extended timestamp).
timestamps for UTC timestamps).
of setting everything to 644.
Own Id: OTP-19214
Related Id(s): [PR-8765]
*** HIGHLIGHT ***
syntax_tools-3.2.1
The syntax_tools-3.2.1 application can be applied independently of other
applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
The documentation for
syntax_tools
has been polished after the migration tothe new documentation system.
Own Id: OTP-19102
Related Id(s): [PR-8515]
tftp-1.2.1
The tftp-1.2.1 application can be applied independently of other applications on
a full OTP 27 installation.
Improvements and New Features
The legacy dependency to [
error_logger
][error_logger] has been removed. [logger
][logger] is nowused.
Own Id: OTP-19114
tools-4.1
The tools-4.1 application can be applied independently of other applications on
a full OTP 27 installation.
Fixed Bugs and Malfunctions
m:tprof
no longer crashes when using pause/restart/continue when profilingall modules.
Own Id: OTP-19136
Related Id(s): [GH-8472], [PR-8472], [PR-8541]
On systems supporting native coverage, calls to [
cover
][cover] could hang or crashif cover-compiled module had been reloaded from outside
cover
. This has beencorrected so that
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.