From 2577befbd9f571c250652fd176e39becd4c8c7bc Mon Sep 17 00:00:00 2001 From: Vijay Menon Date: Tue, 14 Jun 2022 17:45:37 +0000 Subject: [PATCH] Update breaking change process to account for language versioning Change-Id: Ib349ff508c881a4ea2e77a1991ef13fdc1f68d45 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/248350 Reviewed-by: Bob Nystrom Commit-Queue: Vijay Menon Reviewed-by: Michael Thomsen --- docs/process/breaking-changes.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/process/breaking-changes.md b/docs/process/breaking-changes.md index 65d85f77cc0..88f2e2740a0 100644 --- a/docs/process/breaking-changes.md +++ b/docs/process/breaking-changes.md @@ -42,6 +42,12 @@ abide by the following basic conditions: documentation (for example, must not mixin a class clearly documented as not intended to be used as a mixin). +* Must set an explicit + [language version constraint](https://dart.dev/guides/language/evolution#language-versioning) + to indicate which version of the language it requires. Incompatibilities + introduced in new language versions are not considered breaking as long as + the SDK continues to support the older version of the language. + Compatibility is only considered between stable releases (i.e. releases from the [Dart stable channel](https://dart.dev/tools/sdk/archive#stable-channel)).