Release tracking ticket GHC 9.12.5
<!--
This is the template to be used to create release tracking tickets. To make a new release:
* **Milestone**. Create a new Gitlab milestone for the release. We refer to it here as **TODO milestone**.
* **Tracking ticket**. Create a new Gitlab issue, the tracking ticket, use this template.
In the template, those items marked with *major-only* can be ignored for minor releases.
-->
This is the release checklist for the **%"9.12.5" milestone**.
See the milestone for the planned release schedule, and other details. See [GHC HQ - Release Management](https://gitlab.haskell.org/ghc/ghc-hq/-/blob/main/release-management.mkd) for release policies.
This template is part of the ghc repository at `.gitlab/issue_templates/release_tracking.md`.
# Pre-release checklist
* [ ] Ensure that the Haddock (haddock-library, haddock-api) version numbers have been appropriately bumped.
* [x] Ensure that submodules are on released tags (the below is produced using [this script](https://gitlab.haskell.org/bgamari/ghc-utils/blob/master/rel-eng/submod-release-summary.py)):
* [x] `libraries/Cabal`: version 3.14.2.0
* [x] `libraries/binary`: version 0.8.9.3
* [x] `libraries/bytestring`: version 0.12.2.0
* [x] `libraries/containers`: version 0.7
* [x] `libraries/directory`: version 1.3.10.1
* [x] `libraries/exceptions`: version 0.10.12
* [x] `libraries/file-io`: version 0.1.6
* [x] `libraries/filepath`: version 1.5.5.0
* [x] `libraries/haskeline`: version 0.8.4.1
* [x] `libraries/mtl`: version 2.3.2
* [x] `libraries/os-string`: version 2.0.10
* [x] `libraries/parsec`: version 3.1.18.0
* [x] `libraries/pretty`: version 1.1.3.6
* [x] `libraries/terminfo`: version 0.4.1.7
* [x] `libraries/text`: version 2.1.4
* [x] `libraries/time`: version 1.14
* [x] `libraries/transformers`: version 0.6.3.0
* [x] `libraries/unix`: version 2.8.8.0
* [x] `libraries/process`: version 1.6.29.0
* [x] `libraries/Win32`: `v2.14.2.1`
* [x] `libraries/array`: *todo* (on `v0.5.8.0-7-ge7ffb82`)
`v0.5.8.0..e7ffb82fd40134da21d7642a41568f32c77c1a04`:
- `e7ffb82` Bump base bound to 4.21 for GHC 9.12
- `18dd143` Merge pull request #10 from alt-romes/master
- `aa19535` Update second test output for GHC!13301
- `c86635e` Merge pull request #9 from alt-romes/wip/romes/13301
- `60e1db7` Update test output for GHC!13301
- `b802732` Merge pull request #7 from haskell/fix-source-url
- `8a55166` Change upstream to GitHub
* [x] `libraries/deepseq`: *todo* (on `v1.5.1.0-1-gaf115cc`)
`v1.5.1.0..af115cc226cc87fba89d0f6e2e9212e755c24983`:
- `af115cc` Bump base bound to 4.21 for GHC 9.12
* [x] `libraries/hpc`: *todo* (on `v0.7.0.2-2-gf321056`)
`v0.7.0.2..f321056015dc36b454f323ca4285d684f4f782d3`:
- `f321056` Merge remote-tracking branch 'upstream/ghc-9.12' into HEAD
- `9e29abb` Bump base bound to 4.21 for GHC 9.12
* [x] `libraries/semaphore-compat`: *todo* (on `v1.0.0-5-g54882cd`)
`v1.0.0..54882cd9a07322a4cf95d4fc0627107eaf1eb051`:
- `54882cd` Bump base bound to 4.21 for GHC 9.12
- `e8719d3` Bump base bound to allow 4.20
- `8cd32a8` Allow Win32-2.14
- `c8fc7b1` Add comment about forkFinally
- `ec34791` Add 8.4.4 to CI
* [x] `libraries/stm`: *todo* (on `v2.5.3.1-8-gdef1894`)
`v2.5.3.1..def18948f42a2eb8c34efdf65f7e614d1f6d5703`:
- `def1894` Bump base bound to 4.21 for GHC 9.12
- `07df105` Update testsuite for !13301
- `cb861ea` Update test output for exception CLC proposals
- `3d801a0` Fix CI
- `8de008f` Merge pull request #83 from haskell/ci-9.10
- `0431770` CHANGELOG: Fix release dates
- `e825fb0` Include benchmarks in CI by adding them to cabal.project
- `1a12878` Bump CI to GHC 9.10.0
* [x] `libraries/xhtml`: *todo* (on `3000.2.2.1-7-g68353cc`)
`3000.2.2.1..68353ccd1a2e776d6c2b11619265d8140bb7dc07`:
- `68353cc` Merge pull request #15 from Bodigrim/avoid-head-and-tail
- `1e57cb7` Avoid Data.List.{head,tail}
- `41d2570` Merge pull request #14 from vaerksted/master
- `3f4600e` spelling errors
- `6a98165` Merge pull request #13 from vaerksted/master
- `ee9181d` typos
- `ecf5fd1` Revert back to wide compat-range for future proper releases
* [x] `utils/hpc`: *todo* (on `v0.69-3-gd1780eb`)
`v0.69..d1780eb21c1e5a1227fff80c8d325d5142f04255`:
- `d1780eb` Bump upper bounds on containers and filepath
- `6b6dea1` Add JSON functionality to Trace.HPC.Utils
- `43e4db5` Add tests
* [x] `utils/hsc2hs`: *todo* (on `v0.68.10-5-gc3b2180`)
`v0.68.10..c3b21800a67366c9591dc85a471d1dfdb1efcf29`:
- `c3b2180` Bump base bound to 4.21 for GHC 9.12
- `b0b0cca` Bump base bound to allow 4.20
- `a6d9f73` Merge pull request #87 from bgamari/wip/bump-filepath
- `dcd3acc` Bump filepath upper bound to allow 1.5
- `f43ad87` Allow containers-0.7; adjust Haskell CI to 8.0 - 9.8.1
* [x] Announce the boot lib versions that are planned to be included in the next release to the boot library maintainers, then allow for appropriate amount of grace time for boot library maintainers to include revisions.
* [x] Ensure that all of the versions above are newer than the ones for older major releases and incorporate any patch updates
* [x] Notify stakeholders of release progress, **including timeline, reason, what to look out for, platform tier changes, build platform changes, Bindist Changes** [^1]:
* [x] [Julian Ospald](mailto:hasufell@posteo.de)
* [x] [GHC releases](mailto:ghc-releases@haskell.org)
* [x] [GHC developers](mailto:ghc-devs@haskell.org)
* [x] [GHC users](mailto:glasgow-haskell-users@haskell.org)
* [x] Non-released submodules up-to-date:
* [ ] `nofib` (upstream: ghc/nofib>)
* [x] `libffi-tarballs` (upstream: ghc/libffi-tarballs>)
* [ ] `libraries/ghc-bignum/gmp/gmp-tarballs` (upstream: ghc/gmp-tarballs>)
* [x] `LlvmMinVersion` and `LlvmMaxVersion` in `configure.ac` is targetting intended LLVM version
* [x] `llvm-targets` file [updated](https://gitlab.haskell.org/ghc/ghc/wikis/making-releases#updating-the-tree)
* [x] Generate release notes: `hadrian/build changelog --changelog-version=x.y.z`
* Review and edit the generated file as needed
* Verify the frozen "Included libraries" table is accurate
* Ensure LLVM version requirement is mentioned
* Link release notes in `docs/users_guide/release-notes.rst`
* [x] `autoconf` scripts [updated](https://gitlab.haskell.org/ghc/ghc/wikis/making-releases#updating-the-tree)
* [x] Check that Unicode database in `base` (`libraries/base/cbits/README.Unicode`) reflects current standard release (http://www.unicode.org/versions/latest/).
* [x] Verify that the ~"backport needed" label has no more issues/merge requests needing backport
* [x] Verify that all CI builds are green before moving to *release checklist*
* [x] Update hadrian bootstrap plans for the latest compiler releases:
* Update `hadrian/bootstrap/generate_bootstrap_plans` to include any new compiler releases in the last two major release series
* Drop any plans that are outside of the bootstrap support window
* Run `hadrian/bootstrap/generate_bootstrap_plans` and commit the files that it generates
* Update `bootstrap_matrix` in `.gitlab-ci.yml` to reflect the most recent minor release in each major series supported by bootstrapping
# Release candidate checklist
* Announce on:
* [ ] [GHC developers](mailto:ghc-devs@haskell.org)
* [ ] [GHC releases](mailto:ghc-releases@haskell.org),
* [ ] [GHC users](mailto:glasgow-haskell-users@haskell.org)
* [x] For minor releases: Ask stackage maintainers to test the release candidate.
* Give grace time
# Release checklist
* [x] Ensure that the [Migration](https://gitlab.haskell.org/ghc/ghc/wikis/migration/) page is up-to-date
* [x] Push a provisional release commit to trigger the release builds using `git push -o ci.variable="RELEASE_JOB=yes"`
* [x] Wait until builds finish; verify that they finished successfully
* [x] Write down a link to the release pipeline here: https://gitlab.haskell.org/ghc/ghc/-/pipelines/133190
* [x] Fetch release artifacts:
```bash
$ mkdir $VERSION
$ cd $VERSION
$ nix run $GHC/.gitlab/rel_eng#fetch-gitlab --pipeline $PIPELINE_ID --release $VERSION
```
where `GHC` is the path to a GHC source tree, `VERSION` is the version number, and `PIPELINE_ID` is the release pipeline id.
* [x] Recompress release artifacts: `nix run $GHC/.gitlab/rel_eng#upload -- recompress`
* [x] Generate hashes: `nix run $GHC/.gitlab/rel_eng#upload -- gen_hashes`
* [x] Sign release artifacts: `nix run $GHC/.gitlab/rel_eng#upload -- sign`
* [x] Upload to `downloads.haskell.org`: `nix run $GHC/.gitlab/rel_eng#upload -- upload`
* [ ] If most recent release: Update `latest` symlink: `nix run $GHC/.gitlab/rel_eng#upload -- set_symlink latest`
* [ ] Update `X.Y-latest` symlink: `nix run $GHC/.gitlab/rel_eng#upload -- set_symlink 9.8-latest`
* [ ] Purge CDN cache: `nix run $GHC/.gitlab/rel_eng#upload -- purge`
* [ ] Submit `ghcup` metadata upstream:
* Manually trigger the `ghcup-metadata-testing-release` job of the release pipeline
* Download the `metadata_test.yaml` artifact from the `ghcup-metadata-release` job of the release pipeline
* Clone [`ghcup-metadata`](https://github.com/haskell/ghcup-metadata/)
* Integrate the appropriate release section into `ghcup-metadata/ghcup-0.0.7.yaml` (or `ghcup-prerelease-0.0.7.yaml` for pre-releases)
* Replace the `&id<n>` identifiers with unique names
* Add the `Latest` (or `LatestPrerelease`) to the new release's `viTags` field
* Remove `Latest` for the previous release's `viTags` field; for pre-releases add the `Prerelease` tag)
* Add the `base-w.x.y.z` (e.g. `base-4.19.0.0`) tag to `viTags`
* Sign the resulting metadata YAML file with `gpg --detach-sign`
* Open a merge request submitting the metadata upstream
* Start a "Bindist installation" [workflow](https://github.com/haskell/ghcup-metadata/actions/workflows/bindists.yaml)
* [ ] [Make a release tag](https://gitlab.haskell.org/ghc/ghc/wikis/making-releases#tagging-the-release)
* [ ] Release/revise GHC-maintained libraries on Hackage using [this script](https://gitlab.haskell.org/ghc/ghc/-/blob/master/.gitlab/rel_eng/upload_ghc_libs.py):
* [ ] `libraries/base`
* [ ] `libraries/ghc-prim`
* [ ] `libraries/array`
* [ ] `libraries/stm`
* [ ] `libraries/ghc-heap`
* [ ] `libraries/ghc-compact`
* [ ] `libraries/ghc-boot`
* [ ] `libraries/ghc-boot-th`
* [ ] `libraries/hpc`
* [ ] `libraries/libiserv`
* [ ] `libraries/template-haskell`
* [ ] `libraries/ghc-bignum`
* [ ] Update ghc/homepage>:
* [ ] Write download page (see ghc/homepage>)
* [ ] Make sure that the Signing Key is correct for the relevant release
* [ ] Add news item to [`index.html`](https://gitlab.haskell.org/ghc/homepage/blob/master/index.shtml)
* [ ] Add link to [`download.shtml`](https://gitlab.haskell.org/ghc/homepage/blob/master/download.shtml). Be sure to link to the Migration guide.
* [ ] Look over changes locally
* [ ] Add release announcement to [GHC blog](https://gitlab.haskell.org/ghc/homepage/tree/master/blog). Be sure to link to the Migration guide.
* [ ] Push changes to `master`
* [ ] Announce on:
* [ ] [GHC developers](mailto:ghc-devs@haskell.org)
* [ ] [GHC releases](mailto:ghc-releases@haskell.org),
* [ ] [Boot libraries maintainers](mailto:ghc-boot-libraries@haskell.org)
* [ ] [GHC users](mailto:glasgow-haskell-users@haskell.org)
* [ ] adjacent matrix channels: #haskell-releases:matrix.org, #GHC:matrix.org, #ghc-devs:matrix.org
* [ ] [Haskell Cafe](mailto:haskell-cafe@haskell.org)
* [ ] Mention sponsors
* [ ] Mention ghc / ghc-hq
* [ ] Link to release notes and migration guide
* [ ] Announce on: [Haskell Discourse](https://discourse.haskell.org/), [/r/haskell](https://reddit.com/r/haskell), [/m/haskell](https://kbin.social/m/haskell)
* [ ] When releasing the latest version, update `latest` symlink on `downloads.haskell.org`, e.g. `ln -sfT 9.6.3 latest` if 9.6 was the latest major series.
# Post-release checklist
* [ ] Update the Wiki [status page](https://gitlab.haskell.org/ghc/ghc/-/wikis/GHC-Status)
* [ ] Update the [language pragma history](https://gitlab.haskell.org/ghc/ghc/wikis/language-pragma-history)
* [ ] Mark milestone as *closed*
* [ ] Update `/topic` in `#ghc`
* [ ] Update the [VersionHistory](https://gitlab.haskell.org/ghc/ghc/wikis/commentary/libraries/version-history) wiki page
* [ ] Set `RELEASE=NO`
* [ ] Create a release tracking ticket for the next release using the template in #16816
[^1]: Build platform changes are major changes to how GHC is being built from sources.
Bindist changes are significant changes to the toolchains, changes to the layout of the bindists or changes to the user facing installation procedure.
Platform tier changes are changes that move platforms up or down a tier or drop a given platform from the tierlist.
issue