Update dependency erlang to v28 #134
Open
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.4
->28.0.2
Release Notes
erlang/otp (erlang)
v28.0.2
: OTP 28.0.2Compare Source
Check out the git tag OTP-28.0.2, and build a full OTP system including documentation. Apply one or more applications from this build as patches to your installation using the 'otp_patch_apply' tool. For information on install requirements, see descriptions for each application version below.
OTP-28.0.2
Fixed Bugs and Malfunctions
Fix
otp_patch_apply
to work with Erlang/OTP 28 and later.Own Id: OTP-19682
Related Id(s): PR-9953
compiler-9.0.1
The compiler-9.0.1 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
Fixed a bug that could cause empty bitstring matches to always succeed, even when they should not.
Own Id: OTP-19711
Related Id(s): GH-10047, PR-10048
debugger-6.0.2
The debugger-6.0.2 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
Fixed debugger priv dir, which was removed and caused crashes when the icons could not be found.
Own Id: OTP-19687
Related Id(s): GH-9858, PR-9994
erts-16.0.2
The erts-16.0.2 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
prim_net nif used incorrect encoding for family resulting in non-functional address selection.
Own Id: OTP-19674
Fix windows uninstall command.
Own Id: OTP-19683
Related Id(s): GH-9884, GH-9992, PR-9887
With this change erlang will start if it receives short (ms-dos compatible) path to executable.
Own Id: OTP-19690
Related Id(s): PR-9996
Improvements and New Features
The maximum amount of connections for
epmd
on Windows platforms has been increased from 64 to 1024.Own Id: OTP-19710
Related Id(s): PR-10039
kernel-10.3.2
The kernel-10.3.2 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
socket:sendv/3 with 'nowait' sometimes return 'completion' without 'CompletionInfo' (Windows only).
Own Id: OTP-19661
prim_net nif used incorrect encoding for family resulting in non-functional address selection.
Own Id: OTP-19674
socket:accept can return unexpected 'select_sent'.
Own Id: OTP-19684
Related Id(s): ERIERL-1242
net_kernel
could be blocked for a very long time when selecting distribution module for a connection if the DNS service was slow. This prevented any new connections to be set up during that time.Own Id: OTP-19702
Related Id(s): ERIERL-1241, PR-10029
Improvements and New Features
Improved documentation of CompletionStatus for asynchronous (nowait) socket operations.
Own Id: OTP-19670
Related Id(s): PR-9930
public_key-1.18.2
The public_key-1.18.2 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
Adjustments in include file to retain compatibility with supported ASN-1 standards, although not all record and macros are explicitly documented.
Own Id: OTP-19678
Related Id(s): GH-10001, PR-10008, PR-9955
Handle certificates that are signed with RSASSA-PSS but the PSS params are specified in the 'SignatureAlgorithm' of the signed cert and not in the signer's 'SubjectPublicKeyInfo'.
Own Id: OTP-19699
Related Id(s): GH-9632, PR-10023
Add modern ASN-1 specs to be able to retain support for ExtensionRequest from legacy PKCS-9 spec.
Own Id: OTP-19703
Related Id(s): GH-10028, PR-10031
ssh-5.3.2
The ssh-5.3.2 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
Fix file handle id generation.
Own Id: OTP-19691
Related Id(s): PR-10003
Fixes a badmatch error, when SFTP operation cannot be processed due to channel closed in parallel.
Own Id: OTP-19707
Related Id(s): GH-9655, PR-10035, PR-10036
ssl-11.3.2
The ssl-11.3.2 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
Improve error message for bad arguments to underlying connect.
Own Id: OTP-19697
Related Id(s): GH-10007, PR-10016
stdlib-7.0.2
The stdlib-7.0.2 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
A set of small bugs in sort stability for `lists:sort/1` and `lists:keysort/1` has been fixed. The bug happened for only some, seemingly random, element sequences. Most sorts were stable.
Sort stability for `lists:sort/1` is only possible to observe when sorting lists with floating point and integer numbers of the same value.
For `lists:keysort/1` the list had to start with two tuples where the keys or the whole tuples compared equal.
Own Id: OTP-19673
Related Id(s): ERIERL-1240
Fixed bug in
io_lib:bformat/2
which crashed if format string contained unicode characters.Own Id: OTP-19680
Related Id(s): PR-9952
wx-2.5.1
The wx-2.5.1 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
Don't include
gl.beam
in pre-built source tar file, since it depends on local configure results.Own Id: OTP-19700
Related Id(s): PR-10024
Thanks to
Dmytro Lytovchenko
GH-10001: https://github.com/erlang/otp/issues/10001 GH-10007: https://github.com/erlang/otp/issues/10007 GH-10028: https://github.com/erlang/otp/issues/10028 GH-10047: https://github.com/erlang/otp/issues/10047 GH-9632: https://github.com/erlang/otp/issues/9632 GH-9655: https://github.com/erlang/otp/issues/9655 GH-9858: https://github.com/erlang/otp/issues/9858 GH-9884: https://github.com/erlang/otp/issues/9884 GH-9992: https://github.com/erlang/otp/issues/9992 PR-10003: https://github.com/erlang/otp/pull/10003 PR-10008: https://github.com/erlang/otp/pull/10008 PR-10016: https://github.com/erlang/otp/pull/10016 PR-10023: https://github.com/erlang/otp/pull/10023 PR-10024: https://github.com/erlang/otp/pull/10024 PR-10029: https://github.com/erlang/otp/pull/10029 PR-10031: https://github.com/erlang/otp/pull/10031 PR-10035: https://github.com/erlang/otp/pull/10035 PR-10036: https://github.com/erlang/otp/pull/10036 PR-10039: https://github.com/erlang/otp/pull/10039 PR-10048: https://github.com/erlang/otp/pull/10048 PR-9887: https://github.com/erlang/otp/pull/9887 PR-9930: https://github.com/erlang/otp/pull/9930 PR-9952: https://github.com/erlang/otp/pull/9952 PR-9953: https://github.com/erlang/otp/pull/9953 PR-9955: https://github.com/erlang/otp/pull/9955 PR-9994: https://github.com/erlang/otp/pull/9994 PR-9996: https://github.com/erlang/otp/pull/9996
v28.0.1
: OTP 28.0.1Compare Source
Check out the git tag OTP-28.0.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.
asn1-5.4.1
The asn1-5.4.1 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
The ASN.1 compiler could generate code that would cause Dialyzer with the
unmatched_returns
option to emit warnings.Own Id: OTP-19638 Related Id(s): GH-9841, PR-9846
debugger-6.0.1
The debugger-6.0.1 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
Restore deleted icon so that debugger does not crash on startup.
Own Id: OTP-19641 Related Id(s): GH-9858, PR-9861
eldap-1.2.16
The eldap-1.2.16 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
With this change eldap's 'not' function will have specs fixed.
Own Id: OTP-19658 Related Id(s): PR-9859
erts-16.0.1
The erts-16.0.1 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
Fix Erlang to not crash when io:standard_error/0 is a terminal but io:standard_io/0 is not. This bug has existed since Erlang/OTP 28.0 and only effects Windows.
Own Id: OTP-19650 Related Id(s): GH-9872, PR-9878
In a debug build, the BIFs for the native debugger could cause a lock order violation diagnostic from the lock checker.
Own Id: OTP-19665 Related Id(s): PR-9926
When building ERTS make sure correct
pcre2.h
file is included even if CFLAGS contains extra include paths.Own Id: OTP-19675 Related Id(s): PR-9892
kernel-10.3.1
The kernel-10.3.1 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
Fix bug where calling io:setopts/1 in a shell without the
line_history
option would always disableline_history
. This bug was introduced in Erlang/OTP 28.0.Own Id: OTP-19645 Related Id(s): GH-9863, PR-9870
public_key-1.18.1
The public_key-1.18.1 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
Add back some ASN-1 macros and definitions that should be included in API.
Own Id: OTP-19644 Related Id(s): PR-9880
ssh-5.3.1
The ssh-5.3.1 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
Various channel closing robustness improvements. Avoid crashes when channel handling process closes channel and immediately exits. Avoid breaking the protocol by sending duplicated channel-close messages. Cleanup channels which timeout during closing procedure.
Own Id: OTP-19634 Related Id(s): GH-9102, PR-9103
Improved interoperability with clients acting as Paramiko.
Own Id: OTP-19637 Related Id(s): GH-6463, PR-9838
ssl-11.3.1
The ssl-11.3.1 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
hs_keylog callback properly handle alert in initial states, where encryption is not yet used. Also add keylog callback invocation for corner-case where server alert is encrypted with application secrets as client is already in connection state.
Own Id: OTP-19635 Related Id(s): ERIERL-1235, PR-9849
Improvements and New Features
The documentation for SSL option
verify_fun
has been improved.Own Id: OTP-19676 Related Id(s): PR-9691
stdlib-7.0.1
The stdlib-7.0.1 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
Properly strip the leading
/
and drive letter from filepaths when zipping and unzipping archives.Thanks to Wander Nauta for finding and responsibly disclosing this vulnerability to the Erlang/OTP project.
Own Id: OTP-19653 Related Id(s): PR-9941, CVE-2025-4748
xmerl-2.1.5
The xmerl-2.1.5 application can be applied independently of other applications on a full OTP 28 installation.
Fixed Bugs and Malfunctions
The type specs of xmerl_scan:file/2 and xmerl_scan:string/2 has been updated to return
dynamic/0
. Due to hook functions they can return any user defined term.Own Id: OTP-19662 Related Id(s): ERIERL-1225, PR-9905
Thanks to
Dan Janowski, Ilya Averyanov, Mikael Pettersson, Yaroslav Maslennikov
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.
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 was generated by Mend Renovate. View the repository job log.