From c18b13d4c8aa31b145703bbbf228fb07d6b2a0a5 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Wed, 21 Jun 2017 10:53:19 +0200 Subject: Prepare release --- erts/doc/src/notes.xml | 600 ++++++++++++++++++++++++++++++++++++ lib/asn1/doc/src/notes.xml | 49 +++ lib/asn1/vsn.mk | 2 +- lib/common_test/doc/src/notes.xml | 74 +++++ lib/common_test/vsn.mk | 2 +- lib/compiler/doc/src/notes.xml | 174 +++++++++++ lib/compiler/vsn.mk | 2 +- lib/crypto/doc/src/notes.xml | 128 ++++++++ lib/crypto/vsn.mk | 2 +- lib/debugger/doc/src/notes.xml | 36 +++ lib/debugger/vsn.mk | 2 +- lib/dialyzer/doc/src/notes.xml | 69 +++++ lib/dialyzer/vsn.mk | 2 +- lib/diameter/doc/src/notes.xml | 70 +++++ lib/edoc/doc/src/notes.xml | 22 ++ lib/edoc/vsn.mk | 2 +- lib/erl_docgen/doc/src/notes.xml | 37 ++- lib/erl_interface/doc/src/notes.xml | 39 +++ lib/erl_interface/vsn.mk | 2 +- lib/eunit/doc/src/notes.xml | 15 + lib/eunit/vsn.mk | 2 +- lib/hipe/doc/src/notes.xml | 95 ++++++ lib/hipe/vsn.mk | 2 +- lib/inets/doc/src/notes.xml | 39 ++- lib/inets/vsn.mk | 2 +- lib/jinterface/doc/src/notes.xml | 26 ++ lib/jinterface/vsn.mk | 2 +- lib/kernel/doc/src/notes.xml | 155 ++++++++++ lib/kernel/vsn.mk | 2 +- lib/megaco/doc/src/notes.xml | 17 +- lib/megaco/vsn.mk | 2 +- lib/mnesia/doc/src/notes.xml | 21 +- lib/mnesia/vsn.mk | 2 +- lib/observer/doc/src/notes.xml | 57 ++++ lib/observer/vsn.mk | 2 +- lib/parsetools/doc/src/notes.xml | 27 ++ lib/parsetools/vsn.mk | 2 +- lib/public_key/doc/src/notes.xml | 35 +++ lib/public_key/vsn.mk | 2 +- lib/reltool/doc/src/notes.xml | 18 +- lib/reltool/vsn.mk | 2 +- lib/runtime_tools/doc/src/notes.xml | 41 +++ lib/runtime_tools/vsn.mk | 2 +- lib/sasl/doc/src/notes.xml | 29 ++ lib/sasl/vsn.mk | 2 +- lib/snmp/doc/src/notes.xml | 19 +- lib/snmp/vsn.mk | 2 +- lib/ssh/doc/src/notes.xml | 170 ++++++++++ lib/ssh/vsn.mk | 2 +- lib/ssl/doc/src/notes.xml | 116 +++++++ lib/stdlib/doc/src/notes.xml | 438 ++++++++++++++++++++++++++ lib/stdlib/vsn.mk | 2 +- lib/syntax_tools/doc/src/notes.xml | 15 + lib/syntax_tools/vsn.mk | 2 +- lib/tools/doc/src/notes.xml | 35 +++ lib/tools/vsn.mk | 2 +- lib/wx/doc/src/notes.xml | 15 + lib/wx/vsn.mk | 2 +- lib/xmerl/doc/src/notes.xml | 19 ++ lib/xmerl/vsn.mk | 2 +- 60 files changed, 2722 insertions(+), 34 deletions(-) diff --git a/erts/doc/src/notes.xml b/erts/doc/src/notes.xml index e61114c504..4d7e578738 100644 --- a/erts/doc/src/notes.xml +++ b/erts/doc/src/notes.xml @@ -31,6 +31,606 @@

This document describes the changes made to the ERTS application.

+
Erts 9.0 + +
Fixed Bugs and Malfunctions + + +

Fix various bugs regarding loading, upgrade and purge + of HiPE compiled code:

The native code + memory for a purged module was never deallocated. + Wrong functions could in some cases be called after + a module upgrade. + erlang:check_process_code did not check for + recursive calls made from native code. +

+ Own Id: OTP-13968

+
+ +

+ Hipe optional LLVM backend does require LLVM version 3.9 + or later as older versions forced strong dependencies on + erts internals structures.

+

+ Own Id: OTP-14238

+
+ +

When an exception such as 'throw(HugeTerm)' was + caught, HugeTerm term would be kept in the process + until the next exception occurred, potentially increasing + the heap size for the process. That has been + corrected.

+

+ Own Id: OTP-14255 Aux Id: OTP-14400, OTP-14401

+
+ +

+ Slogans in crash dumps have been extended to print more + complex terms.

+

+ Own Id: OTP-14303

+
+ +

+ Fixed bug when using enif_inspect_binary in + combination with enif_copy. In some circumstances + the inspected binary could be reallocated by the + enif_copy call when it shouldn't have been.

+

+ Own Id: OTP-14304

+
+ +

+ The address family local (AF_UNIX / AF_LOCAL) now + does not ensure zero termination of Linux Abstract + Addresses so they can use all bytes.

+

+ Own Id: OTP-14305

+
+ +

+ Use -fno-PIE for Gentoo Hardened and others that + don't accept linker flag -no-pie.

+

+ Own Id: OTP-14307 Aux Id: PR-1379

+
+ +

+ Disable hipe for ppc64le architecture (little + endian) as it is not, and has never been, supported. It + was earlier equated with ppc64 (big endian) which + lead to broken build without --disable-hipe.

+

+ Own Id: OTP-14314 Aux Id: ERL-369, PR-1394

+
+ +

+ Fix 'epmd -kill' to return a failure exit status code if + epmd was not killed because of some error.

+

+ Own Id: OTP-14324

+
+ +

Fixed the following dirty scheduler related bugs:

+

the +SDPcpu command line argument + could cause the amount of dirty CPU schedulers to be set + to zero

+

erlang:system_flag(multi_scheduling, _) + failed when only one normal scheduler was used together + with dirty scheduler support

+

+ Own Id: OTP-14335

+
+ +

+ Fix erlexec to handle mismatch in sysconf and proc fs + when figuring out the cpu topology. This behaviour has + been seen when using docker together with + --cpuset-cpus.

+

+ Own Id: OTP-14352

+
+ +

+ Fixed memory segment cache used for multiblock carriers. + Huge (> 2GB) memory segments could cause a VM crash. + Creation of such huge memory segments used for multiblock + carriers is however very uncommon.

+

+ Own Id: OTP-14360 Aux Id: ERL-401, PR-1417

+
+ +

+ Fix bug causing code:is_module_native to falsely + return true when local call trace is enabled for + the module.

+

+ Own Id: OTP-14390

+
+ +

+ Fix emulator crash when receive tracing on a + trace_delivered message.

+

+ Own Id: OTP-14411

+
+ +

+ Fix file:sendfile error handling on SunOS when a + connection is closed during transmission.

+

+ Own Id: OTP-14424

+
+ +

+ escript did not handle paths with spaces correct.

+

+ Own Id: OTP-14433

+
+ +

+ Fix erroneous lock check assertion when wx is run + on MacOS X.

+

+ Own Id: OTP-14437 Aux Id: ERL-360

+
+ +

Active-mode TCP sockets are now cleaned up properly on + send/shutdown errors.

+

+ Own Id: OTP-14441 Aux Id: ERL-430

+
+ +

+ Fix compilation of hipe_mkliterals when the LIBS + configure variable had to be set.

+

+ Own Id: OTP-14447

+
+
+
+ + +
Improvements and New Features + + +

+ Added erlang:garbage_collect/2 that takes an + option list as the last argument that can be used to + control whether a minor or a major garbage collection is + to be done. Doing a minor collection only collects terms + that have recently died, but is cheaper than a major + collection.

+

+ Own Id: OTP-11695

+
+ +

+ Optimized test for tuples with an atom as first element.

+

+ Own Id: OTP-12148

+
+ +

+ Erlang literals are no longer copied during process to + process messaging.

+

+ Own Id: OTP-13529

+
+ +

Add support in the erl_nif API for asynchronous + message notifications when sockets or other file + descriptors are ready to accept read or write operations. + The following functions have been added:

+

enif_select

+

enif_monitor_process

+

enif_demonitor_process

+

enif_compare_monitors

+

enif_open_resource_type_x

+

+ Own Id: OTP-13684

+
+ +

There are two new guard BIFs 'floor/1' and + 'ceil/1'. They both return integers. In the + 'math' module, there are two new BIFs with the + same names that return floating point values.

+

+ Own Id: OTP-13692

+
+ +

+ Remove deprecated erlang:hash/2.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13827

+
+ +

Replaced usage of deprecated symbolic time + unit representations.

+

+ Own Id: OTP-13831 Aux Id: OTP-13735

+
+ +

+ Added support in zlib for extraction of the inflation + dictionary.

+

+ Own Id: OTP-13842

+
+ +

+ The previously used purge strategy has been removed. The + optional purge strategy introduced in ERTS version 8.1 is + now the only strategy available.

+

+ The new purge strategy is slightly incompatible with the + old strategy. Previously processes holding funs + that referred to the module being purged either failed a + soft purge, or was killed during a hard purge. The new + strategy completely ignores funs. If funs + referring to the code being purged exist, and are used + after a purge, an exception will be raised upon usage. + That is, the behavior will be exactly the same as the + case when a fun is received by a process after the + purge.

+

+ For more information see the documentation of erlang:check_process_code/3.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13844 Aux Id: OTP-13833

+
+ +

+ Dirty schedulers are now enabled by default when the + runtime system is built with SMP support.

+

+ Own Id: OTP-13860

+
+ +

+ Improved ETS lookup/insert/delete speed for large + set, bag and duplicate_bag by a + significant reduction of the hash load factor. This speed + improvement comes at the expense of less than one word + per table entry. Tables with less than 256 entries are + not affected at all.

+

+ Own Id: OTP-13903

+
+ +

+ The NIF library reload feature is not supported + anymore. It has been marked as deprecated since OTP R15B. + This means that you are only allowed to do one successful + call to erlang:load_nif/2 for each module + instance. A second call to erlang:load_nif/2 will + return {error, {reload, _}} even if the NIF + library implements the reload callback.

+

+ Runtime upgrade of a NIF library is still supported by + using the Erlang module upgrade mechanics with a current + and an old module instance existing at the same time with + their corresponding NIF libraries.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13908

+
+ +

+ Add erlang:system_info(atom_count) and + erlang:system_info(atom_limit) to provide a way to + retrieve the current and maximum number of atoms.

+

