Merge pull request #8596 from Mikolaj/urlopen-timeout-CI-5th-attempt
[cabal.git] / release-notes / cabal-install-3.6.0.0.md
blobc4692787ec9890ea20ecb3df7ca85142c21a00df
1 ### Backports
3 - Backported to 3.4 [#6964](https://github.com/haskell/cabal/pull/6964) [#6968](https://github.com/haskell/cabal/pull/6968)
4 - CI setup [#6959](https://github.com/haskell/cabal/pull/6959)
6   - Remove travis scripts
8 ### Significant Changes
10 - Add post-checkout-command to source-package-repository [#6664](https://github.com/haskell/cabal/issues/6664) [#7047](https://github.com/haskell/cabal/pull/7047)
11 - Assume list-bin target selectors are for executables [#7326](https://github.com/haskell/cabal/issues/7326) [#7335](https://github.com/haskell/cabal/pull/7335)
12 - Add a --only-download flag [#7323](https://github.com/haskell/cabal/issues/7323) [#7347](https://github.com/haskell/cabal/pull/7347)
13 - Add `hsc2hs-options`, for specifying additional options to pass to `hsc2hs` [#6295](https://github.com/haskell/cabal/pull/6295)
14 - Make extra-packages work properly [#6972](https://github.com/haskell/cabal/pull/6972)
15 - Bugfix - stop creating spurious dirs on `init` [#6772](https://github.com/haskell/cabal/issues/6772) [#7262](https://github.com/haskell/cabal/pull/7262)
16 - Avoid resource exhaustion in `cabal init` [#5115](https://github.com/haskell/cabal/issues/5115) [#7283](https://github.com/haskell/cabal/pull/7283)
18   - Read file contents strictly to avoid resource exhaustion in `cabal init`.
19   - Ignore UTF-8 decoding errors.
21 - Add language extensions for GHC 9.2 [#7312](https://github.com/haskell/cabal/issues/7312)
22 - --dry-run and --only-download effect v2-configure, v2-freeze, v2-run, and v2-exec [#7379](https://github.com/haskell/cabal/issues/7379)
23 - Fix instantiating an indefinite Backpack from Hackage with an inplace package [#6835](https://github.com/haskell/cabal/issues/6835) [#7413](https://github.com/haskell/cabal/pull/7413)
25   Previously, cabal-install would always attempt to put instantiations of indefinite packages from Hackage in
26   the global package store, even if they were instantiated with inplace packages.  This would not work
27   and GHC would complain about packages being missing from the package database.  We have fixed the
28   instantiation algorithm to correctly inplace packages in these situations, removing one of the last
29   blockers to widespread use of Backpack packages on Hackage.
31 - removes the warnings for extraneous versions [#7286](https://github.com/haskell/cabal/issues/7286) [#7470](https://github.com/haskell/cabal/pull/7470)
32 - Alert user and suggest command on spelling mistakes
34 ### Other improvements
36 - Code organization [#6960](https://github.com/haskell/cabal/pull/6960) [#6963](https://github.com/haskell/cabal/pull/6963) [#6970](https://github.com/haskell/cabal/pull/6970) [#6974](https://github.com/haskell/cabal/pull/6974) [#6975](https://github.com/haskell/cabal/pull/6975)
38   - Move Cabal sources into Cabal/src
39   - Move cabal-install sources to cabal-install/src/
40   - Move doc/ to the top-level of the repository
41   - Add stylish-haskell config.
43 - Documentation improvements [#6813](https://github.com/haskell/cabal/issues/6813) [#6971](https://github.com/haskell/cabal/pull/6971) [#7047](https://github.com/haskell/cabal/pull/7047)