summaryrefslogtreecommitdiff
path: root/lib/stdlib
diff options
context:
space:
mode:
authorHenrik Nord <henrik@erlang.org>2022-09-21 11:10:58 +0200
committerHenrik Nord <henrik@erlang.org>2022-09-21 11:10:58 +0200
commit8682e4d28cad3dd4f315000d8328f40cc316d48a (patch)
tree97a4006ed4c535e77b96c0824695d9da97b8303a /lib/stdlib
parent28de4f43cb7f6fceba828d0847d9f34a51b0ca51 (diff)
parent6efb5e31df6bc512ed6c466584ef15b846dcecab (diff)
downloaderlang-8682e4d28cad3dd4f315000d8328f40cc316d48a.tar.gz
Merge branch 'maint' into master
* maint: Updated OTP version Prepare release Update copyright year
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/doc/src/calendar.xml2
-rw-r--r--lib/stdlib/doc/src/epp.xml2
-rw-r--r--lib/stdlib/doc/src/erl_features.xml2
-rw-r--r--lib/stdlib/doc/src/notes.xml121
-rw-r--r--lib/stdlib/src/calendar.erl2
-rw-r--r--lib/stdlib/src/erl_internal.erl2
-rw-r--r--lib/stdlib/src/stdlib.app.src2
-rw-r--r--lib/stdlib/src/stdlib.appup.src6
-rw-r--r--lib/stdlib/src/timer.erl2
-rw-r--r--lib/stdlib/test/base64_property_test_SUITE.erl2
-rw-r--r--lib/stdlib/test/calendar_SUITE.erl2
-rw-r--r--lib/stdlib/test/property_test/base64_prop.erl2
-rw-r--r--lib/stdlib/test/timer_simple_SUITE.erl2
-rw-r--r--lib/stdlib/vsn.mk2
14 files changed, 136 insertions, 15 deletions
diff --git a/lib/stdlib/doc/src/calendar.xml b/lib/stdlib/doc/src/calendar.xml
index b6fc42de78..228c0808d3 100644
--- a/lib/stdlib/doc/src/calendar.xml
+++ b/lib/stdlib/doc/src/calendar.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>1996</year><year>2021</year>
+ <year>1996</year><year>2022</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
diff --git a/lib/stdlib/doc/src/epp.xml b/lib/stdlib/doc/src/epp.xml
index c2c24ee34d..11130b0065 100644
--- a/lib/stdlib/doc/src/epp.xml
+++ b/lib/stdlib/doc/src/epp.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>1996</year><year>2020</year>
+ <year>1996</year><year>2022</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
diff --git a/lib/stdlib/doc/src/erl_features.xml b/lib/stdlib/doc/src/erl_features.xml
index f86f6f1d5b..cf85b4ccd6 100644
--- a/lib/stdlib/doc/src/erl_features.xml
+++ b/lib/stdlib/doc/src/erl_features.xml
@@ -71,7 +71,7 @@
</func>
<func>
- <name name="configurable" arity="0" since="OTP @OTP-18199@"/>
+ <name name="configurable" arity="0" since="OTP 25.1"/>
<fsummary>Return all configurable features.</fsummary>
<desc>
<p>Return a list of all configurable features, that is, features
diff --git a/lib/stdlib/doc/src/notes.xml b/lib/stdlib/doc/src/notes.xml
index c28a1317a7..af68daad9e 100644
--- a/lib/stdlib/doc/src/notes.xml
+++ b/lib/stdlib/doc/src/notes.xml
@@ -4,7 +4,7 @@
<chapter>
<header>
<copyright>
- <year>2004</year><year>2021</year>
+ <year>2004</year><year>2022</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -31,6 +31,125 @@
</header>
<p>This document describes the changes made to the STDLIB application.</p>
+<section><title>STDLIB 4.1</title>
+
+ <section><title>Fixed Bugs and Malfunctions</title>
+ <list>
+ <item>
+ <p>
+ Fixed inconsistency bugs in <seeerl
+ marker="kernel:global"><c>global</c></seeerl> due to
+ <c>nodeup</c>/<c>nodedown</c> messages not being
+ delivered before/after traffic over connections. Also
+ fixed various other inconsistency bugs and deadlocks in
+ both <seeerl
+ marker="kernel:global_group"><c>global_group</c></seeerl>
+ and <c>global</c>.</p>
+ <p>
+ As building blocks for these fixes, a new BIF <seemfa
+ marker="erts:erlang#nodes/2"><c>erlang:nodes/2</c></seemfa>
+ has been introduced and <seemfa
+ marker="kernel:net_kernel#monitor_nodes/2"><c>net_kernel:monitor_nodes/2</c></seemfa>
+ has been extended.</p>
+ <p>
+ The <seecom
+ marker="erts:erl#hidden"><c>-hidden</c></seecom> and
+ <seecom
+ marker="erts:erl#connect_all"><c>-connect_all</c></seecom>
+ command line arguments did not work if multiple instances
+ were present on the command line which has been fixed.
+ The new kernel parameter <seeapp
+ marker="kernel:kernel_app#connect_all"><c>connect_all</c></seeapp>
+ has also been introduced in order to replace the
+ <c>-connect_all</c> command line argument.</p>
+ <p>
+ Own Id: OTP-17934 Aux Id: PR-6007 </p>
+ </item>
+ <item>
+ <p>
+ Fix the <c>public_key:ssh*</c> functions to be listed
+ under the correct release in the Removed Functionality
+ User's Guide.</p>
+ <p>
+ Own Id: OTP-18139 Aux Id: PR-6060 </p>
+ </item>
+ <item>
+ <p>
+ The type spec for <c>format_status/1</c> in
+ <c>gen_statem</c>, <c>gen_server</c> and <c>gen_event</c>
+ has been corrected to state that the return value is of
+ the same type as the argument (instead of the same value
+ as the argument).</p>
+ <p>
+ Own Id: OTP-18142 Aux Id: PR-6078 </p>
+ </item>
+ <item>
+ <p>
+ If the <c>timer</c> server child spec was already present
+ in <c>kernel_sup</c> but it was not started, the
+ <c>timer</c> server would fail to start with an
+ <c>{error, already_present}</c> error instead of
+ restarting the server.</p>
+ <p>
+ Own Id: OTP-18146 Aux Id: PR-5983 </p>
+ </item>
+ <item>
+ <p>When changing callback module in <c>gen_statem</c> the
+ state_enter calls flag from the old module was used in
+ for the first event in the new module, which could
+ confuse the new module and cause malfunction. This bug
+ has been corrected. </p><p> With this change some
+ <c>sys</c> debug message formats have been modified,
+ which can be a problem for debug code relying on the
+ format. </p>
+ <p>
+ *** POTENTIAL INCOMPATIBILITY ***</p>
+ <p>
+ Own Id: OTP-18239</p>
+ </item>
+ </list>
+ </section>
+
+
+ <section><title>Improvements and New Features</title>
+ <list>
+ <item>
+ <p>There is a new configure option,
+ <c>--enable-deterministic-build</c>, which will apply the
+ <c>deterministic</c> compiler option when building
+ Erlang/OTP. The <c>deterministic</c> option has been
+ improved to eliminate more sources of non-determinism in
+ several applications.</p>
+ <p>
+ Own Id: OTP-18165 Aux Id: PR-5965 </p>
+ </item>
+ <item>
+ <p>The <c>rfc339_to_system_time/1,2</c> functions now
+ allows the minutes part to be omitted from the time
+ zone.</p>
+ <p>
+ Own Id: OTP-18166 Aux Id: PR-6108 </p>
+ </item>
+ <item>
+ <p>
+ The <c>receive</c> statement in <c>gen_event</c> has been
+ optimized to not use selective receive (which was never
+ needed, and could cause severe performance degradation
+ under heavy load).</p>
+ <p>
+ Own Id: OTP-18194 Aux Id: PR-6199 </p>
+ </item>
+ <item>
+ <p>
+ Add new API function erl_features:configurable/0</p>
+ <p>
+ Own Id: OTP-18199 Aux Id: PR-5790 </p>
+ </item>
+ </list>
+ </section>
+
+</section>
+
<section><title>STDLIB 4.0.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
diff --git a/lib/stdlib/src/calendar.erl b/lib/stdlib/src/calendar.erl
index e9d3a16dce..788444a664 100644
--- a/lib/stdlib/src/calendar.erl
+++ b/lib/stdlib/src/calendar.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2021. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2022. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
diff --git a/lib/stdlib/src/erl_internal.erl b/lib/stdlib/src/erl_internal.erl
index e6d23f1cf4..92651084c7 100644
--- a/lib/stdlib/src/erl_internal.erl
+++ b/lib/stdlib/src/erl_internal.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1998-2021. All Rights Reserved.
+%% Copyright Ericsson AB 1998-2022. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
diff --git a/lib/stdlib/src/stdlib.app.src b/lib/stdlib/src/stdlib.app.src
index 653e928127..d03f8fbfcd 100644
--- a/lib/stdlib/src/stdlib.app.src
+++ b/lib/stdlib/src/stdlib.app.src
@@ -112,6 +112,6 @@
dets]},
{applications, [kernel]},
{env, []},
- {runtime_dependencies, ["sasl-3.0","kernel-@OTP-17932@","erts-@OTP-17934@","crypto-4.5",
+ {runtime_dependencies, ["sasl-3.0","kernel-@OTP-17932@","erts-13.1","crypto-4.5",
"compiler-5.0"]}
]}.
diff --git a/lib/stdlib/src/stdlib.appup.src b/lib/stdlib/src/stdlib.appup.src
index 0a031e3579..864429adbd 100644
--- a/lib/stdlib/src/stdlib.appup.src
+++ b/lib/stdlib/src/stdlib.appup.src
@@ -48,7 +48,8 @@
{<<"^3\\.17\\.1(?:\\.[0-9]+)*$">>,[restart_new_emulator]},
{<<"^3\\.17\\.2(?:\\.[0-9]+)*$">>,[restart_new_emulator]},
{<<"^4\\.0$">>,[restart_new_emulator]},
- {<<"^4\\.0\\.0(?:\\.[0-9]+)+$">>,[restart_new_emulator]}],
+ {<<"^4\\.0\\.0(?:\\.[0-9]+)+$">>,[restart_new_emulator]},
+ {<<"^4\\.0\\.1(?:\\.[0-9]+)*$">>,[restart_new_emulator]}],
[{<<"^3\\.13$">>,[restart_new_emulator]},
{<<"^3\\.13\\.0(?:\\.[0-9]+)+$">>,[restart_new_emulator]},
{<<"^3\\.13\\.1(?:\\.[0-9]+)*$">>,[restart_new_emulator]},
@@ -69,4 +70,5 @@
{<<"^3\\.17\\.1(?:\\.[0-9]+)*$">>,[restart_new_emulator]},
{<<"^3\\.17\\.2(?:\\.[0-9]+)*$">>,[restart_new_emulator]},
{<<"^4\\.0$">>,[restart_new_emulator]},
- {<<"^4\\.0\\.0(?:\\.[0-9]+)+$">>,[restart_new_emulator]}]}.
+ {<<"^4\\.0\\.0(?:\\.[0-9]+)+$">>,[restart_new_emulator]},
+ {<<"^4\\.0\\.1(?:\\.[0-9]+)*$">>,[restart_new_emulator]}]}.
diff --git a/lib/stdlib/src/timer.erl b/lib/stdlib/src/timer.erl
index 982a4766f9..182f5cb4f2 100644
--- a/lib/stdlib/src/timer.erl
+++ b/lib/stdlib/src/timer.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2021. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2022. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
diff --git a/lib/stdlib/test/base64_property_test_SUITE.erl b/lib/stdlib/test/base64_property_test_SUITE.erl
index 0b8d1f69e3..68ac5e9ee7 100644
--- a/lib/stdlib/test/base64_property_test_SUITE.erl
+++ b/lib/stdlib/test/base64_property_test_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2021. All Rights Reserved.
+%% Copyright Ericsson AB 2021-2022. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
diff --git a/lib/stdlib/test/calendar_SUITE.erl b/lib/stdlib/test/calendar_SUITE.erl
index 138fdfc086..1dbbf678fd 100644
--- a/lib/stdlib/test/calendar_SUITE.erl
+++ b/lib/stdlib/test/calendar_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1997-2021. All Rights Reserved.
+%% Copyright Ericsson AB 1997-2022. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
diff --git a/lib/stdlib/test/property_test/base64_prop.erl b/lib/stdlib/test/property_test/base64_prop.erl
index 44b1811936..f77ce9b664 100644
--- a/lib/stdlib/test/property_test/base64_prop.erl
+++ b/lib/stdlib/test/property_test/base64_prop.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2021. All Rights Reserved.
+%% Copyright Ericsson AB 2021-2022. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
diff --git a/lib/stdlib/test/timer_simple_SUITE.erl b/lib/stdlib/test/timer_simple_SUITE.erl
index 1a3ac2716f..98a8dd408d 100644
--- a/lib/stdlib/test/timer_simple_SUITE.erl
+++ b/lib/stdlib/test/timer_simple_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1997-2021. All Rights Reserved.
+%% Copyright Ericsson AB 1997-2022. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
diff --git a/lib/stdlib/vsn.mk b/lib/stdlib/vsn.mk
index 03051bf49f..7ffabdde04 100644
--- a/lib/stdlib/vsn.mk
+++ b/lib/stdlib/vsn.mk
@@ -1 +1 @@
-STDLIB_VSN = 4.0.1
+STDLIB_VSN = 4.1