+ Own Id: OTP-13976

+
+ +

The function fmod/2 has been added to the + math module.

+

+ Own Id: OTP-14000

+
+ +

+ erlang:load_nif/2 returns new error type + notsup when called for a HiPE compiled module, + which is not supported.

+

+ Own Id: OTP-14002

+
+ +

+ Add driver and nif lock instrumentation to lcnt

+

+ Own Id: OTP-14069

+
+ +

+ Reduce memory pressure by converting sub-binaries to + heap-binaries when possible. This is done during garbage + collection.

+

+ Own Id: OTP-14149

+
+ +

+ Dirty schedulers are now enabled and supported on Erlang + runtime systems with SMP support.

+

+ Besides support for dirty NIFs also support for dirty + BIFs and dirty garbage collection have been introduced. + All garbage collections that potentially will take a long + time to complete are now performed on dirty schedulers if + enabled.

+

+ erlang:statistics/1 + with arguments inspecting scheduler and run queue states + have been changed due to the dirty scheduler support. + Code using this functionality may have to be rewritten + taking these incompatibilities into consideration. + Examples of such uses are calls to erlang:statistics(scheduler_wall_time), + statistics(total_run_queue_lengths), + statistics(total_active_tasks), + etc.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14152

+
+ +

Atoms may now contain arbitrary Unicode + characters.

+

+ Own Id: OTP-14178

+
+ +

+ Introduce an event manager in Erlang to handle OS + signals. A subset of OS signals may be subscribed to and + those are described in the Kernel application.

+

+ Own Id: OTP-14186

+
+ +

+ The escript program now handles symbolic links to + escripts.

+

+ This is useful for standalone systems with + escripts residing on a bin directory not included + in the execution path (as it may cause their erl + program(s) to override the desired one). Instead the + escripts can be referred to via symbolic links + from a bin directory in the path.

+

+ Own Id: OTP-14201 Aux Id: PR-1293

+
+ +

+ All uses of the magic binary kludge has been replaced by + uses of erlang references.

+

+ A magic binary was presented as an empty binary, but + actually referred other data internally in the Erlang VM. + Since they were presented as empty binaries, different + magic binaries compared as equal, and also lost their + internal data when passed out of an erlang node.

+

+ The new usage of references has not got any of these + strange semantic issues, and the usage of these + references has been optimized to give the same + performance benefits as well as memory usage benefits as + magic binaries had.

+

+ A couple of examples of previous uses of magic binaries + are match specifications and NIF resources.

+

+ Own Id: OTP-14205

+
+ +

+ The non-smp emulators have been deprecated and are + scheduled for removal in OTP-21.

+

+ In preparation for this, the threaded non-smp emulator is + no longer built by default and has to be enabled using + the --enable-plain-emulator to configure.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14272

+
+ +

+ Allow HiPE to run on VM built with + --enable-m32-build.

+

+ Own Id: OTP-14330 Aux Id: PR-1397

+
+ +

+ Upgraded the OTP internal PCRE library from version 8.33 + to version 8.40. This library is used for implementation + of the re + regular expressions module.

+

+ Besides various bug fixes, the new version allows for + better stack protection. In order to utilize this + feature, the stack size of normal scheduler threads is + now by default set to 128 kilo words on all platforms. + The stack size of normal scheduler threads can be set + upon system start by passing the +sss + command line argument to the erl command.

+

+ See http://pcre.org/original/changelog.txt + for information about changes made to PCRE between the + versions 8.33 and 8.40.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14331 Aux Id: ERL-208

+
+ +

+ Remove generation of atoms in old latin1 external format + in the distribution between erlang nodes, + erl_interface, and jinterface. The new utf8 + format for atoms was introduced in OTP R16. An OTP 20 + node can therefore not connect to nodes older than R16.

+

+ Atoms that can be encoded using latin1 are still encoded + by term_to_binary() using latin1 encoding. Note + that all atoms will by default be encoded using utf8 in a + future Erlang/OTP release. For more information see the + documentation of erlang:term_to_binary/2.

+

+ Own Id: OTP-14337

+
+ +

+ Added function re:version/0 which returns + information about the OTP internal PCRE version used for + implementation of the re module.

+

+ Own Id: OTP-14347 Aux Id: PR-1412

+
+ +

+ Added new debug bif erlang:list_to_port/1.

+

+ Own Id: OTP-14348

+
+ +

+ Various improvements of timer management internally in + the VM. These improvements both reduced memory + consumption of timer wheels as well as reduce the amount + of work that has to be performed in order to handle + timers.

+

+ Own Id: OTP-14356

+
+ +

Sockets can now be bound to device (SO_BINDTODEVICE) + on platforms where it is supported.

This has + been implemented e.g to support VRF-Lite under Linux; see + + VRF , and GitHub pull request #1326. +

+

+ Own Id: OTP-14357 Aux Id: PR-1326

+
+ +

Added the following erl command line arguments + with which you can set suggested stack for dirty + schedulers:

+sssdcpu +

for dirty CPU schedulers

+ +sssdio +

for dirty IO schedulers

+

The default suggested stack size for dirty schedulers + is 40 kilo words.

+

+ Own Id: OTP-14380

+
+ +

+ Changed erts startup program name, argv 0, to use the + environment variable ESCRIPT_NAME so that + erlc, dialyzer, typer, + ct_run, or the escript name can be seen with + external programs, such as ps and htop (depending on + options), on unix.

+

+ Own Id: OTP-14381

+
+ +

+ Improvements of escript documentation.

+

+ Own Id: OTP-14384 Aux Id: OTP-14201

+
+ +

+ Add function enif_hash for NIFs to calculate hash + values of arbitrary terms.

+

+ Own Id: OTP-14385 Aux Id: PR-1413

+
+ +

'./configure --enable-lock-counter' will + enabling building of an additional emulator that has + support for lock counting. (The option previously + existed, but would turn on lock counting in the default + emulator being built.) To start the lock-counting + emulator, use 'erl -emu_type lcnt'.

+

On Windows, erl recognized the undocumented + option -debug for starting a debug-compiled + emulator. That option has been removed. Use 'erl + -emu_type debug' instead.

+

+ Own Id: OTP-14407

+
+ +

+ Warnings have been added to the relevant documentation + about not using un-secure distributed nodes in exposed + environments.

+

+ Own Id: OTP-14425

+
+ +

+ Improvement of the documentation of the environment + variable ERL_CRASH_DUMP_SECONDS as well as the + default behavior when it is not set.

+

+ Own Id: OTP-14434

+
+ +

+ Enabled off-heap message queue for some system processes + that might receive large amounts of messages.

+

+ Own Id: OTP-14438

+
+ +

ETS lock indexes have been replaced with the table + name in LCNT results.

+

+ Own Id: OTP-14442 Aux Id: ERIERL-22

+
+ +

+ Introduced the new functions enif_whereis_pid() + and enif_whereis_port().

+

+ Own Id: OTP-14453 Aux Id: PR-1400

+
+
+
+ +
+
Erts 8.3.5
Fixed Bugs and Malfunctions diff --git a/lib/asn1/doc/src/notes.xml b/lib/asn1/doc/src/notes.xml index 8fb0ba4c4b..26640acabc 100644 --- a/lib/asn1/doc/src/notes.xml +++ b/lib/asn1/doc/src/notes.xml @@ -32,6 +32,55 @@

This document describes the changes made to the asn1 application.

+
Asn1 5.0 + +
Fixed Bugs and Malfunctions + + +

+ Add compile option -compile(no_native) in modules + with on_load directive which is not yet supported + by HiPE.

+

+ Own Id: OTP-14316 Aux Id: PR-1390

+
+
+
+ + +
Improvements and New Features + + +

The error tuple returned from the encode + and decode functions will now include the stack + backtrace to make it easier to understand what went + wrong.

+

+ Own Id: OTP-13961

+
+ +

The deprecated module asn1rt has been removed. + The deprecated functions asn1ct:encode/3 and + asn1ct:decode/3 have been removed. The + undocumented function asn1ct:encode/2 has been + removed.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14146

+
+ +

The new 'maps' option changes the + representation of the types SEQUENCE and + SET to be maps (instead of records).

+

+ Own Id: OTP-14219

+
+
+
+ +
+
Asn1 4.0.4
Fixed Bugs and Malfunctions diff --git a/lib/asn1/vsn.mk b/lib/asn1/vsn.mk index e4bf3e2236..7329a9f879 100644 --- a/lib/asn1/vsn.mk +++ b/lib/asn1/vsn.mk @@ -1 +1 @@ -ASN1_VSN = 4.0.4 +ASN1_VSN = 5.0 diff --git a/lib/common_test/doc/src/notes.xml b/lib/common_test/doc/src/notes.xml index a0079fd0c0..28b2d44168 100644 --- a/lib/common_test/doc/src/notes.xml +++ b/lib/common_test/doc/src/notes.xml @@ -33,6 +33,80 @@ notes.xml +
Common_Test 1.15 + +
Fixed Bugs and Malfunctions + + +

+ Errors in the documentation for user HTML stylesheets + have been corrected.

+

+ Own Id: OTP-14332 Aux Id: seq13299

+
+ +

Internal code change: Calls to catch followed + by a call to erlang:get_stacktrace/0 has been + rewritten to use try instead of catch to + make the code future-proof.

+

+ Own Id: OTP-14400

+
+
+
+ + +
Improvements and New Features + + +

The ct_slave modules now handle nodenames in + the same way as nodenames passed to -sname. That + means ct_slave:start('b@127.0.0.1'). will now + work.

+

+ Own Id: OTP-13806

+
+ +

+ Added the new option, keep_logs. If setting the + value for this option to an integer, N, common_test will + remove all ct_run.* directories in the current log + directory, except the N newest.

+

+ Own Id: OTP-14179

+
+ +

+ The existing ct_netconfc:open/1,2 opens an SSH + connection with one SSH channel realizing one Netconf + session. To allow testing of multiple sessions over the + same SSH connection, the following functions are added to + ct_netconfc:

+

+ * connect/1,2 - establish an SSH connection * + disconnect/1 - close the given SSH connection * + session/1,2,3 - open an ssh channel on the given + connection and send 'hello' to start a Netconf session

+

+ Own Id: OTP-14284

+
+ +

Miscellaneous updates due to atoms containing + arbitrary Unicode characters.

+

+ Own Id: OTP-14285

+
+ +

+ The function ct_ssh:shell/2,3 is added.

+

+ Own Id: OTP-14415 Aux Id: seq13315

