From 202bb737e3deabfebee683266f4b7c42781eb521 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Mon, 30 Apr 2018 10:06:42 +0200 Subject: Update release notes --- lib/asn1/doc/src/notes.xml | 15 ++ lib/common_test/doc/src/notes.xml | 15 ++ lib/compiler/doc/src/notes.xml | 198 +++++++++++++++++++++ lib/crypto/doc/src/notes.xml | 39 +++++ lib/debugger/doc/src/notes.xml | 15 ++ lib/dialyzer/doc/src/notes.xml | 40 +++++ lib/diameter/doc/src/notes.xml | 15 ++ lib/edoc/doc/src/notes.xml | 15 ++ lib/eldap/doc/src/notes.xml | 15 ++ lib/erl_docgen/doc/src/notes.xml | 23 ++- lib/erl_interface/doc/src/notes.xml | 16 ++ lib/et/doc/src/notes.xml | 15 ++ lib/eunit/doc/src/notes.xml | 15 ++ lib/hipe/doc/src/notes.xml | 45 +++++ lib/inets/doc/src/notes.xml | 62 ++++++- lib/jinterface/doc/src/notes.xml | 15 ++ lib/kernel/doc/src/notes.xml | 192 +++++++++++++++++++++ lib/mnesia/doc/src/notes.xml | 17 +- lib/observer/doc/src/notes.xml | 29 ++++ lib/os_mon/doc/src/notes.xml | 16 ++ lib/parsetools/doc/src/notes.xml | 15 ++ lib/public_key/doc/src/notes.xml | 28 +++ lib/reltool/doc/src/notes.xml | 17 +- lib/runtime_tools/doc/src/notes.xml | 16 ++ lib/sasl/doc/src/notes.xml | 45 +++++ lib/ssh/doc/src/notes.xml | 116 +++++++++++++ lib/ssl/doc/src/notes.xml | 102 +++++++++++ lib/stdlib/doc/src/notes.xml | 331 ++++++++++++++++++++++++++++++++++++ lib/syntax_tools/doc/src/notes.xml | 15 ++ lib/tools/doc/src/notes.xml | 21 +++ lib/wx/doc/src/notes.xml | 16 ++ lib/xmerl/doc/src/notes.xml | 15 ++ 32 files changed, 1545 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/asn1/doc/src/notes.xml b/lib/asn1/doc/src/notes.xml index bb15c9ff5f..10b0e4c45f 100644 --- a/lib/asn1/doc/src/notes.xml +++ b/lib/asn1/doc/src/notes.xml @@ -32,6 +32,21 @@

This document describes the changes made to the asn1 application.

+
Asn1 5.0.6 + +
Improvements and New Features + + +

+ Update to use the new string api instead of the old.

+

+ Own Id: OTP-15036

+
+
+
+ +
+
Asn1 5.0.5
Fixed Bugs and Malfunctions diff --git a/lib/common_test/doc/src/notes.xml b/lib/common_test/doc/src/notes.xml index 7e909b24cd..c5df590b3f 100644 --- a/lib/common_test/doc/src/notes.xml +++ b/lib/common_test/doc/src/notes.xml @@ -33,6 +33,21 @@ notes.xml +
Common_Test 1.16 + +
Improvements and New Features + + +

+ Use uri_string module instead of http_uri.

+

+ Own Id: OTP-14902

+
+
+
+ +
+
Common_Test 1.15.4
Fixed Bugs and Malfunctions diff --git a/lib/compiler/doc/src/notes.xml b/lib/compiler/doc/src/notes.xml index bc1f68337b..9cb1fc1ba7 100644 --- a/lib/compiler/doc/src/notes.xml +++ b/lib/compiler/doc/src/notes.xml @@ -32,6 +32,204 @@

This document describes the changes made to the Compiler application.

+
Compiler 7.2 + +
Fixed Bugs and Malfunctions + + +

Fixed an error in an optimization pass that caused + impossible tuple matching.

+

+ Own Id: OTP-14855 Aux Id: ERL-549

+
+ +

The exception thrown when a list comprehension was + given a non-list term was not always correct.

+

+ Own Id: OTP-14992 Aux Id: ERL-572

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

Changed the default behaviour of .erlang + loading: .erlang is no longer loaded from the + current directory. c:erlangrc(PathList) can be + used to search and load an .erlang file from user + specified directories.

escript, + erlc, dialyzer and typer no longer + load an .erlang at all.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14439

+
+ +

Support for "tuple calls" have been removed from the + run-time system. Tuple calls was an undocumented and + unsupported feature which allowed the module argument for + an apply operation to be a tuple: Var = dict:new(), + Var:size(). This "feature" frequently caused + confuses, especially when such call failed. The + stacktrace would point out functions that don't exist in + the source code.

+

For legacy code that need to use parameterized modules + or tuple calls for some other reason, there is a new + compiler option called tuple_calls. When this + option is given, the compiler will generate extra code + that emulates the old behavior for calls where the module + is a variable.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14497

+
+ +

In code such as example({ok, Val}) -> {ok, + Val}. a tuple would be built. The compiler will now + automatically rewrite the code to + example({ok,Val}=Tuple) -> Tuple. which will + reduce code size, execution time, and remove GC + pressure.

+

+ Own Id: OTP-14505

+
+ +

The optimization of case expression where only + one of the case arms can execute successfully has been + improved.

+

+ Own Id: OTP-14525

+
+ +

Some uses of binary matching has been slightly + improved, eliminating unnecessary register shuffling.

+

+ Own Id: OTP-14594 Aux Id: ERL-444

+
+ +

There is a new {compile_info,Info} option for + the compiler that allows BEAM-based languages such as + Elixir and LFE to add their own compiler versions.

+

+ Own Id: OTP-14615 Aux Id: PR-1558

+
+ +

