From 3e9352b9d2b5c199339ab081a01476cd4b9df5d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9cate=20Moonlight?= Date: Thu, 21 Nov 2024 20:33:27 +0100 Subject: [PATCH 1/3] Create changelogs for 3.14.1.0 --- Cabal-syntax/ChangeLog.md | 2 +- Cabal/ChangeLog.md | 3 ++ cabal-install-solver/ChangeLog.md | 2 +- cabal-install/changelog | 3 ++ changelog.d/i10418 | 13 -------- changelog.d/pr-10468 | 31 ------------------- changelog.d/pr-10486 | 12 -------- changelog.d/pr-10507 | 16 ---------- changelog.d/t10416 | 11 ------- release-notes/Cabal-3.14.1.0.md | 40 +++++++++++++++++++++++++ release-notes/cabal-install-3.14.1.0.md | 16 ++++++++++ 11 files changed, 64 insertions(+), 85 deletions(-) delete mode 100644 changelog.d/i10418 delete mode 100644 changelog.d/pr-10468 delete mode 100644 changelog.d/pr-10486 delete mode 100644 changelog.d/pr-10507 delete mode 100644 changelog.d/t10416 create mode 100644 release-notes/Cabal-3.14.1.0.md create mode 100644 release-notes/cabal-install-3.14.1.0.md diff --git a/Cabal-syntax/ChangeLog.md b/Cabal-syntax/ChangeLog.md index cbba98a3cc4..205dcdb9cf0 100644 --- a/Cabal-syntax/ChangeLog.md +++ b/Cabal-syntax/ChangeLog.md @@ -1 +1 @@ -Please see https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.14.0.0.md +Please see https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.14.1.0.md diff --git a/Cabal/ChangeLog.md b/Cabal/ChangeLog.md index ea3b88e1082..eab9242759a 100644 --- a/Cabal/ChangeLog.md +++ b/Cabal/ChangeLog.md @@ -1,3 +1,6 @@ +# 3.14.1.0 [Hécate](mailto:hecate+github@glitchbra.in) November 2024 +* See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.14.1.0.md + # 3.14.0.0 [Hécate](mailto:hecate+github@glitchbra.in) September 2024 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.14.0.0.md diff --git a/cabal-install-solver/ChangeLog.md b/cabal-install-solver/ChangeLog.md index 978ac0f1b07..64dfd69e966 100644 --- a/cabal-install-solver/ChangeLog.md +++ b/cabal-install-solver/ChangeLog.md @@ -1 +1 @@ -Please see https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.14.0.0.md +Please see https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.14.1.0.md diff --git a/cabal-install/changelog b/cabal-install/changelog index 67711276c8f..47a798c0be1 100644 --- a/cabal-install/changelog +++ b/cabal-install/changelog @@ -1,5 +1,8 @@ -*-change-log-*- +3.14.1.0 Hécate November 2024 + * See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.14.1.0.md + 3.14.0.0 Hécate September 2024 * See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.14.0.0.md diff --git a/changelog.d/i10418 b/changelog.d/i10418 deleted file mode 100644 index 9a96e47a1e9..00000000000 --- a/changelog.d/i10418 +++ /dev/null @@ -1,13 +0,0 @@ -synopsis: Fix build ways for modules in executables -packages: Cabal -prs: #10419 -issues: #10418 -significance: significant - -description: { - -- Modules belonging to executables were being built in too many ways. For instance, if you -had configured to build profiled library files then your executable modules would also -be built profiled. Which was a regression in behaviour since `Cabal-3.12`. - -} diff --git a/changelog.d/pr-10468 b/changelog.d/pr-10468 deleted file mode 100644 index 2b1511a609c..00000000000 --- a/changelog.d/pr-10468 +++ /dev/null @@ -1,31 +0,0 @@ -synopsis: Add new options from ghc 9.12 -packages: Cabal -prs: #10468 -significance: - -description: { - -- ghc 9.12 adds several new command line options, divided between - `LANGUAGE`s (already added), warnings, new preprocessor control options, - and compilation control options. Two options needed to be added to the - list of options requiring `Int` parameters. - - The new options, excluding warning and language options, are: - - * `-fexpose-overloaded-unfoldings` - * `-fmax-forced-spec-args=N` - * `-fno-expose-overloaded-unfoldings` - * `-fno-object-determinism` - * `-fobject-determinism` - * `-fwrite-if-compression=N` - * `-optCmmP…` - * `-optJSP…` - * `-pgmCmmP` - * `-pgmJSP` - - As they all affect compilation and store hashes, the only necessary - change was to list the two numeric options so they will be parsed - correctly. To the best of our understanding, `-pgm*` and `-opt*` - options are already handled as a group. - -} diff --git a/changelog.d/pr-10486 b/changelog.d/pr-10486 deleted file mode 100644 index 237d2c857b0..00000000000 --- a/changelog.d/pr-10486 +++ /dev/null @@ -1,12 +0,0 @@ -synopsis: Fix a bug that causes `cabal init` to crash if `git` is not installed -packages: cabal-install -prs: #10486 -issues: #10484 #8478 -significance: - -description: { - -- `cabal init` tries to use `git config` to guess the user's name and email. - It no longer crashes if there is no executable named `git` on $PATH. - -} diff --git a/changelog.d/pr-10507 b/changelog.d/pr-10507 deleted file mode 100644 index 02897f71e19..00000000000 --- a/changelog.d/pr-10507 +++ /dev/null @@ -1,16 +0,0 @@ -synopsis: Print out which project file we are using with the default verbosity -packages: cabal-install -prs: #10507 -issues: #8519 - -description: { - -- Many people have been burnt by cabal catching stray project files located up - the directory tree. This change tries to protect them at the expense of - producing more output by default. In particular, before this change, you could - see which project file is in use by supplying `-v` (the verbose mode), and - after the change we print this information with the default verbosity. - Changing the behaviour of cabal is out of scope of this change, and will - hopefully be done in the future versions (see #9353 for a way forward). - -} diff --git a/changelog.d/t10416 b/changelog.d/t10416 deleted file mode 100644 index 071b9b1ad95..00000000000 --- a/changelog.d/t10416 +++ /dev/null @@ -1,11 +0,0 @@ -synopsis: Fix ./setup install command -packages: Cabal -prs: #10417 -issues: #10416 -significance: significant - -description: { - -- `./setup install` was failing with a `fromFlag NoFlag` error. It is now fixed. - -} diff --git a/release-notes/Cabal-3.14.1.0.md b/release-notes/Cabal-3.14.1.0.md new file mode 100644 index 00000000000..638a63c6283 --- /dev/null +++ b/release-notes/Cabal-3.14.1.0.md @@ -0,0 +1,40 @@ +## Cabal and Cabal-syntax 3.14.1.0 changelog + +### Significant changes + +- Fix build ways for modules in executables [#10418](https://github.com/haskell/cabal/issues/10418) [#10419](https://github.com/haskell/cabal/pull/10419) + + - Modules belonging to executables were being built in too many ways. For instance, if you + had configured to build profiled library files then your executable modules would also + be built profiled. Which was a regression in behaviour since `Cabal-3.12`. + +- Fix ./setup install command [#10416](https://github.com/haskell/cabal/issues/10416) [#10417](https://github.com/haskell/cabal/pull/10417) + + - `./setup install` was failing with a `fromFlag NoFlag` error. It is now fixed. + +### Other changes + +- Add new options from ghc 9.12 [#10468](https://github.com/haskell/cabal/pull/10468) + + - ghc 9.12 adds several new command line options, divided between + `LANGUAGE`s (already added), warnings, new preprocessor control options, + and compilation control options. Two options needed to be added to the + list of options requiring `Int` parameters. + + The new options, excluding warning and language options, are: + + * `-fexpose-overloaded-unfoldings` + * `-fmax-forced-spec-args=N` + * `-fno-expose-overloaded-unfoldings` + * `-fno-object-determinism` + * `-fobject-determinism` + * `-fwrite-if-compression=N` + * `-optCmmP…` + * `-optJSP…` + * `-pgmCmmP` + * `-pgmJSP` + + As they all affect compilation and store hashes, the only necessary + change was to list the two numeric options so they will be parsed + correctly. To the best of our understanding, `-pgm*` and `-opt*` + options are already handled as a group. diff --git a/release-notes/cabal-install-3.14.1.0.md b/release-notes/cabal-install-3.14.1.0.md new file mode 100644 index 00000000000..d4ccf28e126 --- /dev/null +++ b/release-notes/cabal-install-3.14.1.0.md @@ -0,0 +1,16 @@ +## cabal-install and cabal-install-solver 3.14.1.0 changelog + +- Fix a bug that causes `cabal init` to crash if `git` is not installed [#8478](https://github.com/haskell/cabal/issues/8478) [#10484](https://github.com/haskell/cabal/issues/10484) [#10486](https://github.com/haskell/cabal/pull/10486) + + - `cabal init` tries to use `git config` to guess the user's name and email. + It no longer crashes if there is no executable named `git` on $PATH. + +- Print out which project file we are using with the default verbosity [#8519](https://github.com/haskell/cabal/issues/8519) [#10507](https://github.com/haskell/cabal/pull/10507) + + - Many people have been burnt by cabal catching stray project files located up + the directory tree. This change tries to protect them at the expense of + producing more output by default. In particular, before this change, you could + see which project file is in use by supplying `-v` (the verbose mode), and + after the change we print this information with the default verbosity. + Changing the behaviour of cabal is out of scope of this change, and will + hopefully be done in the future versions (see #9353 for a way forward). From 52a6b2b9887e4d48ee1d4c6c87a4beeee06d6705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9cate?= Date: Thu, 21 Nov 2024 21:38:51 +0100 Subject: [PATCH 2/3] Update release-notes/Cabal-3.14.1.0.md Co-authored-by: ffaf1 --- release-notes/Cabal-3.14.1.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-notes/Cabal-3.14.1.0.md b/release-notes/Cabal-3.14.1.0.md index 638a63c6283..3f8ccdb8dfc 100644 --- a/release-notes/Cabal-3.14.1.0.md +++ b/release-notes/Cabal-3.14.1.0.md @@ -8,7 +8,7 @@ had configured to build profiled library files then your executable modules would also be built profiled. Which was a regression in behaviour since `Cabal-3.12`. -- Fix ./setup install command [#10416](https://github.com/haskell/cabal/issues/10416) [#10417](https://github.com/haskell/cabal/pull/10417) +- Fix `./setup install` command [#10416](https://github.com/haskell/cabal/issues/10416) [#10417](https://github.com/haskell/cabal/pull/10417) - `./setup install` was failing with a `fromFlag NoFlag` error. It is now fixed. From 3d90bd90d15e93fb0d167e95ed384ea951e373b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9cate?= Date: Thu, 21 Nov 2024 21:38:55 +0100 Subject: [PATCH 3/3] Update release-notes/cabal-install-3.14.1.0.md Co-authored-by: ffaf1 --- release-notes/cabal-install-3.14.1.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-notes/cabal-install-3.14.1.0.md b/release-notes/cabal-install-3.14.1.0.md index d4ccf28e126..a0da01b2593 100644 --- a/release-notes/cabal-install-3.14.1.0.md +++ b/release-notes/cabal-install-3.14.1.0.md @@ -3,7 +3,7 @@ - Fix a bug that causes `cabal init` to crash if `git` is not installed [#8478](https://github.com/haskell/cabal/issues/8478) [#10484](https://github.com/haskell/cabal/issues/10484) [#10486](https://github.com/haskell/cabal/pull/10486) - `cabal init` tries to use `git config` to guess the user's name and email. - It no longer crashes if there is no executable named `git` on $PATH. + It no longer crashes if there is no executable named `git` on `$PATH`. - Print out which project file we are using with the default verbosity [#8519](https://github.com/haskell/cabal/issues/8519) [#10507](https://github.com/haskell/cabal/pull/10507)