+
+
+
+ +
+
Common_Test 1.14
Fixed Bugs and Malfunctions diff --git a/lib/common_test/vsn.mk b/lib/common_test/vsn.mk index e6ae8b2e7a..a219aa4736 100644 --- a/lib/common_test/vsn.mk +++ b/lib/common_test/vsn.mk @@ -1 +1 @@ -COMMON_TEST_VSN = 1.14 +COMMON_TEST_VSN = 1.15 diff --git a/lib/compiler/doc/src/notes.xml b/lib/compiler/doc/src/notes.xml index 1dc0c808e7..f3d42a909b 100644 --- a/lib/compiler/doc/src/notes.xml +++ b/lib/compiler/doc/src/notes.xml @@ -32,6 +32,180 @@

This document describes the changes made to the Compiler application.

+
Compiler 7.1 + +
Fixed Bugs and Malfunctions + + +

For many releases, it has been legal to override a BIF + with a local function having the same name. However, + calling a local function with the same name as guard BIF + as filter in a list comprehension was not allowed.

+

+ Own Id: OTP-13690

+
+ +

compile:forms/2 would not return the module name as + documented when one of the options 'from_core', + 'from_asm', or 'from_beam' was given. Also, + the compiler would crash if one of those options was + combined with 'native'.

+

+ Own Id: OTP-14408 Aux Id: ERL-417

+
+
+
+ + +
Improvements and New Features + + +

+ Optimized test for tuples with an atom as first element.

+

+ Own Id: OTP-12148

+
+ +

+ Compilation of modules with huge literal binary strings + is now much faster.

+

+ Own Id: OTP-13794

+
+ +

Replaced usage of deprecated symbolic time + unit representations.

+

+ Own Id: OTP-13831 Aux Id: OTP-13735

+
+ +

The undocumented and unsupported module + sys_pre_expand has been removed. As a partial + replacement for the functionality, there is a new + function erl_internal:add_predefined_functions/1 + and erl_expand_records will now add a module + prefix to calls to BIFs and imported functions.

+

+ Own Id: OTP-13856

+
+ +

The internal compiler passes now start all generated + variables with "@" to avoid any conflicts with variables + in languages such as Elixir or LFE.

+

+ Own Id: OTP-13924

+
+ +

The function fmod/2 has been added to the + math module.

+

+ Own Id: OTP-14000

+
+ +

Code generation for complicated guards have been + improved.

+

+ Own Id: OTP-14042

+
+ +

+ The compiler has new warnings for repeated identical map + keys.

+

+ A map expression such as,

+

+ #{'a' => 1, 'b' => 2, 'a' => 3}.

+

+ will produce a warning for the repeated key 'a'.

+

+ Own Id: OTP-14058

+
+ +

By default, there will now be a warning when + export_all is used. The warning can be disabled + using nowarn_export_all.

+

+ Own Id: OTP-14071

+
+ +

+ Optimize maps pattern matching by only examining the + common keys in each clause first instead of all keys. + This will reduce the number of lookups of each key in + maps pattern matching.

+

+ Own Id: OTP-14072

+
+ +

There is a new 'deterministic' option to omit + 'source' and 'options' tuples in the BEAM + file.

+

+ Own Id: OTP-14087

+
+ +

+ Analyzing modules with binary construction with huge + strings is now much faster. The compiler also compiles + such modules slightly faster.

+

+ Own Id: OTP-14125 Aux Id: ERL-308

+
+ +

Atoms may now contain arbitrary Unicode + characters.

+

+ Own Id: OTP-14178

+
+ +

compile:file/2 now accepts the option + extra_chunks to include extra chunks in the BEAM + file.

+

+ Own Id: OTP-14221

+
+ +

The format of debug information that is stored in BEAM + files (when debug_info is used) has been changed. + The purpose of the change is to better support other + BEAM-based languages such as Elixir or LFE.

+

All tools included in OTP (dialyzer, debugger, cover, + and so on) will handle both the new format and the + previous format. Tools that retrieve the debug + information using beam_lib:chunk(Beam, + [abstract_code]) will continue to work with both the + new and old format. Tools that call + beam_lib:chunk(Beam, ["Abst"]) will not work with + the new format.

+

For more information, see the description of + debug_info in the documentation for + beam_lib and the description of the + {debug_info,{Backend,Data}} option in the + documentation for compile.

+

+ Own Id: OTP-14369 Aux Id: PR-1367

+
+ +

