This document describes the release notes for older versions of the stdlib application.

## Stdlib 1.3.2

### Incompatibilities with Stdlib 1.3.1

Because of the major updates to the slave module a version of OTP with this new slave module as described here *cannot* start slave nodes on computers using an older version of OTP, and vice versa.

The return values from slave on error are changed (atoms are used instead of strings).

Own Id:OTP-1463

### Fixed Bugs and malfunctions

filename:basename("/foo/bar/") returned wrong result: []. The last / should be ignored and the result should be "bar".

Own Id:OTP-1451

### Improvements and new features

slave:start is enhanced to work on other platforms (e.g WIN32). Previously it was UNIX specific.

Own Id:OTP-1463

The timer module is modified to be a gen_server and is now supervised by the safe kernel supervisor.

Own Id: OTP-1469

## Stdlib 1.3.1

### Fixed Bugs and malfunctions

ets tables created before the system was converted to a distributed system could not be accessed then the system became distributed. The representation of the ets table identifier is thus changed.

Own Id: OTP-1393

## Stdlib 1.3

### Improvements and new features

erl_eval did crash on valid input like: `1> lists:sort(A=[1,2]).`

A correction conserning variable bindings is done.

Own Id: OTP-1295

dets:next did sometimes erreounously return '$end_of_table'.

Own Id: OTP-1293

Corrected spelling errors in help() printout from shell.

Own Id: OTP-1038

Added a new function sync_notify in gen_event.

Own Id: OTP-1310

The functions add_sup_handler/3 and swap_sup_handler/3 are added to the gen_event module. They are used to supervise gen_event handlers.

Own Id: OTP-1122

It is possible to add several handlers using the same call-back module to a gen_event event manager. Use the new {Module, Id} syntax for such event handlers.

gen_event generates an error report when a handler crashes.

Two new supervisor types rest_for_one and simple_one_for_one are added.

Own Id: OTP-1177

os:type/1 and its documentation is corrected.

Own Id: OTP-1185

The function init_ack/1 is added to the proc_lib module.

erl_lint produces warnings related to the behaviour module attribute. For example, missing call-back functions are reported. This feature is used by the compiler.

Own Id: OTP-1200

### Fixed Bugs and malfunctions

gen_server:cast and gen_server:abcast did sometimes crash if the server did not exist.

Own Id:OTP-1343

The ets reference manual is corrected to describe what happens when trying to access a non existant table.

Own Id:OTP-1244

### Incompatibilities with Stdlib 1.2

-

## Stdlib 1.2

### Improvements and new features

The dets module has been greatly enhanced. Previously the dets module had no real space management on the file. Now, space is managed on a per file basis by a builtin buddy system. This means that allocation is much faster. The format of a dets file is consequently also changed, the dets module will however recognize files with the old format and automatically upgrade the file to the new format the first time it is opened.

This has consequences for the Mnesia system, or rather it does not, since the version upgrade is done automatically.

A new module filename which has a number of useful functions for manipulation of filenames. These functions are recommended to use when writing applications which shall be runnable on a number of different platforms.

A new module os which provides functions which enables various information from the host operating system to the Erlang programmer. The function cmd/1 is equivalent with the unix:cmd/1 on a unix platform and will also be available on other platforms if applicable, e.g on Windows NT. This function is the recommended way of issuing operating system commands from Erlang programs (rather than unix:cmd/1). Other functions in the module are version and type> which give information about the host operating system version and type.

### Fixed Bugs and malfunctions

The ets man page updated (Name instead of Id).

Own Id: OTP-1001.

The ets module now handles arbitrarily many variables. Previously there was an upper limit of 10.

Own Id: OTP-1124.

## Stdlib 1.1

### Improvements and new features

Added disk_log, a disc based term logging facility.

Added dets, a disc based term storage.

Added proc_lib:start/3,4, proc_lib:start_link/3,4 and proc_lib:init_ack/2 for synchronous start of proc_lib processes.

Added regexp, regular expression functions for strings.

It is possible to have anonymous supervisors.

### Fixed Bugs and malfunctions

Fixed bug in timer there timeouts would cause an internal error under heavy load.

### Incompatibilities with OTP P1G

It is possible to change the internal state of the event manager using the gen_event:call function. The handle_call/2 call-back function should return in a similar way as the handle_event/2 function.

A gen_event worker should specify dynamic for modules in the supervisor child specification.

### Known bugs and problems

-