Loaded BEAM code in a 64-bit system requires less + memory because of better packing of operands for + instructions.

+

These memory savings were achieved by major + improvements to the beam_makeops scripts used when + building the run time system and BEAM compiler. There is + also new for documentation for beam_makeops that + describes how new BEAM instructions and loader + transformations can be implemented. The documentation is + found in here in a source directory or git repository: + erts/emulator/internal_doc/beam_makeops.md. An online + version can be found here: + https://github.com/erlang/otp/blob/master/erts/emulator/internal_doc/beam_makeops.md

+

+ Own Id: OTP-14626

+
+ +

Size calculations for binary constructions has been + somewhat optimized, producing smaller code.

+

+ Own Id: OTP-14654

+
+ +

When the value returned from a 'catch' + expression is ignored, no stacktrace will be built if an + exception is caught. That will save time and produce less + garbage. There are also some minor optimizations of + 'try/catch' both in the compiler and + run-time system.

+

+ Own Id: OTP-14683

+
+ +

There is a new syntax in 'try/catch' for + retrieving the stacktrace without calling + 'erlang:get_stacktrace/0'. See the reference + manual for a description of the new syntax. The + 'erlang:get_stacktrace/0' BIF is now + deprecated.

+

+ Own Id: OTP-14692

+
+ +

The following is an internal change in the compiler, + that is not noticeable for normal use of the compiler: + The module v3_life has been removed. Its + functionality has been simplified and integrated into + v3_codegen.

+

+ Own Id: OTP-14712

+
+ +

The optimization of binary matching that delays + creation of sub binaries (see the Efficiency Guide) could + be thwarted by the argument order and could be necessary + to change the argument order. The compiler has now become + smarter and can handle any argument order.

+

+ Own Id: OTP-14774

+
+ +

When the compiler was faced with complex case + expressions it would unnecessarily allocate stack + elements and shuffle data between x and y registers. + Improved code generation to only allocate a stack frame + when strictly necessary.

+

+ Own Id: OTP-14808 Aux Id: ERL-514

+
+ +

There is a new option 'makedep_side_effect' for + the compiler and -MMD for 'erlc' that + generates dependencies and continues to compile as + normal.

+

+ Own Id: OTP-14830

+
+ +

When compiling modules with huge functions, the + compiler would generate a lot of atoms for its internal, + sometimes so many that the atom table would overflow. The + compiler has been rewritten to generate far less internal + atoms to avoid filling the atom table.

+

+ Own Id: OTP-14968 Aux Id: ERL-563

+
+ +

External funs with literal values for module, name, + and arity (e.g. erlang:abs/1) are now treated as + literals. That means more efficient code that produces + less garbage on the heap.

+

+ Own Id: OTP-15003

+
+ +

The map_get/2 guard BIF has been added. It + works the same way as maps:get/2, except that it + is allowed to use it in guards.

+

+ Own Id: OTP-15037 Aux Id: PR-1784

+
+ +

A call or apply of a literal external fun will be + replaced with a direct call.

+

+ Own Id: OTP-15044 Aux Id: ERL-614

+
+
+
+ +
+
Compiler 7.1.5
Fixed Bugs and Malfunctions diff --git a/lib/crypto/doc/src/notes.xml b/lib/crypto/doc/src/notes.xml index 1f788a4e35..bad78a9113 100644 --- a/lib/crypto/doc/src/notes.xml +++ b/lib/crypto/doc/src/notes.xml @@ -31,6 +31,45 @@

This document describes the changes made to the Crypto application.

+
Crypto 4.3 + +
Fixed Bugs and Malfunctions + + +

+ Removed two undocumented and erroneous functions + (crypto:dh_generate_parameters/2 and + crypto:dh_check/1).

+

+ Own Id: OTP-14956 Aux Id: ERL-579

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

+ A new rand plugin algorithm has been implemented + in crypto, that is: crypto_cache. It uses + strong random bytes as randomness source and caches them + to get good speed. See crypto:rand_seed_alg/1.

+

+ Own Id: OTP-13370 Aux Id: PR-1573

+
+ +

+ Diffie-Hellman key functions are re-written with the + EVP_PKEY api.

+

+ Own Id: OTP-14864

+
+
+
+ +
+
Crypto 4.2.1
Fixed Bugs and Malfunctions diff --git a/lib/debugger/doc/src/notes.xml b/lib/debugger/doc/src/notes.xml index e71746e30d..c77607f01c 100644 --- a/lib/debugger/doc/src/notes.xml +++ b/lib/debugger/doc/src/notes.xml @@ -33,6 +33,21 @@

This document describes the changes made to the Debugger application.

+
Debugger 4.2.5 + +
Fixed Bugs and Malfunctions + + +

Fix a bug where calling a fun inside a binary would + crash the Debugger.

+

+ Own Id: OTP-14957 Aux Id: PR-1741

+
+
+
+ +
+
Debugger 4.2.4
Fixed Bugs and Malfunctions diff --git a/lib/dialyzer/doc/src/notes.xml b/lib/dialyzer/doc/src/notes.xml index 8d11252bff..6fc753907c 100644 --- a/lib/dialyzer/doc/src/notes.xml +++ b/lib/dialyzer/doc/src/notes.xml @@ -32,6 +32,46 @@

This document describes the changes made to the Dialyzer application.

+
Dialyzer 3.3 + +
Improvements and New Features + + +

Changed the default behaviour of .erlang + loading: .erlang is no longer loaded from the + current directory. c:erlangrc(PathList) can be + used to search and load an .erlang file from user + specified directories.

escript, + erlc, dialyzer and typer no longer + load an .erlang at all.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14439

+
+ +

Dialyzer can no longer read BEAM files created with + OTP 19 or earlier.

+

+ Own Id: OTP-14493 Aux Id: PR-1434

+
+ +

Speed up the computation of MD5 sums.

