Stdlib Release Notes
Stdlib 1.11.0
Fixed errors and malfunctions
-
The nxdomain error code was added to the erl_posix_msg module.
(Own Id: OTP-2759)
(Aux Id: seq 1212)
-
lists:sort/2
and lists:merge/3
were not
stable. lists:ukeysort/3
and lists:usort/2
could leave duplicates. A bug in lists:umerge/3
has been
fixed.
(Own Id: OTP-4204)
-
Traversing a read only Dets table no longer results in a crash.
(Own Id: OTP-4208)
-
When converting a version 8 Dets file or repairing a version 9 Dets
file containing sufficiently large objects, the resulting file was
sometimes badly formed. This has been fixed.
(Own Id: OTP-4220)
-
Dets:
delete_object
after insert
on a table of set
type could cause crash; it was sometimes
impossible to open a fragmented table; init_table
did not
always call InitFun
exactly once;
delete_all_objects
did not handle fixed tables correctly.
(Own Id: OTP-4268)
-
Bugs have been fixed in the
erl_lint
module. The compile
options due to erl_lint
are now documented in
compile(3)
.
(Own Id: OTP-4356)
-
A bug in
sofs:drestriction/3
has been fixed.
(Own Id: OTP-4451)
-
A fun with 12 arguments called from the shell would only be passed the
first 11 arguments, causing a function_clause or badarity exception.
(Own Id: OTP-4456)
Improvements and new features
-
A convenient way to create match specifiactions for ets is provided by
the pseudo function ets:fun2ms/1 and the parse_transform ms_transform.
-
Documentation of the previously undocumented proc_lib:spawn_opt/4, and
the spawn_opt option of gen_server:start, and gen_fsm:start has been
added.
(Own Id: OTP-4189)
-
The
file_sorter
module now recognises a format called
binary
which compares binaries using the standard order of
terms.
(Own Id: OTP-4221)
-
Dets: The function
init_table
recognizes the new options
min_no_slots
and format
. The new function
bchunk
can be used in conjunction with
init_table
for copying open tables efficiently.
(Own Id: OTP-4268)
-
The
file_sorter
module now provides an easy way of passing
a value from input functions to output functions: if the last input
function returns {end_of_input, Value}
, the first output
function is called with the argument {value, Value}
.
(Own Id: OTP-4326)
-
The function ets:select_count/2 is added to the stdlib application.
(Own Id: OTP-4407)
(Aux Id: seq7482)
-
New functions
sofs:extension/3
and
sofs:partition/3
.
(Own Id: OTP-4449)
-
The undocumented and deprecated module 'bplus_tree' in stdlib has been
removed.
(*** POTENTIAL INCOMPATIBILITY ***)
(Own Id: OTP-4468)
-
The deprecated module 'unix' has been removed. (Use 'os' instead.)
(*** POTENTIAL INCOMPATIBILITY ***)
(Own Id: OTP-4470)
There are also release notes for
older versions.