Skip to content

Commit dc57404

Browse files
author
Erlang/OTP
committed
Prepare release
1 parent 4261ee2 commit dc57404

File tree

57 files changed

+2108
-31
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2108
-31
lines changed

erts/doc/src/notes.xml

Lines changed: 475 additions & 0 deletions
Large diffs are not rendered by default.

lib/asn1/doc/src/notes.xml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,55 @@
3232
<p>This document describes the changes made to the asn1 application.</p>
3333

3434

35+
<section><title>Asn1 5.0</title>
36+
37+
<section><title>Fixed Bugs and Malfunctions</title>
38+
<list>
39+
<item>
40+
<p>
41+
Add compile option <c>-compile(no_native)</c> in modules
42+
with <c>on_load</c> directive which is not yet supported
43+
by HiPE.</p>
44+
<p>
45+
Own Id: OTP-14316 Aux Id: PR-1390 </p>
46+
</item>
47+
</list>
48+
</section>
49+
50+
51+
<section><title>Improvements and New Features</title>
52+
<list>
53+
<item>
54+
<p>The <c>error</c> tuple returned from the <c>encode</c>
55+
and <c>decode</c> functions will now include the stack
56+
backtrace to make it easier to understand what went
57+
wrong.</p>
58+
<p>
59+
Own Id: OTP-13961</p>
60+
</item>
61+
<item>
62+
<p>The deprecated module <c>asn1rt</c> has been removed.
63+
The deprecated functions <c>asn1ct:encode/3</c> and
64+
<c>asn1ct:decode/3</c> have been removed. The
65+
undocumented function <c>asn1ct:encode/2</c> has been
66+
removed.</p>
67+
<p>
68+
*** POTENTIAL INCOMPATIBILITY ***</p>
69+
<p>
70+
Own Id: OTP-14146</p>
71+
</item>
72+
<item>
73+
<p>The new '<c>maps</c>' option changes the
74+
representation of the types <c>SEQUENCE</c> and
75+
<c>SET</c> to be maps (instead of records).</p>
76+
<p>
77+
Own Id: OTP-14219</p>
78+
</item>
79+
</list>
80+
</section>
81+
82+
</section>
83+
3584
<section><title>Asn1 4.0.4</title>
3685

3786
<section><title>Fixed Bugs and Malfunctions</title>

lib/asn1/vsn.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ASN1_VSN = 4.0.4
1+
ASN1_VSN = 5.0

lib/common_test/doc/src/notes.xml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,45 @@
3333
<file>notes.xml</file>
3434
</header>
3535

36+
<section><title>Common_Test 1.15</title>
37+
38+
<section><title>Fixed Bugs and Malfunctions</title>
39+
<list>
40+
<item>
41+
<p>
42+
Errors in the documentation for user HTML stylesheets
43+
have been corrected.</p>
44+
<p>
45+
Own Id: OTP-14332 Aux Id: seq13299 </p>
46+
</item>
47+
</list>
48+
</section>
49+
50+
51+
<section><title>Improvements and New Features</title>
52+
<list>
53+
<item>
54+
<p>The <c>ct_slave</c> modules now handle nodenames in
55+
the same way as nodenames passed to <c>-sname</c>. That
56+
means <c>ct_slave:start('[email protected]').</c> will now
57+
work.</p>
58+
<p>
59+
Own Id: OTP-13806</p>
60+
</item>
61+
<item>
62+
<p>
63+
Added the new option, <c>keep_logs</c>. If setting the
64+
value for this option to an integer, N, common_test will
65+
remove all ct_run.* directories in the current log
66+
directory, except the N newest.</p>
67+
<p>
68+
Own Id: OTP-14179</p>
69+
</item>
70+
</list>
71+
</section>
72+
73+
</section>
74+
3675
<section><title>Common_Test 1.14</title>
3776

3877
<section><title>Fixed Bugs and Malfunctions</title>

lib/common_test/vsn.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
COMMON_TEST_VSN = 1.14
1+
COMMON_TEST_VSN = 1.15

lib/compiler/doc/src/notes.xml

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,156 @@
3232
<p>This document describes the changes made to the Compiler
3333
application.</p>
3434

