From 4d658008be5a08ddadbe75ebadb9ef124436b76e Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Tue, 14 Mar 2017 15:59:23 +0100 Subject: Prepare release --- lib/stdlib/doc/src/notes.xml | 104 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) (limited to 'lib/stdlib/doc') diff --git a/lib/stdlib/doc/src/notes.xml b/lib/stdlib/doc/src/notes.xml index 0143686bb2..bb35224182 100644 --- a/lib/stdlib/doc/src/notes.xml +++ b/lib/stdlib/doc/src/notes.xml @@ -31,6 +31,110 @@

This document describes the changes made to the STDLIB application.

+
STDLIB 3.3 + +
Fixed Bugs and Malfunctions + + +

An escript with only two lines would not work.

+

+ Own Id: OTP-14098

+
+ +

Characters ($char) can be used in constant + pattern expressions. They can also be used in types and + contracts.

+

+ Own Id: OTP-14103 Aux Id: ERL-313

+
+ +

The signatures of erl_parse:anno_to_term/1 and + erl_parse:anno_from_term/1 are corrected. Using + these functions no longer results in false Dialyzer + warnings.

+

+ Own Id: OTP-14131

+
+ +

Pretty-printing of maps is improved.

+

+ Own Id: OTP-14175 Aux Id: seq13277

+
+ +

If any of the following functions in the zip + module crashed, a file would be left open: + extract(), unzip(), create(), or + zip(). This has been corrected.

+

A zip file having a "Unix header" could not be + unpacked.

+

+ Own Id: OTP-14189 Aux Id: ERL-348, ERL-349

+
+ +

Improve the Erlang shell's tab-completion of long + names.

+

+ Own Id: OTP-14200 Aux Id: ERL-352

+
+ +

+ The reference manual for sys had some faulty + information about the 'get_modules' message used by + processes where modules change dynamically during + runtime. The documentation is now corrected.

+

+ Own Id: OTP-14248 Aux Id: ERL-367

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

+ Bug fixes, new features and improvements to gen_statem:

+

+ A new type init_result/1 has replaced the old + init_result/0, so if you used that old type (that was + never documented) you have to change your code, which may + be regarded as a potential incompatibility.

+

+ Changing callback modes after code change did not work + since the new callback mode was not recorded. This bug + has been fixed.

+

+ The event types state_timeout and {call,From} could not + be generated with a {next_event,EventType,EventContent} + action since they did not pass the runtime type check. + This bug has now been corrected.

+

+ State entry calls can now be repeated using (new) state + callback returns {repeat_state,...}, + {repeat_state_and_data,_} and repeat_state_and_data.

+

+ There have been lots of code cleanup in particular + regarding timer handling. For example is async + cancel_timer now used. Error handling has also been + cleaned up.

+

+ To align with probable future changes to the rest of + gen_*, terminate/3 has now got a fallback and + code_change/4 is not mandatory.

+

+ Own Id: OTP-14114

+
+ +

filename:safe_relative_path/1 to sanitize a + relative path has been added.

+

+ Own Id: OTP-14215

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