Conversation
d13fd2e to
80fe574
Compare
80fe574 to
5f77a46
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.
This PR contains the following updates:
27.3.4->28.0.1Release Notes
erlang/otp (erlang)
v28.0.1Compare Source
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
Athat is not defined butA0is, 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_catchoption enables warnings for use of old-style catch expressions on the formcatch Exprinstead of the moderntry...catch...end.Provided that the map argument for a
maps:put/3call 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...catchin 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/3function has been added. It has a similar interface aserlang:system_monitor/2but it also supports trace sessions.os:set_signal/2now supports setting handlers for theSIGWINCH,SIGCONT, andSIGINFOsignals.The two new BIFs
erlang:processes_iterator/0anderlang:process_next/1make 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
rawandcooked, wherecookedis the old default behaviour andrawcan be used to bypass the line-editing support of the native terminal. Usingrawmode it is possible to read keystrokes as they occur without the user having to press Enter. Also, therawmode 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 thebinarymodule.By default, sets created by module
setswill now be represented as maps.Module
rehas been updated to use the newer PCRE2 library instead of the PCRE library.There is a new
zstdmodule that does Zstandard compression.Public_key
public_keyhas been replaced with more modern versions, but we have strived to keep the documented Erlang API for thepublic_keyapplication compatible.Dialyzer
SSL
Emacs mode (in the Tools application)
indent-regionin 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.