20042011 Ericsson AB. All Rights Reserved. The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. SASL Release Notes otp_appnotes nil nil nil notes.xml

This document describes the changes made to the SASL application.

SASL 2.1.9.3
Improvements and New Features

Honor start type in .rel files when building relup files

Previously, relup file always included an application:start(Application, permanent) apply instruction for every application that appear in the UpTo/DowFrom release file, whatever their start type in the release file.

The new implementation fixes this bug by honoring the start type according to the rel(5) format. If the start type is none, no apply line is included in the relup. If the start type is load, the relup includes instruction to only load the application. Otherwise, the relup includes an instruction to start the application to the according type.

The fix is implemented by adding a new parameter to the add_application high level appup instruction. This new parameter is documented in appup(5).

Own Id: OTP-9097

SASL 2.1.9.2
Fixed Bugs and Malfunctions

In R13B04 sys:get_status was modified to invoke format_status/2 in the callback module if the module exports that function. This resulted in a change to the term returned from calling sys:get_status on the supervisor module, since supervisor is a gen_server and gen_server exports format_status. The sasl release_handler_1 module had a dependency on the pre-R13B04 term returned by sys:get_status when invoked on a supervisor, so the R13B04 change broke that dependency.

This problem has been fixed by change release_handler_1 to handle both the pre-R13B04 and R13B04 terms that sys:get_status can return from a supervisor.

Own Id: OTP-8619 Aux Id: seq11570

SASL 2.1.9.1
Improvements and New Features

Use an infinity timeout in all calls to gen_server:call() in the sasl application.

Own Id: OTP-8506 Aux Id: seq11509

SASL 2.1.9
Improvements and New Features

The re:grep/1 function now uses the 're' module instead of the deprecated 'regexp' module. There are new functions rb:filter/1 and rb:filter/2 for easier filtering of reports. (Thanks to Alvaro Videla.)

Own Id: OTP-8443

There is new function sasl_report:format_report/3 that works like the existing sasl_report:write_report/3 function except that it returns a formatted string. Note that there is currently no documentation for the sasl_report module. (Thanks to Jay Nelson.)

Own Id: OTP-8445

Cleanups suggested by tidier and modernization of types and specs.

Own Id: OTP-8455

SASL 2.1.8
Improvements and New Features

The documentation is now built with open source tools (xsltproc and fop) that exists on most platforms. One visible change is that the frames are removed.

Own Id: OTP-8201

SASL 2.1.7
Improvements and New Features

The Windows utility Erlsrv, run in interactive mode now accepts options for registering internal service name and description field of Windows registry database.

Own Id: OTP-8132

SASL 2.1.6
Fixed Bugs and Malfunctions

When using the SASL application configuration parameter masters the error tuple {error,{no_such_file,{Master,FileName}}} was sometimes returned even though the file FileName existed.

Own Id: OTP-7667

Improvements and New Features

Missing preloaded modules added

Own Id: OTP-7820

SASL 2.1.5.4
Improvements and New Features

A Dialyzer warning was eliminated

Own Id: OTP-7635

SASL 2.1.5.3
Improvements and New Features

Minor changes.

Own Id: OTP-7388

SASL 2.1.5.2
Improvements and New Features

Minor updates.

Own Id: OTP-6998

SASL 2.1.5.1
Improvements and New Features

Minor Makefile changes.

Own Id: OTP-6689

Obsolete guard tests (such as list()) have been replaced with the modern guard tests (such as is_list()).

Own Id: OTP-6725

SASL 2.1.5
Fixed Bugs and Malfunctions

Removed some dead code from erlsrv:get_service/2, release_handler:do_write_file/2, systools_relup:foreach_baserel_up/7 and systools_relup:foreach_baserel_dn/7.

Own Id: OTP-6499

SASL 2.1.4
Improvements and New Features

Added an option {outdir,Dir} to the functions in systools, making it possible to specify in which directory a boot script, relup file or release package file should be placed.

Also, when using systools:make_tar/2 to create a release package file, the boot script, relup file and sys.config are now searched for also in the current working directory and any directory specified by the path option, not only in the directory of the .rel file.

As part of the work some minor bugs have been corrected:

systools:make_script/1,2 now returns error if the .script and/or .boot file could not be opened for writing, not ok.

systools:make_tar/1,2 can now handle a RelName argument which includes a path. Previously this would cause the .rel file to end up in the wrong directory in the resulting tar file.

A documentation error for systools:make_tar/1,2: The .rel file is placed in the releases directory in the tar file, not releases/RelVsn.

Own Id: OTP-6226

SASL 2.1.3
Fixed Bugs and Malfunctions

release_handler:upgrade_app/2 and release_handler:downgrade_app/2,3 -- used for testing application upgrade and downgrade according to the .appup file -- now update application configuration parameters correctly. (Thanks to Serge Aleynikov)

Own Id: OTP-6162

SASL 2.1.2
Fixed Bugs and Malfunctions

Fixed some minor bugs in release_handler found by Dialyzer.

Own Id: OTP-6039

SASL 2.1.1
Improvements and New Features

Added a number of functions to release_handler which makes it possible to test upgrade and downgrade of applications according to an .appup file "on the fly":

- upgrade_app/2

- upgrade_script/2

- downgrade_app/2,3

- downgrade_script/3

- eval_appup_script/4

Own Id: OTP-5858

SASL 2.1
Improvements and New Features

A new option {update_paths,Bool} has been added for release_handler:install_release/2. It indicates if all application code paths should be updated (Bool==true), or if only code paths for modified applications should be updated (Bool==false, default).

release_handler:set_unpacked/2 now returns an error tuple if a specified application directory does not exist.

*** POTENTIAL INCOMPATIBILITY ***

Own Id: OTP-5761

SASL 2.0.1
Improvements and New Features

A bug that made it impossible to call rb:show(N) (N being an integer) twice without getting an error has been fixed.

Own Id: OTP-5287