Skip to content

Commit fbd9642

Browse files
authored
Add changelogs for 3.10.2.0 (#9207) (#9209)
1 parent 967ecd3 commit fbd9642

File tree

6 files changed

+98
-2
lines changed

6 files changed

+98
-2
lines changed

Cabal-syntax/ChangeLog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Please see https://hackage.haskell.org/package/Cabal/changelog
1+
Please see See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.10.2.0.md

Cabal/ChangeLog.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 3.10.2.0 [Hécate](mailto:hecate+github@glitchbra.in) August 2023
2+
* See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.10.2.0.md
3+
14
# 3.10.1.0 [Mikolaj Konarski](mailto:mikolaj@well-typed.com) March 2023
25
* See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.10.1.0.md
36

cabal-install-solver/ChangeLog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Please see https://hackage.haskell.org/package/cabal-install/changelog
1+
Please see https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.10.2.0.md

cabal-install/changelog

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
-*-change-log-*-
22

3+
3.10.2.0 Hécate <hecate+github@glitchbra.in> August 2023
4+
* See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.10.2.0.md
5+
36
3.10.1.0 Mikolaj Konarski <mikolaj@well-typed.com> March 2023
47
* See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.10.1.0.md
58

release-notes/Cabal-3.10.2.0.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Cabal and Cabal-syntax 3.10.2.0 changelog and release notes
2+
---
3+
4+
## Release 3.10.2.0 is strictly a bug-fix release, with the fixes listed below
5+
6+
- Shorten script-builds paths [#8841](https://github.com/haskell/cabal/issues/8841) [#8898](https://github.com/haskell/cabal/pull/8898)
7+
8+
- Use Base64 hash truncated to 26 chars for script-build cache directories.
9+
- Use the cache directory as the dist directory.
10+
- Use script-<your-sanitized-script-name> as the component name instead of cabal-script-<...>.
11+
- Use cabal-script-<your-actual-script-name> for the executable name.
12+
- This change is incompatible with previous cabal versions in terms of cache location,
13+
you should manually remove your old caches once you no longer need them.
14+
15+
- Do not always pass --quickjump to haddock #9049 [#9060](https://github.com/haskell/cabal/issues/9060) [#9049](https://github.com/haskell/cabal/pull/9049)
16+
17+
6d8adf13101 caused `cabal` to always pass the `--quickjump` flag to Haddock.
18+
Not only does this waste memory for a service that user hasn't asked for,
19+
but also leads to a failure with Haddocks shipped with GHC 9.0 and 9.2,
20+
which had a separate bug (fixed in later versions but not backported) when
21+
Haddock does not pass `--quickjump` recursively to the package dependencies.
22+
23+
- Add language extension ExtendedLiterals [#8992](https://github.com/haskell/cabal/pull/8992)
24+
25+
- adds support for the ExtendedLiterals language extension (GHC proposal #451)
26+
27+
- Regenerate Lexer.hs to avoid out-of-bound array access due to a bug in Alex [#8892](https://github.com/haskell/cabal/issues/8892) [#8896](https://github.com/haskell/cabal/pull/8896)
28+
29+
- Regenerate Cabal-syntax's Lexer.hs with Alex 3.2.7.3 which includes a fix for
30+
an out-of-bound array access (only noticeable with GHC's JavaScript backend).
+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
cabal-install and cabal-install-solver 3.10.2.0 changelog and release notes
2+
---
3+
4+
## Release 3.10.2.0 is strictly a bug-fix release, with the fixes listed below
5+
6+
- Fix parsing of password-command option [#9002](https://github.com/haskell/cabal/pull/9002)
7+
8+
The password-command option did not parse its value correctly.
9+
Quotes were ignored, making many kinds of commands impossible to
10+
express (e.g. `sh -c "foo | bar"`). Also, `cabal user-config`
11+
treated the argument list as a *list of option values*, rather than a
12+
*value that is a list*. As a consequence, `cabal user-config
13+
update` corrupted the value in the config file.
14+
15+
Fixed these issues by parsing the command as a space separated list
16+
of tokens (which may be enclosed in double quotes), and treating the
17+
parsed list-of-token as one value (not multiple).
18+
19+
- Existence of $XDG_CONFIG_HOME/cabal/config now overrides existence of $HOME/.cabal [#8577](https://github.com/haskell/cabal/issues/8577)
20+
21+
To avoid pre-XDG backwards compatibility from triggering due to other
22+
tools accidentally creating a $HOME/.cabal directory, the presence of
23+
$XDG_CONFIG_HOME/cabal/config now disables pre-XDG backwards
24+
compatibility. Presumably $XDG_CONFIG_HOME/cabal/config will never be
25+
created by accident.
26+
27+
- Shorten script-builds paths [#8841](https://github.com/haskell/cabal/issues/8841) [#8898](https://github.com/haskell/cabal/pull/8898)
28+
29+
- Use Base64 hash truncated to 26 chars for script-build cache directories.
30+
- Use the cache directory as the dist directory.
31+
- Use script-<your-sanitized-script-name> as the component name instead of cabal-script-<...>.
32+
- Use cabal-script-<your-actual-script-name> for the executable name.
33+
- This change is incompatible with previous cabal versions in terms of cache location,
34+
you should manually remove your old caches once you no longer need them.
35+
36+
- Don't add `extra-prog-path: ~/.local/bin` when initially creating `~/.config/cabal/config` [#8951](https://github.com/haskell/cabal/issues/8951)
37+
38+
- Use compiler flags for caching project config [#8819](https://github.com/haskell/cabal/pull/8819)
39+
40+
This ensures that cached project configs with conditionals re-execute the conditional logic when the compiler changes.
41+
42+
- Fix default Nix configuration option in generated ~/.cabal/config file [#8878](https://github.com/haskell/cabal/pull/8878)
43+
44+
Fixes the default for ~/.cabal/config file. The nix option should now be commented out by default.
45+
46+
- add base to cabal install --lib default env file [#8903](https://github.com/haskell/cabal/pull/8903)
47+
48+
This adds base by default to the env file created by `cabal install --lib`. Further it ensures that packagedbs have been created before adding them to the env file.
49+
50+
- Do not check PVP on internal targets [#8361](https://github.com/haskell/cabal/issues/8361) [#9004](https://github.com/haskell/cabal/pull/9004)
51+
52+
- `cabal check` will not check for dependencies upper bounds in internal
53+
targets (i.e. test-suites and benchmarks)
54+
55+
- Add new Hackage root keys to bootstrap set [#9068](https://github.com/haskell/cabal/pull/9068)
56+
57+
The two new [Hackage root keyholders](https://github.com/haskell-infra/hackage-root-keys/tree/master/root-keys) were added to the bootstrap set.
58+
59+
- Added Hackage root key for Joachim Breitner
60+
- Added Hackage root key for Mathieu Boespflug

0 commit comments

Comments
 (0)