-
Notifications
You must be signed in to change notification settings - Fork 725
Changelogs for 3.12.1.0 #10124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changelogs for 3.12.1.0 #10124
Changes from 4 commits
e54a93c
ec06336
8a3885b
748834d
3297a3f
56995b6
38b207b
89b3434
4564220
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| Cabal and Cabal-syntax 3.12.1.0 changelog and release notes | ||
| --- | ||
|
|
||
|
|
||
| ### Significant changes | ||
|
|
||
| - Update GHC arguments normalization and GHC options rendering [#9729](https://github.com/haskell/cabal/issues/9729) [#10014](https://github.com/haskell/cabal/pull/10014) | ||
|
|
||
| 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. | ||
|
|
||
| - Warn on missing `default-language` [#9620](https://github.com/haskell/cabal/issues/9620) [#9766](https://github.com/haskell/cabal/pull/9766) | ||
|
|
||
| - To help the adoption of GHC language editions, `cabal check` will now | ||
| warn about missing `default-language`. | ||
|
|
||
| - Add mhs as a known Haskell compiler [#9878](https://github.com/haskell/cabal/pull/9878) | ||
|
|
||
| - Re-instate `initialBuildSteps` [#9856](https://github.com/haskell/cabal/issues/9856) [#9950](https://github.com/haskell/cabal/pull/9950) | ||
|
|
||
| The `initialBuildSteps` function from `Distribution.Simple.Build`, which had | ||
| been hastily removed, has been reinstated. | ||
|
|
||
| It now comes with a deprecation warning: calling that function does not suffice | ||
| to prepare the sources for a package, as there are other steps that one might | ||
| also need to perform: | ||
|
|
||
| - running pre-processors (such as alex/happy) | ||
| - running pre-build hooks or custom logic | ||
| (in build-type: Hooks or build-type: Custom or Configure) | ||
geekosaur marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Consumers wanting to prepare the sources of a package, e.g. in order to launch a | ||
| REPL session, are advised to run `setup repl --repl-multi-file=<fn>` instead. | ||
|
|
||
| - Label error messages with codes (following GHC, Stack) | ||
|
|
||
| As with GHC and Stack, Cabal and cabal-install now generate warnings and errors prefixed with error codes of the form `[Cabal-xxxxx]`. These will be documented on https://errors.haskell.org, although very few are as yet. | ||
|
|
||
| This change was actually present in Cabal-3.12.0.0, but was inadvertently omitted from the changelog. | ||
|
|
||
| ### Other changes | ||
|
|
||
| - Don't recommend deprecated/removed `extensions` field [#10042](https://github.com/haskell/cabal/issues/10042) [#10044](https://github.com/haskell/cabal/pull/10044) | ||
|
|
||
| When applicable, field `default-extensions` is recommended (rather than | ||
| deprecated/removed `extensions:`). | ||
|
|
||
| - Make `Setup copy` and `Setup 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) | ||
|
|
||
| Historically the Setup copy and install steps would fail if the package didn't | ||
| contain an executable or library component. In this case there's nothing to do. | ||
|
|
||
| This required workarounds for downstream users of Cabal to handle this edge case. | ||
| Now that this error has been downgraded to a warning, Cabal will succeed if | ||
| there's nothing to do. | ||
Uh oh!
There was an error while loading. Please reload this page.