From e81f990b6ff6a920112ecf6b3d2044ff2b83dd33 Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Thu, 21 Nov 2024 09:42:48 -0500 Subject: [PATCH] Add changelog --- changelog.d/pr-10554 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 changelog.d/pr-10554 diff --git a/changelog.d/pr-10554 b/changelog.d/pr-10554 new file mode 100644 index 00000000000..e55de4d38d7 --- /dev/null +++ b/changelog.d/pr-10554 @@ -0,0 +1,12 @@ +--- +synopsis: Adds more version range checks to `cabal check`. +packages: [Cabal-syntax, Cabal] +prs: 10554 +issues: 9806 +--- + +For dependencies, warns about and checks that version range bounds for: + +- lower bounds are inclusive, don't use (>) +- upper bounds are exclusive, don't use (<=) +- upper bounds don't have trailing zeros, don't end with (*.0)