35+
<section><title>Compiler 7.1</title>
36+
37+
<section><title>Fixed Bugs and Malfunctions</title>
38+
<list>
39+
<item>
40+
<p>For many releases, it has been legal to override a BIF
41+
with a local function having the same name. However,
42+
calling a local function with the same name as guard BIF
43+
as filter in a list comprehension was not allowed.</p>
44+
<p>
45+
Own Id: OTP-13690</p>
46+
</item>
47+
</list>
48+
</section>
49+
50+
51+
<section><title>Improvements and New Features</title>
52+
<list>
53+
<item>
54+
<p>
55+
Optimized test for tuples with an atom as first element.</p>
56+
<p>
57+
Own Id: OTP-12148</p>
58+
</item>
59+
<item>
60+
<p>
61+
Compilation of modules with huge literal binary strings
62+
is now much faster.</p>
63+
<p>
64+
Own Id: OTP-13794</p>
65+
</item>
66+
<item>
67+
<p>Replaced usage of deprecated symbolic <seealso
68+
marker="erts:erlang#type-time_unit"><c>time
69+
unit</c></seealso> representations.</p>
70+
<p>
71+
Own Id: OTP-13831 Aux Id: OTP-13735 </p>
72+
</item>
73+
<item>
74+
<p>The undocumented and unsupported module
75+
<c>sys_pre_expand</c> has been removed. As a partical
76+
replacement for the functionality, there is a new
77+
function <c>erl_internal:add_predefined_functions/1</c>
78+
and <c>erl_expand_records</c> will now add a module
79+
prefix to calls to BIFs and imported functions.</p>
80+
<p>
81+
Own Id: OTP-13856</p>
82+
</item>
83+
<item>
84+
<p>The internal compiler passes now start all generated
85+
variables with "@" to avoid any conflicts with variables
86+
in languages such as Elixir or LFE.</p>
87+
<p>
88+
Own Id: OTP-13924</p>
89+
</item>
90+
<item>
91+
<p>The function <c>fmod/2</c> has been added to the
92+
<c>math</c> module.</p>
93+
<p>
94+
Own Id: OTP-14000</p>
95+
</item>
96+
<item>
97+
<p>Code generation for complicated guards have been
98+
improved.</p>
99+
<p>
100+
Own Id: OTP-14042</p>
101+
</item>
102+
<item>
103+
<p>
104+
The compiler has new warnings for repeated identical map
105+
keys.</p>
106+
<p>
107+
A map expression such as,</p>
108+
<p>
109+
<c> #{'a' => 1, 'b' => 2, 'a' => 3}.</c></p>
110+
<p>
111+
will produce a warning for the repeated key 'a'.</p>
112+
<p>
113+
Own Id: OTP-14058</p>
114+
</item>
115+
<item>
116+
<p>By default, there will now be a warning when
117+
<c>export_all</c> is used. The warning can be disabled
118+
using <c>nowarn_export_all</c>.</p>
119+
<p>
120+
Own Id: OTP-14071</p>
121+
</item>
122+
<item>
123+
<p>
124+
Optimize maps pattern matching by only examining the
125+
common keys in each clause first instead of all keys.
126+
This will reduce the number of lookups of each key in
127+
maps pattern matching.</p>
128+
<p>
129+
Own Id: OTP-14072</p>
130+
</item>
131+
<item>
132+
<p>There is a new '<c>deterministc</c>' option to omit
133+
'<c>source</c>' and '<c>options</c>' tuples in the BEAM
134+
file.</p>
135+
<p>
136+
Own Id: OTP-14087</p>
137+
</item>
138+
<item>
139+
<p>
140+
Analyzing modules with binary construction with huge
141+
strings is now much faster. The compiler also compiles
142+
such modules slightly faster.</p>
143+
<p>
144+
Own Id: OTP-14125 Aux Id: ERL-308 </p>
145+
</item>
146+
<item>
147+
<p>Atoms may now contain arbitrary Unicode
148+
characters.</p>
149+
<p>
150+
Own Id: OTP-14178</p>
151+
</item>
152+
<item>
153+
<p><c>compile:file/2</c> now accepts the option
154+
<c>extra_chunks</c> to include extra chunks in the BEAM
155+
file.</p>
156+
<p>
157+
Own Id: OTP-14221</p>
158+
</item>
159+
<item>
160+
<p>The format of debug information that is stored in BEAM
161+
files (when <c>debug_info</c> is used) has been changed.
162+
The purpose of the change is to better support other
163+
BEAM-based languages such as Elixir or LFE.</p>
164+
<p>All tools included in OTP (dialyzer, debugger, cover,
165+
and so on) will handle both the new format and the
166+
previous format. Tools that retrieve the debug
167+
information using <c>beam_lib:chunk(Beam,
168+
[abstract_code])</c> will continue to work with both the
169+
new and old format. Tools that call
170+
<c>beam_lib:chunk(Beam, ["Abst"])</c> will not work with
171+
the new format.</p>
172+
<p>For more information, see the description of
173+
<c>debug_info</c> in the documentation for
174+
<c>beam_lib</c> and the description of the
175+
<c>{debug_info,{Backend,Data}}</c> option in the
176+
documentation for <c>compile</c>.</p>
177+
<p>
178+
Own Id: OTP-14369 Aux Id: PR-1367 </p>
179+
</item>
180+
</list>
181+
</section>
182+
183+
</section>
184+
35185
<section><title>Compiler 7.0.4</title>
36186

