- Changes for 27.1.2:

* stdlib: With this change, uri_string:normalize assumes empty
    path (do not crash) when no path is provided in the URI map.
  * stdlib: Fixed spec for json:format/3.
  * kernel: A bug has been fixed where receiving an SCTP message
    with gen_sctp could waste the first fragments of a message and
    only deliver the last fragment.
  * kernel: An boolean option non_block_send for SCTP, has ben
    added to be able to achieve the old behaviour to avoid blocking
    send operations by passing the OS network stack error message
    ({error,eagain} through.
  * common_test: With this change, jquery and tablesorter licenses
    are added to COPYRIGHT file. Also tablesorter is updated to
    version 2.32.
  * ssl: Refactor trying to also make some optimizations introduced
    a bug in signature algorithms checks in OTP-26.2.1. This could
    manifest itself in not being able to negotiate connections
    using certificates needing to use some TLS-1.2 compatibility
    legacy signature schemes.
  * ssl: Correct timeout handling for termination code run for own
    alerts, so that intended timeout is used instead of falling
    back to OS TCP-stack timeout that is unreasonably long on some
    platforms.
  * ssl: Fix assertion so that works as intended. This could result
    in that some TLS-1.2 clients would fail to connect to the the
    erlang server.  Bug introduced in OTP-27.1.1
  * erts: A bug has been fixed where receiving an SCTP message with
    gen_sctp could waste the first fragments of a message and only
    deliver the last fragment.
  * erts: An boolean option non_block_send for SCTP, has ben added

OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang:Factory/erlang?expand=0&rev=139
This commit is contained in:
Matwey Kornilov 2024-12-03 14:16:28 +00:00 committed by Git OBS Bridge
parent bd941f4698
commit b0857ac886
4 changed files with 98 additions and 5 deletions

3
OTP-27.1.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:365208d47f9590f27c0814ccd7ee7aec0e1b6ba2fe9d875e356edb5d9b054541
size 62185618

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b16ada99c49035e96f0d20fa3abe537851e84da6f2419ec325c345a03a574d29
size 62154805

View File

@ -1,3 +1,96 @@
-------------------------------------------------------------------
Sat Nov 30 10:19:31 UTC 2024 - matwey.kornilov@gmail.com
- Changes for 27.1.2:
* stdlib: With this change, uri_string:normalize assumes empty
path (do not crash) when no path is provided in the URI map.
* stdlib: Fixed spec for json:format/3.
* kernel: A bug has been fixed where receiving an SCTP message
with gen_sctp could waste the first fragments of a message and
only deliver the last fragment.
* kernel: An boolean option non_block_send for SCTP, has ben
added to be able to achieve the old behaviour to avoid blocking
send operations by passing the OS network stack error message
({error,eagain} through.
* common_test: With this change, jquery and tablesorter licenses
are added to COPYRIGHT file. Also tablesorter is updated to
version 2.32.
* ssl: Refactor trying to also make some optimizations introduced
a bug in signature algorithms checks in OTP-26.2.1. This could
manifest itself in not being able to negotiate connections
using certificates needing to use some TLS-1.2 compatibility
legacy signature schemes.
* ssl: Correct timeout handling for termination code run for own
alerts, so that intended timeout is used instead of falling
back to OS TCP-stack timeout that is unreasonably long on some
platforms.
* ssl: Fix assertion so that works as intended. This could result
in that some TLS-1.2 clients would fail to connect to the the
erlang server. Bug introduced in OTP-27.1.1
* erts: A bug has been fixed where receiving an SCTP message with
gen_sctp could waste the first fragments of a message and only
deliver the last fragment.
* erts: An boolean option non_block_send for SCTP, has ben added
to be able to achieve the old behaviour to avoid blocking send
operations by passing the OS network stack error message
({error,eagain} through.
* erts: The call gen_tcp:send/2 could hang indefinitely despite
having set the send_timeout option for the following
unfortunate combination of circumstances:
* erts: In rare circumstances, in code that matches multiple
tuples, the JIT could generate code that would raise a badmatch
exception even if the given tuples were correct.
* erts: Fixed beam crash that could happen if resetting call_time
or call_memory trace counters of a function while it is called.
Bug exists since OTP R16.
* ssh: With this change, a race condition is removed from ssh
client connection setup procedure.
* ssh: With this change, ssh:connect is not affected by presence
of EXIT message in queue.
* ssh: With this change, ssh appends {active, false} option after
socket options received from user - so that false value is
always used.
- Changes for 27.1.1:
* public_key: Introduction of verify_fun/4 unfortunately
introduced an argument switch for some specific path validation
errors so that verify_fun/3 could under these circumstances be
called with a DER cert instead of a decod cert, also in this
situation the verify_fun/4 would have the certificates in
reverse order.
* public_key: Do not hide crypto badarg reason, this error
handling enhancement facilitates debugging. These kind of
runtime errors are not documented and should never be relied on
for matching, they are intended for catching input errors
early.
* stdlib: Remove whitespace stripping of returned binaries in
json:decode/3.
* stdlib: Fix zip:unzip/2 to not crash when extracting zip files
with garbage in the Zip64 extra header. This bug was introduced
in Erlang 27.1 and has so far only been seen on some archives
creates by MS Excel.
* stdlib: With this change, shutdown procedure handles a race
condition between supervisor executing a shutdown and child
process termination from other reason.
* common_test: With this change, HTML reports include jQuery
version 3.7.1.
* ssl: Starting from TLS-1.3 some server handshake alerts might
arrive after ssl:connection/2,3,4 has returned. If the socket
is in active mode the controlling process will get the alert
message, but passive sockets would only get {error, closed} on
next call to ssl:recv/2,3 or ssl/setopts/2. Passive sockets
calls will now return {error, error_alert()} instead.
* ssl: Servers configured to support only version (pre TLS-1.2)
should ignore hello version extension, as it is an unknown
extension to them, this will result in that new clients that do
not support the old server version will get an insufficient
security alert from the server and not a protocol version
alert, this is consistent with how old servers not able to
support higher protocol versions work.
* erts: On Windows, successive failed socket calls caused socket
to become "uninitialized".
* erts: The socket framework fails to start on a IPv6-only
Windows machine.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 29 15:03:44 UTC 2024 - matwey.kornilov@gmail.com Sun Sep 29 15:03:44 UTC 2024 - matwey.kornilov@gmail.com

View File

@ -23,14 +23,14 @@
%define _fillupdir %{_localstatedir}/adm/fillup-templates %define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif %endif
Name: erlang Name: erlang
Version: 27.1 Version: 27.1.2
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 # The link comes from ./make/ex_doc_link file
Source1: https://github.com/elixir-lang/ex_doc/releases/download/v0.32.2/ex_doc_otp_26 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