Scheduled for Removal
View SourceIntroduction
This document list all functionality in Erlang/OTP that currently are scheduled for removal. For more information regarding the strategy regarding removal of functionality see the documentation of Support, Compatibility, Deprecations, and Removal.
OTP 30
Old aliases for type tests in guards
The type test aliases atom/1, binary/1, float/1, function/1,
integer/1, list/1, number/1, pid/1, port/1, record/2,
reference/1, and tuple/1, for the respective tests is_atom/1,
is_binary/1, is_float/1, ..., is_tuple/2, have been deprecated since
before OTP R13 and have been scheduled for removal in OTP 30. Note that
these aliases could only be used as guard tests at the top level. For
example, in {X, Y} when float(X), X =:= float(Y) -> ... the first use of
float/1 is a type test alias, but the second use is the normal
integer-to-float conversion BIF, because it occurs inside the =:=. The
aliases were never recognized outside guards.
Distribution Control Messages
ALIAS_SEND and ALIAS_SEND_TT
The ALIAS_SEND and
ALIAS_SEND_TT distribution
control messages are as of OTP 28 deprecated and have been scheduled for removal in
OTP 30. The support for these control messages are indicated by the
DFLAG_ALIAS distribution flag.
The ALIAS_SEND and ALIAS_SEND_TT control messages are as of OTP 28 replaced
by the ALTACT_SIG_SEND
control message. Support for the ALTACT_SIG_SEND control message is indicated
by the DFLAG_ALTACT_SIG
distribution flag.
OTP 29
Functions Scheduled for Removal in OTP 29
-
ct_slave:_/_(use ?CT_PEER(), or the 'peer' module instead) -
slave:_/_(use the 'peer' module instead)
OTP 28
Archives
The following features of archives will be removed:
Using archives for packaging a single application or parts of a single application into an archive file that is included in the code path.
All functionality to handle archives in module
erl_prim_loader.The
-code_path_choiceflag forerl.
The functionality to use a single archive file in Escripts is not
deprecated and will continue to work. However, to access files in the
archive, the escript:extract/2 function has to be used.
Functions Scheduled for Removal in OTP 28
-
disk_log:inc_wrap_file/1(use disk_log:next_file/1 instead)
OTP 27
Functions Scheduled for Removal in OTP 27
-
dbg:stop_clear/0(use dbg:stop/0 instead)