Skip to content

Commit 8656465

Browse files
ffaf1geekosaur
andauthored
Forward port changelogs 3.16.1.0 (#11333)
* changelogs for 3.16.1.0 * remove changelog fragments in 3.16.1.0 * changelog additions from late backports * remove new changelog.d fragments * Update release-notes/cabal-install-3.16.1.0.md Co-authored-by: ffaf1 <fa-ml@ariis.it> * Update release-notes/cabal-install-3.16.1.0.md Co-authored-by: ffaf1 <fa-ml@ariis.it> * Update release date --------- Co-authored-by: brandon s allbery kf8nh <allbery.b@gmail.com>
1 parent a11e104 commit 8656465

File tree

11 files changed

+75
-114
lines changed

11 files changed

+75
-114
lines changed

Cabal-hooks/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog for `Cabal-hooks`
22

3+
## 3.16.1 – December 2025
4+
* No changes
5+
36
## 3.16.0 – July 2025
47
* No changes
58

Cabal-syntax/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Please see https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.16.0.0.md
1+
Please see https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.16.1.0.md

Cabal/ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 3.16.1.0 [Artem Pelenitsyn](mailto:a@pelenitsyn.top) December 2025
2+
* See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.16.1.0.md
3+
14
# 3.16.0.0 [Artem Pelenitsyn](mailto:a@pelenitsyn.top) July 2025
25
* See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.16.0.0.md
36

cabal-install-solver/ChangeLog.md

Lines changed: 1 addition & 1 deletion
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.16.0.0.md
1+
Please see https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.16.1.0.md

cabal-install/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change-log
22

3+
## 3.16.1.0 [Artem Pelenitsyn](mailto:a@pelenitsyn.top) December 2025
4+
5+
* See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.16.1.0.md
6+
37
## 3.16.0.0 [Artem Pelenitsyn](mailto:a@pelenitsyn.top) July 2025
48

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

changelog.d/pr-10684.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

changelog.d/pr-11232.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

changelog.d/pr-11237

Lines changed: 0 additions & 13 deletions
This file was deleted.

changelog.d/pr-11266

Lines changed: 0 additions & 11 deletions
This file was deleted.

release-notes/Cabal-3.16.1.0.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Cabal and Cabal-syntax 3.16.1.0 changelog and release notes
2+
---
3+
4+
- Always pass `--interactive` as the first ghc argument [#11099](https://github.com/haskell/cabal/issues/11099) [#11101](https://github.com/haskell/cabal/pull/11101)
5+
6+
We recently changed Cabal to use response files for all GHC arguments by default.
7+
Unfortunately, this broke a couple of downstream consumers of cabal, notably Haskell Language Server and doctest, which both assume that `--interactive` is the first argument of the `ghc` invocation by `cabal repl`.
8+
9+
This regression was fixed by implementing the `--with-repl` (#9115) argument, and tools, such as hie-bios and doctest, have been updated to take advantage of this. However, this renders already published HLS binaries, so any HLS version <=2.12.0.0, incompatible with `cabal-3.16`, as these old binaries can't be easily updated.
10+
11+
In other words, no released HLS binary (at the point of this commit), is compatible with the cabal-3.16.0.0. Users have to build HLS from source to have a working toolchain.
12+
13+
To give us a slightly better migration window, we undo some of the improvements to cabal, and make sure that `--interactive` is always passed as the first argument to the underlying `ghc` invocation. This hack is supposed to be temporary, and removed for cabal 3.18.
14+
15+
(Ed. note: see https://github.com/haskell/cabal/issues/11305 re deprecation.)

0 commit comments

Comments
 (0)