Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
Erlang/OTP committed Apr 11, 2022
1 parent 54332a7 commit a2c8df2
Show file tree
Hide file tree
Showing 87 changed files with 2,647 additions and 170 deletions.
522 changes: 522 additions & 0 deletions erts/doc/src/notes.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion erts/preloaded/src/erts.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{registered, []},
{applications, []},
{env, []},
{runtime_dependencies, ["stdlib-@OTP-17988@", "kernel-8.3", "sasl-3.3"]}
{runtime_dependencies, ["stdlib-4.0", "kernel-8.3", "sasl-3.3"]}
]}.

%% vim: ft=erlang
2 changes: 1 addition & 1 deletion erts/vsn.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# %CopyrightEnd%
#

VSN = 12.3.1
VSN = 13.0

# Port number 4365 in 4.2
# Port number 4366 in 4.3
Expand Down
15 changes: 15 additions & 0 deletions lib/asn1/doc/src/notes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,21 @@
<p>This document describes the changes made to the asn1 application.</p>


<section><title>Asn1 5.0.19</title>

<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>The atom <c>maybe</c> has been quoted in the source
code.</p>
<p>
Own Id: OTP-17980</p>
</item>
</list>
</section>

</section>

<section><title>Asn1 5.0.18</title>

<section><title>Fixed Bugs and Malfunctions</title>
Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ASN1_VSN = 5.0.18
ASN1_VSN = 5.0.19
58 changes: 58 additions & 0 deletions lib/common_test/doc/src/notes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,64 @@
<file>notes.xml</file>
</header>

<section><title>Common_Test 1.23</title>

<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fix bug when running parallel testcases and together with
one or more ct hooks that would cause the hook lock
process to crash and produce printouts in the ct logs.</p>
<p>
Own Id: OTP-17881 Aux Id: PR-5581 </p>
</item>
</list>
</section>


<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Input for <c>configure</c> scripts adapted to
<c>autoconf</c> 2.71.</p>
<p>
Own Id: OTP-17414 Aux Id: PR-4967 </p>
</item>
<item>
<p>
Remove unused and undocumented tracer node functionality.</p>
<p>
Own Id: OTP-17676 Aux Id: PR-5021 </p>
</item>
<item>
<p>
The new module <c>peer</c> supersedes the <c>slave</c>
module. The <c>slave</c> module is now deprecated and
will be removed in OTP 27.</p>
<p>
<c>peer</c> contains an extended and more robust API for
starting erlang nodes.</p>
<p>
Own Id: OTP-17720 Aux Id: PR-5162 </p>
</item>
<item>
<p>
The cth_surefire ct hook has been updated to include the
file and line number of the executed test case in the xml
output.</p>
<p>
The performance of the hook has also been improved
greatly for test runs with many test cases.</p>
<p>
Own Id: OTP-17882 Aux Id: PR-5581 </p>
</item>
</list>
</section>

</section>

<section><title>Common_Test 1.22.1</title>

<section><title>Fixed Bugs and Malfunctions</title>
Expand Down
4 changes: 2 additions & 2 deletions lib/common_test/src/common_test.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@
"erts-7.0",
"ftp-1.0",
"inets-6.0",
"kernel-@OTP-17720@",
"kernel-8.4",
"observer-2.1",
"runtime_tools-1.8.16",
"sasl-2.5",
"snmp-5.1.2",
"ssh-4.0",
"stdlib-@OTP-17720@",
"stdlib-4.0",
"syntax_tools-1.7",
"tools-3.2",
"xmerl-1.3.8"
Expand Down
2 changes: 1 addition & 1 deletion lib/common_test/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
COMMON_TEST_VSN = 1.22.1
COMMON_TEST_VSN = 1.23
144 changes: 144 additions & 0 deletions lib/compiler/doc/src/notes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,150 @@
<p>This document describes the changes made to the Compiler
application.</p>

<section><title>Compiler 8.2</title>

<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>Fixed a rare bug that would crash the compiler during
type optimization.</p>
<p>
Own Id: OTP-17820</p>
</item>
<item>
<p>Starting in OTP 24, when a fun was created and
immediately used, it would be inlined. An unintended
consequence of the inlining was that what would be a
<c>function_clause</c> exception without the inlining
would now be a rather confusing <c>case_clause</c>
exception. This has been corrected, so that
<c>function_clause</c> exceptions remain
<c>function_clause</c> exceptions in inlined code.</p>
<p>
Own Id: OTP-17860 Aux Id: GH-5513, OTP-17226 </p>
</item>
</list>
</section>