+

+ Own Id: OTP-14937 Aux Id: PR-1719

+
+ +

Fix a situation where Dialyzer unnecessarily + discarded contract information, resulting in missed + warnings.

+

+ Own Id: OTP-14970 Aux Id: PR-1722

+
+
+
+ +
+
Dialyzer 3.2.4
Fixed Bugs and Malfunctions diff --git a/lib/diameter/doc/src/notes.xml b/lib/diameter/doc/src/notes.xml index f74a4ca2a2..3aaf17bc60 100644 --- a/lib/diameter/doc/src/notes.xml +++ b/lib/diameter/doc/src/notes.xml @@ -43,6 +43,21 @@ first.

+
diameter 2.1.5 + +
Fixed Bugs and Malfunctions + + +

+ Fix documentation typos.

+

+ Own Id: OTP-15045

+
+
+
+ +
+
diameter 2.1.4
Fixed Bugs and Malfunctions diff --git a/lib/edoc/doc/src/notes.xml b/lib/edoc/doc/src/notes.xml index 240789e876..853cc792e0 100644 --- a/lib/edoc/doc/src/notes.xml +++ b/lib/edoc/doc/src/notes.xml @@ -32,6 +32,21 @@

This document describes the changes made to the EDoc application.

+
Edoc 0.9.3 + +
Improvements and New Features + + +

+ Update to use the new string api instead of the old.

+

+ Own Id: OTP-15036

+
+
+
+ +
+
Edoc 0.9.2
Fixed Bugs and Malfunctions diff --git a/lib/eldap/doc/src/notes.xml b/lib/eldap/doc/src/notes.xml index 8b066671ee..3007068eeb 100644 --- a/lib/eldap/doc/src/notes.xml +++ b/lib/eldap/doc/src/notes.xml @@ -31,6 +31,21 @@

This document describes the changes made to the Eldap application.

+
Eldap 1.2.4 + +
Improvements and New Features + + +

+ Update to use the new string api instead of the old.

+

+ Own Id: OTP-15036

+
+
+
+ +
+
Eldap 1.2.3
Fixed Bugs and Malfunctions diff --git a/lib/erl_docgen/doc/src/notes.xml b/lib/erl_docgen/doc/src/notes.xml index 2652b4b0c8..8bf5087cc0 100644 --- a/lib/erl_docgen/doc/src/notes.xml +++ b/lib/erl_docgen/doc/src/notes.xml @@ -31,7 +31,28 @@

This document describes the changes made to the erl_docgen application.

-
Erl_Docgen 0.7.2 +
Erl_Docgen 0.8 + +
Improvements and New Features + + +

+ Add a hoverable element to the titles in the html + documentation with a link to github where the + documentation can be edited.

+

+ Make the anchors in the html User's Guide and system + documentation use the title of the sections instead of a + generated id.

+

+ Own Id: OTP-14979

+
+
+
+ +
+ +
Erl_Docgen 0.7.2
Fixed Bugs and Malfunctions diff --git a/lib/erl_interface/doc/src/notes.xml b/lib/erl_interface/doc/src/notes.xml index f165dde259..34c72e7d5f 100644 --- a/lib/erl_interface/doc/src/notes.xml +++ b/lib/erl_interface/doc/src/notes.xml @@ -31,6 +31,22 @@

This document describes the changes made to the Erl_interface application.

+
Erl_Interface 3.10.3 + +
Fixed Bugs and Malfunctions + + +

+ Fix bug where calling erl_init on certain platforms could + result in a buffer overflow bug.

+

+ Own Id: OTP-15033

+
+
+
+ +
+
Erl_Interface 3.10.2
Fixed Bugs and Malfunctions diff --git a/lib/et/doc/src/notes.xml b/lib/et/doc/src/notes.xml index f0995b7c19..14e674c7c9 100644 --- a/lib/et/doc/src/notes.xml +++ b/lib/et/doc/src/notes.xml @@ -37,6 +37,21 @@ one section in this document. The title of each section is the version number of Event Tracer (ET).

+
ET 1.6.2 + +
Improvements and New Features + + +

Calls to erlang:get_stacktrace() are removed. +

+

+ Own Id: OTP-14861

+
+
+
+ +
+
ET 1.6.1
Improvements and New Features diff --git a/lib/eunit/doc/src/notes.xml b/lib/eunit/doc/src/notes.xml index b38cb2e70e..037586b9d1 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.6 + +
Improvements and New Features + + +

Calls to erlang:get_stacktrace() are removed. +

+

+ Own Id: OTP-14861

+
+
+
+ +
+
Eunit 2.3.5
Fixed Bugs and Malfunctions diff --git a/lib/hipe/doc/src/notes.xml b/lib/hipe/doc/src/notes.xml index c190a89260..b6801b6302 100644 --- a/lib/hipe/doc/src/notes.xml +++ b/lib/hipe/doc/src/notes.xml @@ -31,6 +31,51 @@

This document describes the changes made to HiPE.

+
Hipe 3.18 + +
Improvements and New Features + + +

+ Optimize receive statements that are only waiting + for messages containing a reference created before the + receive. All messages that existed in the queue when the + reference was created will be bypassed, as they cannot + possibly contain the reference. This optimization has + existed for vanilla BEAM since OTP R14.

+

+ Own Id: OTP-14785 Aux Id: PR-1632

+
+ +

+ Add validation pass to hipe compiler to detect internal + errors causing primop calls that may trigger an unsafe GC + at run-time. The pass can be disabled with option + no_verify_gcsafe.

+

+ Own Id: OTP-14900 Aux Id: PR-1685, PR-1621

+
+ +

+ Make hipe compiled code work on x86_64 (amd64) with OS + security feature PIE, where executable code can be loaded + into a random location. Old behavior, if hipe was + enabled, was to disable PIE build options for the VM.

+

