The ABI of Rack is its machine-readable list of symbols (functions, globals, and classes) that can only be accessed in specific ways.
Rack's API consists of C and C++ headers (.h
and .hpp
files) that define how the ABI can be used.
Rack plugins must be compiled against a particular major version of Rack, so that when Rack loads them, they link to Rack's symbols correctly.
The major version is X
in the version name vX.Y
(or v0.X.Y
for beta versions).
In rare cases, symbols might be added to the API/ABI of Rack in a minor version update. Plugins may use these new symbols, but note that they cannot be loaded with older versions of Rack. Users will need to upgrade their Rack minor version to load your plugin.
Once a symbol is added to a minor version update, its API/ABI is not changed.
The minor version is Y
in the version name vX.Y
(or v0.X.Y
for beta versions).
This is similar to how VST plugins work, where for example, VST 2.3 plugins cannot load in DAWs that only implement the VST 2.2 standard, except that Rack releases versions more frequently at this time.
In Rack's git repository, each major version has its own branch, labeled v0.5
, v0.6
, etc.
There is no master
branch.
The default branch on GitHub is the major version for the latest release of Rack listed at vcvrack.com.
To update the major version of your source tree, simply check out its branch.
It is highly recommended to run make clean
in the root and dep/
directories after or before switching branches.
When any version of Rack is released, the build's commit is tagged with its full version name (e.g. v0.6.0
).
However, this is only for informative purposes.
Building from “detached heads” of branches is not supported, since dependency URLs and other issues may need to be fixed after time has passed from the release date.