chore(deps): update dependency erlang to v28 #126
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:
27.3
->28.0
Release Notes
erlang/otp (erlang)
v28.0
: OTP 28.0Compare Source
OTP 28.0
Erlang/OTP 28 is a new major release with new features, improvements as well as a few incompatibilities. Some of the new features are highlighted below.
Many thanks to all contributors!
Starting with this release, a source Software Bill of Materials (SBOM) will describe the release on the Github Releases page. We welcome feedback on the SBOM.
New language features
Functionality making it possible for processes to enable reception of priority messages has been introduced in accordance with EEP 76.
Comprehensions have been extended with "zip generators" allowing multiple generators to be run in parallel. For example,
[A+B || A <- [1,2,3] && B <- [4,5,6]]
will produce[5,7,9]
.Generators in comprehensions can now be strict, meaning that if the generator pattern does not match, an exception will be raised instead of silently ignore the value that didn't match.
It is now possible to use any base for floating point numbers as per EEP 75: Based Floating Point Literals.
Compiler and JIT improvements
For certain types of errors, the compiler can now suggest corrections. For example, when attempting to use variable
A
that is not defined butA0
is, the compiler could emit the following message:variable 'A' is unbound, did you mean 'A0'?
The size of an atom in the Erlang source code was limited to 255 bytes in previous releases, meaning that an atom containing only emojis could contain only 63 emojis. While atoms are still only allowed to contain 255 characters, the number of bytes is no longer limited.
The
warn_deprecated_catch
option enables warnings for use of old-style catch expressions on the formcatch Expr
instead of the moderntry
...catch
...end
.Provided that the map argument for a
maps:put/3
call is known to the compiler to be a map, the compiler will replace such calls with the corresponding update using the map syntax.Some BIFs with side-effects (such as
binary_to_atom/1
) are optimized intry
...catch
in the same way as guard BIFs in order to gain performance.The compiler’s alias analysis pass is now both faster and less conservative, allowing optimizations of records and binary construction to be applied in more cases.
ERTS
The
trace:system/3
function has been added. It has a similar interface aserlang:system_monitor/2
but it also supports trace sessions.os:set_signal/2
now supports setting handlers for theSIGWINCH
,SIGCONT
, andSIGINFO
signals.The two new BIFs
erlang:processes_iterator/0
anderlang:process_next/1
make it possible to iterate over the process table in a way that scales better thanerlang:processes/0
.Shell and terminal
The erl -noshell mode has been updated to have two sub modes called
raw
andcooked
, wherecooked
is the old default behaviour andraw
can be used to bypass the line-editing support of the native terminal. Usingraw
mode it is possible to read keystrokes as they occur without the user having to press Enter. Also, theraw
mode does not echo the typed characters to stdout.The shell now prints a help message explaining how to interrupt a running command when stuck executing a command for longer than 5 seconds.
STDLIB
The
join(Binaries, Separator)
function that joins a list of binaries has been added to thebinary
module.By default, sets created by module
sets
will now be represented as maps.Module
re
has been updated to use the newer PCRE2 library instead of the PCRE library.There is a new
zstd
module that does Zstandard compression.Public_key
public_key
has been replaced with more modern versions, but we have strived to keep the documented Erlang API for thepublic_key
application compatible.Dialyzer
SSL
Emacs mode (in the Tools application)
indent-region
in Emacs command will now handle multiline strings better.For more details about new features and potential incompatibilities see the README.
v27.3.4
: OTP 27.3.4Compare Source
Check out the git tag OTP-27.3.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-15.2.7
The erts-15.2.7 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Fixed an emulator crash when setting an error_handler module that was not yet loaded.
Own Id: OTP-19577
Related Id(s): ERIERL-1220, PR-9696
Fixed a rare bug that could cause an emulator crash after unloading a module or erasing a persistent_term.
Own Id: OTP-19599
Related Id(s): PR-9724
kernel-10.2.7
Note! The kernel-10.2.7 application cannot be applied independently of other applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
With this change, disk_log will not crash when using chunk_step/3 after log size was decreased.
Own Id: OTP-19605
Related Id(s): GH-9720, PR-9765
With this change, disk_log will not run into infinite loop when using chunk/2,3 after log size was decreased.
Own Id: OTP-19608
Related Id(s): GH-9707, PR-9767
ssh-5.2.11
The ssh-5.2.11 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Fix KEX strict implementation according to draft-miller-sshm-strict-kex-01 document.
Own Id: OTP-19625
Related Id(s): CVE-2025-46712
xmerl-2.1.3
The xmerl-2.1.3 application can be applied independently of other applications on a full OTP 27 installation.
Improvements and New Features
A new option to discard whitespace before the
xml
tag when reading from a stream has been added to the Xmerl SAX parser.{discard_ws_before_xml_document, Boolean}
- Discard whitespace beforexml
tag instead of returning a fatal error if set totrue
(false
is default)Own Id: OTP-19602
Related Id(s): PR-9753
Thanks to
Lý Nhật Tâm
v27.3.3
: OTP 27.3.3Compare Source
Check out the git tag OTP-27.3.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.
erts-15.2.6
The erts-15.2.6 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Fixed bug in
call_memory
tracing that could cause wildly incorrect reported memory values. Bug exists since OTP 27.1.Also fixed return type spec of
trace:info/3
.Own Id: OTP-19581
Related Id(s): ERIERL-1219, PR-9706
kernel-10.2.6
Note! The kernel-10.2.6 application cannot be applied independently of other applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
Fixed bug in
call_memory
tracing that could cause wildly incorrect reported memory values. Bug exists since OTP 27.1.Also fixed return type spec of
trace:info/3
.Own Id: OTP-19581
Related Id(s): ERIERL-1219, PR-9706
megaco-4.7.2
The megaco-4.7.2 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Corrected type spec for type mid().
Own Id: OTP-19585
Related Id(s): ERIERL-1222
ssh-5.2.10
The ssh-5.2.10 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Reception of wrong Unicode does not cause unnecessary processing. US-ASCII fields are not decoded as Unicode.
Own Id: OTP-19582
Related Id(s): PR-9679
SSH daemon disconnects upon receiving connection protocol message for unauthenticated used.
Thanks to Fabian Bäumer, Marcel Maehren, Marcus Brinkmann, Nurullah Erinola, Jörg Schwenk (Ruhr University Bochum).
Own Id: OTP-19595
Related Id(s): CVE-2025-32433
ssl-11.2.12
Note! The ssl-11.2.12 application cannot be applied independently of other applications on an arbitrary OTP 27 installation.
Improvements and New Features
Lower log level for user cancelation as this is not an error case. Also handle possible undecrypted close alert during TLS-1.3 handshake.
Own Id: OTP-19592
Related Id(s): PR-9566
Thanks to
Simon Cornish
v27.3.2
: OTP 27.3.2Compare Source
Check out the git tag OTP-27.3.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.
asn1-5.3.4
The asn1-5.3.4 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Negative REAL numbers greater than -1 would be incorrectly encoded (the minus sign would be lost).
Own Id: OTP-19567
Related Id(s): ERIERL-1214, PR-9658
compiler-8.6.1
The compiler-8.6.1 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Fix the compiler crash when the inner-most tuple in a nested tuple with 3 layers is updated.
Own Id: OTP-19561
Related Id(s): ERIERL-1208, ERIERL-1210, PR-9650
erts-15.2.5
The erts-15.2.5 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
On Windows, using socket:sendv, a large IOV (size > MAX), the tail was not sent.
Own Id: OTP-19482
Uplift pcre 8.44 to pcre 8.45
Own Id: OTP-19565
kernel-10.2.5
Note! The kernel-10.2.5 application cannot be applied independently of other applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
On Windows, using socket:sendv, a large IOV (size > MAX), the tail was not sent.
Own Id: OTP-19482
gen_tcp connect with a sockaddr with loopback address failed.
Own Id: OTP-19560
Related Id(s): GH-9541
Remove debug printouts from gen_tcp_socket
Own Id: OTP-19564
megaco-4.7.1
The megaco-4.7.1 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Correct type spec for ActionReply
Own Id: OTP-19563
Related Id(s): ERIERL-1216
snmp-5.18.2
The snmp-5.18.2 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
When manager receives an v3 inform (request) it used engine-id and full address (including port number) to check if engine was known. This did not work if agent used ephemeral ports for notifications. Has now been changed to only use (context) engine-id and address (without port).
Own Id: OTP-19562
Related Id(s): ERIERL-1207
Fixed snmp_generic (dialyzer) spec for function table_func.
Own Id: OTP-19568
Related Id(s): ERIERL-1211
ssl-11.2.11
Note! The ssl-11.2.11 application cannot be applied independently of other applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
Correct the debug functionality for NSS keylogging for TLS-1.3 introduced in OTP-27.3.1 so that TLS-1.3 key updates items always get correct counter value and each item is logged as one single line.
Own Id: OTP-19569
Related Id(s): PR-9661
xmerl-2.1.2
The xmerl-2.1.2 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Corrected faulty type specification
Corrected type specification for the input parameter of
xmerl_xs:value_of/1
.Also replaced underscore in the return type specifications of
xmerl_xs:select/2
,xmerl_xpath:string/2
andxmerl_xpath:string/3
with specified return values to improve documentation.Own Id: OTP-19571
Related Id(s): ERIERL-1212, PR-9676
Thanks to
Björn Gustavsson
v27.3.1
: OTP 27.3.1Compare Source
Check out the git tag OTP-27.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.
OTP-27.3.1
Fixed Bugs and Malfunctions
Update used ExDoc version to v0.37.3
Own Id: OTP-19525
Related Id(s): PR-9553
asn1-5.3.3
The asn1-5.3.3 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
The JER backend will now include the SIZE constraint in the type info for OCTET STRINGs, and a SIZE constraint with a range will now be included for BIT STRINGs. This does not change the actual encoding or decoding of JER, but can be useful for tools.
Own Id: OTP-19542
Related Id(s): ERIERL-1204, PR-9588
Improvements and New Features
When using the JSON encoding rules, it is now possible to call the decode/2 function in the following way with data that has already been decoded by json:decode/1:
Own Id: OTP-19547
Related Id(s): ERIERL-1206, PR-9611
erts-15.2.4
The erts-15.2.4 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Behavior for socket:recv/3 has been improved. The behavior has also been clarified in the documentation.
Own Id: OTP-19469
Related Id(s): #9172
Trace messages due to
receive
tracing could potentially be delayed a very long time if the traced process waited in areceive
expression without clauses matching on messages (timed wait), or just did not enter areceive
expression for a very long time.Own Id: OTP-19527
Related Id(s): PR-9577
Improve the naming of the (internal) esock mutex(es). It is now possible to configure (as in autoconf) the use of simple names for the esock mutex(es).
Own Id: OTP-19548
Related Id(s): OTP-19472
kernel-10.2.4
Note! The kernel-10.2.4 application cannot be applied independently of other applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
Behavior for socket:recv/3 has been improved. The behavior has also been clarified in the documentation.
Own Id: OTP-19469
Related Id(s): #9172
An infinite loop in CNAME loop detection that can cause Out Of Memory has been fixed. This affected CNAME lookup with the internal DNS resolver.
Own Id: OTP-19545
Related Id(s): PR-9587, OTP-19544
mnesia-4.23.5
The mnesia-4.23.5 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
With this change mnesia will merge schema of tables using external backends.
Own Id: OTP-19437
Related Id(s): PR-9534
ssh-5.2.9
The ssh-5.2.9 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Reception of malicious KEX init message does not result with ssh daemon excessive memory usage.
Own Id: OTP-19543
Related Id(s): CVE-2025-30211
Call to ssh:daemon_replace_options does not crash when argument is not a valid daemon ref.
Own Id: OTP-19559
Related Id(s): GH-9554, PR-9545
ssl-11.2.10
Note! The ssl-11.2.10 application cannot be applied independently of other applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
Correct handling of unassigned signature algorithms to properly ignore them instead of failing the handshake.
Own Id: OTP-19529
Related Id(s): GH-9483, PR-9486
Update key mechanism in CRL cache so that CRL DP with same URI path component becomes distinguishable from each other.
Own Id: OTP-19549
Related Id(s): GH-8891, PR-9612
Improvements and New Features
Add callback for NSS keylogging so that it can work as expected for all scenarios.
Own Id: OTP-19391
Related Id(s): PR-9221
stdlib-6.2.2
The stdlib-6.2.2 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Fixed crash when fetching
initial_call
when user code have modified theprocess_dictionary
.Own Id: OTP-19546
Related Id(s): ERIERL-1205, PR-9596
Thanks to
Alexandre Rodrigues, Marc Worrell, Sergei Shuvatov, zmstone
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 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 has been generated by Renovate Bot.