37187
<section><title>Fixed Bugs and Malfunctions</title>

lib/compiler/vsn.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
COMPILER_VSN = 7.0.4
1+
COMPILER_VSN = 7.1

lib/crypto/doc/src/notes.xml

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,118 @@
3131
</header>
3232
<p>This document describes the changes made to the Crypto application.</p>
3333

34+
<section><title>Crypto 4.0</title>
35+
36+
<section><title>Fixed Bugs and Malfunctions</title>
37+
<list>
38+
<item>
39+
<p>
40+
LibreSSL can now be used by the modernized crypto app.</p>
41+
<p>
42+
Own Id: OTP-14247</p>
43+
</item>
44+
<item>
45+
<p>
46+
Add compile option <c>-compile(no_native)</c> in modules
47+
with <c>on_load</c> directive which is not yet supported
48+
by HiPE.</p>
49+
<p>
50+
Own Id: OTP-14316 Aux Id: PR-1390 </p>
51+
</item>
52+
</list>
53+
</section>
54+
55+
56+
<section><title>Improvements and New Features</title>
57+
<list>
58+
<item>
59+
<p>
60+
Add basic support for CMAC</p>
61+
<p>
62+
Own Id: OTP-13779 Aux Id: ERL-82 PR-1138 </p>
63+
</item>
64+
<item>
65+
<p>
66+
Removed functions deprecated in crypto-3.0 first released
67+
in OTP-R16B01</p>
68+
<p>
69+
*** POTENTIAL INCOMPATIBILITY ***</p>
70+
<p>
71+
Own Id: OTP-13873</p>
72+
</item>
73+
<item>
74+
<p>
75+
The <c>crypto</c> application now supports OpenSSL 1.1.</p>
76+
<p>
77+
Own Id: OTP-13900</p>
78+
</item>
79+
<item>
80+
<p>
81+
Allow Erlang/OTP to use OpenSSL in FIPS-140 mode, in
82+
order to satisfy specific security requirements (mostly
83+
by different parts of the US federal government). </p>
84+
<p>
85+
See the new crypto users guide "FIPS mode" chapter about
86+
building and using the FIPS support which is disabled by
87+
default.</p>
88+
<p>
89+
(Thanks to dszoboszlay and legoscia)</p>
90+
<p>
91+
Own Id: OTP-13921 Aux Id: PR-1180 </p>
92+
</item>
93+
<item>
94+
<p>
95+
Crypto chacha20-poly1305 as in RFC 7539 enabled for
96+
OpenSSL >= 1.1.</p>
97+
<p>
98+
Thanks to mururu.</p>
99+
<p>
100+
Own Id: OTP-14092 Aux Id: PR-1291 </p>
101+
</item>
102+
<item>
103+
<p>
104+
RSA key generation added to <c>crypto:generate_key/2</c>.
105+
Thanks to wiml.</p>
106+
<p>
107+
An interface is also added to
108+
<c>public_key:generate_key/1</c>.</p>
109+
<p>
110+
Own Id: OTP-14140 Aux Id: ERL-165, PR-1299 </p>
111+
</item>
112+
<item>
113+
<p>
114+
Raised minimum requeriment for OpenSSL version to
115+
OpenSSL-9.0.8.c although we recommend a much higher
116+
version, that is a version that is still maintained
117+
officially by the OpenSSL project. Note that using such
118+
an old version may restrict the crypto algorithms
119+
supported.</p>
120+
<p>
121+
*** POTENTIAL INCOMPATIBILITY ***</p>
122+
<p>
123+
Own Id: OTP-14171</p>
124+
</item>
125+
<item>
126+
<p>
127+
Deprecate crypto:rand_uniform/2 as it is not
128+
cryptographically strong</p>
129+
<p>
130+
Own Id: OTP-14274</p>
131+
</item>
132+
<item>
133+
<p>
134+
The Crypto application now supports generation of
135+
cryptographically strong random numbers (floats &lt; 1.0
136+
and integer arbitrary ranges) as a plugin to the 'rand'
137+
module.</p>
138+
<p>
139+
Own Id: OTP-14317 Aux Id: PR-1372 </p>
140+
</item>
141+
</list>
142+
</section>
143+
144+
</section>
145+
34146
<section><title>Crypto 3.7.4</title>
35147

36148
<section><title>Fixed Bugs and Malfunctions</title>

lib/crypto/vsn.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CRYPTO_VSN = 3.7.4
1+
CRYPTO_VSN = 4.0

0 commit comments

Comments
 (0)