From a57f5ce1fd60e1e2574cf893edac92da30459262 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 16 Jun 2025 16:27:27 -0700 Subject: [PATCH] Fix FAQ entry about fixing accidental breaking changes See https://github.com/semver/semver/issues/1068#issuecomment-2977375544 --- semver.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semver.md b/semver.md index 22c9573..9417c7b 100644 --- a/semver.md +++ b/semver.md @@ -285,7 +285,7 @@ API can keep everyone and everything running smoothly. ### What do I do if I accidentally release a backward incompatible change as a minor version? As soon as you realize that you've broken the Semantic Versioning spec, fix -the problem and release a new minor version that corrects the problem and +the problem and release a new patch version that corrects the problem and restores backward compatibility. Even under this circumstance, it is unacceptable to modify versioned releases. If it's appropriate, document the offending version and inform your users of the problem so that