Skip to content

Add changelogs for 3.10.2.0 #9207

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

Merged
merged 3 commits into from
Aug 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cabal-syntax/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Please see https://hackage.haskell.org/package/Cabal/changelog
Please see See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.10.2.0.md
3 changes: 3 additions & 0 deletions Cabal/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 3.10.2.0 [Hécate](mailto:hecate+github@glitchbra.in) August 2023
* See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.10.2.0.md

# 3.10.1.0 [Mikolaj Konarski](mailto:mikolaj@well-typed.com) March 2023
* See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.10.1.0.md

Expand Down
2 changes: 1 addition & 1 deletion cabal-install-solver/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Please see https://hackage.haskell.org/package/cabal-install/changelog
Please see https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.10.2.0.md
3 changes: 3 additions & 0 deletions cabal-install/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
-*-change-log-*-

3.10.2.0 Hécate <hecate+github@glitchbra.in> August 2023
* See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.10.2.0.md

3.10.1.0 Mikolaj Konarski <mikolaj@well-typed.com> March 2023
* See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.10.1.0.md

Expand Down
30 changes: 30 additions & 0 deletions release-notes/Cabal-3.10.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Cabal and Cabal-syntax 3.10.2.0 changelog and release notes
---

## Release 3.10.2.0 is strictly a bug-fix release, with the fixes listed below

- Shorten script-builds paths [#8841](https://github.com/haskell/cabal/issues/8841) [#8898](https://github.com/haskell/cabal/pull/8898)

- Use Base64 hash truncated to 26 chars for script-build cache directories.
- Use the cache directory as the dist directory.
- Use script-<your-sanitized-script-name> as the component name instead of cabal-script-<...>.
- Use cabal-script-<your-actual-script-name> for the executable name.
- This change is incompatible with previous cabal versions in terms of cache location,
you should manually remove your old caches once you no longer need them.

- Do not always pass --quickjump to haddock #9049 [#9060](https://github.com/haskell/cabal/issues/9060) [#9049](https://github.com/haskell/cabal/pull/9049)

6d8adf13101 caused `cabal` to always pass the `--quickjump` flag to Haddock.
Not only does this waste memory for a service that user hasn't asked for,
but also leads to a failure with Haddocks shipped with GHC 9.0 and 9.2,
which had a separate bug (fixed in later versions but not backported) when
Haddock does not pass `--quickjump` recursively to the package dependencies.

- Add language extension ExtendedLiterals [#8992](https://github.com/haskell/cabal/pull/8992)

- adds support for the ExtendedLiterals language extension (GHC proposal #451)

- 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)

- Regenerate Cabal-syntax's Lexer.hs with Alex 3.2.7.3 which includes a fix for
an out-of-bound array access (only noticeable with GHC's JavaScript backend).
60 changes: 60 additions & 0 deletions release-notes/cabal-install-3.10.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
cabal-install and cabal-install-solver 3.10.2.0 changelog and release notes
---

## Release 3.10.2.0 is strictly a bug-fix release, with the fixes listed below

- Fix parsing of password-command option [#9002](https://github.com/haskell/cabal/pull/9002)

The password-command option did not parse its value correctly.
Quotes were ignored, making many kinds of commands impossible to
express (e.g. `sh -c "foo | bar"`). Also, `cabal user-config`
treated the argument list as a *list of option values*, rather than a
*value that is a list*. As a consequence, `cabal user-config
update` corrupted the value in the config file.

Fixed these issues by parsing the command as a space separated list
of tokens (which may be enclosed in double quotes), and treating the
parsed list-of-token as one value (not multiple).

- Existence of $XDG_CONFIG_HOME/cabal/config now overrides existence of $HOME/.cabal [#8577](https://github.com/haskell/cabal/issues/8577)

To avoid pre-XDG backwards compatibility from triggering due to other
tools accidentally creating a $HOME/.cabal directory, the presence of
$XDG_CONFIG_HOME/cabal/config now disables pre-XDG backwards
compatibility. Presumably $XDG_CONFIG_HOME/cabal/config will never be
created by accident.

- Shorten script-builds paths [#8841](https://github.com/haskell/cabal/issues/8841) [#8898](https://github.com/haskell/cabal/pull/8898)

- Use Base64 hash truncated to 26 chars for script-build cache directories.
- Use the cache directory as the dist directory.
- Use script-<your-sanitized-script-name> as the component name instead of cabal-script-<...>.
- Use cabal-script-<your-actual-script-name> for the executable name.
- This change is incompatible with previous cabal versions in terms of cache location,
you should manually remove your old caches once you no longer need them.

- Don't add `extra-prog-path: ~/.local/bin` when initially creating `~/.config/cabal/config` [#8951](https://github.com/haskell/cabal/issues/8951)

- Use compiler flags for caching project config [#8819](https://github.com/haskell/cabal/pull/8819)

This ensures that cached project configs with conditionals re-execute the conditional logic when the compiler changes.

- Fix default Nix configuration option in generated ~/.cabal/config file [#8878](https://github.com/haskell/cabal/pull/8878)

Fixes the default for ~/.cabal/config file. The nix option should now be commented out by default.

- add base to cabal install --lib default env file [#8903](https://github.com/haskell/cabal/pull/8903)

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.

- Do not check PVP on internal targets [#8361](https://github.com/haskell/cabal/issues/8361) [#9004](https://github.com/haskell/cabal/pull/9004)

- `cabal check` will not check for dependencies upper bounds in internal
targets (i.e. test-suites and benchmarks)

- Add new Hackage root keys to bootstrap set [#9068](https://github.com/haskell/cabal/pull/9068)

The two new [Hackage root keyholders](https://github.com/haskell-infra/hackage-root-keys/tree/master/root-keys) were added to the bootstrap set.

- Added Hackage root key for Joachim Breitner
- Added Hackage root key for Mathieu Boespflug