In a future release, erlang:get_stacktrace/0 + will probably only work when called from within a + 'try' expression (otherwise it will return + [].

+

To help prepare for that change, the compiler will now + by default warn if 'get_stacktrace/0' is used in a + way that will not work in the future. Note that the + warning will not be issued if 'get_stacktrace/0' + is used in a function that uses neither 'catch' + nor 'try' (because that could be a legal use if + the function is called from within a 'try'.

+

+ Own Id: OTP-14401

+
+
+
+ +
+
Compiler 7.0.4
Fixed Bugs and Malfunctions diff --git a/lib/compiler/vsn.mk b/lib/compiler/vsn.mk index 5c87304a01..463c264a5f 100644 --- a/lib/compiler/vsn.mk +++ b/lib/compiler/vsn.mk @@ -1 +1 @@ -COMPILER_VSN = 7.0.4 +COMPILER_VSN = 7.1 diff --git a/lib/crypto/doc/src/notes.xml b/lib/crypto/doc/src/notes.xml index 62b013e463..574353ce7a 100644 --- a/lib/crypto/doc/src/notes.xml +++ b/lib/crypto/doc/src/notes.xml @@ -31,6 +31,134 @@

This document describes the changes made to the Crypto application.

+
Crypto 4.0 + +
Fixed Bugs and Malfunctions + + +

+ LibreSSL can now be used by the modernized crypto app.

+

+ Own Id: OTP-14247

+
+ +

+ Add compile option -compile(no_native) in modules + with on_load directive which is not yet supported + by HiPE.

+

+ Own Id: OTP-14316 Aux Id: PR-1390

+
+ +

+ Fix a bug in aes cfb128 function introduced by the bug + fix in GitHub pull request #1393.

+

+ Own Id: OTP-14435 Aux Id: PR-1462, PR-1393, OTP-14313

+
+
+
+ + +
Improvements and New Features + + +

+ Add basic support for CMAC

+

+ Own Id: OTP-13779 Aux Id: ERL-82 PR-1138

+
+ +

+ Removed functions deprecated in crypto-3.0 first released + in OTP-R16B01

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13873

+
+ +

+ The crypto application now supports OpenSSL 1.1.

+

+ Own Id: OTP-13900

+
+ +

+ Allow Erlang/OTP to use OpenSSL in FIPS-140 mode, in + order to satisfy specific security requirements (mostly + by different parts of the US federal government).

+

+ See the new crypto users guide "FIPS mode" chapter about + building and using the FIPS support which is disabled by + default.

+

+ (Thanks to dszoboszlay and legoscia)

+

+ Own Id: OTP-13921 Aux Id: PR-1180

+
+ +

+ Crypto chacha20-poly1305 as in RFC 7539 enabled for + OpenSSL >= 1.1.

+

+ Thanks to mururu.

+

+ Own Id: OTP-14092 Aux Id: PR-1291

+
+ +

+ RSA key generation added to crypto:generate_key/2. + Thanks to wiml.

+

+ An interface is also added to + public_key:generate_key/1.

+

+ Own Id: OTP-14140 Aux Id: ERL-165, PR-1299

+
+ +

+ Raised minimum requirement for OpenSSL version to + OpenSSL-0.9.8.c although we recommend a much higher + version, that is a version that is still maintained + officially by the OpenSSL project. Note that using such + an old version may restrict the crypto algorithms + supported.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14171

+
+ +

+ Deprecate crypto:rand_uniform/2 as it is not + cryptographically strong

+

+ Own Id: OTP-14274

+
+ +

+ The Crypto application now supports generation of + cryptographically strong random numbers (floats < 1.0 + and integer arbitrary ranges) as a plugin to the 'rand' + module.

+

+ Own Id: OTP-14317 Aux Id: PR-1372

+
+ +

+ This replaces the hard coded test values for AES, CMAC + and GCM ciphers with the full validation set from NIST's + CAVP program.

+

+ Own Id: OTP-14436 Aux Id: PR-1396

+
+
+
+ +
+
Crypto 3.7.4
Fixed Bugs and Malfunctions diff --git a/lib/crypto/vsn.mk b/lib/crypto/vsn.mk index f3e0623ac9..796e3b6d84 100644 --- a/lib/crypto/vsn.mk +++ b/lib/crypto/vsn.mk @@ -1 +1 @@ -CRYPTO_VSN = 3.7.4 +CRYPTO_VSN = 4.0 diff --git a/lib/debugger/doc/src/notes.xml b/lib/debugger/doc/src/notes.xml index 532a17bd81..fa85567a84 100644 --- a/lib/debugger/doc/src/notes.xml +++ b/lib/debugger/doc/src/notes.xml @@ -33,6 +33,42 @@

This document describes the changes made to the Debugger application.

+
Debugger 4.2.2 + +
Fixed Bugs and Malfunctions + + +

The Erlang shell, qlc:string_to_handle(), and + the Debugger (the Evaluator area and Edit variable window + of the Bindings area) can parse pids, ports, references, + and external funs, as long as they can be created in the + running system.

+

+ Own Id: OTP-14296

+
+ +

Fix editing of simple binary values in the Bindings + area of the Debugger's Attach Process Window.

+

+ Own Id: OTP-14318

+
+
+
+ + +
Improvements and New Features + + +

Miscellaneous updates due to atoms containing + arbitrary Unicode characters.

+

+ Own Id: OTP-14285

+
+
+
+ +
+
Debugger 4.2.1
Fixed Bugs and Malfunctions diff --git a/lib/debugger/vsn.mk b/lib/debugger/vsn.mk index f5440865ef..3534570ef5 100644 --- a/lib/debugger/vsn.mk +++ b/lib/debugger/vsn.mk @@ -1 +1 @@ -DEBUGGER_VSN = 4.2.1 +DEBUGGER_VSN = 4.2.2 diff --git a/lib/dialyzer/doc/src/notes.xml b/lib/dialyzer/doc/src/notes.xml index f7613b3145..0d2cb6c4df 100644 --- a/lib/dialyzer/doc/src/notes.xml +++ b/lib/dialyzer/doc/src/notes.xml @@ -32,6 +32,75 @@

This document describes the changes made to the Dialyzer application.

+
Dialyzer 3.2 + +
Fixed Bugs and Malfunctions + + +

The check of bad type variables in type declarations + was mistakingly removed in Erlang/OTP 18, and is now + re-introduced.

+

+ Own Id: OTP-14423 Aux Id: OTP-14323

+
+
+
+ + +
Improvements and New Features + + +

+ Analyzing modules with binary construction with huge + strings is now much faster. The compiler also compiles + such modules slightly faster.

+

+ Own Id: OTP-14125 Aux Id: ERL-308

+
+ +

The peak memory consumption is reduced.

+

+ Own Id: OTP-14127

+
+ +

Warnings about unknown types are now also generated + for types not used by any function specification.

+

+ Own Id: OTP-14218 Aux Id: OTP-14127

+
+ +

TypEr has been removed as separate application and is + now a part of the Dialyzer application. Documentation for + TypEr has been added in the Dialyzer application.

+

+ Own Id: OTP-14336

+
+ +

The format of debug information that is stored in BEAM + files (when debug_info is used) has been changed. + The purpose of the change is to better support other + BEAM-based languages such as Elixir or LFE.

+

All tools included in OTP (dialyzer, debugger, cover, + and so on) will handle both the new format and the + previous format. Tools that retrieve the debug + information using beam_lib:chunk(Beam, + [abstract_code]) will continue to work with both the + new and old format. Tools that call + beam_lib:chunk(Beam, ["Abst"]) will not work with + the new format.

+

For more information, see the description of + debug_info in the documentation for + beam_lib and the description of the + {debug_info,{Backend,Data}} option in the + documentation for compile.

+

+ Own Id: OTP-14369 Aux Id: PR-1367

+
+
+
+ +
+
Dialyzer 3.1.1
Fixed Bugs and Malfunctions diff --git a/lib/dialyzer/vsn.mk b/lib/dialyzer/vsn.mk index 0919fba834..4a1a7c25a0 100644 --- a/lib/dialyzer/vsn.mk +++ b/lib/dialyzer/vsn.mk @@ -1 +1 @@ -DIALYZER_VSN = 3.1 +DIALYZER_VSN = 3.2 diff --git a/lib/diameter/doc/src/notes.xml b/lib/diameter/doc/src/notes.xml index 50f568abaa..60478606ad 100644 --- a/lib/diameter/doc/src/notes.xml +++ b/lib/diameter/doc/src/notes.xml @@ -43,6 +43,76 @@ first.

+
diameter 2.0 + +
Improvements and New Features + + +

+ Let candidate peers be passed to diameter:call/4

+

+ With call option peer, to allow a request to be sent to a + peer that hasn't advertised support for the application + in question.

+

+ RFC 6733 2.4 requires a node to send the application + identifiers of all locally supported applications at + capabilities exchange, but not all nodes respect this for + the common application, and diameter itself will send + D[WP][RA] without the common application having been + explicitly advertised. Regarding the common application + as implicit renders Result-Code 5010 + (DIAMETER_NO_COMMON_APPLICATION) meaningless however, so + allow any request to be sent as long as there is a + configured dictionary to support it.

+

+ Own Id: OTP-14338

+
+ +

+ Improve performance of message encode/decode and related + handling.

+

+ Dictionaries using @custom_types or @codecs will need to + adapt the corresponding functions to accept an additional + argument that is now passed through encode/decode, which + was required to remove various process dictionary-based + workarounds that have been used to solve problems in the + past.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14343

+
+ +

+ Add transport options to avoid deadlock and allow for + load regulation.

+

+ Both diameter_tcp and diameter_sctp now accept two new + configuration options: sender and message_cb. The former + causes outgoing sends to take place in a dedicated + process, to avoid the possibility of deadlock when both + the transport process and its peer block in send. The + latter allows a callback to control the reading of + messages on the socket, to allow for backpressure towards + peers when the rate of incoming traffic is greater than + can otherwise be handled.

+

+ Neither of these options are yet documented, but are + unlikely to change unless problems are discovered. The + sender option is not the default since it should probably + always be used in combination with message_cb, to prevent + incoming requests from being read at a higher rate than a + peer allows outgoing answers to be sent.

+

+ Own Id: OTP-14455 Aux Id: ERL-332

+
+
+
+ +
+
diameter 1.12.2
Fixed Bugs and Malfunctions diff --git a/lib/edoc/doc/src/notes.xml b/lib/edoc/doc/src/notes.xml index b0ed6567ee..7894811c78 100644 --- a/lib/edoc/doc/src/notes.xml +++ b/lib/edoc/doc/src/notes.xml @@ -32,6 +32,28 @@

This document describes the changes made to the EDoc application.

+
Edoc 0.9 + +
Improvements and New Features + + +

To support stable builds, edoc no longer + includes time stamps in the footer for generated + files.

+

+ Own Id: OTP-14277

+
+ +

Miscellaneous updates due to atoms containing + arbitrary Unicode characters.

+

+ Own Id: OTP-14285

+
+
+
+ +
+
Edoc 0.8.1
Improvements and New Features diff --git a/lib/edoc/vsn.mk b/lib/edoc/vsn.mk index d66802fdac..1a933b2ad8 100644 --- a/lib/edoc/vsn.mk +++ b/lib/edoc/vsn.mk @@ -1 +1 @@ -EDOC_VSN = 0.8.1 +EDOC_VSN = 0.9 diff --git a/lib/erl_docgen/doc/src/notes.xml b/lib/erl_docgen/doc/src/notes.xml index a3374833bf..59a268d6ac 100644 --- a/lib/erl_docgen/doc/src/notes.xml +++ b/lib/erl_docgen/doc/src/notes.xml @@ -31,7 +31,42 @@

This document describes the changes made to the erl_docgen application.

-
Erl_Docgen 0.6.1 +
Erl_Docgen 0.7 + +
Fixed Bugs and Malfunctions + + +

+ Sort index of C functions alphabetically in the sidebar.

+

+ Own Id: OTP-14333 Aux Id: ERL-393

+
+ +

The right side index of functions now handle + functions with same name but different arity.

+

+ Own Id: OTP-14431

+
+
+
+ + +
Improvements and New Features + + +

+ Improvements in the OTP documentation style.

+

+ (Thanks to Mariano Guerra)

+

+ Own Id: OTP-14371 Aux Id: PR-1215

+
+
+
+ +
+ +
Erl_Docgen 0.6.1
Fixed Bugs and Malfunctions diff --git a/lib/erl_interface/doc/src/notes.xml b/lib/erl_interface/doc/src/notes.xml index 77d503b4d2..ec20f3c67f 100644 --- a/lib/erl_interface/doc/src/notes.xml +++ b/lib/erl_interface/doc/src/notes.xml @@ -31,6 +31,45 @@

This document describes the changes made to the Erl_interface application.

+
Erl_Interface 3.10 + +
Fixed Bugs and Malfunctions + + +

+ Fix bug where gethostname would incorrectly fail with + enametoolong on Linux.

+

+ Own Id: OTP-14310

+
+
+
+ + +
Improvements and New Features + + +

+ Remove generation of atoms in old latin1 external format + in the distribution between erlang nodes, + erl_interface, and jinterface. The new utf8 + format for atoms was introduced in OTP R16. An OTP 20 + node can therefore not connect to nodes older than R16.

+

+ Atoms that can be encoded using latin1 are still encoded + by term_to_binary() using latin1 encoding. Note + that all atoms will by default be encoded using utf8 in a + future Erlang/OTP release. For more information see the + documentation of erlang:term_to_binary/2.

+

+ Own Id: OTP-14337

+
+
+
+ +
+
Erl_Interface 3.9.3
Improvements and New Features diff --git a/lib/erl_interface/vsn.mk b/lib/erl_interface/vsn.mk index 563694a0c1..01fcee86dd 100644 --- a/lib/erl_interface/vsn.mk +++ b/lib/erl_interface/vsn.mk @@ -1,2 +1,2 @@ -EI_VSN = 3.9.3 +EI_VSN = 3.10 ERL_INTERFACE_VSN = $(EI_VSN) diff --git a/lib/eunit/doc/src/notes.xml b/lib/eunit/doc/src/notes.xml index cd4e230254..2a4ca6d12c 100644 --- a/lib/eunit/doc/src/notes.xml +++ b/lib/eunit/doc/src/notes.xml @@ -33,6 +33,21 @@

This document describes the changes made to the EUnit application.

+
Eunit 2.3.3 + +
Fixed Bugs and Malfunctions + + +

The surefire reports from eunit will no longer + have names with embedded double quotes.

+

+ Own Id: OTP-14287

+
+
+
+ +
+
Eunit 2.3.2
Fixed Bugs and Malfunctions diff --git a/lib/eunit/vsn.mk b/lib/eunit/vsn.mk index 7eee75ee10..107ad5c101 100644 --- a/lib/eunit/vsn.mk +++ b/lib/eunit/vsn.mk @@ -1 +1 @@ -EUNIT_VSN = 2.3.2 +EUNIT_VSN = 2.3.3 diff --git a/lib/hipe/doc/src/notes.xml b/lib/hipe/doc/src/notes.xml index 38f8dbfea3..9167d0aaec 100644 --- a/lib/hipe/doc/src/notes.xml +++ b/lib/hipe/doc/src/notes.xml @@ -31,6 +31,101 @@

This document describes the changes made to HiPE.

+
Hipe 3.16 + +
Fixed Bugs and Malfunctions + + +

+ Fix hipe compiler flags o0 and o1 that have + previously been ignored by mistake.

+

+ Own Id: OTP-13862 Aux Id: PR-1154

+
+ +

+ Fix LLVM backend to not convert all remote calls to own + module, like ?MODULE:foo(), into local calls.

+

+ Own Id: OTP-13983

+
+ +

+ Hipe optional LLVM backend does require LLVM version 3.9 + or later as older versions forced strong dependencies on + erts internals structures.

+

+ Own Id: OTP-14238

+
+ +

+ Fix a bug that has been seen causing failed loading of + hipe compiled modules on NetBSD due to unaligned data + pointers.

+

+ Own Id: OTP-14302 Aux Id: ERL-376, PR-1386

+
+ +

+ Fix miscompilation bug in hipe that could cause wrong + function clause to be called from non-tail calls, where + the return value is unused, if the right function clause + is only reachable from those non-tail calls.

+

+ Own Id: OTP-14306 Aux Id: ERL-278, PR-1392

+
+
+
+ + +
Improvements and New Features + + +

+ Improve hipe compilation time for large functions.

+

+ Own Id: OTP-13810 Aux Id: PR-1124

+
+ +

Replaced usage of deprecated symbolic time + unit representations.

+

+ Own Id: OTP-13831 Aux Id: OTP-13735

+
+ +

+ Speed up hipe compile time register allocation for larger + function.

+

+ Own Id: OTP-13879

+
+ +

+ Various code generation improvements.

+

+ Own Id: OTP-14261 Aux Id: PR-1360

+
+ +

+ Improve hipe compiler to generate code with better CPU + register utilization at runtime by the use of 'Live Range + Splitting' techniques.

+

+ Own Id: OTP-14293 Aux Id: PR-1380

+
+ +

+ Allow HiPE to run on VM built with + --enable-m32-build.

+

+ Own Id: OTP-14330 Aux Id: PR-1397

+
+
+
+ +
+
Hipe 3.15.4
Fixed Bugs and Malfunctions diff --git a/lib/hipe/vsn.mk b/lib/hipe/vsn.mk index 172d976931..0ef4aa7f09 100644 --- a/lib/hipe/vsn.mk +++ b/lib/hipe/vsn.mk @@ -1 +1 @@ -HIPE_VSN = 3.15.4 +HIPE_VSN = 3.16 diff --git a/lib/inets/doc/src/notes.xml b/lib/inets/doc/src/notes.xml index 1fad94fac1..2f4f20347a 100644 --- a/lib/inets/doc/src/notes.xml +++ b/lib/inets/doc/src/notes.xml @@ -33,7 +33,44 @@ notes.xml -
Inets 6.3.9 +
Inets 6.4 + +
Fixed Bugs and Malfunctions + + +

+ httpd_util:rfc1123_date/1 gracefully handle invalid DST + dates by returning the original time in the expected + rfc1123 format.

+

+ Own Id: OTP-14394

+
+
+
+ + +
Improvements and New Features + + +

+ Add unicode binary support to http_uri functions

+

+ Own Id: OTP-14404

+
+ +

+ httpc - Change timeout handling so the redirects cause a + new timer to be set. This means that a simple redirected + request could return after 2*timeout milliseconds.

+

+ Own Id: OTP-14429

+
+
+
+ +
+ +
Inets 6.3.9
Fixed Bugs and Malfunctions diff --git a/lib/inets/vsn.mk b/lib/inets/vsn.mk index 758cef7ac4..96796f11c0 100644 --- a/lib/inets/vsn.mk +++ b/lib/inets/vsn.mk @@ -19,6 +19,6 @@ # %CopyrightEnd% APPLICATION = inets -INETS_VSN = 6.3.9 +INETS_VSN = 6.4 PRE_VSN = APP_VSN = "$(APPLICATION)-$(INETS_VSN)$(PRE_VSN)" diff --git a/lib/jinterface/doc/src/notes.xml b/lib/jinterface/doc/src/notes.xml index 99d48771a4..b44a04d7cd 100644 --- a/lib/jinterface/doc/src/notes.xml +++ b/lib/jinterface/doc/src/notes.xml @@ -31,6 +31,32 @@

This document describes the changes made to the Jinterface application.

+
Jinterface 1.8 + +
Improvements and New Features + + +

+ Remove generation of atoms in old latin1 external format + in the distribution between erlang nodes, + erl_interface, and jinterface. The new utf8 + format for atoms was introduced in OTP R16. An OTP 20 + node can therefore not connect to nodes older than R16.

+

+ Atoms that can be encoded using latin1 are still encoded + by term_to_binary() using latin1 encoding. Note + that all atoms will by default be encoded using utf8 in a + future Erlang/OTP release. For more information see the + documentation of erlang:term_to_binary/2.

+

+ Own Id: OTP-14337

+
+
+
+ +
+
Jinterface 1.7.1
Fixed Bugs and Malfunctions diff --git a/lib/jinterface/vsn.mk b/lib/jinterface/vsn.mk index c29d9df3d7..373e2dab22 100644 --- a/lib/jinterface/vsn.mk +++ b/lib/jinterface/vsn.mk @@ -1 +1 @@ -JINTERFACE_VSN = 1.7.1 +JINTERFACE_VSN = 1.8 diff --git a/lib/kernel/doc/src/notes.xml b/lib/kernel/doc/src/notes.xml index 7127a59a0c..e1cf45109d 100644 --- a/lib/kernel/doc/src/notes.xml +++ b/lib/kernel/doc/src/notes.xml @@ -31,6 +31,161 @@

This document describes the changes made to the Kernel application.

+
Kernel 5.3 + +
Fixed Bugs and Malfunctions + + +

Function inet:ntoa/1 has been fixed to return + lowercase letters according to RFC 5935 that has been + approved after this function was written. Previously + uppercase letters were returned so this may be a + backwards incompatible change depending on how the + returned address string is used.

+

Function inet:parse_address/1 has been fixed to + accept %-suffixes on scoped addresses. The addresses does + not work yet, but gives no parse errors.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13006 Aux Id: ERIERL-20, ERL-429

+
+ +

+ Fix bug where gethostname would incorrectly fail with + enametoolong on Linux.

+

+ Own Id: OTP-14310

+
+ +

+ Fix bug causing code:is_module_native to falsely + return true when local call trace is enabled for + the module.

+

+ Own Id: OTP-14390

+
+ +

+ Add early reject of invalid node names from distributed + nodes.

+

+ Own Id: OTP-14426

+
+
+
+ + +
Improvements and New Features + + +

+ Since Unicode is now allowed in atoms an extra check is + needed for node names, which are restricted to Latin-1.

+

+ Own Id: OTP-13805

+
+ +

Replaced usage of deprecated symbolic time + unit representations.

+

+ Own Id: OTP-13831 Aux Id: OTP-13735

+
+ +

file:write_file(Name, Data, [raw]) would turn + Data into a single binary before writing. This + meant it could not take advantage of the writev() + system call if it was given a list of binaries and told + to write with raw mode.

+

+ Own Id: OTP-13909

+
+ +

The performance of the disk_log has been + somewhat improved in some corner cases (big items), and + the documentation has been clarified.

+

+ Own Id: OTP-14057 Aux Id: PR-1245

+
+ +

Functions for detecting changed code has been added. + code:modified_modules/0 returns all currently + loaded modules that have changed on disk. + code:module_status/1 returns the status for a + module. In the shell and in c module, mm/0 + is short for code:modified_modules/0, and + lm/0 reloads all currently loaded modules that + have changed on disk.

+

+ Own Id: OTP-14059

+
+ +

+ Introduce an event manager in Erlang to handle OS + signals. A subset of OS signals may be subscribed to and + those are described in the Kernel application.

+

+ Own Id: OTP-14186

+
+ +

Sockets can now be bound to device (SO_BINDTODEVICE) + on platforms where it is supported.

This has + been implemented e.g to support VRF-Lite under Linux; see + + VRF , and GitHub pull request #1326. +

+

+ Own Id: OTP-14357 Aux Id: PR-1326

+
+ +

+ Added option to store shell_history on disk so that the + history can be reused between sessions.

+

+ Own Id: OTP-14409 Aux Id: PR-1420

+
+ +

The size of crash reports created by + gen_server, gen_statem and proc_lib + is limited with aid of the Kernel application variable + error_logger_format_depth. The purpose is to limit + the size of the messages sent to the error_logger + process when processes with huge message queues or states + crash.

The crash report generated by + proc_lib includes the new tag + message_queue_len. The neighbour report also + includes the new tag current_stacktrace. Finally, + the neighbour report no longer includes the tags + messages and dictionary.

The new + function error_logger:get_format_depth/0 can be + used to retrieve the value of the Kernel application + variable error_logger_format_depth.

+

+ Own Id: OTP-14417

+
+ +

One of the ETS tables used by the global + module is created with {read_concurrency, true} in + order to reduce contention.

+

+ Own Id: OTP-14419

+
+ +

+ Warnings have been added to the relevant documentation + about not using un-secure distributed nodes in exposed + environments.

+

+ Own Id: OTP-14425

+
+
+
+ +
+
Kernel 5.2
Fixed Bugs and Malfunctions diff --git a/lib/kernel/vsn.mk b/lib/kernel/vsn.mk index 76b020e8ed..4edecd8969 100644 --- a/lib/kernel/vsn.mk +++ b/lib/kernel/vsn.mk @@ -1 +1 @@ -KERNEL_VSN = 5.2 +KERNEL_VSN = 5.3 diff --git a/lib/megaco/doc/src/notes.xml b/lib/megaco/doc/src/notes.xml index 0b1b1faf3e..068389c0c2 100644 --- a/lib/megaco/doc/src/notes.xml +++ b/lib/megaco/doc/src/notes.xml @@ -37,7 +37,22 @@ section is the version number of Megaco.

-
Megaco 3.18.1 +
Megaco 3.18.2 + +
Improvements and New Features + + +

+ Typos have been fixed.

+

+ Own Id: OTP-14387

+
+
+
+ +
+ +
Megaco 3.18.1
Improvements and New Features diff --git a/lib/megaco/vsn.mk b/lib/megaco/vsn.mk index b965f9a5e3..9c6ba5bba0 100644 --- a/lib/megaco/vsn.mk +++ b/lib/megaco/vsn.mk @@ -19,6 +19,6 @@ # %CopyrightEnd% APPLICATION = megaco -MEGACO_VSN = 3.18.1 +MEGACO_VSN = 3.18.2 PRE_VSN = APP_VSN = "$(APPLICATION)-$(MEGACO_VSN)$(PRE_VSN)" diff --git a/lib/mnesia/doc/src/notes.xml b/lib/mnesia/doc/src/notes.xml index 062a62298b..3ca4026190 100644 --- a/lib/mnesia/doc/src/notes.xml +++ b/lib/mnesia/doc/src/notes.xml @@ -39,7 +39,26 @@ thus constitutes one section in this document. The title of each section is the version number of Mnesia.

-
Mnesia 4.14.3 +
Mnesia 4.15 + +
Improvements and New Features + + +

+ Removed the wrapping of select continuations in extension + plugin handling. This might require the user to rewrite + user backend plugin if used.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14039

+
+
+
+ +
+ +
Mnesia 4.14.3
Fixed Bugs and Malfunctions diff --git a/lib/mnesia/vsn.mk b/lib/mnesia/vsn.mk index e272a469bb..81b15d65db 100644 --- a/lib/mnesia/vsn.mk +++ b/lib/mnesia/vsn.mk @@ -1 +1 @@ -MNESIA_VSN = 4.14.3 +MNESIA_VSN = 4.15 diff --git a/lib/observer/doc/src/notes.xml b/lib/observer/doc/src/notes.xml index bd9aa265f8..d329be5d5a 100644 --- a/lib/observer/doc/src/notes.xml +++ b/lib/observer/doc/src/notes.xml @@ -32,6 +32,63 @@

This document describes the changes made to the Observer application.

+
Observer 2.4 + +
Fixed Bugs and Malfunctions + + +

+ etop had a hardcoded timeout value of 1 second + when waiting for data from a remote node. When this + expired, which could happen for instance if there were + very many processes on the remote node, etop would exit + with reason connection_lost. To overcome this + problem, the timeout is now changed to be the same as the + update interval, which is configurable.

+

+ Own Id: OTP-14393

+
+
+
+ + +
Improvements and New Features + + +

+ Show dirty-scheduler threads in performance monitor graph + and add a column with maximum allocated memory in the + Memory Allocators table.

+

+ Own Id: OTP-14137

+
+ +

+ Keep table and port selection after refresh of tables. + Store settings before shutdown and restore when starting + application.

+

+ Own Id: OTP-14270

+
+ +

Miscellaneous updates due to atoms containing + arbitrary Unicode characters.

+

+ Own Id: OTP-14285

+
+ +

+ When observing a node older than OTP-19.0, a pop-up will + be displayed when trying to access port information. + Earlier, observer would crash in this situation.

+

+ Own Id: OTP-14345 Aux Id: ERL-399

+
+
+
+ +
+
Observer 2.3.1
Fixed Bugs and Malfunctions diff --git a/lib/observer/vsn.mk b/lib/observer/vsn.mk index ca9ad72473..21edfcd184 100644 --- a/lib/observer/vsn.mk +++ b/lib/observer/vsn.mk @@ -1 +1 @@ -OBSERVER_VSN = 2.3.1 +OBSERVER_VSN = 2.4 diff --git a/lib/parsetools/doc/src/notes.xml b/lib/parsetools/doc/src/notes.xml index d9fb837e5b..3fa7169f50 100644 --- a/lib/parsetools/doc/src/notes.xml +++ b/lib/parsetools/doc/src/notes.xml @@ -31,6 +31,33 @@

This document describes the changes made to the Parsetools application.

+
Parsetools 2.1.5 + +
Fixed Bugs and Malfunctions + + +

+ Minor documentation fixes

+

+ Own Id: OTP-14276 Aux Id: PR-1357

+
+
+
+ + +
Improvements and New Features + + +

Miscellaneous updates due to atoms containing + arbitrary Unicode characters.

+

+ Own Id: OTP-14285

+
+
+
+ +
+
Parsetools 2.1.4
Fixed Bugs and Malfunctions diff --git a/lib/parsetools/vsn.mk b/lib/parsetools/vsn.mk index d102c63730..502ca00a47 100644 --- a/lib/parsetools/vsn.mk +++ b/lib/parsetools/vsn.mk @@ -1 +1 @@ -PARSETOOLS_VSN = 2.1.4 +PARSETOOLS_VSN = 2.1.5 diff --git a/lib/public_key/doc/src/notes.xml b/lib/public_key/doc/src/notes.xml index dd83e1961d..64592a6d87 100644 --- a/lib/public_key/doc/src/notes.xml +++ b/lib/public_key/doc/src/notes.xml @@ -35,6 +35,41 @@ notes.xml +
Public_Key 1.4.1 + +
Fixed Bugs and Malfunctions + + +

+ Bug for public_key:generate_key({namedCurve,OID}) + fixed.

+

+ Own Id: OTP-14258

+
+
+
+ + +
Improvements and New Features + + +

+ Modernized internal representation used for crl + validation by use of maps.

+

+ Own Id: OTP-14111

+
+ +

+ Support EC key in pkix_sign/2

+

+ Own Id: OTP-14294

+
+
+
+ +
+
Public_Key 1.4
Improvements and New Features diff --git a/lib/public_key/vsn.mk b/lib/public_key/vsn.mk index b94768ae77..83a77d2a28 100644 --- a/lib/public_key/vsn.mk +++ b/lib/public_key/vsn.mk @@ -1 +1 @@ -PUBLIC_KEY_VSN = 1.4 +PUBLIC_KEY_VSN = 1.4.1 diff --git a/lib/reltool/doc/src/notes.xml b/lib/reltool/doc/src/notes.xml index 25c9199927..8593a1017f 100644 --- a/lib/reltool/doc/src/notes.xml +++ b/lib/reltool/doc/src/notes.xml @@ -38,7 +38,23 @@ thus constitutes one section in this document. The title of each section is the version number of Reltool.

-
Reltool 0.7.3 +
Reltool 0.7.4 + +
Improvements and New Features + + +

The User's Guide examples are updated after removal + of support for Dets files created with Erlang/OTP R7 and + earlier.

+

+ Own Id: OTP-14422 Aux Id: OTP-13830

+
+
+
+ +
+ +
Reltool 0.7.3
Fixed Bugs and Malfunctions diff --git a/lib/reltool/vsn.mk b/lib/reltool/vsn.mk index 2d07eeb8f0..3617f6e0d9 100644 --- a/lib/reltool/vsn.mk +++ b/lib/reltool/vsn.mk @@ -1 +1 @@ -RELTOOL_VSN = 0.7.3 +RELTOOL_VSN = 0.7.4 diff --git a/lib/runtime_tools/doc/src/notes.xml b/lib/runtime_tools/doc/src/notes.xml index 49615cf077..2bfc174cae 100644 --- a/lib/runtime_tools/doc/src/notes.xml +++ b/lib/runtime_tools/doc/src/notes.xml @@ -32,6 +32,47 @@

This document describes the changes made to the Runtime_Tools application.

+
Runtime_Tools 1.12 + +
Fixed Bugs and Malfunctions + + +

+ Add compile option -compile(no_native) in modules + with on_load directive which is not yet supported + by HiPE.

+

+ Own Id: OTP-14316 Aux Id: PR-1390

+
+
+
+ + +
Improvements and New Features + + +

Miscellaneous updates due to atoms containing + arbitrary Unicode characters.

+

+ Own Id: OTP-14285

+
+ +

Sockets can now be bound to device (SO_BINDTODEVICE) + on platforms where it is supported.

This has + been implemented e.g to support VRF-Lite under Linux; see + + VRF , and GitHub pull request #1326. +

+

+ Own Id: OTP-14357 Aux Id: PR-1326

+
+
+
+ +
+
Runtime_Tools 1.11.1
Fixed Bugs and Malfunctions diff --git a/lib/runtime_tools/vsn.mk b/lib/runtime_tools/vsn.mk index 8ec532de76..5ee39a25fe 100644 --- a/lib/runtime_tools/vsn.mk +++ b/lib/runtime_tools/vsn.mk @@ -1 +1 @@ -RUNTIME_TOOLS_VSN = 1.11.1 +RUNTIME_TOOLS_VSN = 1.12 diff --git a/lib/sasl/doc/src/notes.xml b/lib/sasl/doc/src/notes.xml index 8684151b3a..bc35939d7e 100644 --- a/lib/sasl/doc/src/notes.xml +++ b/lib/sasl/doc/src/notes.xml @@ -31,6 +31,35 @@

This document describes the changes made to the SASL application.

+
SASL 3.0.4 + +
Fixed Bugs and Malfunctions + + +

+ Documented default values for the 'mod' and + 'start_phases' fields in .app files were not allowed as + actual values in a .app file. This is now corrected.

+

+ Own Id: OTP-14029

+
+
+
+ + +
Improvements and New Features + + +

Miscellaneous updates due to atoms containing + arbitrary Unicode characters.

+

+ Own Id: OTP-14285

+
+
+
+ +
+
SASL 3.0.3
Fixed Bugs and Malfunctions diff --git a/lib/sasl/vsn.mk b/lib/sasl/vsn.mk index 6aa662a743..2608ca5e00 100644 --- a/lib/sasl/vsn.mk +++ b/lib/sasl/vsn.mk @@ -1 +1 @@ -SASL_VSN = 3.0.3 +SASL_VSN = 3.0.4 diff --git a/lib/snmp/doc/src/notes.xml b/lib/snmp/doc/src/notes.xml index ebc04684fe..b902e421ca 100644 --- a/lib/snmp/doc/src/notes.xml +++ b/lib/snmp/doc/src/notes.xml @@ -34,7 +34,24 @@ -
SNMP 5.2.5 +
SNMP 5.2.6 + +
Fixed Bugs and Malfunctions + + +

Internal code change: Calls to catch followed + by a call to erlang:get_stacktrace/0 has been + rewritten to use try instead of catch to + make the code future-proof.

+

+ Own Id: OTP-14400

+
+
+
+ +
+ +
SNMP 5.2.5
Fixed Bugs and Malfunctions diff --git a/lib/snmp/vsn.mk b/lib/snmp/vsn.mk index 30b8ee1124..d41b1999cc 100644 --- a/lib/snmp/vsn.mk +++ b/lib/snmp/vsn.mk @@ -19,6 +19,6 @@ # %CopyrightEnd% APPLICATION = snmp -SNMP_VSN = 5.2.5 +SNMP_VSN = 5.2.6 PRE_VSN = APP_VSN = "$(APPLICATION)-$(SNMP_VSN)$(PRE_VSN)" diff --git a/lib/ssh/doc/src/notes.xml b/lib/ssh/doc/src/notes.xml index bddae00dd2..f93753f1d2 100644 --- a/lib/ssh/doc/src/notes.xml +++ b/lib/ssh/doc/src/notes.xml @@ -30,6 +30,176 @@ notes.xml +
Ssh 4.5 + +
Improvements and New Features + + +

+ The internal handling of SSH options is re-written.

+

+ Previously there were no checks if a client option was + given to a daemon or vice versa. This is corrected now. + If your code has e.g. a client-only option in a call to + start a daemon, the call will fail.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-12872

+
+ +

+ Modernization of key exchange algorithms. See + draft-ietf-curdle-ssh-kex-sha2 for a discussion.

+

+ Removed an outdated weak algorithm and added stronger + replacements to keep interoperability with other modern + ssh clients and servers. The default ordering of the + algorithms is also adjusted.

+

+ Retired: The nowadays unsecure key-exchange + diffie-hellman-group1-sha1 is not enabled by + default, but can be enabled with the option + preferred-algorithms.

+

+ Added: The new stronger key-exchange + diffie-hellman-group16-sha512, + diffie-hellman-group18-sha512 and + diffie-hellman-group14-sha256 are added and + enabled by default.

+

+ The questionable [RFC 6194] sha1-based algorithms + diffie-hellman-group-exchange-sha1 and + diffie-hellman-group14-sha1 are however still kept + enabled by default for compatibility with ancient clients + and servers that lack modern key-exchange alternatives. + When the draft-ietf-curdle-ssh-kex-sha2 becomes an rfc, + those sha1-based algorithms and + diffie-hellman-group1-sha1 will be deprecated by + IETF. They might then be removed from the default list in + Erlang/OTP.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14110

+
+ +

+ Modernized internal representation of sftp by use of + maps.

+

+ Own Id: OTP-14117

+
+ +

+ The Extension Negotiation Mechanism and the extension + server-sig-algs in + draft-ietf-curdle-ssh-ext-info-05 are implemented.

+

+ The related draft-ietf-curdle-rsa-sha2-05 is implemented + and introduces the signature algorithms + rsa-sha2-256 and rsa-sha2-512.

+

+ Own Id: OTP-14193

+
+ +

+ The 'timeout' and 'connect_timeout' handling in + ssh_sftp:start_channel documentation is clarified.

+

+ Own Id: OTP-14216

+
+ +

+ The functions ssh:connect, ssh:shell and + ssh:start_channel now accept an IP-tuple as Host + destination argument.

+

+ Own Id: OTP-14243

+
+ +

+ The function ssh:daemon_info/1 now returns Host + and Profile as well as the Port info in the property + list.

+

+ Own Id: OTP-14259

+
+ +

+ Removed the option public_key_alg which was + deprecated in 18.2. Use pref_public_key_algs + instead.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14263

+
+ +

+ The SSH application is refactored regarding daemon + starting. The resolution of contradicting Host + argument and ip option were not described. There + were also strange corner cases when the 'any' + value was used in Host argument or ip + option. This is (hopefully) resolved now, but it may + cause incompatibilities for code using both Host + and the ip option. The value 'loopback' has been + added for a correct way of naming those addresses.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14264

+
+ +

+ The supervisor code is refactored. The naming of + listening IP-Port-Profile triples are slightly changed to + improve consistency in strange corner cases as resolved + by OTP-14264

+

+ Own Id: OTP-14267 Aux Id: OTP-14266

+
+ +

+ The idle_time option can now be used in daemons.

+

+ Own Id: OTP-14312

+
+ +

+ Added test cases for IETF-CURDLE Extension Negotiation + (ext-info)

+

+ Own Id: OTP-14361

+
+ +

+ Testcases for IETF-CURDLE extension + server-sig-algs including rsa-sha2-*

+

+ Own Id: OTP-14362 Aux Id: OTP-14361

+
+ +

+ The option auth_methods can now also be used in + clients to select which authentication options that are + used and in which order.

+

+ Own Id: OTP-14399

+
+ +

+ Checks that a ECDSA public key (ecdsa-sha2-nistp*) + stored in a file has the correct size.

+

+ Own Id: OTP-14410

+
+
+
+ +
+
Ssh 4.4.2
Fixed Bugs and Malfunctions diff --git a/lib/ssh/vsn.mk b/lib/ssh/vsn.mk index 48332d2e5a..7208baca6e 100644 --- a/lib/ssh/vsn.mk +++ b/lib/ssh/vsn.mk @@ -1,5 +1,5 @@ #-*-makefile-*- ; force emacs to enter makefile-mode -SSH_VSN = 4.4.2 +SSH_VSN = 4.5 APP_VSN = "ssh-$(SSH_VSN)" diff --git a/lib/ssl/doc/src/notes.xml b/lib/ssl/doc/src/notes.xml index 29ec3f9d57..5a39cac9bc 100644 --- a/lib/ssl/doc/src/notes.xml +++ b/lib/ssl/doc/src/notes.xml @@ -28,6 +28,122 @@

This document describes the changes made to the SSL application.

+
SSL 8.2 + +
Fixed Bugs and Malfunctions + + +

+ ECDH-ECDSA key exchange supported, was accidently + dismissed in earlier versions.

+

+ Own Id: OTP-14421

+
+ +

+ Correct close semantics for active once connections. This + was a timing dependent bug the resulted in the close + message not always reaching the ssl user process.

+

+ Own Id: OTP-14443

+
+
+
+ + +
Improvements and New Features + + +

+ TLS-1.2 clients will now always send hello messages on + its own format, as opposed to earlier versions that will + send the hello on the lowest supported version, this is a + change supported by the latest RFC.

+

+ This will make interoperability with some newer servers + smoother. Potentially, but unlikely, this could cause a + problem with older servers if they do not adhere to the + RFC and ignore unknown extensions.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13820

+
+ +

+ Allow Erlang/OTP to use OpenSSL in FIPS-140 mode, in + order to satisfy specific security requirements (mostly + by different parts of the US federal government).

+

+ See the new crypto users guide "FIPS mode" chapter about + building and using the FIPS support which is disabled by + default.

+

+ (Thanks to dszoboszlay and legoscia)

+

+ Own Id: OTP-13921 Aux Id: PR-1180

+
+ +

+ Implemented DTLS cookie generation, required by spec, + instead of using a hardcoded value.

+

+ Own Id: OTP-14076

+
+ +

+ Implement sliding window replay protection of DTLS + records.

+

+ Own Id: OTP-14077

+
+ +

+ TLS client processes will by default call + public_key:pkix_verify_hostname/2 to verify the hostname + of the connection with the server certificates specified + hostname during certificate path validation. The user may + explicitly disables it. Also if the hostname can not be + derived from the first argument to connect or is not + supplied by the server name indication option, the check + will not be performed.

+

+ Own Id: OTP-14197

+
+ +

+ Extend connection_information/[1,2] . The values + session_id, master_secret, client_random and + server_random can no be accessed by + connection_information/2. Note only session_id will be + added to connection_information/1. The rational is that + values concerning the connection security should have to + be explicitly requested.

+

+ Own Id: OTP-14291

+
+ +

+ Chacha cipher suites are currently not tested enough to + be most preferred ones

+

+ Own Id: OTP-14382

+
+ +

+ Basic support for DTLS that been tested together with + OpenSSL.

+

+ Test by providing the option {protocol, dtls} to the ssl + API functions connect and listen.

+

+ Own Id: OTP-14388

+
+
+
+ +
+
SSL 8.1.3
Fixed Bugs and Malfunctions diff --git a/lib/stdlib/doc/src/notes.xml b/lib/stdlib/doc/src/notes.xml index a8a252cb35..46454e9b80 100644 --- a/lib/stdlib/doc/src/notes.xml +++ b/lib/stdlib/doc/src/notes.xml @@ -31,6 +31,444 @@

This document describes the changes made to the STDLIB application.

+
STDLIB 3.4 + +
Fixed Bugs and Malfunctions + + +

For many releases, it has been legal to override a BIF + with a local function having the same name. However, + calling a local function with the same name as guard BIF + as filter in a list comprehension was not allowed.

+

+ Own Id: OTP-13690

+
+ +

A new (default) pseudo-random number generator + algorithm Xoroshiro116+ has been implemented in the + rand module.

The old algorithm + implementations had a number of flaws so they are all + deprecated, but corrected versions of two of them have + been added. See the documentation.

+

+ Own Id: OTP-14295 Aux Id: PR-1372

+
+ +

The Erlang shell, qlc:string_to_handle(), and + the Debugger (the Evaluator area and Edit variable window + of the Bindings area) can parse pids, ports, references, + and external funs, as long as they can be created in the + running system.

+

+ Own Id: OTP-14296

+
+ +

Internal code change: Calls to catch followed + by a call to erlang:get_stacktrace/0 has been + rewritten to use try instead of catch to + make the code future-proof.

+

+ Own Id: OTP-14400

+
+ +

The ms_transform module, used by + ets:fun2ms/1 and dbg:fun2ms/1, evaluates + constant arithmetic expressions. This is necessary since + the Erlang compiler, which normally evaluates constant + expressions, does not recognize the format generated by + ms_transform.

+

+ Own Id: OTP-14454 Aux Id: ERIERL-29

+
+ +

The state machine engine gen_statem can now + handle generic time-outs (multiple named) as well as + absolute time-out time. See the documentation.

+ The gen_statem callback Module:init/1 has + become mandatory to harmonize with other gen_* + modules. This may be an incompatibility for + gen_statem callback modules that use + gen_statem:enter_loop/4-6.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14531

+
+
+
+ + +
Improvements and New Features + + +

+ Improved unicode support for strings. Added normalization + functions in the unicode module. Extended the + string module API with new functions with improved + unicode handling and that works on grapheme clusters. The + new functions operates on the unicode:chardata() + type, thus they also accept UTF-8 binaries as + input.

+

+ The old string API have been marked as obsolete. The + return values have been changed for some error cases.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-10289 Aux Id: OTP-10309

+
+ +

There are two new guard BIFs 'floor/1' and + 'ceil/1'. They both return integers. In the + 'math' module, there are two new BIFs with the + same names that return floating point values.

+

+ Own Id: OTP-13692

+
+ +

+ Making code_change, terminate and handle_info callbacks + optional in the OTP behaviours.

+

+ Own Id: OTP-13801

+
+ +

The support for Dets files created with Erlang/OTP R7 + and earlier is removed.

+

+ Own Id: OTP-13830

+
+ +

Replaced usage of deprecated symbolic time + unit representations.

+

+ Own Id: OTP-13831 Aux Id: OTP-13735

+
+ +

The function fmod/2 has been added to the + math module.

+

+ Own Id: OTP-14000

+
+ +

The EXIT signals received from processes using + proc_lib now looks like EXIT signals from + processes that were spawned using spawn_link. In + particular, that means that the stack trace is now + included in the EXIT signal so that it can see where the + process crashed.

+

+ Own Id: OTP-14001

+
+ +

sets:add_element/2 is faster when adding an + element that is already present, and + sets:del_element/2 is faster when the element to + be deleted is not present. This optimization can make + certain operations, such as sets:union/2 with many + overlapping elements, up to two orders of magnitude + faster.

+

+ Own Id: OTP-14035

+
+ +

+ Add information in doc about supervisor shutdown reason + when maximum restart frequency is reached.

+

+ Own Id: OTP-14037 Aux Id: PR-1233

+
+ +

+ Added rand:jump/[0|1] functions.

+

+ Own Id: OTP-14038 Aux Id: PR-1235

+
+ +

Functions for detecting changed code has been added. + code:modified_modules/0 returns all currently + loaded modules that have changed on disk. + code:module_status/1 returns the status for a + module. In the shell and in c module, mm/0 + is short for code:modified_modules/0, and + lm/0 reloads all currently loaded modules that + have changed on disk.

+

+ Own Id: OTP-14059

+
+ +

Each assert macro in assert.hrl now has a + corresponding version with an extra argument, for adding + comments to assertions. These can for example be printed + as part of error reports, to clarify the meaning of the + check that failed.

+

+ Own Id: OTP-14066

+
+ +

error_logger_tty_h and + error_logger_file_h now inserts the node + information for nonlocal messages before the message + itself instead of after, both for readability and so as + not to change the line termination property at the end of + the message.

+

+ Own Id: OTP-14068

+
+ +

The Erlang code linter checks for badly formed type + constraints.

+

+ Own Id: OTP-14070 Aux Id: PR-1214

+
+ +

By default, there will now be a warning when + export_all is used. The warning can be disabled + using nowarn_export_all.

+

+ Own Id: OTP-14071

+
+ +

When a gen_server process crashes, the + stacktrace for the client will be printed to facilitate + debugging.

+

+ Own Id: OTP-14089

+
+ +

Optimized ETS operations by changing table identifier + type from integer to reference. The reference enables a + more direct mapping to the table with less potential lock + contention and makes especially creation and deletion of + tables scale much better.

The change of the opaque + type for the ETS table identifiers may cause failure in + code that make faulty assumptions about this opaque + type.

The number of tables stored at one + Erlang node used to be limited. This is no + longer the case (except by memory usage). The previous + default limit was about 1400 tables and could be + increased by setting the environment variable + ERL_MAX_ETS_TABLES before starting the Erlang + runtime system. This hard limit has been removed, but it + is currently useful to set the ERL_MAX_ETS_TABLES + anyway. It should be set to an approximate of the maximum + amount of tables used. This since an internal table for + named tables is sized using this value. If large amounts + of named tables are used and ERL_MAX_ETS_TABLES + hasn't been increased, the performance of named table + lookup will degrade.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14094

+
+ +

take/2 has been added to dict, + orddict, and gb_trees. take_any/2 + has been added to gb_trees.

+

+ Own Id: OTP-14102

+
+ +

+ Extend gen_event API to handle options as well.

+

+ Own Id: OTP-14123

+
+ +

+ Advice on how to tune the supervisor restart frequency + (intensity and period) is added to System Documentation - + Design Principles - Supervisor Behaviour.

+

+ Own Id: OTP-14168 Aux Id: PR-1289

+
+ +

+ gen_fsm is deprecated and is replaced by gen_statem, + however for backwards compatibility reasons gen_fsm may + continue to exist as an undocumented feature for quite + some time.

+

+ Own Id: OTP-14183

+
+ +

The shell functions c/1 and c/2 have + been extended so that if the argument is a module name + instead of a file name, it automatically locates the + .beam file and the corresponding source file, and then + recompiles the module using the same compiler options + (plus any options passed to c/2). If compilation fails, + the old beam file is preserved. Also adds c(Mod, Opts, + Filter), where the Filter argument allows you to + remove old compiler options before the new options are + added.

New utility functions file_find/2/3 + and find_source/1/2/3 have been added to + filelib.

+

+ Own Id: OTP-14190

+
+ +

erl_tar in previous versions of OTP only + supports the USTAR format. That limited path names to at + most 255 bytes, and did not support Unicode characters in + names in a portable way.

+

erl_tar now has support for reading tar + archives in the formats currently in common use, such as + v7, STAR, USTAR, PAX, and GNU tar's extensions to the + STAR/USTAR format. When writing tar archives, + erl_tar can now write them in the PAX + format if necessary (for example, to support very long + filenames or filenames with Unicode characters). If + possible, erl_tar will still write tar archives in + the USTAR for maximum portability.

+

+ Own Id: OTP-14226

+
+ +

base64:mime_decode/1 has been optimized so that + it is now almost as fast asbase64:decode/1; it + used be noticeably slower.

+

+ Own Id: OTP-14245

+
+ +

erl_tar will now strip any leading '/' + from pathnames when extracting files from a tar archive + and write a message to the error logger. There is also + new check for directory traversal attacks; if a relative + path points above the current working directory the + extraction will be aborted.

+

+ Own Id: OTP-14278

+
+ +

Miscellaneous updates due to atoms containing + arbitrary Unicode characters.

+

+ Own Id: OTP-14285

+
+ +

+ The Crypto application now supports generation of + cryptographically strong random numbers (floats < 1.0 + and integer arbitrary ranges) as a plugin to the 'rand' + module.

+

+ Own Id: OTP-14317 Aux Id: PR-1372

+
+ +

+ Add new function ets:select_replace/2 which + performs atomic "compare-and-swap" operations for ETS + objects using match specifications.

+

+ Own Id: OTP-14319 Aux Id: PR-1076

+
+ +

The Erlang code linter checks for bad dialyzer + attributes. It also checks for bad type variables in type + declarations.

+

+ Own Id: OTP-14323

+
+ +

Two new functions has been implemented in the + rand module; normal/2 and + normal_s/3, that both produce normal distribution + (pseudo) random numbers with mean value and variance + according to arguments.

+

+ Own Id: OTP-14328 Aux Id: PR-1382

+
+ +

+ Upgraded the OTP internal PCRE library from version 8.33 + to version 8.40. This library is used for implementation + of the re + regular expressions module.

+

+ Besides various bug fixes, the new version allows for + better stack protection. In order to utilize this + feature, the stack size of normal scheduler threads is + now by default set to 128 kilo words on all platforms. + The stack size of normal scheduler threads can be set + upon system start by passing the +sss + command line argument to the erl command.

+

+ See http://pcre.org/original/changelog.txt + for information about changes made to PCRE between the + versions 8.33 and 8.40.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14331 Aux Id: ERL-208

+
+ +

+ Added function re:version/0 which returns + information about the OTP internal PCRE version used for + implementation of the re module.

+

+ Own Id: OTP-14347 Aux Id: PR-1412

+
+ +

The format of debug information that is stored in BEAM + files (when debug_info is used) has been changed. + The purpose of the change is to better support other + BEAM-based languages such as Elixir or LFE.

+

All tools included in OTP (dialyzer, debugger, cover, + and so on) will handle both the new format and the + previous format. Tools that retrieve the debug + information using beam_lib:chunk(Beam, + [abstract_code]) will continue to work with both the + new and old format. Tools that call + beam_lib:chunk(Beam, ["Abst"]) will not work with + the new format.

+

For more information, see the description of + debug_info in the documentation for + beam_lib and the description of the + {debug_info,{Backend,Data}} option in the + documentation for compile.

+

+ Own Id: OTP-14369 Aux Id: PR-1367

+
+ +

+ Add option hibernate_after to gen_server, gen_statem and + gen_event. Also added to the deprecated gen_fsm + behaviour.

+

+ Own Id: OTP-14405

+
+ +

The size of crash reports created by + gen_server, gen_statem and proc_lib + is limited with aid of the Kernel application variable + error_logger_format_depth. The purpose is to limit + the size of the messages sent to the error_logger + process when processes with huge message queues or states + crash.

The crash report generated by + proc_lib includes the new tag + message_queue_len. The neighbour report also + includes the new tag current_stacktrace. Finally, + the neighbour report no longer includes the tags + messages and dictionary.

The new + function error_logger:get_format_depth/0 can be + used to retrieve the value of the Kernel application + variable error_logger_format_depth.

+

+ Own Id: OTP-14417

+
+
+
+ +
+
STDLIB 3.3
Fixed Bugs and Malfunctions diff --git a/lib/stdlib/vsn.mk b/lib/stdlib/vsn.mk index f7bd21472c..f062c7fe6e 100644 --- a/lib/stdlib/vsn.mk +++ b/lib/stdlib/vsn.mk @@ -1 +1 @@ -STDLIB_VSN = 3.3 +STDLIB_VSN = 3.4 diff --git a/lib/syntax_tools/doc/src/notes.xml b/lib/syntax_tools/doc/src/notes.xml index c2c6448ed6..f85d963919 100644 --- a/lib/syntax_tools/doc/src/notes.xml +++ b/lib/syntax_tools/doc/src/notes.xml @@ -32,6 +32,21 @@

This document describes the changes made to the Syntax_Tools application.

+
Syntax_Tools 2.1.2 + +
Improvements and New Features + + +

Miscellaneous updates due to atoms containing + arbitrary Unicode characters.

+

+ Own Id: OTP-14285

+
+
+
+ +
+
Syntax_Tools 2.1.1
Fixed Bugs and Malfunctions diff --git a/lib/syntax_tools/vsn.mk b/lib/syntax_tools/vsn.mk index c5e363112b..9b33f1e1f4 100644 --- a/lib/syntax_tools/vsn.mk +++ b/lib/syntax_tools/vsn.mk @@ -1 +1 @@ -SYNTAX_TOOLS_VSN = 2.1.1 +SYNTAX_TOOLS_VSN = 2.1.2 diff --git a/lib/tools/doc/src/notes.xml b/lib/tools/doc/src/notes.xml index bc17fd5307..bdd5455354 100644 --- a/lib/tools/doc/src/notes.xml +++ b/lib/tools/doc/src/notes.xml @@ -31,6 +31,41 @@

This document describes the changes made to the Tools application.

+
Tools 2.10 + +
Fixed Bugs and Malfunctions + + +

+ In some situations, make:all() and friends did not + detect changes in include files located in the current + directory. This is now corrected.

+

+ Own Id: OTP-14339 Aux Id: ERL-395

+
+
+
+ + +
Improvements and New Features + + +

The make module now accepts the + {emake,Emake} option.

+

+ Own Id: OTP-14253

+
+ +

Miscellaneous updates due to atoms containing + arbitrary Unicode characters.

+

+ Own Id: OTP-14285

+
+
+
+ +
+
Tools 2.9.1
Improvements and New Features diff --git a/lib/tools/vsn.mk b/lib/tools/vsn.mk index f60da27c44..8aa7814e1d 100644 --- a/lib/tools/vsn.mk +++ b/lib/tools/vsn.mk @@ -1 +1 @@ -TOOLS_VSN = 2.9.1 +TOOLS_VSN = 2.10 diff --git a/lib/wx/doc/src/notes.xml b/lib/wx/doc/src/notes.xml index 4bbef09142..d300ab5128 100644 --- a/lib/wx/doc/src/notes.xml +++ b/lib/wx/doc/src/notes.xml @@ -32,6 +32,21 @@

This document describes the changes made to the wxErlang application.

+
Wx 1.8.1 + +
Fixed Bugs and Malfunctions + + +

+ Fix a livelock that could be caused by wx:batch/1.

+

+ Own Id: OTP-14289

+
+
+
+ +
+
Wx 1.8
Fixed Bugs and Malfunctions diff --git a/lib/wx/vsn.mk b/lib/wx/vsn.mk index cfa256fb12..b9100e7c87 100644 --- a/lib/wx/vsn.mk +++ b/lib/wx/vsn.mk @@ -1 +1 @@ -WX_VSN = 1.8 +WX_VSN = 1.8.1 diff --git a/lib/xmerl/doc/src/notes.xml b/lib/xmerl/doc/src/notes.xml index 56856d026e..1162561225 100644 --- a/lib/xmerl/doc/src/notes.xml +++ b/lib/xmerl/doc/src/notes.xml @@ -32,6 +32,25 @@

This document describes the changes made to the Xmerl application.

+
Xmerl 1.3.15 + +
Fixed Bugs and Malfunctions + + +

+ Improves accumulator fun in xmerl_scan so that only one + #xmlText record is returned for strings which have + character references.

+

+ (Thanks to Jimmy Zöger)

+

+ Own Id: OTP-14377 Aux Id: PR-1369

+
+
+
+ +
+
Xmerl 1.3.14
Fixed Bugs and Malfunctions diff --git a/lib/xmerl/vsn.mk b/lib/xmerl/vsn.mk index 4e741d59a8..2e9c9061d9 100644 --- a/lib/xmerl/vsn.mk +++ b/lib/xmerl/vsn.mk @@ -1 +1 @@ -XMERL_VSN = 1.3.14 +XMERL_VSN = 1.3.15 -- cgit v1.2.3