As of OTP release 17, the OTP release number corresponds to
the major part of the OTP version. The OTP version as a concept was
introduced in OTP 17. The version scheme used is described in detail in
OTP of a specific version is a set of applications of specific versions. The application versions identified by an OTP version corresponds to application versions that have been tested together by the Erlang/OTP team at Ericsson AB. An OTP system can, however, be put together with applications from different OTP versions. Such a combination of application versions has not been tested by the Erlang/OTP team. It is therefore always preferred to use OTP applications from one single OTP version.
Release candidates have an
In an OTP source code tree, the OTP version can be read from
the text file
In an installed OTP development system, the OTP version can be read
from the text file
If the version read from the
No
The text file
<OtpVersion> : <ChangedAppVersions> # <UnchangedAppVersions> :
Both of them can be empty, but not at the same time.
If
By using ordinary UNIX tools like
Which OTP versions are
In which OTP version was
The above commands give a bit more information than the exact answers, but adequate information when manually searching for answers to these questions.
The format of the
As of OTP 17.0 application versions use the same
The version scheme was changed as of OTP 17.0. This implies
that application versions used prior to OTP 17.0 do not adhere to this
version scheme.
In the normal case, a version is constructed as
However, more dot-separated parts than this can exist.
The dot-separated parts consist of non-negative integers. If
all parts less significant than
When a part in the version number increases, all less significant
parts are set to
An application version or an OTP version identifies source code versions. That is, it implies nothing about how the application or OTP has been built.
Version numbers in general are only partially ordered. However, normal version numbers (with three parts) as of OTP 17.0 have a total or linear order. This applies both to normal OTP versions and normal application versions.
When comparing two version numbers that have an order, one compare each part as ordinary integers from the most significant part to less significant parts. The order is defined by the first parts of the same significance that differ. An OTP version with a larger version includes all changes that are part of a smaller OTP version. The same goes for application versions.
In general, versions can have more than three parts.
The versions are then only partially ordered. Such
versions are only used in exceptional cases. When an extra
part (out of the normal three parts) is added to a version number,
a new branch of versions is made. The new branch has a linear
order against the base version. However, versions on different
branches have no order, and therefore one can only conclude
that they all include what is included in their
closest common ancestor. When branching multiple times from the
same base version,
An example of branched versions: The version
The following list details the application versions that were part of OTP 17.0. If the normal part of an application version number compares as smaller than the corresponding application version in the list, the version number does not adhere to the version scheme introduced in OTP 17.0 and is to be considered as not having an order against versions used as of OTP 17.0.