+ Own Id: OTP-14903

+
+ +

+ Inline more type test BIFs; is_number, + is_bitstring, is_map.

+

+ Own Id: OTP-14941 Aux Id: PR-1718

+
+
+
+ +
+
Hipe 3.17.1
Fixed Bugs and Malfunctions diff --git a/lib/inets/doc/src/notes.xml b/lib/inets/doc/src/notes.xml index 10dd26322c..9357207867 100644 --- a/lib/inets/doc/src/notes.xml +++ b/lib/inets/doc/src/notes.xml @@ -33,7 +33,67 @@ notes.xml -
Inets 6.5.1 +
Inets 7.0 + +
Fixed Bugs and Malfunctions + + +

+ Fixed HTTP content injection bug in httpc (ERL-456).

+

+ Own Id: OTP-14726

+
+ +

+ Fixed support for URI-references in HTTP 'Location' + header (ERL-333).

+

+ Own Id: OTP-14729

+
+ +

+ Fix broken 'Content-Type' handling in httpc (ERL-536).

+

+ Own Id: OTP-15006

+
+ +

+ Fix handling of relative paths in the script_alias + property of httpd (ERL-574).

+

+ Own Id: OTP-15021

+
+ +

+ Fix httpd:reload_config/2 with path() as the first + argument (ERL-578).

+

+ Own Id: OTP-15025

+
+ +

+ Improved gracefulness.

+

+ Own Id: OTP-15042

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

+ Split inets and create separate ftp and tftp apps.

+

+ Own Id: OTP-14113

+
+
+
+ +
+ +
Inets 6.5.1
Fixed Bugs and Malfunctions diff --git a/lib/jinterface/doc/src/notes.xml b/lib/jinterface/doc/src/notes.xml index 346d467c2d..7f85517ca4 100644 --- a/lib/jinterface/doc/src/notes.xml +++ b/lib/jinterface/doc/src/notes.xml @@ -31,6 +31,21 @@

This document describes the changes made to the Jinterface application.

+
Jinterface 1.9 + +
Improvements and New Features + + +

+ Add module package name for Java 9

+

+ Own Id: OTP-14844

+
+
+
+ +
+
Jinterface 1.8.1
Fixed Bugs and Malfunctions diff --git a/lib/kernel/doc/src/notes.xml b/lib/kernel/doc/src/notes.xml index 09844f1502..b02545877e 100644 --- a/lib/kernel/doc/src/notes.xml +++ b/lib/kernel/doc/src/notes.xml @@ -31,6 +31,198 @@

This document describes the changes made to the Kernel application.

+
Kernel 6.0 + +
Fixed Bugs and Malfunctions + + +

Clarify the documentation of rpc:multicall/5. +

+

+ Own Id: OTP-10551

+
+ +

+ The DNS resolver when getting econnrefused from a server + retained an invalid socket so look up towards the next + server(s) also failed.

+

+ Own Id: OTP-13133 Aux Id: PR-1557

+
+ +

+ No resolver backend returns V4Mapped IPv6 addresses any + more. This was inconsistent before, some did, some did + not. To facilitate working with such addresses a new + function inet:ipv4_mapped_ipv6_address/1 has been + added.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13761 Aux Id: ERL-503

+
+ +

+ The type specifications for file:posix/0 and + inet:posix/0 have been updated according to which + errors file and socket operations should be able to + return.

+

+ Own Id: OTP-14019 Aux Id: ERL-550

+
+ +

+ Fix name resolving in IPv6 only environments when doing + the initial distributed connection.

+

+ Own Id: OTP-14501

+
+ +

File operations used to accept filenames + containing null characters (integer value zero). This + caused the name to be truncated and in some cases + arguments to primitive operations to be mixed up. + Filenames containing null characters inside the filename + are now rejected and will cause primitive file + operations to fail.

Also environment variable + operations used to accept names and + values of + environment variables containing null characters (integer + value zero). This caused operations to silently produce + erroneous results. Environment variable names and values + containing null characters inside the name or value are + now rejected and will cause environment variable + operations to fail.

Primitive environment + variable operations also used to accept the $= + character in environment variable names causing various + problems. $= characters in environment variable + names are now also rejected.

Also + os:cmd/1 now + reject null characters inside its command. +

erlang:open_port/2 + will also reject null characters inside the port name + from now on.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14543 Aux Id: ERL-370

+
+ +

os:putenv and os:getenv no longer access + the process environment directly and instead work on a + thread-safe emulation. The only observable difference is + that it's not kept in sync with libc + getenv(3) / putenv(3), so those who relied + on that behavior in drivers or NIFs will need to add + manual synchronization.

On Windows this means that + you can no longer resolve DLL dependencies by modifying + the PATH just before loading the driver/NIF. To + make this less of a problem, the emulator now adds the + target DLL's folder to the DLL search path.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14666

+
+ +

+ Fixed connection tick toward primitive hidden nodes + (erl_interface) that could cause faulty tick timeout in + rare cases when payload data is sent to hidden node but + not received.

+

+ Own Id: OTP-14681

+
+ +

+ Make group react immediately on an EXIT-signal from shell + in e.g ssh.

+

+ Own Id: OTP-14991 Aux Id: PR1705

+
+ +

+ Calls to gen_tcp:send/2 on closed sockets now returns + {error, closed} instead of + {error,enotconn}.

+

+ Own Id: OTP-15001

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

+ A new logging API is added to OTP. This is implemented in + the Kernel application, module logger.

+

+ Legacy calls to error_logger will be automatically + redirected to the new API.

+

+ See the reference manual for module logger, and the + User's Guide for the Kernel application for more + information.

+

+ Own Id: OTP-13295

+
+ +

+ The function inet:i/0 has been documented.

+

+ Own Id: OTP-13713 Aux Id: PR-1645

+
+ +

