Skip to content

Commit b0f3879

Browse files
mergify[bot]mpickeringMikolajulysses4ever
authored
Backport #10894: Add release notes for 3.14.2.0 release (#10905)
* Add release notes for 3.14.2.0 release (cherry picked from commit 7bd6198) # Conflicts: # Cabal-hooks/CHANGELOG.md # cabal-install/changelog # changelog.d/pr-10493 # changelog.d/pr-10546 # changelog.d/pr-10828.md * Remove redundant Other Changes header Fixes #10685 (cherry picked from commit b2606fe) * Apply suggestions from code review Co-authored-by: Artem Pelenitsyn <[email protected]> (cherry picked from commit 822997d) * fix conflicts * typos * remove little changelog files that somehow Mergify failed to remove during cherry-pick * add the missing new entry in cabal-install/ChangeLog.md --------- Co-authored-by: Matthew Pickering <[email protected]> Co-authored-by: Mikolaj Konarski <[email protected]> Co-authored-by: Artem Pelenitsyn <[email protected]>
1 parent 9a110e8 commit b0f3879

23 files changed

+181
-259
lines changed

Diff for: Cabal-hooks/CHANGELOG.md

+9-12
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
# Changelog for `Cabal-hooks`
2-
3-
## 3.16 – November 2024
4-
5-
* Release accompanying `Cabal-3.16`.
6-
No changes to `Cabal-hooks` itself; all changes come changes in re-exports
7-
from `Cabal`.
8-
9-
## 3.14 – November 2024
10-
11-
* Initial release of the `Hooks` API.
12-
1+
# Changelog for `Cabal-hooks`
2+
3+
## 3.14.2 – April 2025
4+
* No changes
5+
6+
## 3.14 – November 2024
7+
8+
* Initial release of the `Hooks` API.
9+

Diff for: 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.1.0.md
1+
Please see https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.14.2.0.md

Diff for: Cabal/ChangeLog.md

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

Diff for: 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.1.0.md
1+
Please see https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.14.2.0.md

Diff for: cabal-install/ChangeLog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change-log
22

3+
## 3.14.2.0 [Mikolaj Konarski](mailto:[email protected]) April 2025
4+
5+
* See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.14.2.0.md
6+
37
## 3.14.1.0 (Hécate [[email protected]](mailto:[email protected]) November 2024)
48

59
* See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.14.1.0.md

Diff for: changelog.d/pr-10493

-11
This file was deleted.

Diff for: changelog.d/pr-10546

-82
This file was deleted.

Diff for: changelog.d/pr-10554

-12
This file was deleted.

Diff for: changelog.d/pr-10616

-11
This file was deleted.

Diff for: changelog.d/pr-10725

-12
This file was deleted.

Diff for: changelog.d/pr-10728

-14
This file was deleted.

Diff for: changelog.d/pr-10730

-11
This file was deleted.

Diff for: changelog.d/pr-10731

-4
This file was deleted.

Diff for: changelog.d/pr-10783

-11
This file was deleted.

Diff for: changelog.d/pr-10800

-12
This file was deleted.

Diff for: changelog.d/pr-10826

-11
This file was deleted.

Diff for: changelog.d/pr-10827.md

-11
This file was deleted.

Diff for: changelog.d/pr-10828.md

-15
This file was deleted.

Diff for: changelog.d/pr-10841.md

-11
This file was deleted.

Diff for: changelog.d/pr-9997

-15
This file was deleted.

Diff for: release-notes/Cabal-3.14.0.0.md

-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ Cabal and Cabal-syntax 3.14.0.0 changelog and release notes
8686
- Add `OrPatterns` extension (GHC proposal #958) [#10339](https://github.com/haskell/cabal/pull/10339)
8787

8888

89-
### Other changes
90-
9189
- Add flag `--ignore-build-tools` [#10128](https://github.com/haskell/cabal/pull/10128)
9290

9391
- Adds flag `--ignore-build-tools` which allows a user to ignore the tool

Diff for: release-notes/Cabal-3.14.2.0.md

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
Cabal and Cabal-syntax 3.14.2.0 changelog and release notes
2+
---
3+
4+
### Significant changes
5+
6+
- GHC arguments are no longer swallowed by enabling documentation [#10782](https://github.com/haskell/cabal/issues/10782) [#10783](https://github.com/haskell/cabal/pull/10783)
7+
8+
Arguments to GHC are now properly concatenated with `-haddock` if documentation is enabled.
9+
10+
- Honour the `-working-dir` flag when executing testsuite executables. [#10704](https://github.com/haskell/cabal/issues/10704) [#10725](https://github.com/haskell/cabal/pull/10725)
11+
12+
Honour the `-working-dir` flag when executing testsuite executables. This fixes a
13+
regression in Cabal-3.14.0.0.
14+
15+
- Fix duplicate environment variables in test and benchmark runs [#10718](https://github.com/haskell/cabal/issues/10718) [#10827](https://github.com/haskell/cabal/pull/10827)
16+
17+
Cabal no longer creates duplicate environment variables when running test
18+
suites, benchmarks, or internal executables. Previously, when setting up the
19+
environment for these processes, Cabal would append the overridden environment
20+
to the existing environment, creating duplicates of the same variable.
21+
22+
- Set `<pkgname>_datadir` to an absolute path when running tests [#10717](https://github.com/haskell/cabal/issues/10717) [#10828](https://github.com/haskell/cabal/pull/10828)
23+
24+
Fix a regression where `<pkgname>_datadir` was set to a relative path. This
25+
caused issues when running testsuites which changed the working directory and
26+
accessed datafiles.
27+
28+
### Other changes
29+
30+
- Remove descriptions for sandbox in replCommand [#10482](https://github.com/haskell/cabal/issues/10482) [#10493](https://github.com/haskell/cabal/pull/10493)
31+
32+
Text provided by `Setup.hs repl --help` contained outdated information concerning sandbox, which have now been removed.
33+
34+
- Adds more version range checks to `cabal check`. [#9806](https://github.com/haskell/cabal/issues/9806) [#10554](https://github.com/haskell/cabal/pull/10554)
35+
36+
For dependencies, warns about and checks that version range bounds for:
37+
38+
- lower bounds are inclusive, don't use (>)
39+
- upper bounds are exclusive, don't use (<=)
40+
- upper bounds don't have trailing zeros, don't end with (*.0).
41+
42+
- OpenBSD `--strip-unneeded` sometimes strips too much [#10616](https://github.com/haskell/cabal/pull/10616)
43+
44+
OpenBSD's `--strip-unneeded` thinks some symbols are unneeded that are in fact
45+
needed when C bits are involved, so suppress its use.
46+
47+
Taken from the OpenBSD ports repo (https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/lang/ghc/patches/patch-libraries_Cabal_Cabal_Distribution_Simple_Program_Strip_hs);
48+
brought to our attention by maerwald.
49+
50+
51+
- Suppress ghc-pkg warnings emitted when an empty packages is being registered [#9997](https://github.com/haskell/cabal/pull/9997)
52+
53+
When a package contains a library that has no modules, `./Setup register`
54+
tries to register the library with fields `haddock-interfaces:` and
55+
`haddock-html:` pointing at non-existent files or directories, and `ghc-pkg
56+
register` warns about them.
57+
58+
To suppress the warnings prevent these fields from being generated when
59+
there are no modules.
60+

0 commit comments

Comments
 (0)