<section><title>Improvements and New Features</title>
<list>
<item>
<p>To enable more optimizations, BEAM files compiled with
OTP 21 and earlier cannot be loaded in OTP 25.</p>
<p>
Own Id: OTP-16702</p>
</item>
<item>
<p>
Added support for the compile attribute <c>-nifs()</c> to
empower compiler and loader with information about which
functions may be overridden as NIFs by
<c>erlang:load_nif/2</c>. It is recommended to use this
attribute in all modules that load NIF libraries.</p>
<p>
Own Id: OTP-17151 Aux Id: ERIERL-590, PR-5479 </p>
</item>
<item>
<p>When binary construction using the binary syntax
fails, the error message printed in the shell and by
<c>erl_error:format_exception/3,4</c> will contain more
detailed information about what went wrong.</p>
<p>
Own Id: OTP-17504 Aux Id: GH-4971, PR-5281, PR-5752 </p>
</item>
<item>
<p>The Erlang compiler now includes type information in
BEAM files, and the JIT can now use that type information
to do optimizations such as eliminating or simplifying
type tests.</p>
<p>
Own Id: OTP-17684 Aux Id: PR-5316, PR-5664 </p>
</item>
<item>
<p>Improved the JIT's support for external tools like
<c>perf</c> and <c>gdb</c>, allowing them to show line
numbers and even the original Erlang source code when
that can be found.</p>
<p>To aid them in finding the source code, the
<c>absolute_path</c> compiler option has been added to
embed the absolute file path of a module.</p>
<p>
Own Id: OTP-17685</p>
</item>
<item>
<p>The <c>maybe</c> ... <c>end</c> construction proposed
in EEP-49 has been implemented. It can simplify complex
code where otherwise deeply nested cases would have to be
used.</p> <p>To enable <c>maybe</c>, give the option
<c>-enable-feature maybe_expr</c> to <c>erlc</c> or add
<c>-feature(enable, maybe_expr).</c> inside the
module.</p>
<p>
Own Id: OTP-17705 Aux Id: PR-5411 </p>
</item>
<item>
<p>A subtle bug regarding variable scoping has been
corrected. Consider this example:</p>
<p><c>(A=1) + fun() -&gt; A = 2() end</c></p>
<p>In the shell, the expression correctly evaluates to
<c>3</c>. In compiled code, it raised a <c>{badmatch,
2}</c> exception.</p>
<p>
Own Id: OTP-17810 Aux Id: GH-5379 </p>
</item>
<item>
<p>When a record matching or record update fails, a
<c>{badrecord,ExpectedRecordTag}</c> exception used to be
raised. In this release, the exception has been changed
to <c>{badrecord,ActualValue}</c>, where
<c>ActualValue</c> is the actual that was found instead
of the expected record.</p>
<p>
Own Id: OTP-17841 Aux Id: PR-5694 </p>
</item>
<item>
<p>Improved optimization of try/catch expressions.</p>
<p>
Own Id: OTP-17842</p>
</item>
<item>
<p>The <c>beam_trim</c> pass of the compiler could be
extremely slow for huge straight-line functions. It will
now compile such functions much faster (down to seconds
from minutes for some huge functions).</p>
<p>
Own Id: OTP-17885 Aux Id: GH-5140 </p>
</item>
<item>
<p>
Added support for selectable features as described in
EEP-60. Features can be enabled/disabled during
compilation with options (ordinary and <c>+term</c>) to
<c>erlc</c> as well as with directives in the file.
Similar options can be used to <c>erl</c> for
enabling/disabling features allowed at runtime. The new
<c>maybe</c> expression (EEP-49) is fully supported as
the feature <c>maybe_expr</c>.</p>
<p>
Own Id: OTP-17988</p>
</item>
<item>
<p>
Change format of feature options and directives for
better consistency. Options to <c>erlc</c> and the
<c>-compile(..)</c> directive now has the format
<c>{feature, feature-name, enable | disable}</c>. The
<c>-feature(..)</c> now has the format
<c>-feature(feature-name, enable | disable).</c></p>
<p>
Own Id: OTP-18039</p>
</item>
</list>
</section>

</section>

<section><title>Compiler 8.1</title>

<section><title>Fixed Bugs and Malfunctions</title>
Expand Down
4 changes: 2 additions & 2 deletions lib/compiler/src/compiler.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@
{registered, []},
{applications, [kernel, stdlib]},
{env, []},
{runtime_dependencies, ["stdlib-@OTP-17742@","kernel-@OTP-17742@","erts-@OTP-17742@",
"crypto-@OTP-17742@"]}]}.
{runtime_dependencies, ["stdlib-4.0","kernel-8.4","erts-13.0",
"crypto-5.1"]}]}.
2 changes: 1 addition & 1 deletion lib/compiler/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
COMPILER_VSN = 8.1
COMPILER_VSN = 8.2
Loading

0 comments on commit a2c8df2

Please sign in to comment.