Repository navigation
Closed
Labels
Description
Release manager: @ffaf1
Join Matrix to help with the release!
Feel free to modify the layout or add your comments.
Important/urgent open problems
Comments welcome:
- We would like to release
cabal-installonly, but Fix renameFileWithRetry leaving temporary files after copying #12246, which is the main fix we would like to release, modifiesCabal-syntax. What to do? Release everything? Land a PR in cabal-install that does not touchCabal-syntax?
Answer: I guess we will releaseCabal-syntaxand friends too, the fix is too important. - In
cabal runstopped recognizing target name after--with cabal-install 3.18.1.0 #12231 most likely we are not going to have our cake (pass options on empty targets) and eat it (follow POSIX guidelines). Which path should we choose? - Build and release is broken! for FreeBSD Fix FreeBSD reusable release #12391
- Run “Build and release” action, check that it is green.
- backport to
masterBackport #12391: Fix FreeBSD reusable release #12392 - backport to
3.18Backport #12391: Fix FreeBSD reusable release #12393 - axe the unused branch
- Retag 3.18
- Fix changelogs #12400
- Backport it Backport #12400: Fix changelogs #12401
- Retag
3.18.2.0
Regressions
There are a number regressions we would like to take care of before releasing.
-
Cabal package not visible to build auto-generated setup.hs #11416 (PR: Allow minor Cabal version bumps without recompiling #12289)🔴 This cannot be backported, it breakscabal-installAPI! -
cabal-install3.18.1.0 leaves many.tmpfiles in/tmp#12244 (PR: Fix renameFileWithRetry leaving temporary files after copying #12246) -
cabal runstopped recognizing target name after--with cabal-install 3.18.1.0 #12231 No backport, see discussion, we keep the new behaviour and add a section to the release notes warning users.- Write such section for
3.18.2.0and3.18.1.0.
- Write such section for
-
cabal-install3.18.1.0 project file incorrectconfigure-optionswarning #12245 (PR: fix(cabal-install): Fix spurious "Unknown field: configure-options" warning #12276) - Lock store creation against concurrent processes #12114
- cabalSpecLatest remains 3.16 in cabal-install 3.18.1.0, causing cabal-version: 3.18 Simple packages to fail #12271 Mark CabalSpecV3_18 as latest on the 3.18 branch #12273
- most likely a regression, uncontroversial windows:
cabal-installbuilt in msys-shell links against msys env specific dlls. #12272 Don't depend on zlib.dll on windows. #12274 - Shallow clones break cabal.project containing same repo twice #12296 Don't use a shallow checkout as a git clone reference #11921 (QOL, simple, uncontroversial)
There are also items, which are not a regressions, we decided (cabal-dev meeting 2026/08/27 or Francesco deciding on suggestions from cabal contributors) to include in 3.18.2.0. The reasons are because of its importance and because it slipped through the cracks in 3.18.1.0.
-
cabal uploadthrowing curl errors #10252 (PR: Fix #10252: cabal upload fails with curl chunked-encoding error #12211) -
New token-command option for cabal upload #12132cannot be backported 🔴 (breaks API for the library ofcabal-install) - fix(cabal-install): Honor --with-gcc and program-locations when configuring the compiler #12260
Other PRs/issues of note
- It is important for our users to patch
3.18.1.0changelog- 3.18.1.0 changelog is misleading regarding "argument separator" #12291
(write that the old behaviour will be reintroduced)Fix 3.18.1.0 release notes #12309. - State “Unresolved issues and Notice” will be solved in a future release.
- backport to
masterBackport #12309: Fix 3.18.1.0 release notes #12330
- 3.18.1.0 changelog is misleading regarding "argument separator" #12291
- Unneeded release artifacs generated by release script #12179 should be fixed before we tag the release. Remove uneeded release artifacts #12324
Third-party tools concerns
(GHC, HLS, GHCup, …)
- If developers are not active in Matrix, warn them. (HLS devs already aware, GHC and GHCup devs warned.)
Checklist
Before the checklist, address:
- go through additional proposed backports, decide whether they are fit for
3.18.2.0.- Decide the fate of [Fix #11850] Build dependencies of build tool on disk too #12084
- Double check this is indeed a minor release
- No API breakage.
- No cabal file format change at all.
- go through PR discussions, check whether they need help (and get them merged)
Checklist:
- Before the release
- Pre-flight Checks: See Preflight checks @ffaf1
- Changelog generation: See CHANGELOGS Changelogs 3.18.2.0 #12346 @ffaf1
- Copy “Unresolved issues and notices” from 3.18.1.0 cabal install release notes file. Erase what has been fixed.
- backport to
masterBackport #12346: Changelogs 3.18.2.0 #12361
- Bump version numbers: See Bumping version numbers Bump version numbers for 3.18.2.0 #12345 @Mikolaj
- Tag the release: See Tagging the release (
☞ N.B. Remove uneeded release artifacts #12324 has to be backported toit was) @Mikolaj3.18for this step. - Upload release candidates: See Uploading package release candidates to Hackage
- Publish artifacts: See Publishing the artifacts
- Publish everything else: See Publishing everything else
- Wait for this PR on codeberg to get merged.
- Tweak things as needed, merge patches to fix regressions
- Re-upload the candidates on Hackage based on the latest tag, and publish them
- After the release
- prepare a list of contributors for the release (how to do it)
- advertise on discourse, haskell-cafe and cabal-devel and in particular (details here)
- ask kind souls to cross-post to Mastodon, Matrix (#haskell-tooling and #haskell-language-server), Discord, Twitter, Reddit. Copy the links to #hackage so that others can upvote
- Move the tickets that haven't made it to the release to the next one.
- Congratulate everyone and party 🥳
Reacted by Mikolaj Konarski, Ilya Baryshnikov and Mateusz Galazyn
Reacted by Ilya Baryshnikov
Activity
zlonast commentedon Aug 28, 2026
the typo should be:
zlonast commentedon Aug 28, 2026
Maybe:
program-locations gcc-locations,program-default-options ghc-options: -pgmc=, or--with-gcc#11881 (PR: fix(cabal-install): Honor --with-gcc and program-locations when configuring the compiler #12260)Mikolaj commentedon Aug 28, 2026
Also maybe #12084 ?
Mikolaj commentedon Aug 28, 2026
And Artem mentions #12132
Bodigrim commentedon Aug 29, 2026
I'd really love if we can get #12114 over the line and backport it. Otherwise HLS is painful.
ffaf1 commentedon Aug 30, 2026
Release manager journal 2026/08/30
I think the idea of releasing only
cabal-installwent up in the air. #12245 — the most important fix for this release — touchesCabal-syntaxand #12114 too modifiesCabal. I do not see any alternative to releasing more packages.I have added #12260, #12132, #12114 as PR of interest we would like to backport. The idea for accepting a PR is:
3.18.1.0and it is not likely to introduce a regression and force a further point release.With regard to the “introduce a regression”, #12084 (suggested by @Mikolaj) has one reviewer (@fendor) stating “There is some remaining risk since I am not sure I understand the consequences entirely.” I would really love another pair of eyes on that one and HLS developers and general users to tell us how important this is and if there are workarounds and so on.
fendor commentedon Aug 31, 2026
This is important to HLS and haskell-debugger as we think it is the best user experience to be able to load the whole project into the session.
For HLS, this will mean more predictable behaviour for newcomers in particular, as goto references will work out-of-the-box for the whole project, as well as the
renamefeature. We expect startup times to be generally better as well.build-tool-dependson local packages currently make this workflow impossible (to generally work), it is simply broken for--enable-multi-repl. The only workaround I know of is to add a .cabal configuration disabling thebuild-tool-depends(e.g.,flag, have acabal.hls.projectand a customhie.yaml)Thus, If not backported, HLS users will have to wait for the next cabal release before the glorious future :)
For
haskell-debugger, it allows users to start the debugger with no further configuration and they can rely on that it will work.Otherwise, users will have to disable
build-tool-dependsin the .cabal file or provide an explicit list of components to load into the debugger session (which doesn't work if the component to test is a test suite with abuild-tool-dependssection).To summarise, the workaround is not viable (for the average user), the impact is medium (not everyone uses
build-tool-depends) and it would be nice to have something that works at least in the average case in cabal 3.18. The testsuite doesn't break, we add a testcase for the feature we want, so I would hope that the risk is relatively small.However, it makes sense to me to be cautious and understand if the final decision is to not backport it right now :)
Bodigrim commentedon Aug 31, 2026
In practice though the chances to depend on
alexorhsc2hsin a reasonably sized project are fairly high. I'd say fixing this issue is a pretty big win.fendor commentedon Aug 31, 2026
These
build-tool-dependsshould be fine though, the MR and issue is solely aboutbuild-tool-dependson local components, e.g., the testsuite depends on the executable component to run the executable for integration tests.ffaf1 commentedon Sep 1, 2026
Release manager journal 2026/09/01
Both #12289 and #12132 cannot make this release, as they modify
cabal-installAPI.#12231 will stay like it is now, we will just add a big warning section to the release notes (#12309).
zlonast commentedon Sep 2, 2026
We haven't mentioned one bug here
zlonast commentedon Sep 6, 2026
I can suggest two more projects (which received moral approval from the issue authors)
--config-filenot recognized out of order") #7704 (PR: feat(Cabal): Give a better error message when a global option is passed after the command #12280)cabal runmatches multiple executables #12266)zlonast commentedon Sep 6, 2026
Milestone Considered for 3.18
Perhaps if this applies to our release, we can try merging some pull requests from here? 😅
Mikolaj commentedon Sep 7, 2026
Haha, Awkward. I'd suggest to revisit it at the next major release, because this is a minor release so our risk appetite is low and moreover it's an emergency minor release, so we'd rather release fast.
ffaf1 commentedon Sep 8, 2026
Release manager journal 2026/08/30
A numer of PR were added to backport: regarding cabal spec (#12271), Windows related (#12272), shallow cloning (#12296).
#12084: it will not make
3.18.2.0. It changes a substantial behaviour and I do not want to risk it in a point release.@zlonast #12280 and #12266 are good but not critical, they still need to be reviewed and I would like to speed up release, so they will not make it in
3.18.2.0.Bar from an emergency, I declare accepting new PRs closed. As soon as #11921 lands in 3.18, we can actually start going doing changelogs. I will take care of preflight checks meanwhile.
ulysses4ever commentedon Sep 15, 2026
@ffaf1 what's your stance on
? It should be "easy to fix" and it looks annoying. So maybe it should be put on the 3.18.2.0 roadmap?
Counterpoint: not many people will use
cabal-version: 3.18for some while, probably.ulysses4ever commentedon Sep 15, 2026
Sorry, you mentioned it above, only as a PR. Sadly, it's only an issue. I don't think we have a PR for it yet. Is it blocking, in your view?
zlonast commentedon Sep 15, 2026
@ulysses4ever We accepted that earlier: #12295 (comment)
ulysses4ever commentedon Sep 15, 2026
ah, i am not fully awake yet... thanks @zlonast!
ffaf1 commentedon Sep 28, 2026
Release manager journal 2026/09/28
The release has been blocked for a while on “Build and release” action being broken (e.g. see this run).
There are two errors:
gitbug) [solved]Fix FreeBSD reusable release #12390Fix FreeBSD reusable release #12391 will put it to bed.Sadly these type of bugs need to be debugged “live” on GitHub, which is as bothersome as time consuming.
There are not many steps missing after that!
zlonast commentedon Oct 24, 2026
@ffaf1 can we close as completed now?
ffaf1 commentedon Oct 24, 2026
Sure, thanks again to everyone who helped with this!
Mikolaj commentedon Oct 24, 2026
Thank you, Francesco. Mission accomplished!