Repository navigation
Update dependency erlang to v29 - #23
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/erlang-29.x
branch
from
October 16, 2026 22:58
68bdd91 to
7fa4b81
Compare
This file contains hidden or 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
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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
26.2.1→29.1.2Release Notes
erlang/otp (erlang)
v29.1.2: OTP 29.1.2Compare Source
Check out the git tag OTP-29.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.
POTENTIAL INCOMPATIBILITIES
When the max_channels limit is reached for a port-forwarding channel (direct-tcpip or forwarded-tcpip), the SSH daemon now refuses the individual channel with SSH_MSG_CHANNEL_OPEN_FAILURE and keeps the connection alive, instead of terminating the whole SSH connection. Port-forwarding channels now behave like session channels, which already survived the limit, and this matches OpenSSH. Applications that relied on the connection being closed when the channel limit was reached must instead handle the channel-open failure.
Own Id: OTP-20420
Application(s): ssh
Related Id(s): PR-11708
compiler-10.0.7
The compiler-10.0.7 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fix native record bugs when used together with
try...catchOwn Id: OTP-20415
Related Id(s): GH-11691, PR-11719
Compilation of a function with thousands of clauses would be very slow.
Own Id: OTP-20437
Related Id(s): GH-11735, PR-11767
Sometimes compiling with
deterministicwould not guarantee generation of identical BEAM files for every build.Own Id: OTP-20438
Related Id(s): GH-11748, PR-11753
A crash in
sys_core_foldon native record patterns has been eliminated.Own Id: OTP-20440
Related Id(s): GH-11724, PR-11768
dialyzer-6.0.4
The dialyzer-6.0.4 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Dialyzer will now avoid an infinite loop when multiple nominal types with the same structure are analyzed together.
Own Id: OTP-20444
Related Id(s): GH-11762, PR-11763
erts-17.1.1
The erts-17.1.1 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Two trace sessions that trace
garbage_collectionon the same process crash the emulator on the first collection.trace_gc()inerl_trace.cbuilds the GC info list on a temporary heap for the first session and frees it inside the session loop. The next session reusesmsg, which now points into freed memory.The memory is now freed after the session loop, which removes the use-after-free.
Own Id: OTP-20385
Related Id(s): PR-11623
Fix native record bugs when used together with
try...catchOwn Id: OTP-20415
Related Id(s): GH-11691, PR-11719
inets-9.8.1
The inets-9.8.1 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Credentials supplied in the userinfo component of a request URI (
http://user:password@host/path) were still sent to the redirect target whenhttpcfollowed a cross-origin redirect. The userinfo component is now cleared together with the sensitive headers whenever the redirect target differs in host or port from the original request. Redirects that stay within the same origin are unaffected and still carry the credentials.Own Id: OTP-20456
Related Id(s): GH-SA-m75x-4vwg-ggjh, PR-11825, CVE-2026-48856, OTP-20155
mnesia-4.27.1
The mnesia-4.27.1 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fixed the type specification for
mnesia:restore/2, which incorrectly listed the operationrestore_tablesinstead ofrecreate_tables, causing Dialyzer to reject valid calls and accept invalid ones.Own Id: OTP-20442
Related Id(s): PR-11755
odbc-2.17.2
The odbc-2.17.2 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fix error handling to avoid possible memory issues that could cause odbc port program to fail.
Own Id: OTP-20439
Related Id(s): PR-11808
public_key-1.21.8
The public_key-1.21.8 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Enforce the RFC 5280 basic-constraints CA checks for X.509 version 1 and version 2 certificates during certificate path validation. A v1/v2 certificate carries no extensions and therefore no basicConstraints, so it must never be accepted as a CA; such a certificate is now rejected in issuer position with {bad_cert, missing_basic_constraint} while remaining valid as a leaf. This closes the version-1 path left uncovered by the earlier CVE-2026-42789 fix.
Own Id: OTP-20423
Related Id(s): PR-11727, CVE-2026-42789
snmp-5.20.6
The snmp-5.20.6 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
The SNMP agent no longer fails to answer an SNMPv3 message whose msgUserName matches the configured terminating-discovery trigger_username (by default the empty string) and whose msgAuthoritativeEngineID is the agent's own engine ID. Such a message is not a stage-1 discovery request, but the agent treated it as one and then failed while generating the report, logging a configuration error and discarding the request without responding. The agent now answers it with a usmStatsUnknownUserNames report, as prescribed by RFC 3414, section 3.2. As a consequence of the same change, a message carrying the trigger user name together with an unknown, non-empty engine ID is now answered with a usmStatsUnknownEngineIDs report instead of being silently discarded.
Own Id: OTP-20427
Related Id(s): ERIERL-1362, PR-11823
The byte-length bounds added in OTP-20346 for varbind values now apply to every integer field decoded by snmp_pdus: the v3 header fields msgID, msgMaxSize and msgSecurityModel, the USM security parameters msgAuthoritativeEngineBoots and msgAuthoritativeEngineTime, and the PDU fields request-id, error-status, error-index, non-repeaters, max-repetitions, generic-trap and specific-trap. Each field accepts at most the number of BER content octets that its type requires, instead of an arbitrary number of octets that were converted into a large integer. An over-long integer is now signalled with an exit rather than a throw. Code that calls the exported snmp_pdus decode functions inside a catch will receive {'EXIT', Reason} where it previously received the thrown term directly. Inside the agent and manager, such a message is now discarded and counted in snmpInASNParseErrs; previously it caused a case_clause failure during message processing.
Own Id: OTP-20428
Related Id(s): GH-SA-q7cq-pfgf-5hr7, PR-11824, OTP-20346
ssh-6.0.7
The ssh-6.0.7 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fixed a bug where SSH CLI sessions using {shell, {shell, start, []}} did not handle latin1-encoded put_chars messages from the Erlang shell. This caused exception output (e.g. "** exception error: ...") to not be displayed on the SSH client, and {unhandled_request, ...} messages to appear on the daemon host.
Own Id: OTP-20359
Related Id(s): PR-11474
Fixed the following bugs in the SSH application:
Own Id: OTP-20360
Related Id(s): PR-11561
Fixed an SSH port-forwarding acceptor crash triggered by a peer that connects and immediately resets the connection. Transient TCP errors from accept and peername are now handled gracefully instead of terminating the acceptor.
Own Id: OTP-20392
Related Id(s): PR-11720
When the max_channels limit is reached for a port-forwarding channel (direct-tcpip or forwarded-tcpip), the SSH daemon now refuses the individual channel with SSH_MSG_CHANNEL_OPEN_FAILURE and keeps the connection alive, instead of terminating the whole SSH connection. Port-forwarding channels now behave like session channels, which already survived the limit, and this matches OpenSSH. Applications that relied on the connection being closed when the channel limit was reached must instead handle the channel-open failure.
Own Id: OTP-20420
Related Id(s): PR-11708
*** POTENTIAL INCOMPATIBILITY ***
ssl-11.7.8
Note! The ssl-11.7.8 application cannot be applied independently of other applications on an arbitrary OTP 29 installation.
Fixed Bugs and Malfunctions
DoS attack prevention missed corner case, now fall back to the incomplete peer-only chain handling when paths/2 yields no path, restoring the OTP 28 behavior and matching OpenSSL, curl and browsers. The digraph and its chain-length limit from PR #11343 are unchanged, so the DoS protection is preserved; the extra cost is one trust-store lookup, as for a leaf-only chain.
Own Id: OTP-20394
Related Id(s): GH-11620, PR-11662
The equivalent options dh and dhfile where unintentionally ignored and the default value was used instead.
Own Id: OTP-20408
Related Id(s): ERIERL-1367, PR-11692
Redesign TLS-1.3 auto client ticket handling to adhere to RFC single-use by consuming a ticket when offered removing it from the client ticket store. This resolves unnecessary connections errors for concurrent client connections that previously could end up trying to use the same ticket, or tickets being evicted form the client store when a client still needed to look it up.
Own Id: OTP-20418
Related Id(s): GH-11702, GH-11709, PR-11707
Validate the handshake message type when decoding TLS-1.3 hello extensions (RFC 8446 / RFC 9846). A malicious or man-in-the-middle TLS-1.3 server could send a NewSessionTicket carrying a zero-length early_data extension, which a client with automatic session-ticket management (session_tickets => auto) stored and then crashed on during a later resumption, taking down the node-global client ticket store and disrupting TLS-1.3 resumption for the whole node. Extensions are now decoded only in the handshake messages in which they are permitted, so such a ticket is ignored instead of poisoning the store. This avoids a denial-of-service possibility.
Own Id: OTP-20426
Related Id(s): PR-11773, CVE-2026-94200
Fixed a TLS/DTLS session resumption flaw ((D)TLS-1.2 abbreviated handshake) where an SNI-aware server could resume a cached session even when the resumption request's server_name differed from the one that established the session, violating RFC 6066 §3. In virtual-hosting deployments where several SNI names share one server certificate but apply different client-authentication trust, a client could resume a session established under one SNI name while connecting under another — bypassing the second virtual service's client-authentication boundary and skipping the certificate exchange.
The server now binds the establishing SNI hostname to the session and refuses resumption (falling back to a full handshake) when the requested SNI differs. A request without SNI only matches a session established without SNI, so ordinary non-SNI resumption is unaffected.
As a related correction, a listener's derived reuse_sessions default (enabled under verify_none) is no longer carried into an SNI virtual service that switches to verify_peer; such a service must enable reuse_sessions explicitly.
Own Id: OTP-20445
Related Id(s): PR-11773, CVE-2026-105236
stdlib-8.1.1
The stdlib-8.1.1 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
A loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in the
erl_tarmodule allowed an attacker who supplied a tar archive to cause a denial of service via a crafted GNU sparse member. This has been corrected.In addition, when attempting to extract a tar file with a legal GNU sparse member, extraction could fail with a
badargexception. That has also been corrected.Own Id: OTP-20447
Related Id(s): PR-11791, CVE-2026-96596
Thanks to
Alexey Aristov, Daniel Gorin, Marcelino Alberdi Pereira, Marko Mindek, Miguel Rubinos Rodríguez
v29.1.1: OTP 29.1.1Compare Source
Check out the git tag OTP-29.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.
POTENTIAL INCOMPATIBILITIES
Fixed a vulnerability where the
max_channelsdaemon option was not enforced for session channels without an active subsystem, allowing a remote authenticated user to open an infinite number of channels and exhaust server resources despite the configured limit.The default value of the max_channels daemon option has been changed from infinity to 256. Deployments requiring more than 256 simultaneous channels per connection can restore the previous behavior by setting
{max_channels, infinity}.The default value of the max_sessions daemon option has been changed from infinity to 1024. Deployments requiring more concurrent SSH connections can restore the previous behavior by setting
{max_sessions, infinity}.Own Id: OTP-20287
Application(s): ssh
Related Id(s): GH-SA-qhcm-px9c-rvfh, PR-11523, CVE-2026-68956
asn1-5.5.2
The asn1-5.5.2 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fixed a denial-of-service attack in asn1, where abnormally large OID components (arcs) could cause resource exhaustion.
Own Id: OTP-20272
Related Id(s): PR-11655, CVE-2026-65634
The JER backend will no longer break certain values (true, false, null) when they are typed as ENUMERATED, they will now be encoded as strings as required by the standard.
Own Id: OTP-20355
Related Id(s): ERIERL-1355, PR-11559
compiler-10.0.6
The compiler-10.0.6 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Certain uses of funs could crash the compiler. For example:
This has been corrected.
Own Id: OTP-20386
Related Id(s): GH-11619, PR-11638
public_key-1.21.7
The public_key-1.21.7 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Handle that policy qualifiers are optional.
Own Id: OTP-20393
Related Id(s): PR-11630
ssh-6.0.6
The ssh-6.0.6 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fixed a vulnerability where the
max_channelsdaemon option was not enforced for session channels without an active subsystem, allowing a remote authenticated user to open an infinite number of channels and exhaust server resources despite the configured limit.The default value of the max_channels daemon option has been changed from infinity to 256. Deployments requiring more than 256 simultaneous channels per connection can restore the previous behavior by setting
{max_channels, infinity}.The default value of the max_sessions daemon option has been changed from infinity to 1024. Deployments requiring more concurrent SSH connections can restore the previous behavior by setting
{max_sessions, infinity}.Own Id: OTP-20287
Related Id(s): GH-SA-qhcm-px9c-rvfh, PR-11523, CVE-2026-68956
*** POTENTIAL INCOMPATIBILITY ***
The SSH daemon no longer rejects a
subsystemrequest that is preceded byenvorpty-reqrequest on the same channel.Own Id: OTP-20371
Related Id(s): ERIERL-1363, GH-11586, PR-11616
ssl-11.7.7
Note! The ssl-11.7.7 application cannot be applied independently of other applications on an arbitrary OTP 29 installation.
Fixed Bugs and Malfunctions
Reject unsolicited TLS-1.3 pre_shared_key in client.
Own Id: OTP-20388
Related Id(s): PR-11641, CVE-2026-89422
Security and robustness hardening returning RFC mandated alert reasons, narrowing/correcting length checks.
Correct signature algorithm handling that slightly mixed up signature algorithms and signature algorithms cert in TLS-1.2.
Add missing TLS-1.3 Brainpool groups support. (Not relevant in 27 patch)
Enhanced/corrected documentation and spec errors/deviations.
Own Id: OTP-20390
Related Id(s): PR-11651
Thanks to
Alan Duffield
v29.1: OTP 29.1Compare Source
Check out the git tag OTP-29.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.
POTENTIAL INCOMPATIBILITIES
When
beam_libreturns an error tuple, the filename in the information tuple is now a list of characters instead of an atom.Example:
The reason for this change is that a long file name is not guaranteed to fit in an atom. Applications or tools that do deep inspection of the
beam_liberrors (not recommended) will need to be updated.Own Id: OTP-20118
Application(s): stdlib
Related Id(s): PR-11167
OTP-29.1
Improvements and New Features
A new [
versions] module has been added to theruntime_toolsapplication containing functions for, e.g., comparing, versions that adhere to the OTP Versions Scheme.The documentation of the OTP Versions Scheme has also been improved.
Own Id: OTP-20352
Related Id(s): [PR-11556], [PR-11600]
asn1-5.5.1
The asn1-5.5.1 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
The modern representation of BITSTRINGs is now always supported for encoding, regardless of any legacy options given. The JER backend would not support the modern representation when any legacy option was given.
Own Id: OTP-20145
Related Id(s): PR-11097
The
make cleancommand did not remove all generated.erlfiles.Own Id: OTP-20295
Related Id(s): [PR-11375]
common_test-1.31.2
The common_test-1.31.2 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
The internal
cte_trackevent handler now correctly displays the suite name for suites without aninit_per_suite/1callback.Own Id: OTP-20316
Related Id(s): [PR-11501]
compiler-10.0.5
The compiler-10.0.5 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fixed a native record crash in the
sys_core_foldcompiler pass.Own Id: OTP-20254
Related Id(s): GH-11351, [PR-11359]
The compiler could crash when compiling a map comprehension.
Own Id: OTP-20255
Related Id(s): GH-11352, [PR-11363]
Fixed a crash when the key pattern in a map comprehension was a bitstring.
Own Id: OTP-20262
Related Id(s): GH-11367, [PR-11379]
Fixed an issue that could crash the compiler when compiling comprehensions with the
compr_assignfeature enabled.Own Id: OTP-20267
Related Id(s): GH-11366, [PR-11390]
Code that called
erlang:0()inside a fun could crash the compiler.Own Id: OTP-20280
Related Id(s): GH-11414, [PR-11424]
Fixed an internal error when
lists:keyfind/3is called with an argument that exceeds system limits.Own Id: OTP-20291
Related Id(s): GH-11413, [PR-11444]
An incorrect
useless_buildingwarning has been eliminated.Own Id: OTP-20304
Related Id(s): GH-11472, [PR-11477]
In rare circumstances, the type analysis pass of the compiler could run for many minutes.
Own Id: OTP-20365
Related Id(s): GH-11534, [PR-11566]
crypto-5.10
The crypto-5.10 application can be applied independently of other applications on a full OTP 29 installation.
Improvements and New Features
The documentation of the
cryptomodule now contains runnable examples for most functions. The examples are verified by the crypto test suite, so they always match actual behavior.Own Id: OTP-20373
Related Id(s): PR-11170
dialyzer-6.0.3
The dialyzer-6.0.3 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fixed Dialyzer crash when overriding built-in types.
Own Id: OTP-19631
Related Id(s): GH-11093, PR-11096
Typer crashed when multiple functions were written in the same line. For example:
Own Id: OTP-20297
Related Id(s): [PR-11466]
erts-17.1
The erts-17.1 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fixed bug in
ets:member/2forset,bagandduplicate_bag. The bug could (maybe) lead toets:memberspuriously returning false for a value which is actually a member for a table that faces high insert load.Own Id: OTP-20152
Related Id(s): PR-11115
Fixed crashing bug caused by race between timer creating process and suspending receiver of the timer. Only seen to cause crash one time by extremely provoking test case. Bug exists only since OTP 29.0.
Own Id: OTP-20175
Related Id(s): PR-11196
Fixed bug in
enif_realloc_binarywhen called with a read-only binary. Instead of returning false at out-of-memory failure, it returned true and did nothing.Own Id: OTP-20187
Related Id(s): PR-11133
Fixed alternate signal stack sizing on musl (Alpine) running on CPUs whose Linux kernel reports large signal frames (AVX-512/AMX). It caused emulator to abort during startup with "Failed to set alternate signal stack".
Own Id: OTP-20213
Related Id(s): GH-11248, PR-11249
For
socket:recvmmsg/6, the buffer length was not handled correctly when the OS network stack truncated the received message, so garbage data with incorrect length could be delivered to the calling process. This bug has been corrected.Own Id: OTP-20246
Related Id(s): [PR-11335]
binary_to_term/1will now reject an external native record with duplicated fields.Own Id: OTP-20276
Related Id(s): GH-11398, [PR-11410]
Fixed a crash upon starting the emulator on systems with a very large minimum signal stack size.
Own Id: OTP-20292
Related Id(s): GH-11349, [PR-11376]
Fixed lock order violation during crash dump due to export table exhaustion. Only problem for debug emulator.
Own Id: OTP-20305
Related Id(s): [PR-11460]
Fixed rounding errors when converting large integers to floating point numbers, explicitly with
float/1or implicitly in arithmetic such as1.0 * N. Integers with absolute values larger than 64 bits that could not be represented exactly as a float could be rounded to the second nearest float instead of the nearest. For example,float(428654966685883400000)returned4.2865496668588343e20instead of the correct4.286549666858834e20, which is whatbinary_to_float/1returns for the same number.Own Id: OTP-20317
Related Id(s): [PR-11391]
An error check in
prim_inethas been fixed. This manifested itself asfile:sendfile/*sometimes crashing instead of returning an error when the remote end closes the socket during initialization.Own Id: OTP-20356
Related Id(s): [PR-11438]
Improvements and New Features
Fairness of code permission locks have been improved to avoid long latencies for code loading and trace operations.
Own Id: OTP-20188
Related Id(s): PR-11144
The BIFs that convert strings to integers (for example [
binary_to_integer/1]) are now much faster for huge input strings. On a modern computer, even a string with more than a million decimal digits should finish in less than a second.The
divandremoperators are now also much faster for large operands.Own Id: OTP-20209
Related Id(s): PR-11074, PR-11324
Arithmetic operations on large integers will now increase the reduction count for the process, causing context switches to occur more frequently when doing arithmetic on large integers.
Own Id: OTP-20211
Related Id(s): PR-11274
inets-9.8
The inets-9.8 application can be applied independently of other applications on a full OTP 29 installation.
Improvements and New Features
OPTIONS is now accepted for HTTP/1.x requests and routed through the normal module pipeline like other standard methods. Requests that no module handles still receive a 501 (Not Implemented) response, so behavior is unchanged for deployments that do not add explicit OPTIONS handling.
Own Id: OTP-20249
Related Id(s): GH-11119, PR-11316
kernel-11.0.4
The kernel-11.0.4 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fixed incorrect TOS format when using
gen_udpwith thesocketbackend.Own Id: OTP-20131
Related Id(s): GH-10968, OTP-20102
Decoding of names in
inet_reshas been tightened to not allow names longer than 255 octets, as according to RFC 1035.Decoding has also been made more strict by only allowing compression pointers to lower positions in the message.
A few bugs when decoding malformed truncated DNS messages have also been fixed, as well as handling broken UTF-8 content in NAPTR RR:s regular expressions field.
Own Id: OTP-20228
Related Id(s): PR-11300
When using the
socketbackend ingen_tcp, the default value for theread_aheadoption was incorrect and has been corrected, according the documentation, to betrue.Own Id: OTP-20238
Related Id(s): PR-11284
A field in
net_kernel's internal state was not cleaned up in some cases for failed connections could cause the state to grow indefinitely over time. This has now been fixed.Own Id: OTP-20265
Related Id(s): GH-11308, [PR-11388]
Fixed
pg:which_groups/1to not include empty groups where all members have leaved. Bug existed since OTP 29.0.Own Id: OTP-20303
Related Id(s): GH-11360, [PR-11361]
mnesia-4.27
The mnesia-4.27 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fixed
mnesia:force_load_table/1getting stuck when the remote node becomes unreachable during table loading. When a network loader is aborted due to sender node going down and a user has forced a table load, we now retry loading from disc instead. Additionally, for disc_only_copies tables, the process actually loading the table is the dets server process, not the mnesia loader, so it would not receive the abort notification and would hang indefinitely. Now it correctly receives the notification and aborts table loading.Own Id: OTP-20256
Related Id(s): GH-11344, [PR-11426]
Fixed incorrect results from
mnesia:select_reverse/2,3onordered_settables inside a transaction that had already written to or deleted from the same table. Deleted records could reappear, updated records could appear twice, and the descending order was not preserved.Own Id: OTP-20364
Related Id(s): [PR-11563]
Improvements and New Features
The documentation of the
mnesiamodule now contains runnable examples for most functions. The examples are verified by the mnesia test suite, so they always match actual behavior.Own Id: OTP-20374
Related Id(s): PR-11216
odbc-2.17.1
The odbc-2.17.1 application can be applied independently of other applications on a full OTP 29 installation.
Improvements and New Features
Added the
max_long_column_sizeoption to limit buffer allocation size preventing memory exhaustion.Own Id: OTP-20328
Related Id(s): GH-9302, PR-10297
public_key-1.21.6
The public_key-1.21.6 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Added missing
no_cacerts_foundclauses so that the intended{failed_load_cacerts, no_cacerts_found}error is raised and formatted properly.Own Id: OTP-20318
Related Id(s): [PR-11378]
Align moduli and pubkey_moduli.hrl to state on OTP-28 and newer.
Own Id: OTP-20367
Related Id(s): [PR-11574]
Improvements and New Features
Worked around domain component using wrong ASN-1
PrintableStringencoding instead ofIA5Stringencoding.Own Id: OTP-20338
Related Id(s): GH-10879, PR-11226
ASN.1 files are now compiled sequentially to guarantee reproducible builds.
Own Id: OTP-20362
Related Id(s): GH-4417, [PR-11396]
runtime_tools-2.5
The runtime_tools-2.5 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fixed bug if a process that called
dbg:session/2exits beforedbg:session_destroy/1is called. An error report was logged and any trace messages lost and not delivered.Own Id: OTP-20218
Related Id(s): PR-11260
Improvements and New Features
A new [
versions] module has been added to theruntime_toolsapplication containing functions for, e.g., comparing, versions that adhere to the OTP Versions Scheme.The documentation of the OTP Versions Scheme has also been improved.
Own Id: OTP-20352
Related Id(s): [PR-11556], [PR-11600]
ssl-11.7.6
Note! The ssl-11.7.6 application cannot be applied independently of other applications on an arbitrary OTP 29 installation.
Fixed Bugs and Malfunctions
Undecodable
certificate_authoritiesnames are now skipped, as they are just a hint.Own Id: OTP-20327
Related Id(s): GH-11338, [PR-11356]
Corrected generated keylog information generated from the
keylog_hsoption in the corner case that it was invoked after the client had reached its connection state, but the server closed the connection before it reached its connection state.Own Id: OTP-20358
Related Id(s): ERIERL-1356, [PR-11570]
Improvements and New Features
Added TLS-1.3
selected_grouptossl:connection_information/2.Own Id: OTP-20326
Related Id(s): [PR-11440]
The ECDHE-PSK Chacha20-Poly1305 cipher suites are now supported. This is relevant for TLS-1.2 (and lower).
Own Id: OTP-20331
Related Id(s): [PR-11345]
stdlib-8.1
The stdlib-8.1 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
When
beam_libreturns an error tuple, the filename in the information tuple is now a list of characters instead of an atom.Example:
The reason for this change is that a long file name is not guaranteed to fit in an atom. Applications or tools that do deep inspection of the
beam_liberrors (not recommended) will need to be updated.Own Id: OTP-20118
Related Id(s): PR-11167
*** POTENTIAL INCOMPATIBILITY ***
The default seed in the
randmodule has been improved to spread out its entropy over all three seed words.This avoids identical first random numbers from two successive seeds on machines with low system time resolution.
Own Id: OTP-20158
Related Id(s): PR-11165
Fixed
unicode:characters_to_binary/2to handle incomplete utf-32 sequences without crashing.Also fixed a performance regression in
unicode:characters_to_nfkd_list/1.Own Id: OTP-20169
Related Id(s): PR-11130
The
arraymodule has been improved.array:slice/3now raisesbadargfor negative lengths.The performance of
array:mapfoldl/3andarray:sparse_mapfoldl/3has been improved.The documentation has been clarified regarding array growth/shrink behavior and how
concat/1,2handles mixed arrays.Own Id: OTP-20177
Related Id(s): PR-11159
Added more checks in the linter for badly formed
{Name,Arity}attributesOwn Id: OTP-20277
Related Id(s): GH-11397, [PR-11422]
Fixed return value of
zip:zip_get/2. When a file was extracted to a directory, the function returned a map instead of a file name.Own Id: OTP-20298
Related Id(s): PR-11313
When
compr_assignis enabled, the linter will correctly check for unbounded variables after block expressions in comprehensions.Own Id: OTP-20309
Related Id(s): GH-11406, [PR-11567]
When compiling a module with a triple-quoted string with escape sequences and a chunk boundary happened to fall just after an escape character, that character was not passed to the reentrancy continuation, so the scanner interpreted the following characters as not an escape sequence.
This bug has now been fixed.
Own Id: OTP-20320
Related Id(s): GH-11423, [PR-11505]
Fixed some errors in examples in the documentation for the [
string] and [uri_string] modules.Own Id: OTP-20322
Related Id(s): [PR-11446]
Linter will emit better error messages when a behaviour attribute has a bad module name.
Own Id: OTP-20354
Related Id(s): GH-11401, [PR-11552]
Improvements and New Features
uri_string:parse/1now reports the actual offending character in error tuples instead of reporting a misleading cascade-failure position.Previously, when parsing a URI containing an invalid character (such as
|or non-ASCII characters likeö), the error tuple would point to the:character — the position where the parser's final backtracking attempt failed — rather than the character that actually violated the URI grammar. For example,uri_string:parse("http://localhost/A|B")returned{error,invalid_uri,":"}instead of the more helpful{error,invalid_uri,"|"}Own Id: OTP-20235
Related Id(s): GH-7862, PR-11129
Fixed a guard precedence bug in
uri_string:compose_query/2that caused inconsistent error handling depending on the encoding option.When
compose_query/2was called with invalid input (e.g. an atom instead of a string) and{encoding, unicode}, it would crash with** exception error: bad argumentinstead of returning the expected{error, invalid_input, Term}tuple. The same call with{encoding, utf8}correctly returned the error tuple. Both encoding options now consistently return{error, invalid_input, Term}for invalid input.Own Id: OTP-20236
Related Id(s): PR-11128
syntax_tools-4.1.1
The syntax_tools-4.1.1 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
Fixed exception when the epp_dodger AST contains macro-named record.
Own Id: OTP-20180
Related Id(s): GH-11155, PR-11203
Any caller who passed a single syntax tree that was not a form_list (e.g.
erl_recomment:recomment_forms(erl_syntax:atom(foo), Cs)or any expression/function tree) would get a hard crash instead of the documented result. This issue has been fixed.Own Id: OTP-20290
Related Id(s): [PR-11442]
tools-4.2.3
The tools-4.2.3 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
The
tags.erlmodule is used to generateTAGSfiles for Emacs. There was a case where single quote items starting in position 0 would crash the scanner. This use case can potentially happen in docstrings, although not too common. This fix makes the scanner to handle such cases instead of crashing.Own Id: OTP-20293
Related Id(s): [PR-11447]
Updated the Emacs skeleton to reflect latest
format_statuscallback handling.Own Id: OTP-20339
Related Id(s): [PR-11507]
wx-2.7
The wx-2.7 application can be applied independently of other applications on a full OTP 29 installation.
Fixed Bugs and Malfunctions
A large set of correctness and robustness fixes were applied across the
wxapplication, addressing issues found by static analysis of both the Erlang and C/C++ sources.Own Id: OTP-20335
Related Id(s): [PR-11530]
Improvements and New Features
Removed configure checks that prevented cross compilation of wx. Note that cross compilation is not tested and may require manual configuration.
Own Id: OTP-20189
Related Id(s): PR-11137
Thanks to
Alois Vitasek, Anton Thomasson, ausimian, Bernhard M. Wiedemann, Cole Christensen, Dmitri Vereshchagin, Dmytro Lytovchenko, Eric Meadows-Jönsson, haoxian, Jianbo He, João Henrique Ferreira de Freitas, Johan Bevemyr, John Downey, Jonatan Männchen, Julian Doherty, kagetora66, k-patrik, Louis Pilfold, Lukasz Samson, Luke Bakken, Maria Scott, Mikael Pettersson, Paul Guyot, Renato Ceolin, ruslandoga, Scott Wiggins, Stanislav Yaglo, Thomas Arts, Thomas Cioppettini, Zeke Dou, zmstone
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.