You're reading the documentation for an older, but still supported, version of ROS 2. For information on the latest version, please have a look at Jazzy.
Migration Guides
Coming from ros_control (ROS 1)
Between different ROS 2 distributions
This list summarizes necessary changes to your code for a version update to humble. If you are skipping a distribution update, make sure to read the migration guides of all intermediate distributions.
For non-breaking updates, see the Release Notes.