Skip to content

Commit 4cb1e8f

Browse files
Kleidukosffaf1mergify[bot]
authored
Create changelogs for 3.14.1.0 (#10576)
* Create changelogs for 3.14.1.0 * Update release-notes/Cabal-3.14.1.0.md Co-authored-by: ffaf1 <[email protected]> * Update release-notes/cabal-install-3.14.1.0.md Co-authored-by: ffaf1 <[email protected]> --------- Co-authored-by: ffaf1 <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent d246fa0 commit 4cb1e8f

File tree

11 files changed

+64
-85
lines changed

11 files changed

+64
-85
lines changed

Cabal-syntax/ChangeLog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Please see https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.14.0.0.md
1+
Please see https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.14.1.0.md

Cabal/ChangeLog.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 3.14.1.0 [Hécate](mailto:[email protected]) November 2024
2+
* See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.14.1.0.md
3+
14
# 3.14.0.0 [Hécate](mailto:[email protected]) September 2024
25
* See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.14.0.0.md
36

cabal-install-solver/ChangeLog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Please see https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.14.0.0.md
1+
Please see https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.14.1.0.md

cabal-install/changelog

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
-*-change-log-*-
22

3+
3.14.1.0 Hécate <[email protected]> November 2024
4+
* See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.14.1.0.md
5+
36
3.14.0.0 Hécate <[email protected]> September 2024
47
* See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.14.0.0.md
58

changelog.d/i10418

-13
This file was deleted.

changelog.d/pr-10468

-31
This file was deleted.

changelog.d/pr-10486

-12
This file was deleted.

changelog.d/pr-10507

-16
This file was deleted.

changelog.d/t10416

-11
This file was deleted.

release-notes/Cabal-3.14.1.0.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## Cabal and Cabal-syntax 3.14.1.0 changelog
2+
3+
### Significant changes
4+
5+
- Fix build ways for modules in executables [#10418](https://github.com/haskell/cabal/issues/10418) [#10419](https://github.com/haskell/cabal/pull/10419)
6+
7+
- Modules belonging to executables were being built in too many ways. For instance, if you
8+
had configured to build profiled library files then your executable modules would also
9+
be built profiled. Which was a regression in behaviour since `Cabal-3.12`.
10+
11+
- Fix `./setup install` command [#10416](https://github.com/haskell/cabal/issues/10416) [#10417](https://github.com/haskell/cabal/pull/10417)
12+
13+
- `./setup install` was failing with a `fromFlag NoFlag` error. It is now fixed.
14+
15+
### Other changes
16+
17+
- Add new options from ghc 9.12 [#10468](https://github.com/haskell/cabal/pull/10468)
18+
19+
- ghc 9.12 adds several new command line options, divided between
20+
`LANGUAGE`s (already added), warnings, new preprocessor control options,
21+
and compilation control options. Two options needed to be added to the
22+
list of options requiring `Int` parameters.
23+
24+
The new options, excluding warning and language options, are:
25+
26+
* `-fexpose-overloaded-unfoldings`
27+
* `-fmax-forced-spec-args=N`
28+
* `-fno-expose-overloaded-unfoldings`
29+
* `-fno-object-determinism`
30+
* `-fobject-determinism`
31+
* `-fwrite-if-compression=N`
32+
* `-optCmmP…`
33+
* `-optJSP…`
34+
* `-pgmCmmP`
35+
* `-pgmJSP`
36+
37+
As they all affect compilation and store hashes, the only necessary
38+
change was to list the two numeric options so they will be parsed
39+
correctly. To the best of our understanding, `-pgm*` and `-opt*`
40+
options are already handled as a group.
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## cabal-install and cabal-install-solver 3.14.1.0 changelog
2+
3+
- 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)
4+
5+
- `cabal init` tries to use `git config` to guess the user's name and email.
6+
It no longer crashes if there is no executable named `git` on `$PATH`.
7+
8+
- 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)
9+
10+
- Many people have been burnt by cabal catching stray project files located up
11+
the directory tree. This change tries to protect them at the expense of
12+
producing more output by default. In particular, before this change, you could
13+
see which project file is in use by supplying `-v` (the verbose mode), and
14+
after the change we print this information with the default verbosity.
15+
Changing the behaviour of cabal is out of scope of this change, and will
16+
hopefully be done in the future versions (see #9353 for a way forward).

0 commit comments

Comments
 (0)