forked from erlang/erlang
Compare commits
6 Commits
erlang_27.
...
main
Author | SHA256 | Date | |
---|---|---|---|
e094262ff2 | |||
267827a484 | |||
3765fd0394 | |||
2c5a2efd61 | |||
6010b00fba | |||
76303320e0 |
BIN
OTP-27.3.4.tar.gz
(Stored with Git LFS)
BIN
OTP-27.3.4.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
OTP-28.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
OTP-28.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
106
erlang.changes
106
erlang.changes
@@ -1,3 +1,109 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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 didn’t 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 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.
|
||||||
|
* 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:
|
||||||
|
* 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.
|
||||||
|
* kernel: A remote shell can now exit by closing the input
|
||||||
|
stream, without terminating the remote node.
|
||||||
|
* kernel: Document default buffer sizes
|
||||||
|
* asn1: The ASN.1 compiler could generate code that would cause
|
||||||
|
Dialyzer with the unmatched_returns option to emit warnings.
|
||||||
|
* 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.
|
||||||
|
* eldap: With this change eldap's 'not' function will have specs
|
||||||
|
fixed.
|
||||||
|
* 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: The save_module/1 command in the shell now saves both
|
||||||
|
the locally defined records and the imported records using the
|
||||||
|
rr/1 command.
|
||||||
|
* stdlib: It's now possible to write lists:map(fun is_atom/1, [])
|
||||||
|
or lists:map(fun my_func/1, []), in the shell, instead of
|
||||||
|
lists:map(fun erlang:is_atom/1, []) or lists:map(fun
|
||||||
|
shell_default:my_func/1, []).
|
||||||
|
* stdlib: Properly strip the leading / and drive letter from
|
||||||
|
filepaths when zipping and unzipping archives.
|
||||||
|
* stdlib: Shell no longer crashes when requesting to autocomplete
|
||||||
|
map keys containing non-atoms.
|
||||||
|
* stdlib: A remote shell can now exit by closing the input
|
||||||
|
stream, without terminating the remote node.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 09 06:19:01 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
Fri May 09 06:19:01 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||||
|
|
||||||
|
@@ -23,14 +23,12 @@
|
|||||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
Name: erlang
|
Name: erlang
|
||||||
Version: 27.3.4
|
Version: 28.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: General-purpose programming language and runtime environment
|
Summary: General-purpose programming language and runtime environment
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://www.erlang.org
|
URL: https://www.erlang.org
|
||||||
Source0: https://github.com/erlang/otp/archive/OTP-%{version}.tar.gz
|
Source0: https://github.com/erlang/otp/archive/OTP-%{version}.tar.gz
|
||||||
# The link comes from ./make/ex_doc_link file
|
|
||||||
Source1: https://github.com/elixir-lang/ex_doc/releases/download/v0.34.1/ex_doc_otp_26
|
|
||||||
Source3: %{name}-rpmlintrc
|
Source3: %{name}-rpmlintrc
|
||||||
Source5: erlang.sysconfig
|
Source5: erlang.sysconfig
|
||||||
Source6: macros.erlang
|
Source6: macros.erlang
|
||||||
@@ -45,6 +43,7 @@ Patch4: erlang-not-install-misc.patch
|
|||||||
BuildRequires: Mesa-devel
|
BuildRequires: Mesa-devel
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: dejavu-fonts
|
BuildRequires: dejavu-fonts
|
||||||
|
BuildRequires: ex_doc
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: fop
|
BuildRequires: fop
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@@ -249,7 +248,6 @@ A Graphics System used to write platform independent user interfaces.
|
|||||||
%patch -P 0 -p1 -b .rpath
|
%patch -P 0 -p1 -b .rpath
|
||||||
%patch -P 4 -p1
|
%patch -P 4 -p1
|
||||||
cp %{SOURCE9} .
|
cp %{SOURCE9} .
|
||||||
install -m 0755 %{SOURCE1} ./bin/ex_doc
|
|
||||||
|
|
||||||
# enable dynamic linking for ssl
|
# enable dynamic linking for ssl
|
||||||
sed -i 's|SSL_DYNAMIC_ONLY=no|SSL_DYNAMIC_ONLY=yes|' erts/configure
|
sed -i 's|SSL_DYNAMIC_ONLY=no|SSL_DYNAMIC_ONLY=yes|' erts/configure
|
||||||
|
BIN
ex_doc_otp_26
(Stored with Git LFS)
BIN
ex_doc_otp_26
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user