+ New functionality for implementation of alternative + carriers for the Erlang distribution has been introduced. + This mainly consists of support for usage of distribution + controller processes (previously only ports could be used + as distribution controllers). For more information see + ERTS + User's Guide ➜ How to implement an Alternative Carrier + for the Erlang Distribution ➜ Distribution + Module.

+

+ Own Id: OTP-14459

+
+ +

seq_trace labels may now be any erlang + term.

+

+ Own Id: OTP-14899

+
+ +

+ The SSL distribution protocol -proto inet_tls has + stopped setting the SSL option + server_name_indication. New verify funs for client + and server in inet_tls_dist has been added, not + documented yet, that checks node name if present in peer + certificate. Usage is still also yet to be documented.

+

+ Own Id: OTP-14969 Aux Id: OTP-14465, ERL-598

+
+ +

+ Changed timeout of gen_server calls to auth + server from default 5 seconds to infinity.

+

+ Own Id: OTP-15009 Aux Id: ERL-601

+
+
+
+ +
+
Kernel 5.4.3
Fixed Bugs and Malfunctions diff --git a/lib/mnesia/doc/src/notes.xml b/lib/mnesia/doc/src/notes.xml index ba94e913f5..c78ba2e5c0 100644 --- a/lib/mnesia/doc/src/notes.xml +++ b/lib/mnesia/doc/src/notes.xml @@ -39,7 +39,22 @@ thus constitutes one section in this document. The title of each section is the version number of Mnesia.

-
Mnesia 4.15.3 +
Mnesia 4.15.4 + +
Improvements and New Features + + +

Calls to erlang:get_stacktrace() are removed. +

+

+ Own Id: OTP-14861

+
+
+
+ +
+ +
Mnesia 4.15.3
Fixed Bugs and Malfunctions diff --git a/lib/observer/doc/src/notes.xml b/lib/observer/doc/src/notes.xml index c0b8309af6..5548b21fc5 100644 --- a/lib/observer/doc/src/notes.xml +++ b/lib/observer/doc/src/notes.xml @@ -32,6 +32,35 @@

This document describes the changes made to the Observer application.

+
Observer 2.8 + +
Fixed Bugs and Malfunctions + + +

+ Added possibility to garbage collect selected processes + and fixed a crash when the saved config file contained + bad data.

+

+ Own Id: OTP-14993 Aux Id: PR-1666

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

+ Use uri_string module instead of http_uri.

+

+ Own Id: OTP-14902

+
+
+
+ +
+
Observer 2.7
Fixed Bugs and Malfunctions diff --git a/lib/os_mon/doc/src/notes.xml b/lib/os_mon/doc/src/notes.xml index cec0856a8b..a08a6b7184 100644 --- a/lib/os_mon/doc/src/notes.xml +++ b/lib/os_mon/doc/src/notes.xml @@ -31,6 +31,22 @@

This document describes the changes made to the OS_Mon application.

+
Os_Mon 2.4.5 + +
Fixed Bugs and Malfunctions + + +

+ Fix disksup to handle mount paths with spaces in + them.

+

+ Own Id: OTP-14513

+
+
+
+ +
+
Os_Mon 2.4.4
Fixed Bugs and Malfunctions diff --git a/lib/parsetools/doc/src/notes.xml b/lib/parsetools/doc/src/notes.xml index b3370a06ab..a925894ff2 100644 --- a/lib/parsetools/doc/src/notes.xml +++ b/lib/parsetools/doc/src/notes.xml @@ -31,6 +31,21 @@

This document describes the changes made to the Parsetools application.

+
Parsetools 2.1.7 + +
Improvements and New Features + + +

Calls to erlang:get_stacktrace() are removed. +

+

+ Own Id: OTP-14861

+
+
+
+ +
+
Parsetools 2.1.6
Fixed Bugs and Malfunctions diff --git a/lib/public_key/doc/src/notes.xml b/lib/public_key/doc/src/notes.xml index 11012ee9e5..2403c32431 100644 --- a/lib/public_key/doc/src/notes.xml +++ b/lib/public_key/doc/src/notes.xml @@ -35,6 +35,34 @@ notes.xml +
Public_Key 1.6 + +
Fixed Bugs and Malfunctions + + +

+ Update calls to the base64 module to conform to that + module's type specifications.

+

+ Own Id: OTP-14788 Aux Id: OTP-14624

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

+ Use uri_string module instead of http_uri.

+

+ Own Id: OTP-14902

+
+
+
+ +
+
Public_Key 1.5.2
Fixed Bugs and Malfunctions diff --git a/lib/reltool/doc/src/notes.xml b/lib/reltool/doc/src/notes.xml index d7ad7c8dcc..3c0d282ba6 100644 --- a/lib/reltool/doc/src/notes.xml +++ b/lib/reltool/doc/src/notes.xml @@ -38,7 +38,22 @@ thus constitutes one section in this document. The title of each section is the version number of Reltool.

-
Reltool 0.7.5 +
Reltool 0.7.6 + +
Improvements and New Features + + +

Calls to erlang:get_stacktrace() are removed. +

+

+ Own Id: OTP-14861

+
+
+
+ +
+ +
Reltool 0.7.5
Improvements and New Features diff --git a/lib/runtime_tools/doc/src/notes.xml b/lib/runtime_tools/doc/src/notes.xml index 355e3dd40d..fb13b74888 100644 --- a/lib/runtime_tools/doc/src/notes.xml +++ b/lib/runtime_tools/doc/src/notes.xml @@ -32,6 +32,22 @@

This document describes the changes made to the Runtime_Tools application.

+
Runtime_Tools 1.13 + +
Improvements and New Features + + +

+ New utility module scheduler which makes it easier + to measure scheduler utilization.

+

+ Own Id: OTP-14904

