From f719d0fe308f00b85f92c29d7cdf9b0dc20d98a2 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Mon, 7 Apr 2014 19:52:48 +0200 Subject: Update release notes --- lib/asn1/doc/src/notes.xml | 106 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) (limited to 'lib/asn1') diff --git a/lib/asn1/doc/src/notes.xml b/lib/asn1/doc/src/notes.xml index ff7962edd9..cb89bb298b 100644 --- a/lib/asn1/doc/src/notes.xml +++ b/lib/asn1/doc/src/notes.xml @@ -31,6 +31,112 @@

This document describes the changes made to the asn1 application.

+
Asn1 3.0 + +
Fixed Bugs and Malfunctions + + +

+ Subtyping an extensible ENUMERATED would cause an + compilation error. (Thanks to Morten Nygaard Åsnes for + reporting this bug.)

+

+ Own Id: OTP-11700

+
+ +

When specifying the value for an OCTET STRING in a + specification, the ASN.1 standard clearly states that the + value must be either a bstring or an hstring, but NOT a + cstring. The ASN.1 compiler will now generate a + compilation error if the value of an OCTET STRING is + given as a character string.

+

That is, the following example is now illegal:

+

string OCTET STRING ::= "Now illegal"

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-11727

+
+ +

+ Application upgrade (appup) files are corrected for the + following applications:

+

+ asn1, common_test, compiler, crypto, debugger, + dialyzer, edoc, eldap, erl_docgen, et, eunit, gs, hipe, + inets, observer, odbc, os_mon, otp_mibs, parsetools, + percept, public_key, reltool, runtime_tools, ssh, + syntax_tools, test_server, tools, typer, webtool, wx, + xmerl

+

+ A new test utility for testing appup files is added to + test_server. This is now used by most applications in + OTP.

+

+ (Thanks to Tobias Schlager)

+

+ Own Id: OTP-11744

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

+ By giving --enable-static-{nifs,drivers} to configure it + is now possible to statically linking of nifs and drivers + to the main Erlang VM binary. At the moment only the asn1 + and crypto nifs of the Erlang/OTP nifs and drivers have + been prepared to be statically linked. For more details + see the Installation Guide in the System documentation.

+

+ Own Id: OTP-11258

+
+ +

Code generation for the per and uper + backends has been somewhat improved.

+

+ Own Id: OTP-11573

+
+ +

The OCTET STRING and BIT STRING types now have a more + natural mapping to Erlang types (binary and bitstring, + respectively), which is more efficient and will avoid + useless conversions between lists and + binaries/bitstrings.

+

This is an incompatible change. To revert to the old + mapping to support existing applications, use the + legacy_erlang_types option.

+

Impact: There is a potential for better performance, + as it is now possible to avoid conversions between lists + and binaries both in the generated ASN.1 encode/decode + code and in the application itself.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-11594

+
+ +

All functions in the asn1rt module, as well as + asn1ct:decode/3 and asn1ct:encode/3, are + now deprecated.

+

+ Own Id: OTP-11731

+
+ +

+ Generated .hrl files are now protected from being + included more than once.

+

+ Own Id: OTP-11804

+
+
+
+ +
+
Asn1 2.0.4
Fixed Bugs and Malfunctions -- cgit v1.2.3