There are a few threads about how to handle the version number with semver upon changes in dependencies (usually resulting in a +1 to the patch number). Mine is probably a corner case: what if you are just updating a development dependency (e.g., a linter, a test library, a formatter...)?
Usually, from the user perspective nothing changes. Sometimes, nothing changes into the business code at all! However, you are formally in front of a potentially different codebase which relies on a different dependency set. Should I bump my library from, say, 1.0.0
to 1.0.1
, or should I stick to the current version number?
Example 1 (Python) Bumped black (formatter), pytest (testing library), and mypy (linter). New versions do not change the business code.
Example 2 (Python) Bumped pytest (testing library) and refactored some tests thanx to the new pytest API. Again, no actual changes to the business code.