From 6e51c6d19612d03abc81b86bb70b8d7da678ce5d Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Tue, 21 Jun 2016 15:12:41 +0200 Subject: Prepare release --- lib/kernel/doc/src/notes.xml | 197 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 197 insertions(+) (limited to 'lib/kernel/doc') diff --git a/lib/kernel/doc/src/notes.xml b/lib/kernel/doc/src/notes.xml index d0540768de..f37433110c 100644 --- a/lib/kernel/doc/src/notes.xml +++ b/lib/kernel/doc/src/notes.xml @@ -31,6 +31,203 @@

This document describes the changes made to the Kernel application.

+
Kernel 5.0 + +
Fixed Bugs and Malfunctions + + +

The handling of on_load functions has been + improved. The major improvement is that if a code upgrade + fails because the on_load function fails, the + previous version of the module will now be retained.

+

+ Own Id: OTP-12593

+
+ +

rpc:call() and rpc:block_call() would + sometimes cause an exception (which was not mentioned in + the documentation). This has been corrected so that + {badrpc,Reason} will be returned instead.

+

+ Own Id: OTP-13409

+
+ +

On Windows, for modules that were loaded early (such + as the lists module), code:which/1 would + return the path with mixed slashes and backslashes, for + example: "C:\\Program + Files\\erl8.0/lib/stdlib-2.7/ebin/lists.beam". This + has been corrected.

+

+ Own Id: OTP-13410

+
+ +

+ Make file:datasync use fsync instead of fdatasync on Mac + OSX.

+

+ Own Id: OTP-13411

+
+ +

+ The default chunk size for the fallback sendfile + implementation, used on platforms that do not have a + native sendfile, has been decreased in order to reduce + connectivity issues.

+

+ Own Id: OTP-13444

+
+ +

+ Large file writes (2Gb or more) could fail on some Unix + platforms (for example, OS X and FreeBSD).

+

+ Own Id: OTP-13461

+
+ +

+ A bug has been fixed where the DNS resolver inet_res did + not refresh its view of the contents of for example + resolv.conf immediately after start and hence then failed + name resolution. Reported and fix suggested by Michal + Ptaszek in GitHUB pull req #949.

+

+ Own Id: OTP-13470 Aux Id: Pull #969

+
+ +

+ Fix process leak from global_group.

+

+ Own Id: OTP-13516 Aux Id: PR-1008

+
+ +

+ The function inet:gethostbyname/1 now honors the + resolver option inet6 instead of always looking up + IPv4 addresses.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13622 Aux Id: PR-1065

+
+ +

+ The Status argument to init:stop/1 is now + sanity checked to make sure erlang:halt does not + fail.

+

+ Own Id: OTP-13631 Aux Id: PR-911

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

+ Add {line_delim, byte()} option to inet:setopts/2 and + decode_packet/3

+

+ Own Id: OTP-12837

+
+ +

+ Added os:perf_counter/1.

+

+ The perf_counter is a very very cheap and high resolution + timer that can be used to timestamp system events. It + does not have monoticity guarantees, but should on most + OS's expose a monotonous time.

+

+ Own Id: OTP-12908

+
+ +

+ The os:cmd call has been optimized on unix platforms to + be scale better with the number of schedulers.

+

+ Own Id: OTP-13089

+
+ +

New functions that can load multiple modules at once + have been added to the 'code' module. The + functions are code:atomic_load/1, + code:prepare_loading/1, + code:finish_loading/1, and + code:ensure_modules_loaded/1.

+

+ Own Id: OTP-13111

+
+ +

+ The code path cache feature turned out not to be very + useful in practice and has been removed. If an attempt is + made to enable the code path cache, there will be a + warning report informing the user that the feature has + been removed.

+

+ Own Id: OTP-13191

+
+ +

When an attempt is made to start a distributed Erlang + node with the same name as an existing node, the error + message will be much shorter and easier to read than + before. Example:

+

Protocol 'inet_tcp': the name somename@somehost + seems to be in use by another Erlang node

+

+ Own Id: OTP-13294

+
+ +

+ The output of the default error logger is somewhat + prettier and easier to read. The default error logger is + used during start-up of the OTP system. If the start-up + fails, the output will be easier to read.

+

+ Own Id: OTP-13325

+
+ +

The functions rpc:safe_multi_server_call/2,3 + that were deprecated in R12B have been removed.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13449

+
+ +

+ Update the error reasons in dist_util, and show them in + the logs if net_kernel:verbose(1) has been called.

+

+ Own Id: OTP-13458

+
+ +

+ Experimental support for Unix Domain Sockets has been + implemented. Read the sources if you want to try it out. + Example: gen_udp:open(0, + [{ifaddr,{local,"/tmp/socket"}}]). Documentation will + be written after user feedback on the experimental API.

+

+ Own Id: OTP-13572 Aux Id: PR-612

+
+ +

+ Allow heart to be configured to not kill the previous + emulator before calling the HEART_COMMAND. This is done + by setting the environment variable HEART_NO_KILL to + TRUE.

+

+ Own Id: OTP-13650

+
+
+
+ +
+
Kernel 4.2
Fixed Bugs and Malfunctions -- cgit v1.2.3