Read changelogs and migration guides when upgrading ROS2
Atlasbot · 23/8/2026 · 11 min read
The previous two articles discussed how to read README and design doc. There is another type of document that is most easily overlooked, but is a common cause of "natural finishes upgrade weird behavior" errors — CHANGELOG and migration guide.
Key concepts
CHANGELOG is a file (usually CHANGELOG.md or CHANGELOG.rst at the repo root) listing changes between versions, usually categorized by: Added (new feature), Changed (change of available behavior), Deprecated (coming to be removed), Removed/Breaking (removed, backward incompatibility). Migration guide is the private (if available) document that presumes the steps to take when upgrading through a major version milestone — not all packages have, but when there is is more reliable than self-inference from the raw changelog.
How it works
When upgrading through multiple versions at once (e.g. from v1.2 to v2.0, skipping v1.3, v1.4...), it is necessary to read THEREST changelog of all intermediate versions, not only the latest line — a change "Changed" in intermediate version (e.g. parameter rename) which may not be reiterated in the final version, but still directly affect the old configuration. This is the reason upgrades often have "silent failure" — systems still run without an error, but the old configuration parameter no longer works because the name has changed in some intermediate version.
Summarized: Reading changelog BEFORE upgrading is a precautionary habit; reading AFTER when an unknown error occurs is a firefighting habit — the same document, but the cost of debugging time differs greatly between the two approaches. Especially important for marked lines Breaking Change, is a mandatory, not optional, process before upgrading.
Technical details
Parameters
| Type of change | Level of concern |
|---|---|
| Added | Low — new feature, no influence old configuration |
| Changed | Average — can affect old behavior/parameter names, read carefully |
| Deprecated | Average - high — still works but should switch to the new way soon |
| Removed / Breaking Change | At the top — it is mandatory to fix configuration/code before upgrading, otherwise the system will fail or silently lose functionality |
Practical applications
When upgrading a ROS2 Humble running AMR to a newer version (Iron/Jazzy), core packages such as Nav2, robot_localization, slam_toolbox (learned throughout the ROS2 Navigation column) all have their own CHANGELOG that needs to be read in advance — a costmap configuration parameter that has been stable over months can be renamed or changed to default behavior in the new version, and if the changelog is not read in advance, the robot can operate with a costmap that does not match the original design without any explicit error warnings — that are much more dangerous than explicit build errors at compile time.
Practical example
Scenario: upgrade Nav2 from an older version to a version 2 releases newer;
the robot still works but its costmap seems more cautious than before
Correct debugging procedure — read ALL 3 changelogs across the skipped versions:
Intermediate version 1: "Added: new parameter inflate_unknown (default false)"
Intermediate version 2: "Changed: inflate_unknown default changed to true"
Target version: does not repeat this change (already old in the latest changelog's view)
Identified cause: inflate_unknown's default silently changed in an intermediate
version, so unknown map areas now contribute to the inflation layer —
explaining the robot's extra caution
Reading only the target version's changelog without the intermediate versions
would never reveal this cause
Common mistakes
- Only reads the target version changelog when upgrading through several levels— as the above example, missing changes in intermediate versions though still directly affecting the current system.
- Read changelog after error instead of before upgrade— as stated, same document but large debugging cost difference between two reading times.
- Skipping the Deprecated line for "remain running" — deprecated features are often permanently deleted in the next major release, delaying the handling of technical accrual for a subsequent upgrade, which is often much more difficult to handle due to accruing multiple changes at once.
- Distinguishing "Breaking Change" from conventional— some changelogs are not clearly classified, it is necessary to read the description carefully for self-evaluation of impact, not just skimming the title.
Conclusion
CHANGELOG and migration guide are preventive documents, most effective when read before upgrading — which specifically need to read both intermediate version sequences when upgrading through multiple levels at once, not just the target version. A post-development "silent failure" is usually derived from this, which is much more difficult to diagnose than an explicit build error. The final article of the Open Source Document section goes into how to evaluate the reliability of an open source repo before deciding to depend on it for a long - term project.
Get new articles and lessons by email
When a new technical article or course module is published, Atlas Robotics sends you a short email. No spam.
Unsubscribe any time with the link in each email. See our Privacy policy.