You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: release-notes/Cabal-3.12.0.0.md
+21-24Lines changed: 21 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Cabal and Cabal-syntax 3.12.0.0 changelog and release notes
38
38
build the package. This allows us to configure all the packages we intend
39
39
to load into the repl without building any dependenices which we will load
40
40
in the same session, because the promise is satisifed due to loading the
41
-
package and it's dependency into one multi-session which ensures the
41
+
package and its dependency into one multi-session which ensures the
42
42
dependency is built before it is needed.
43
43
44
44
A user of ./Setup configure specifies a promised dependency by using the
@@ -73,12 +73,6 @@ Cabal and Cabal-syntax 3.12.0.0 changelog and release notes
73
73
This library was only used by internal tests, and now lives in the
74
74
`Cabal-tests` library which is shared across test components.
75
75
76
-
- Distinguish `powerpc64le`, by adding `PPC64LE` constructor to type `Arch` [#9534](https://github.com/haskell/cabal/issues/9534) [#9535](https://github.com/haskell/cabal/pull/9535)
77
-
78
-
Adds constructor `PPC64LE` to type `Arch` to distinguish architecture
79
-
powerpc64le from powerpc64. Existing constructor `PPC64` now exclusively
- 64-bit SPARC as a separate architecture [#9445](https://github.com/haskell/cabal/pull/9445)
174
+
175
175
- Don't report `index.html` file as created, if not created by Haddock [#5120](https://github.com/haskell/cabal/issues/5120) [#9332](https://github.com/haskell/cabal/pull/9332)
176
+
176
177
- Enable using $ORIGIN in RPATH on GNU/Hurd [#9441](https://github.com/haskell/cabal/pull/9441)
177
-
- Add support for 64-bit SPARC as a separate architecture [#9445](https://github.com/haskell/cabal/pull/9445)
178
+
178
179
179
180
- Make check comply with Hackage requirements [#8897](https://github.com/haskell/cabal/pull/8897)
180
181
@@ -185,9 +186,9 @@ Cabal and Cabal-syntax 3.12.0.0 changelog and release notes
185
186
third-party tools to know if a specific error will preclude a package
186
187
from being uploaded to Hacakge.
187
188
188
-
- Add language extension ExtendedLiterals [#8992](https://github.com/haskell/cabal/pull/8992)
189
+
- Add language extension `ExtendedLiterals` [#8992](https://github.com/haskell/cabal/pull/8992)
189
190
190
-
Adds support for the ExtendedLiterals language extension (GHC proposal #451)
191
+
Adds support for the `ExtendedLiterals` language extension (GHC proposal #451)
191
192
192
193
- Warn about inconsistent indentation [#8975](https://github.com/haskell/cabal/pull/8975)
193
194
@@ -212,19 +213,19 @@ Cabal and Cabal-syntax 3.12.0.0 changelog and release notes
212
213
Such insonsistency seems to be always a mistake, and it's easy to fix once
LexBraces warning is issued when brace delimiting syntax is used. This
218
+
`LexBraces` warning is issued when brace delimiting syntax is used. This
218
219
way, using `readFields'`, a low-lever consumer may decide whether braces
219
220
were used.
220
221
221
-
(Looking for a brace character in the input is imprecise, as braces can
222
-
occur inside field content).
222
+
Looking for a brace character in the input is imprecise, as braces can
223
+
occur inside field content.
223
224
224
225
This warning is not propagated to parser warnings, so e.g.
225
-
readGenericPackageDescription doesn't warn about it. This is because all
226
+
`readGenericPackageDescription` doesn't warn about it. This is because all
226
227
parser warnings prevent uploads to Hackage, and using braces (or not) is
227
-
opinionated choice.
228
+
a matter of opinion.
228
229
229
230
- Distinguish `powerpc64le`, by adding `PPC64LE` constructor to type `Arch` [#9534](https://github.com/haskell/cabal/issues/9534) [#9535](https://github.com/haskell/cabal/pull/9535)
230
231
@@ -236,7 +237,7 @@ Cabal and Cabal-syntax 3.12.0.0 changelog and release notes
236
237
237
238
`cabal` invokes `pkg-config` individually for each lib if querying for all doesn't return the expected result
238
239
239
-
- Add language extension ListTuplePuns [#8854](https://github.com/haskell/cabal/pull/8854)
240
+
- Add language extension `ListTuplePuns` [#8854](https://github.com/haskell/cabal/pull/8854)
240
241
241
242
Adds support for the `ListTuplePuns` language extension (GHC proposal #475)
242
243
@@ -248,10 +249,6 @@ Cabal and Cabal-syntax 3.12.0.0 changelog and release notes
248
249
249
250
- Add language extension `TypeAbstractions` [#9496](https://github.com/haskell/cabal/issues/9496) [#9502](https://github.com/haskell/cabal/pull/9502)
250
251
251
-
- Add support for the 64-bit RISC-V architecture [#9062](https://github.com/haskell/cabal/pull/9062)
252
-
- Add support for 64-bit LoongArch architecture [#9215](https://github.com/haskell/cabal/pull/9215)
253
-
- Add support for 64-bit SPARC as a separate architecture [#9445](https://github.com/haskell/cabal/pull/9445)
254
-
255
252
- Update SPDX License List to version `3.23 2024-02-08` [#9818](https://github.com/haskell/cabal/pull/9818)
256
253
257
254
- LicenseId and LicenseExceptionId now conform to SPDX License List
Copy file name to clipboardExpand all lines: release-notes/WIP-cabal-install-3.12.x.0.md
+33-31Lines changed: 33 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,10 @@
3
3
cabal-install and cabal-install-solver 3.12.1.0 changelog and release notes
4
4
---
5
5
6
-
- Add --project-dir flag [#7695](https://github.com/haskell/cabal/issues/7695)[#7940](https://github.com/haskell/cabal/issues/7940)[#8454](https://github.com/haskell/cabal/pull/8454)
6
+
- Add `--project-dir` flag [#7695](https://github.com/haskell/cabal/issues/7695)[#7940](https://github.com/haskell/cabal/issues/7940)[#8454](https://github.com/haskell/cabal/pull/8454)
7
7
8
-
- Added --project-dir flag for specifying the project's root directory
9
-
- Deprecated using --project-file with an absolute filepath without also using --project-dir
8
+
- Added `--project-dir` flag for specifying the project's root directory
9
+
- Deprecated using `--project-file` with an absolute filepath without also using `--project-dir`.
@@ -32,7 +32,7 @@ cabal-install and cabal-install-solver 3.12.1.0 changelog and release notes
32
32
a flag which specifies which libraries should be included in the coverage
33
33
report for some testsuite.
34
34
35
-
- Redesign 'cabal path' command to account for projects [#9673](https://github.com/haskell/cabal/pull/9673)
35
+
- Redesign `cabal path` command to account for projects [#9673](https://github.com/haskell/cabal/pull/9673)
36
36
37
37
Previously, `cabal path` was only able to query from the global configuration file, e.g., `~/.cabal/config` or the XDG equivalent.
38
38
We take the foundations and enhance `cabal path` to take project configuration, such as `cabal.project`, into account.
@@ -55,11 +55,27 @@ cabal-install and cabal-install-solver 3.12.1.0 changelog and release notes
55
55
To do that, we re-configure the compiler program, and outputs the location, version and compiler flavour.
56
56
This is helpful for downstream tools, such as HLS, to figure out the GHC version required to compile a project with, without dependency solving.
57
57
58
+
- Add support for authentication tokens for uploading to Hackage [#6738](https://github.com/haskell/cabal/issues/6738)[#9058](https://github.com/haskell/cabal/pull/9058)
59
+
60
+
A new flag `--token` (`-t`) has been created. Token authentication takes
61
+
precedence over username and password meaning that, if a token is set,
62
+
the username and password flags are ignored.
63
+
64
+
- Make --(test-)show-details=direct the default [#8942](https://github.com/haskell/cabal/pull/8942)
65
+
66
+
This option leaves it up to the testing framework to decide what and how to print out,
67
+
potentially leading to a prettier output. For example, most of the testing frameworks
68
+
use colors, which wouldn't be seen with any other option.
69
+
70
+
This comes with a tradeoff, though: Cabal will not create a log file with this option.
71
+
If you prefer a log file, consider setting `--test-show-details=streaming` (or something
72
+
else) manually.
73
+
58
74
### Other changes
59
75
60
76
- Script cache dir is the base16 hash of the canonical path of the script. [#9459](https://github.com/haskell/cabal/pull/9459)
61
77
62
-
Script cache dir is the base16 hash of the canonical path of the script.
78
+
This fixes sporadic path failures on both Windows and Linux (e.g. [#9334](https://github.com/haskell/cabal/issues/9334)).
63
79
64
80
- Die if package list is missing [#8944](https://github.com/haskell/cabal/pull/8944)
65
81
@@ -83,22 +99,6 @@ cabal-install and cabal-install-solver 3.12.1.0 changelog and release notes
83
99
before the build, that an overwrite policy flag would be needed for the
84
100
install to succeed.
85
101
86
-
- Add support for authentication tokens for uploading to Hackage [#6738](https://github.com/haskell/cabal/issues/6738)[#9058](https://github.com/haskell/cabal/pull/9058)
87
-
88
-
A new flag `--token` (`-t`) has been created. Token authentication takes
89
-
precedence over username and password meaning that, if a token is set,
90
-
the username and password flags are ignored.
91
-
92
-
- Make --(test-)show-details=direct the default [#8942](https://github.com/haskell/cabal/pull/8942)
93
-
94
-
This option leaves it up to the testing framework to decide what and how to print out,
95
-
potentially leading to a prettier output. For example, most of the testing frameworks
96
-
use colors, which wouldn't be seen with any other option.
97
-
98
-
This comes with a tradeoff, though: Cabal will not create a log file with this option.
99
-
If you prefer a log file, consider setting `--test-show-details=streaming` (or something
100
-
else) manually.
101
-
102
102
- Make sure Haskell files in explicit source directories take precedence over autogenerated Haskell files [#8689](https://github.com/haskell/cabal/issues/8689)[#8690](https://github.com/haskell/cabal/pull/8690)
103
103
104
104
- Changed order or directories in GHC invocation so that source
@@ -127,13 +127,13 @@ cabal-install and cabal-install-solver 3.12.1.0 changelog and release notes
127
127
name did not match exactly. Now they will be cached even if the header's
128
128
capitalization is different.
129
129
130
-
- Clarify the semantics of the -package-db flag [#9678](https://github.com/haskell/cabal/issues/9678)
130
+
- Clarify the semantics of the `--package-db` flag [#9678](https://github.com/haskell/cabal/issues/9678)
131
131
132
132
The `--package-db` flag now only applies to the default
133
133
immutable initial package stack rather than also applying to the store
134
134
package database.
135
135
136
-
This fixes an assertion failure which was triggered when using -package-db and also
136
+
This fixes an assertion failure which was triggered when using `--package-db` and also
137
137
clarifies how it should interact with `--store-dir` and `--dist-dir` flags.
`cabal check` now warns whenever PackageInfo_* autogen modules are
233
+
`cabal check` now warns whenever `PackageInfo_*` autogen modules are
234
234
used with `cabal-version` ≥ 3.12.
235
-
Additionally, `cabal configure` will fail if you try to use PackageInfo_*
235
+
Additionally, `cabal configure` will fail if you try to use `PackageInfo_*`
236
236
with `cabal-version` < 3.12.
237
237
238
238
- cabal init now generates cabal versions older than 1.12 with the correct >= syntax [#8206](https://github.com/haskell/cabal/issues/8206) [#8860](https://github.com/haskell/cabal/pull/8860)
239
+
239
240
- `cabal init`: suggest BSD-3 as default license [#8757](https://github.com/haskell/cabal/issues/8757) [#8764](https://github.com/haskell/cabal/pull/8764)
241
+
240
242
- Do not ask overwrite permissions on blank project [#9150](https://github.com/haskell/cabal/issues/9150) [#9155](https://github.com/haskell/cabal/pull/9155)
243
+
241
244
- Don't report `index.html` file as created, if not created by Haddock [#5120](https://github.com/haskell/cabal/issues/5120) [#9332](https://github.com/haskell/cabal/pull/9332)
0 commit comments