SHA256
1
0
forked from erlang/erlang

3 Commits

Author SHA256 Message Date
39305bc146 Version 28.0.2 2025-08-02 12:53:57 +03:00
e094262ff2 Merge remote-tracking branch 'upstream/main' 2025-06-27 19:20:18 +03:00
3765fd0394 Version 28.0 2025-06-09 18:41:29 +03:00
4 changed files with 154 additions and 4 deletions

BIN
OTP-27.3.4.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
OTP-28.0.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,4 +1,154 @@
-------------------------------------------------------------------
Sat Aug 02 09:53:48 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
- Changes for 28.0.2:
* compiler: Fixed a bug that could cause empty bitstring matches
to always succeed, even when they should not.
* public_key: Adjustments in include file to retain compatibility
with supported ASN-1 standards, although not all record and
macros are explicitly documented.
* public_key: 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'.
* public_key: Add modern ASN-1 specs to be able to retain support
for ExtensionRequest from legacy PKCS-9 spec.
* kernel: socket:sendv/3 with 'nowait' sometimes return
'completion' without 'CompletionInfo' (Windows only).
* kernel: prim_net nif used incorrect encoding for family
resulting in non-functional address selection.
* kernel: socket:accept can return unexpected 'select_sent'.
* kernel: 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.
* kernel: Improved documentation of CompletionStatus for
asynchronous (nowait) socket operations.
* wx: Don't include gl.beam in pre-built source tar file, since
it depends on local configure results.
* ssh: Fix file handle id generation.
* ssh: Fixes a badmatch error, when SFTP operation cannot be
processed due to channel closed in parallel.
* stdlib: 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.
* stdlib: Fixed bug in io_lib:bformat/2 which crashed if format
string contained unicode characters.
* debugger: Fixed debugger priv dir, which was removed and caused
crashes when the icons could not be found.
* erts: prim_net nif used incorrect encoding for family resulting
in non-functional address selection.
* erts: Fix windows uninstall command.
* erts: With this change erlang will start if it receives short
(ms-dos compatible) path to executable.
* erts: The maximum amount of connections for epmd on Windows
platforms has been increased from 64 to 1024.
* ssl: Improve error message for bad arguments to underlying
connect.
- Changes for 28.0.1:
* eldap: With this change eldap's 'not' function will have specs
fixed.
* xmerl: The type specs of xmerl_scan:file/2 and
xmerl_scan:string/2 has been updated to return t:dynamic/0. Due
to hook functions they can return any user defined term.
* public_key: Add back some ASN-1 macros and definitions that
should be included in API.
* asn1: The ASN.1 compiler could generate code that would cause
Dialyzer with the unmatched_returns option to emit warnings.
* kernel: Fix bug where calling io:setopts/1 in a shell without
the line_history option would always disable line_history. This
bug was introduced in Erlang/OTP 28.0.
* ssh: 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.
* ssh: Improved interoperability with clients acting as Paramiko.
* stdlib: Properly strip the leading / and drive letter from
filepaths when zipping and unzipping archives.
* debugger: Restore deleted icon so that debugger does not crash
on startup.
* erts: Fix Erlang to not crash when t:io:standard_error/0 is a
terminal but t:io:standard_io/0 is not. This bug has existed
since Erlang/OTP 28.0 and only effects Windows.
* erts: In a debug build, the BIFs for the native debugger could
cause a lock order violation diagnostic from the lock checker.
* erts: When building ERTS make sure correct pcre2.h file is
included even if CFLAGS contains extra include paths.
* ssl: 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.
* ssl: The documentation for SSL option verify_fun has been
improved.
-------------------------------------------------------------------
Mon Jun 9 15:34:16 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
- Version 28.0:
* 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.
* 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 didnt match.
* It is now possible to use any base for floating point numbers
as per EEP 75: Based Floating Point Literals.
* For certain types of errors, the compiler can now suggest
corrections. For example, when attempting to use variable A
that is not defined but A0 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 form catch Expr instead of
the modern try ... 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 in try ... catch in the same way as guard BIFs in
order to gain performance.
* The compilers alias analysis pass is now both faster and less
conservative, allowing optimizations of records and binary
construction to be applied in more cases.
* The trace:system/3 function has been added. It has a similar
interface as erlang:system_monitor/2 but it also supports trace
sessions.
* os:set_signal/2 now supports setting handlers for the
SIGWINCH, SIGCONT, and SIGINFO signals.
* The two new BIFs erlang:processes_iterator/0 and
erlang:process_next/1 make it possible to iterate over the
process table in a way that scales better than erlang:processes/0.
* The erl -noshell mode has been updated to have two sub modes
called raw and cooked, where cooked is the old default
behaviour and raw can be used to bypass the line-editing support of
the native terminal. Using raw mode it is possible to read
keystrokes as they occur without the user having to press Enter.
Also, the raw 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.
* The join(Binaries, Separator) function that joins a list of
binaries has been added to the binary 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.
* The ancient ASN.1 modules used in public_key has been replaced
with more modern versions, but we have strived to keep the
documented Erlang API for the public_key application compatible.
* EEP 69: Nominal Types has been implemented.
* The data handling for tls-v1.3 has been optimized.
* The indent-region in Emacs command will now handle multiline
strings better.
-------------------------------------------------------------------
Mon Jun 16 15:06:41 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
- Changes for 27.3.4.1:

View File

@@ -23,7 +23,7 @@
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
Name: erlang
Version: 27.3.4.1
Version: 28.0.2
Release: 0
Summary: General-purpose programming language and runtime environment
License: Apache-2.0