From e81af8308df29d34204e0fe7b6661379ef8e066b Mon Sep 17 00:00:00 2001 From: Zanie Date: Tue, 24 Oct 2023 10:19:27 -0500 Subject: [PATCH] Add note about scope of rule changing in versioning policy --- docs/versioning.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/versioning.md b/docs/versioning.md index c0499839044aa..afd76c947c259 100644 --- a/docs/versioning.md +++ b/docs/versioning.md @@ -13,6 +13,8 @@ Ruff uses a custom versioning scheme that uses the **minor** version number for - Support for a new file type is promoted to stable - Support for an end-of-life Python version is dropped - The behavior of a stable rule is changed + - The scope of a stable rule is significantly increased + - The intent of the rule changes - Does not include bug fixes that follow the original intent of the rule - Stable rules are added to the default set - Stable rules are removed from the default set @@ -23,6 +25,7 @@ Ruff uses a custom versioning scheme that uses the **minor** version number for - Bugs are fixed, _including behavior changes that fix bugs_ - An unsafe fix for a rule is added - A safe fix for a rule is added in preview +- The scope of a rule is increased in preview - A fix’s applicability is demoted - A new configuration option is added - A rule is added in preview