@@ -437,8 +437,8 @@ Behavior changes:
437
437
* Drop support for ` Cabal ` versions before 1.22 and, consequently, GHC versions
438
438
before 7.10.
439
439
* ` stack ghci ` and ` stack repl ` now take into account the values of
440
- ` default-language ` keys in Cabal files, like they take into account the values
441
- of ` default-extensions ` keys .
440
+ ` default-language ` fields in Cabal files, like they take into account the
441
+ values of ` default-extensions ` fields .
442
442
* Removed ` --ghc-paths ` , ` --global-stack-root ` and ` --local-bin-path ` flags for
443
443
` stack path ` , deprecated in Stack 1.1.0 in favour of ` --programs ` ,
444
444
` --stack-root ` and ` local-bin ` respectively.
@@ -544,7 +544,7 @@ Other enhancements:
544
544
user-specific global YAML configuration file (` config.yaml ` ).
545
545
* Experimental: Add option ` allow-newer-deps ` , which allows users to specify a
546
546
subset of dependencies for which version bounds should be ignored
547
- (` allow-newer-deps: ['foo', 'bar'] ` ). This field has no effect unless
547
+ (` allow-newer-deps: ['foo', 'bar'] ` ). This key has no effect unless
548
548
` allow-newer ` is enabled.
549
549
550
550
Bug fixes:
@@ -771,8 +771,8 @@ Behavior changes:
771
771
772
772
Other enhancements:
773
773
774
- * ` stack ls dependencies json ` now includes fields ` sha256 ` and ` size ` for
775
- dependencies of ` type ` ` archive ` in ` location ` .
774
+ * The output of ` stack ls dependencies json ` now includes keys ` sha256 ` and
775
+ ` size ` for dependencies of ` type ` ` archive ` in ` location ` .
776
776
[ #5280 ] ( https://github.com/commercialhaskell/stack/issues/5280 )
777
777
* Build failures now show a hint to scroll up to the corresponding section
778
778
[ #5279 ] ( https://github.com/commercialhaskell/stack/issues/5279 )
@@ -1045,9 +1045,9 @@ Major changes:
1045
1045
* Drop support for multiple package indices and legacy
1046
1046
` 00-index.tar ` style indices. See
1047
1047
[ #4137 ] ( https://github.com/commercialhaskell/stack/issues/4137 ) .
1048
- * Support for archives and repos in the ` packages ` section has
1049
- been removed. Instead, you must use ` extra-deps ` for such
1050
- dependencies. ` packages ` now only supports local filepaths.
1048
+ * Support for archives and repos in values of the ` packages ` key has been
1049
+ removed. Instead, you must use the ` extra-deps ` key for such dependencies.
1050
+ ` packages ` now only supports local filepaths.
1051
1051
* Add support for Git repositories containing (recursive) submodules.
1052
1052
* Addition of new configuration options for specifying a "pantry
1053
1053
tree" key, which provides more reproducibility around builds,
@@ -1110,7 +1110,7 @@ Behavior changes:
1110
1110
* When using ` stack script ` , custom snapshot files will be resolved
1111
1111
relative to the directory containing the script.
1112
1112
* Remove the deprecated ` --upgrade-cabal ` flag to ` stack setup ` .
1113
- * Support the ` drop-packages ` field in ` stack.yaml `
1113
+ * Support the ` drop-packages ` key in ` stack.yaml `
1114
1114
* Remove the GPG signing code during uploads. The GPG signatures have
1115
1115
never been used yet, and there are no plans to implement signature
1116
1116
verification.
@@ -1222,13 +1222,11 @@ Other enhancements:
1222
1222
variables. See [ #620 ] ( https://github.com/commercialhaskell/stack/issues/620 ) .
1223
1223
* Less verbose output from ` stack setup ` on Windows. See
1224
1224
[ #1212 ] ( https://github.com/commercialhaskell/stack/issues/1212 ) .
1225
- * Add an optional ` ignore-expiry ` flag to the ` hackage-security `
1226
- section of the ` ~/.stack/config.yaml ` . It allows to disable timestamp
1227
- expiration verification just like ` cabal --ignore-expiry ` does.
1228
- The flag is not enabled by default so that the default functionality
1229
- is not changed.
1230
- * Include default values for most command line flags in the ` --help `
1231
- output. See
1225
+ * Add an optional ` ignore-expiry ` key to the ` hackage-security ` key of
1226
+ ` ~/.stack/config.yaml ` . It allows disabling of timestamp expiration
1227
+ verification just like ` cabal --ignore-expiry ` does. The flag is not enabled
1228
+ by default so that the default functionality is not changed.
1229
+ * Include default values for most command line flags in the ` --help ` output. See
1232
1230
[ #893 ] ( https://github.com/commercialhaskell/stack/issues/893 ) .
1233
1231
* Set the ` GHC_ENVIRONMENT ` environment variable to specify dependency
1234
1232
packages explicitly when running test. This is done to prevent
@@ -1696,7 +1694,7 @@ newer dependency versions).
1696
1694
Major changes:
1697
1695
1698
1696
* Complete overhaul of how snapshots are defined, the ` packages ` and
1699
- ` extra-deps ` fields , and a number of related items. For full
1697
+ ` extra-deps ` keys , and a number of related items. For full
1700
1698
details, please see the
1701
1699
[ writeup] ( https://www.fpcomplete.com/blog/2017/07/stacks-new-extensible-snapshots )
1702
1700
on these changes.
@@ -1782,7 +1780,7 @@ Other enhancements:
1782
1780
Sometimes GHC's heuristics would work fine even before this change,
1783
1781
for example in ` stack ghci ` , but this override's GHC's heuristics
1784
1782
when they're broken by our collecting and processing GHC's output.
1785
- * Extended the ` ghc-options ` field to support ` $locals ` , ` $targets ` ,
1783
+ * Extended the ` ghc-options ` key to support ` $locals ` , ` $targets ` ,
1786
1784
and ` $everything ` . See:
1787
1785
[ #3329 ] ( https://github.com/commercialhaskell/stack/issues/3329 )
1788
1786
* Better error message for case that ` stack ghci ` file targets are
@@ -2075,7 +2073,7 @@ Other enhancements:
2075
2073
([ #2384 ] ( https://github.com/commercialhaskell/stack/issues/2384 ) )
2076
2074
* ` stack haddock ` now shows index.html paths when documentation is already up to
2077
2075
date. Resolved [ #781 ] ( https://github.com/commercialhaskell/stack/issues/781 )
2078
- * Respects the ` custom-setup ` field introduced in Cabal 1.24. This supercedes
2076
+ * Respects the ` custom-setup ` stanza introduced in Cabal 1.24. This supercedes
2079
2077
any ` explicit-setup-deps ` settings in your ` stack.yaml ` and trusts the
2080
2078
package's Cabal file to explicitly state all its dependencies.
2081
2079
* If system package installation fails, ` get-stack.sh ` will fail as well. Also
@@ -2206,8 +2204,8 @@ Other enhancements:
2206
2204
2207
2205
* ` stack haddock ` now supports ` --haddock-internal ` . See
2208
2206
[ #2229 ] ( https://github.com/commercialhaskell/stack/issues/2229 )
2209
- * Add support for ` system-ghc ` and ` install-ghc ` fields to ` stack config set `
2210
- command.
2207
+ * Add support for ` system-ghc ` and ` install-ghc ` subcommands to
2208
+ ` stack config set ` command.
2211
2209
* Add ` ghc-build ` option to override autodetected GHC build to use (e.g. gmp4,
2212
2210
tinfo6, nopie) on Linux.
2213
2211
* ` stack setup ` detects systems where gcc enables PIE by default (such as Ubuntu
@@ -2225,7 +2223,7 @@ Other enhancements:
2225
2223
* Add the ` --open ` option to "stack hpc report" command, causing the report to
2226
2224
be opened in the browser.
2227
2225
* The ` stack config set ` command now accepts a ` --global ` flag for suitable
2228
- fields which causes it to modify the global user configuration
2226
+ subcommands which causes it to modify the global user configuration
2229
2227
(` ~/.stack/config.yaml ` ) instead of the project configuration.
2230
2228
[ #2675 ] ( https://github.com/commercialhaskell/stack/pull/2675 )
2231
2229
* Information on the latest available snapshots is now downloaded from S3
@@ -2335,8 +2333,7 @@ Major changes:
2335
2333
2336
2334
* Add ` stack hoogle ` command.
2337
2335
[ #55 ] ( https://github.com/commercialhaskell/stack/issues/55 )
2338
- * Support for absolute file path in ` url ` field of ` setup-info ` or
2339
- ` --ghc-bindist `
2336
+ * Support for absolute file path in ` url ` key of ` setup-info ` or ` --ghc-bindist `
2340
2337
* Add support for rendering GHCi scripts targeting different GHCi like
2341
2338
applications
2342
2339
[ #2457 ] ( https://github.com/commercialhaskell/stack/pull/2457 )
@@ -2571,11 +2568,11 @@ Behavior changes:
2571
2568
package version - it is treated as an extra-dep. ` stack build local-pkg-1.2.3 `
2572
2569
is an error even if the version number matches the local package
2573
2570
[ #2028 ] ( https://github.com/commercialhaskell/stack/issues/2028 ) .
2574
- * Having a ` nix: ` section no longer implies enabling nix build. This allows the
2575
- user to globally configure whether nix is used (unless the project overrides
2576
- the default explicitly). See
2571
+ * A ` nix ` key in a Stack YAML configuration file no longer implies enabling a
2572
+ Nix build. This allows the user to globally configure whether Nix is used
2573
+ (unless the project overrides the default explicitly). See
2577
2574
[ #1924 ] ( https://github.com/commercialhaskell/stack/issues/1924 ) .
2578
- * Remove deprecated valid-wanted field .
2575
+ * Remove deprecated ` valid-wanted ` key .
2579
2576
* Docker: mount home directory in container
2580
2577
[ #1949 ] ( https://github.com/commercialhaskell/stack/issues/1949 ) .
2581
2578
* Deprecate ` stack path --local-bin-path ` ; instead use ` --local-bin ` .
@@ -2963,7 +2960,7 @@ Bug fixes:
2963
2960
2964
2961
Major changes :
2965
2962
2966
- * GHCJS can now be used with stackage snapshots via the new `compiler` field .
2963
+ * GHCJS can now be used with stackage snapshots via the new `compiler` key .
2967
2964
* Windows installers are now available:
2968
2965
[download them here](http://docs.haskellstack.org/en/stable/install_and_upgrade/#windows)
2969
2966
[#613](https://github.com/commercialhaskell/stack/issues/613)
@@ -3208,9 +3205,9 @@ Other enhancements:
3208
3205
[#824](https://github.com/commercialhaskell/stack/issues/824)
3209
3206
* By default, `stack upgrade` automatically installs GHC as necessary
3210
3207
[#797](https://github.com/commercialhaskell/stack/issues/797)
3211
- * Added the `ghc-options` field to `stack.yaml`
3208
+ * Added the `ghc-options` key to `stack.yaml`
3212
3209
[#796](https://github.com/commercialhaskell/stack/issues/796)
3213
- * Added the `extra-path` field to `stack.yaml`
3210
+ * Added the `extra-path` key to `stack.yaml`
3214
3211
* Code page changes on Windows only apply to the build command (and its
3215
3212
synonyms), and can be controlled via a command line flag (still defaults to
3216
3213
on) [#757](https://github.com/commercialhaskell/stack/issues/757)
@@ -3318,8 +3315,8 @@ Other enhancements:
3318
3315
3319
3316
Bug fixes :
3320
3317
3321
- * Extensions from the `other-extensions` field no longer enabled by default
3322
- [#449](https://github.com/commercialhaskell/stack/issues/449)
3318
+ * Extensions from the Cabal `other-extensions` field no longer enabled by
3319
+ default [#449](https://github.com/commercialhaskell/stack/issues/449)
3323
3320
* Fix: haddock forces rebuild of empty packages
3324
3321
[#452](https://github.com/commercialhaskell/stack/issues/452)
3325
3322
* Don't copy over executables excluded by component selection
0 commit comments