+
+
+
+ +
+
Runtime_Tools 1.12.5
Fixed Bugs and Malfunctions diff --git a/lib/sasl/doc/src/notes.xml b/lib/sasl/doc/src/notes.xml index 791e9c063a..c2c5c39789 100644 --- a/lib/sasl/doc/src/notes.xml +++ b/lib/sasl/doc/src/notes.xml @@ -31,6 +31,51 @@

This document describes the changes made to the SASL application.

+
SASL 3.2 + +
Improvements and New Features + + +

+ A new logging API is added to OTP. This is implemented in + the Kernel application, module logger.

+

+ Legacy calls to error_logger will be automatically + redirected to the new API.

+

+ See the reference manual for module logger, and the + User's Guide for the Kernel application for more + information.

+

+ Own Id: OTP-13295

+
+ +

+ The old and out-dated "Status Inspection" tool (modules + si and si_sasl_sup) is removed.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14469

+
+ +

+ When creating the release tar file, systools now includes + sys.config.src if it exists in the + $ROOT/releases/<vsn>/ directory. This is to allow + adjustments, e.g. resolving environment variables, after + unpacking the release, but before installing it. This + functionality requires a custom tool which uses + sys.config.src as input and creates a correct sys.config + file.

+

+ Own Id: OTP-14950 Aux Id: PR-1560

+
+
+
+ +
+
SASL 3.1.2
Fixed Bugs and Malfunctions diff --git a/lib/ssh/doc/src/notes.xml b/lib/ssh/doc/src/notes.xml index d78309167a..5ad8467f6d 100644 --- a/lib/ssh/doc/src/notes.xml +++ b/lib/ssh/doc/src/notes.xml @@ -30,6 +30,122 @@ notes.xml +
Ssh 4.7 + +
Fixed Bugs and Malfunctions + + +

+ Updated ssh_connection:shell/2 documentation.

+

+ Own Id: OTP-14880

+
+ +

+ If the daemon port listener is restarted, it could + potentially fail with eaddrinuse if the timing is + unlucky. It will now retry and exponentially back off the + listener restart a few times before failing.

+

+ Own Id: OTP-14955

+
+ +

+ An ssh_sftp server (running version 6) could fail if it + is told to remove a file which in fact is a directory.

+

+ Own Id: OTP-15004

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

+ An option exec for daemons implementing the 'exec' + has existed a long time but has been undocumented. The + old behaviour is kept for compatibility EXCEPT that error + messages are changed and are sent as "stderror" text.

+

+ A new option value is defined to make it much more easy + to implement an own exec server.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14851

+
+ +

+ The undocumented ssh_dbg module is completely re-written + to facilitate tracing/debugging.

+

+ Own Id: OTP-14896

+
+ +

+ The SSH supervisor structure has been slightly changed. + This makes stopping the ssh application considerably + faster if there are open connections. This is important + in for example restarts.

+

+ Own Id: OTP-14988

+
+ +

+ The type specifications in SSH are reworked and the + following types are renamed:

+

+ ssh:ssh_connection_ref() is changed to + ssh:connection_ref(),

+

+ ssh:ssh_daemon_ref() is changed to ssh:daemon_ref(),

+

+ ssh:ssh_channel_id() is changed to ssh:channel_id().

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-15002 Aux Id: OTP-15030

+
+ +

+ Removed unused ssh_client_key.erl and + ssh_server_key.erl.

+

+ Own Id: OTP-15028

+
+ +

+ The Reference Manual pages are partly updated.

+

+ The ssh page is now generated from specs and types, is + restructured and is partly rephrased.

+

+ The ssh_channel, ssh_connection, ssh_client_key_api, + ssh_server_key_api and ssh_sftp pages are updated with + links, correct type names and some minor changes.

+

+ Own Id: OTP-15030 Aux Id: OTP-15002

+
+ +

+ The behaviors ssh_channel and + ssh_daemon_channel are renamed to + ssh_client_channel and ssh_server_channel + respectively.

+

+ The old modules are kept for compatibility but should + preferably be replaced when updating callback modules + referring them.

+

+ Own Id: OTP-15041

+
+
+
+ +
+
Ssh 4.6.8
Fixed Bugs and Malfunctions diff --git a/lib/ssl/doc/src/notes.xml b/lib/ssl/doc/src/notes.xml index 4ad7da9486..c45d806420 100644 --- a/lib/ssl/doc/src/notes.xml +++ b/lib/ssl/doc/src/notes.xml @@ -27,6 +27,108 @@

This document describes the changes made to the SSL application.

+
SSL 9.0 + +
Fixed Bugs and Malfunctions + + +

+ Proper handling of clients that choose to send an empty + answer to a certificate request

+

+ Own Id: OTP-15050

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

+ Distribution over SSL (inet_tls) has, to improve + performance, been rewritten to not use intermediate + processes and ports.

+

+ Own Id: OTP-14465

+
+ +

+ Add suport for ECDHE_PSK cipher suites

+

+ Own Id: OTP-14547

+
+ +

+ For security reasons no longer support 3-DES cipher + suites by default

+

+ *** INCOMPATIBILITY with possibly ***

+

+ Own Id: OTP-14768

+
+ +

+ For security reasons RSA-key exchange cipher suites are + no longer supported by default

+

+ *** INCOMPATIBILITY with possible ***

+

+ Own Id: OTP-14769

+
+ +

+ The interoperability option to fallback to insecure + renegotiation now has to be explicitly turned on.

+

+ *** INCOMPATIBILITY with possibly ***

+

+ Own Id: OTP-14789

+
+ +

+ Drop support for SSLv2 enabled clients. SSLv2 has been + broken for decades and never supported by the Erlang + SSL/TLS implementation. This option was by default + disabled and enabling it has proved to sometimes break + connections not using SSLv2 enabled clients.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14824

+
+ +

