From c18b13d4c8aa31b145703bbbf228fb07d6b2a0a5 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Wed, 21 Jun 2017 10:53:19 +0200 Subject: Prepare release --- lib/kernel/doc/src/notes.xml | 155 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 155 insertions(+) (limited to 'lib/kernel/doc') 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 -- cgit v1.2.3