@@ -405,8 +405,8 @@ Behavior changes:
405
405
* Drop support for ` Cabal ` versions before 1.22 and, consequently, GHC versions
406
406
before 7.10.
407
407
* ` stack ghci ` and ` stack repl ` now take into account the values of
408
- ` default-language ` keys in Cabal files, like they take into account the values
409
- of ` default-extensions ` keys .
408
+ ` default-language ` fields in Cabal files, like they take into account the
409
+ values of ` default-extensions ` fields .
410
410
* Removed ` --ghc-paths ` , ` --global-stack-root ` and ` --local-bin-path ` flags for
411
411
` stack path ` , deprecated in Stack 1.1.0 in favour of ` --programs ` ,
412
412
` --stack-root ` and ` local-bin ` respectively.
@@ -512,7 +512,7 @@ Other enhancements:
512
512
user-specific global YAML configuration file (` config.yaml ` ).
513
513
* Experimental: Add option ` allow-newer-deps ` , which allows users to specify a
514
514
subset of dependencies for which version bounds should be ignored
515
- (` allow-newer-deps: ['foo', 'bar'] ` ). This field has no effect unless
515
+ (` allow-newer-deps: ['foo', 'bar'] ` ). This key has no effect unless
516
516
` allow-newer ` is enabled.
517
517
518
518
Bug fixes:
@@ -739,8 +739,8 @@ Behavior changes:
739
739
740
740
Other enhancements:
741
741
742
- * ` stack ls dependencies json ` now includes fields ` sha256 ` and ` size ` for
743
- dependencies of ` type ` ` archive ` in ` location ` .
742
+ * The output of ` stack ls dependencies json ` now includes keys ` sha256 ` and
743
+ ` size ` for dependencies of ` type ` ` archive ` in ` location ` .
744
744
[ #5280 ] ( https://github.com/commercialhaskell/stack/issues/5280 )
745
745
* Build failures now show a hint to scroll up to the corresponding section
746
746
[ #5279 ] ( https://github.com/commercialhaskell/stack/issues/5279 )
@@ -1013,9 +1013,9 @@ Major changes:
1013
1013
* Drop support for multiple package indices and legacy
1014
1014
` 00-index.tar ` style indices. See
1015
1015
[ #4137 ] ( https://github.com/commercialhaskell/stack/issues/4137 ) .
1016
- * Support for archives and repos in the ` packages ` section has
1017
- been removed. Instead, you must use ` extra-deps ` for such
1018
- dependencies. ` packages ` now only supports local filepaths.
1016
+ * Support for archives and repos in values of the ` packages ` key has been
1017
+ removed. Instead, you must use the ` extra-deps ` key for such dependencies.
1018
+ ` packages ` now only supports local filepaths.
1019
1019
* Add support for Git repositories containing (recursive) submodules.
1020
1020
* Addition of new configuration options for specifying a "pantry
1021
1021
tree" key, which provides more reproducibility around builds,
@@ -1078,7 +1078,7 @@ Behavior changes:
1078
1078
* When using ` stack script ` , custom snapshot files will be resolved
1079
1079
relative to the directory containing the script.
1080
1080
* Remove the deprecated ` --upgrade-cabal ` flag to ` stack setup ` .
1081
- * Support the ` drop-packages ` field in ` stack.yaml `
1081
+ * Support the ` drop-packages ` key in ` stack.yaml `
1082
1082
* Remove the GPG signing code during uploads. The GPG signatures have
1083
1083
never been used yet, and there are no plans to implement signature
1084
1084
verification.
@@ -1190,13 +1190,11 @@ Other enhancements:
1190
1190
variables. See [ #620 ] ( https://github.com/commercialhaskell/stack/issues/620 ) .
1191
1191
* Less verbose output from ` stack setup ` on Windows. See
1192
1192
[ #1212 ] ( https://github.com/commercialhaskell/stack/issues/1212 ) .
1193
- * Add an optional ` ignore-expiry ` flag to the ` hackage-security `
1194
- section of the ` ~/.stack/config.yaml ` . It allows to disable timestamp
1195
- expiration verification just like ` cabal --ignore-expiry ` does.
1196
- The flag is not enabled by default so that the default functionality
1197
- is not changed.
1198
- * Include default values for most command line flags in the ` --help `
1199
- output. See
1193
+ * Add an optional ` ignore-expiry ` key to the ` hackage-security ` key of
1194
+ ` ~/.stack/config.yaml ` . It allows disabling of timestamp expiration
1195
+ verification just like ` cabal --ignore-expiry ` does. The flag is not enabled
1196
+ by default so that the default functionality is not changed.
1197
+ * Include default values for most command line flags in the ` --help ` output. See
1200
1198
[ #893 ] ( https://github.com/commercialhaskell/stack/issues/893 ) .
1201
1199
* Set the ` GHC_ENVIRONMENT ` environment variable to specify dependency
1202
1200
packages explicitly when running test. This is done to prevent
@@ -1664,7 +1662,7 @@ newer dependency versions).
1664
1662
Major changes:
1665
1663
1666
1664
* Complete overhaul of how snapshots are defined, the ` packages ` and
1667
- ` extra-deps ` fields , and a number of related items. For full
1665
+ ` extra-deps ` keys , and a number of related items. For full
1668
1666
details, please see the
1669
1667
[ writeup] ( https://www.fpcomplete.com/blog/2017/07/stacks-new-extensible-snapshots )
1670
1668
on these changes.
@@ -1750,7 +1748,7 @@ Other enhancements:
1750
1748
Sometimes GHC's heuristics would work fine even before this change,
1751
1749
for example in ` stack ghci ` , but this override's GHC's heuristics
1752
1750
when they're broken by our collecting and processing GHC's output.
1753
- * Extended the ` ghc-options ` field to support ` $locals ` , ` $targets ` ,
1751
+ * Extended the ` ghc-options ` key to support ` $locals ` , ` $targets ` ,
1754
1752
and ` $everything ` . See:
1755
1753
[ #3329 ] ( https://github.com/commercialhaskell/stack/issues/3329 )
1756
1754
* Better error message for case that ` stack ghci ` file targets are
@@ -2043,7 +2041,7 @@ Other enhancements:
2043
2041
([ #2384 ] ( https://github.com/commercialhaskell/stack/issues/2384 ) )
2044
2042
* ` stack haddock ` now shows index.html paths when documentation is already up to
2045
2043
date. Resolved [ #781 ] ( https://github.com/commercialhaskell/stack/issues/781 )
2046
- * Respects the ` custom-setup ` field introduced in Cabal 1.24. This supercedes
2044
+ * Respects the ` custom-setup ` stanza introduced in Cabal 1.24. This supercedes
2047
2045
any ` explicit-setup-deps ` settings in your ` stack.yaml ` and trusts the
2048
2046
package's Cabal file to explicitly state all its dependencies.
2049
2047
* If system package installation fails, ` get-stack.sh ` will fail as well. Also
@@ -2174,8 +2172,8 @@ Other enhancements:
2174
2172
2175
2173
* ` stack haddock ` now supports ` --haddock-internal ` . See
2176
2174
[ #2229 ] ( https://github.com/commercialhaskell/stack/issues/2229 )
2177
- * Add support for ` system-ghc ` and ` install-ghc ` fields to ` stack config set `
2178
- command.
2175
+ * Add support for ` system-ghc ` and ` install-ghc ` subcommands to
2176
+ ` stack config set ` command.
2179
2177
* Add ` ghc-build ` option to override autodetected GHC build to use (e.g. gmp4,
2180
2178
tinfo6, nopie) on Linux.
2181
2179
* ` stack setup ` detects systems where gcc enables PIE by default (such as Ubuntu
@@ -2193,7 +2191,7 @@ Other enhancements:
2193
2191
* Add the ` --open ` option to "stack hpc report" command, causing the report to
2194
2192
be opened in the browser.
2195
2193
* The ` stack config set ` command now accepts a ` --global ` flag for suitable
2196
- fields which causes it to modify the global user configuration
2194
+ subcommands which causes it to modify the global user configuration
2197
2195
(` ~/.stack/config.yaml ` ) instead of the project configuration.
2198
2196
[ #2675 ] ( https://github.com/commercialhaskell/stack/pull/2675 )
2199
2197
* Information on the latest available snapshots is now downloaded from S3
@@ -2303,8 +2301,7 @@ Major changes:
2303
2301
2304
2302
* Add ` stack hoogle ` command.
2305
2303
[ #55 ] ( https://github.com/commercialhaskell/stack/issues/55 )
2306
- * Support for absolute file path in ` url ` field of ` setup-info ` or
2307
- ` --ghc-bindist `
2304
+ * Support for absolute file path in ` url ` key of ` setup-info ` or ` --ghc-bindist `
2308
2305
* Add support for rendering GHCi scripts targeting different GHCi like
2309
2306
applications
2310
2307
[ #2457 ] ( https://github.com/commercialhaskell/stack/pull/2457 )
@@ -2539,11 +2536,11 @@ Behavior changes:
2539
2536
package version - it is treated as an extra-dep. ` stack build local-pkg-1.2.3 `
2540
2537
is an error even if the version number matches the local package
2541
2538
[ #2028 ] ( https://github.com/commercialhaskell/stack/issues/2028 ) .
2542
- * Having a ` nix: ` section no longer implies enabling nix build. This allows the
2543
- user to globally configure whether nix is used (unless the project overrides
2544
- the default explicitly). See
2539
+ * A ` nix ` key in a Stack YAML configuration file no longer implies enabling a
2540
+ Nix build. This allows the user to globally configure whether Nix is used
2541
+ (unless the project overrides the default explicitly). See
2545
2542
[ #1924 ] ( https://github.com/commercialhaskell/stack/issues/1924 ) .
2546
- * Remove deprecated valid-wanted field .
2543
+ * Remove deprecated ` valid-wanted ` key .
2547
2544
* Docker: mount home directory in container
2548
2545
[ #1949 ] ( https://github.com/commercialhaskell/stack/issues/1949 ) .
2549
2546
* Deprecate ` stack path --local-bin-path ` ; instead use ` --local-bin ` .
@@ -2931,7 +2928,7 @@ Bug fixes:
2931
2928
2932
2929
Major changes :
2933
2930
2934
- * GHCJS can now be used with stackage snapshots via the new `compiler` field .
2931
+ * GHCJS can now be used with stackage snapshots via the new `compiler` key .
2935
2932
* Windows installers are now available:
2936
2933
[download them here](http://docs.haskellstack.org/en/stable/install_and_upgrade/#windows)
2937
2934
[#613](https://github.com/commercialhaskell/stack/issues/613)
@@ -3176,9 +3173,9 @@ Other enhancements:
3176
3173
[#824](https://github.com/commercialhaskell/stack/issues/824)
3177
3174
* By default, `stack upgrade` automatically installs GHC as necessary
3178
3175
[#797](https://github.com/commercialhaskell/stack/issues/797)
3179
- * Added the `ghc-options` field to `stack.yaml`
3176
+ * Added the `ghc-options` key to `stack.yaml`
3180
3177
[#796](https://github.com/commercialhaskell/stack/issues/796)
3181
- * Added the `extra-path` field to `stack.yaml`
3178
+ * Added the `extra-path` key to `stack.yaml`
3182
3179
* Code page changes on Windows only apply to the build command (and its
3183
3180
synonyms), and can be controlled via a command line flag (still defaults to
3184
3181
on) [#757](https://github.com/commercialhaskell/stack/issues/757)
@@ -3286,8 +3283,8 @@ Other enhancements:
3286
3283
3287
3284
Bug fixes :
3288
3285
3289
- * Extensions from the `other-extensions` field no longer enabled by default
3290
- [#449](https://github.com/commercialhaskell/stack/issues/449)
3286
+ * Extensions from the Cabal `other-extensions` field no longer enabled by
3287
+ default [#449](https://github.com/commercialhaskell/stack/issues/449)
3291
3288
* Fix: haddock forces rebuild of empty packages
3292
3289
[#452](https://github.com/commercialhaskell/stack/issues/452)
3293
3290
* Don't copy over executables excluded by component selection
0 commit comments