+ Remove CHACHA20_POLY1305 ciphers form default for now. We + have discovered interoperability problems, ERL-538, that + we believe needs to be solved in crypto.

+

+ *** INCOMPATIBILITY with possibly ***

+

+ Own Id: OTP-14882

+
+ +

+ Use uri_string module instead of http_uri.

+

+ Own Id: OTP-14902

+
+ +

+ The SSL distribution protocol -proto inet_tls has + stopped setting the SSL option + server_name_indication. New verify funs for client + and server in inet_tls_dist has been added, not + documented yet, that checks node name if present in peer + certificate. Usage is still also yet to be documented.

+

+ Own Id: OTP-14969 Aux Id: OTP-14465, ERL-598

+
+
+
+ +
+
SSL 8.2.5
Fixed Bugs and Malfunctions diff --git a/lib/stdlib/doc/src/notes.xml b/lib/stdlib/doc/src/notes.xml index e26c4aba74..09290585ad 100644 --- a/lib/stdlib/doc/src/notes.xml +++ b/lib/stdlib/doc/src/notes.xml @@ -31,6 +31,337 @@

This document describes the changes made to the STDLIB application.

+
STDLIB 3.5 + +
Fixed Bugs and Malfunctions + + +

When using an exception that is valid but not allowed + in a state enter call, the reason has been changed from + {bad_action_from_state_function,Action} to + {bad_state_enter_action_from_state_function,Action}. +

Timer parsing has been improved. Many erroneous + timeout tuples was not handled correctly.

The + documentation has been updated, in particular the User's + Guide and the pointer to it from the Reference Manual is + much more obvious.

+

+ Own Id: OTP-14015

+
+ +

+ The type specifications for file:posix/0 and + inet:posix/0 have been updated according to which + errors file and socket operations should be able to + return.

+

+ Own Id: OTP-14019 Aux Id: ERL-550

+
+ +

File operations used to accept filenames + containing null characters (integer value zero). This + caused the name to be truncated and in some cases + arguments to primitive operations to be mixed up. + Filenames containing null characters inside the filename + are now rejected and will cause primitive file + operations to fail.

Also environment variable + operations used to accept names and + values of + environment variables containing null characters (integer + value zero). This caused operations to silently produce + erroneous results. Environment variable names and values + containing null characters inside the name or value are + now rejected and will cause environment variable + operations to fail.

Primitive environment + variable operations also used to accept the $= + character in environment variable names causing various + problems. $= characters in environment variable + names are now also rejected.

Also + os:cmd/1 now + reject null characters inside its command. +

erlang:open_port/2 + will also reject null characters inside the port name + from now on.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14543 Aux Id: ERL-370

+
+ +

Make io_lib:unscan_format/1 work with pad char + and default precision.

+

+ Own Id: OTP-14958 Aux Id: PR-1735

+
+ +

The control sequence modifiers t and l + can be used together in the same control sequence which + makes it possible to have Unicode atoms and no detection + of printable character lists at the same time.

+

+ Own Id: OTP-14971 Aux Id: PR-1743

+
+ +

Fix a bug in the Erlang code linter: the check of + guard expressions no longer returns false if the + map syntax is used. The bug affected the Erlang shell, + the Debugger, and other modules evaluating abstract code. +

+

+ Own Id: OTP-15035 Aux Id: ERL-613

+
+ +

+ A sys debug fun of type {Fun,State} should not be + possible to install twice. This was, however, possible if + the current State was 'undefined', which was mistaken for + non-existing fun. This has been corrected.

+

+ Own Id: OTP-15049

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

+ The gen_server has gotten a new callback + handle_continue/2 for check pointing the state. + This is useful at least when implementing behaviours on + top of gen_server and for some start up scenarios.

+

+ Own Id: OTP-13019 Aux Id: PR-1490

+
+ +

The semantics of timeout parameter + {clean_timeout,infinity} to + gen_statem:call/3 has been changed to use a proxy + process for the call. With this change + clean_timeout implicates a proxy process with no + exceptions. This may be a hard to observe + incompatibility: in the presence of network problems a + late reply could arrive in the caller's message queue + when catching errors. That will not happen after this + correction.

The semantics of timeout parameter + infinity has not been changed.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13073 Aux Id: PR-1595

+
+ +

+ A new logging API is added to OTP. This is implemented in + the Kernel application, module logger.

+

+ Legacy calls to error_logger will be automatically + redirected to the new API.

+

+ See the reference manual for module logger, and the + User's Guide for the Kernel application for more + information.

+

+ Own Id: OTP-13295

+
+ +

Add functions + calendar:system_time_to_local_time/2 and + calendar:system_time_to_universal_time/2.

+

+ Own Id: OTP-13413

+
+ +

Functions rand:uniform_real/0 and + rand:uniform_real_s/1 have been added. They + produce uniformly distributed numbers in the range 0.0 + =< X < 1.0 that are as close to random real + numbers as Normalized IEEE 754 Double Precision allows. + Because the random real number exactly 0.0 is + infinitely improbable they will never return exactly + 0.0.

These properties are useful when you + need to call for example math:log(X) or 1 / + X on a random value X, since that will never + fail with a number from these new functions.

+

+ Own Id: OTP-13764 Aux Id: PR-1574

+
+ +

+ Added maps:iterator/0 and maps:next/1 to be used for + iterating over the key-value associations in a map.

+

+ Own Id: OTP-14012

+
+ +

Changed the default behaviour of .erlang + loading: .erlang is no longer loaded from the + current directory. c:erlangrc(PathList) can be + used to search and load an .erlang file from user + specified directories.

escript, + erlc, dialyzer and typer no longer + load an .erlang at all.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14439

+
+ +

+ Added new uri_string module to stdlib for handling URIs + (RFC 3986).

+

+ Own Id: OTP-14496

+
+ +

+ Update Unicode specification to version 10.0.

+

