From 77da984614ae462912a1896ba1bb73c798ffd4f8 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Thu, 19 Jun 2014 13:47:21 +0200 Subject: Prepare release --- lib/stdlib/doc/src/notes.xml | 81 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) (limited to 'lib/stdlib/doc') diff --git a/lib/stdlib/doc/src/notes.xml b/lib/stdlib/doc/src/notes.xml index 6af38b3166..0421d560b6 100644 --- a/lib/stdlib/doc/src/notes.xml +++ b/lib/stdlib/doc/src/notes.xml @@ -30,6 +30,87 @@

This document describes the changes made to the STDLIB application.

+
STDLIB 2.1 + +
Fixed Bugs and Malfunctions + + +

filelib:wildcard("broken_symlink") would return + an empty list if "broken_symlink" was a symlink that did + not point to an existing file.

+

+ Own Id: OTP-11850 Aux Id: seq12571

+
+ +

erl_tar can now handle files names that contain + Unicode characters. See "UNICODE SUPPORT" in the + documentation for erl_tar.

+

When creating a tar file, erl_tar would + sometime write a too short end of tape marker. GNU tar + would correctly extract files from such tar file, but + would complain about "A lone zero block at...".

+

+ Own Id: OTP-11854

+
+ +

When redefining and exporting the type map() + the Erlang Code Linter (erl_lint) erroneously + emitted an error. This bug has been fixed.

+

+ Own Id: OTP-11872

+
+ +

+ Fix evaluation of map updates in the debugger and + erl_eval

+

+ Reported-by: José Valim

+

+ Own Id: OTP-11922

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

The following native functions now bump an appropriate + amount of reductions and yield when out of + reductions:

+ erlang:binary_to_list/1 + erlang:binary_to_list/3 + erlang:bitstring_to_list/1 + erlang:list_to_binary/1 + erlang:iolist_to_binary/1 + erlang:list_to_bitstring/1 + binary:list_to_bin/1 +

Characteristics impact:

+ Performance The functions converting + from lists got a performance loss for very small lists, + and a performance gain for very large lists. + Priority Previously a process executing + one of these functions effectively got an unfair priority + boost. This priority boost depended on the input size. + The larger the input was, the larger the priority boost + got. This unfair priority boost is now lost. + +

+ Own Id: OTP-11888

+
+ +

+ Add maps:get/3 to maps module. The function will + return the supplied default value if the key does not + exist in the map.

+

+ Own Id: OTP-11951

+
+
+
+ +
+
STDLIB 2.0
Fixed Bugs and Malfunctions -- cgit v1.2.3