Skip to content

Commit 3bfbdf2

Browse files
committed
Changelogs for 3.12.1.0
1 parent f54d0dc commit 3bfbdf2

19 files changed

+73
-193
lines changed

changelog.d/issue-10042

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

changelog.d/issue-10063

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

changelog.d/issue-6750

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

changelog.d/issue-8680

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

changelog.d/issue-8875

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

changelog.d/issue-9098-lexbraces

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

changelog.d/issue-9641

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

changelog.d/issue-9678

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

changelog.d/issue-9736

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

changelog.d/issue-9919

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

changelog.d/issue-9971

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

changelog.d/pkgconfig-once

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

changelog.d/pr-10014

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

changelog.d/pr-9766

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

changelog.d/pr-9824

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

changelog.d/pr-9878

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

changelog.d/pr-9950

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

release-notes/Cabal-3.12.1.0.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Cabal and Cabal-syntax 3.12.1.0 changelog and release notes
2+
---
3+
4+
5+
### Significant changes
6+
7+
- Update ghc args normalization and ghc option rendering [#9729](https://github.com/haskell/cabal/issues/9729) [#10014](https://github.com/haskell/cabal/pull/10014)
8+
9+
The flags -fdiagnostics-as-json, -fprint-error-index-lists, -fbreak-points, -dipe-stats, -ffamily-application-cache, -fprint-redundant-promotion-ticks, -fshow-error-context and -funoptimized-core-for-interpreter have been added to the flags that do not cause recompilation.
10+
11+
- Add mhs as a known Haskell compiler [#9878](https://github.com/haskell/cabal/pull/9878)
12+
13+
This simply add MHS to the enumeration of known Haskell compilers.
14+
15+
- Re-instate `initialBuildSteps` [#9856](https://github.com/haskell/cabal/issues/9856) [#9950](https://github.com/haskell/cabal/pull/9950)
16+
17+
The `initialBuildSteps` function from `Distribution.Simple.Build`, which had
18+
been hastily removed, has been reinstated.
19+
20+
It now comes with a deprecation warning: calling that function does not suffice
21+
to prepare the sources for a package, as there are other steps that one might
22+
also need to perform:
23+
24+
- running pre-processors (such as alex/happy)
25+
- running pre-build hooks or custom logic
26+
(in build-type: Hooks or build-type: Custom or Configure)
27+
28+
Consumers wanting to prepare the sources of a package, e.g. in order to launch a
29+
REPL session, are advised to run `setup repl --repl-multi-file=<fn>` instead.
30+
31+
### Other changes
32+
33+
- Don't recommend deprecated/removed 'extensions:' field [#10042](https://github.com/haskell/cabal/issues/10042) [#10044](https://github.com/haskell/cabal/pull/10044)
34+
35+
When applicable, field 'default-extensions:' is recommended (rather than
36+
deprecated/removed 'extensions:').
37+
38+
- Make Setup copy/install succeed when there's no executable or library [#6750](https://github.com/haskell/cabal/issues/6750) [#9926](https://github.com/haskell/cabal/pull/9926)
39+
40+
Historically the Setup copy and install steps would fail if the package didn't
41+
contain an executable or library component. In this case there's nothing to do.
42+
43+
This required workarounds for downstream users of Cabal to handle this edge case.
44+
Now that this error has been downgraded to a warning, Cabal will succeed if
45+
there's nothing to do.

release-notes/WIP-cabal-install-3.12.x.0.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ This file will be edited and the changes incorprated into the official
283283
284284
This flag gives the user full control over the directory where the documentation is placed. It allows both relative and absolute paths.
285285
286-
- Remove useles "Log" log level [#9151](https://github.com/haskell/cabal/issues/9151) [#9346](https://github.com/haskell/cabal/pull/9346)
286+
- Remove useless "Log" log level [#9151](https://github.com/haskell/cabal/issues/9151) [#9346](https://github.com/haskell/cabal/pull/9346)
287287
288288
- Remove "Log" as a log level in favour of "Info".
289289
- Remove "Show" in Severity and replace by "displaySeverity" function
@@ -341,3 +341,30 @@ This file will be edited and the changes incorprated into the official
341341
342342
The "Executing·install·plan··serially" and other similar "Executing
343343
install plan··..." outputs no longer contain double spaces.
344+
345+
- External commands now propagate exit code from child process [#10063](https://github.com/haskell/cabal/issues/10063) [#10100](https://github.com/haskell/cabal/pull/10100)
346+
347+
The exit code from an external command is now propagated as the exit code of
348+
cabal-install when invoked by calling an external command.
349+
350+
For example, if your external command exits with code 1, then cabal-install will
351+
also exit with code 1.
352+
353+
This mechanism can be used by an external command to signal failure.
354+
355+
- Allow whitespace in targets [#8875](https://github.com/haskell/cabal/issues/8875) [#10032](https://github.com/haskell/cabal/pull/10032)
356+
357+
Allow spaces in the final component of target selectors. This resolves an issue
358+
where using absolute paths in selectors can fail if there is whitespace in the
359+
parent directories of the project.
360+
361+
- Fix --program-suffix resulting in invalid installation [#8823](https://github.com/haskell/cabal/issues/8823) [#9919](https://github.com/haskell/cabal/issues/9919) [#10056](https://github.com/haskell/cabal/pull/10056)
362+
363+
- Renders project configuration provenance as a list of canonical paths [#9971](https://github.com/haskell/cabal/issues/9971) [#9985](https://github.com/haskell/cabal/pull/9985)
364+
365+
Removes interleaved rendering of project imports.
366+
367+
- Abbreviate solver rejection messages with installed versions [#9823](https://github.com/haskell/cabal/issues/9823) [#9824](https://github.com/haskell/cabal/pull/9824)
368+
369+
Abbreviate solver rejection messages even in the presence of installed versions.
370+

0 commit comments

Comments
 (0)