+ Own Id: OTP-14503

+
+ +

filelib:wildcard() now allows characters with a + special meaning to be escaped using backslashes.

+

This is an incompatible change, but note that the use + of backslashes in wildcards would already work + differently on Windows and Unix. Existing calls to + filelib:wildcard() needs to be updated. On + Windows, directory separators must always be written as a + slash.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14577

+
+ +

+ The supervisor now stores its child specifications in a + map instead of a list. This causes a significant + improvement when starting many children under a + non-simple_one_for_one supervisor.

+

+ Own Id: OTP-14586

+
+ +

The base64 module is optimized.

Note + that the functions encode/1, decode/1, and + mime_decode/1 fail unless called with an argument + of the documented type. They used to accept any + iodata().

+

+ Own Id: OTP-14624 Aux Id: PR-1565

+
+ +

Add function lists:search/2.

+

+ Own Id: OTP-14675 Aux Id: PR-102

+
+ +

+ uri_string module extended with functions for handling + application/x-www-form-urlencoded query strings based on + the HTML5 specification.

+

+ Own Id: OTP-14747

+
+ +

Add functions + calendar:rfc3339_to_system_time/1,2 and + calendar:system_time_to_rfc3339/1,2.

+

+ Own Id: OTP-14764

+
+ +

The stack traces returned by the functions of the + erl_eval module more accurately reflect where the + exception occurred.

+

+ Own Id: OTP-14826 Aux Id: PR 1540

+
+ +

Add options atime, mtime, ctime, + uid, and gid to the erl_tar:add/3,4 + functions.

+

+ Own Id: OTP-14834 Aux Id: PR 1608

+
+ +

Added ets:whereis/1 for retrieving the table + identifier of a named table.

+

+ Own Id: OTP-14884

+
+ +

+ Improved URI normalization functions in the uri_string + module.

+

+ Own Id: OTP-14910

+
+ +

The new functions io_lib:fwrite/3 and + io_lib:format/3 take a third argument, an option + list. The only option is chars_limit, which is + used for limiting the number of returned characters. The + limit is soft, which means that the number of returned + characters exceeds the limit with at most a smallish + amount. If the limit is set, the functions + format/3 and fwrite/3 try to distribute the + number of characters evenly over the control sequences + pPswW. Furthermore, the control sequences + pPwP try to distribute the number of characters + evenly over substructures.

A modification of the + control sequences pPwW is that even if there is no + limit on the number of returned characters, all + associations of a map are printed to the same depth. The + aim is to give a more consistent output as the order of + map keys is not defined. As before, if the depth is less + than the number of associations of a map, the selection + of associations to print is arbitrary.

+

+ Own Id: OTP-14983

+
+ +

Add functions ordsets:is_empty/1 and + sets:is_empty/1.

+

+ Own Id: OTP-14996 Aux Id: ERL-557, PR-1703

+
+ +

External funs with literal values for module, name, + and arity (e.g. erlang:abs/1) are now treated as + literals. That means more efficient code that produces + less garbage on the heap.

+

+ Own Id: OTP-15003

+
+ +

+ sys:statistics(Pid,get) did not report 'out' messages + from gen_server. This is now corrected.

+

+ Own Id: OTP-15047

+
+ +

+ A sys debug function can now have the format + {Id,Fun,State} in addition to the old {Fun,State}. This + allows installing multiple instances of a debug fun.

+

+ Own Id: OTP-15048

+
+
+
+ +
+
STDLIB 3.4.5
Fixed Bugs and Malfunctions diff --git a/lib/syntax_tools/doc/src/notes.xml b/lib/syntax_tools/doc/src/notes.xml index bd2bcde2c2..4ff23aaaca 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.5 + +
Improvements and New Features + + +

+ Update to use the new string api instead of the old.

+

+ Own Id: OTP-15036

+
+
+
+ +
+
Syntax_Tools 2.1.4
Fixed Bugs and Malfunctions diff --git a/lib/tools/doc/src/notes.xml b/lib/tools/doc/src/notes.xml index 45f276c09e..6452080572 100644 --- a/lib/tools/doc/src/notes.xml +++ b/lib/tools/doc/src/notes.xml @@ -31,6 +31,27 @@

This document describes the changes made to the Tools application.

+
Tools 3.0 + +
Improvements and New Features + + +

Added instrument:allocations and + instrument:carriers for retrieving information + about memory utilization and fragmentation.

+

The old instrument interface has been removed, + as have the related options +Mim and + +Mis.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-14961

+
+
+
+ +
+
Tools 2.11.2
Fixed Bugs and Malfunctions diff --git a/lib/wx/doc/src/notes.xml b/lib/wx/doc/src/notes.xml index 69ea906ec0..ffe05726c4 100644 --- a/lib/wx/doc/src/notes.xml +++ b/lib/wx/doc/src/notes.xml @@ -32,6 +32,22 @@

This document describes the changes made to the wxErlang application.

+
Wx 1.8.4 + +
Improvements and New Features + + +

+ Changed implementation so wx can now be built towards + wxWidgets-3.1.1.

+

+ Own Id: OTP-15027

+
+
+
+ +
+
Wx 1.8.3
Fixed Bugs and Malfunctions diff --git a/lib/xmerl/doc/src/notes.xml b/lib/xmerl/doc/src/notes.xml index f62a8dc53d..6959bb77c7 100644 --- a/lib/xmerl/doc/src/notes.xml +++ b/lib/xmerl/doc/src/notes.xml @@ -32,6 +32,21 @@

This document describes the changes made to the Xmerl application.

+
Xmerl 1.3.17 + +
Fixed Bugs and Malfunctions + + +

+ Fix typos in documentation.

+

+ Own Id: OTP-15039

+
+
+
+ +
+
Xmerl 1.3.16
Fixed Bugs and Malfunctions -- cgit v1.2.3