@@ -31,6 +31,9 @@ Other enhancements:
31
31
* Add option of the form ` --doctest-option=<argument> ` to ` stack build ` , where
32
32
` doctest ` is a program recognised by versions of the Cabal library from
33
33
` 1.24.0.0 ` .
34
+ * Experimental: Add flag ` --haddock-for-hackage ` to Stack's ` build ` command
35
+ (including the ` haddock ` synonym for ` build --haddock ` ) to enable building
36
+ with flags to generate Haddock documentation suitable for upload to Hackage.
34
37
35
38
Bug fixes:
36
39
@@ -231,8 +234,8 @@ Other enhancements:
231
234
` STACK_ROOT ` environment variable.
232
235
* Add ` stack path --global-config ` , to yield the full path of Stack's
233
236
user-specific global YAML configuration file (` config.yaml ` ).
234
- * Add an experimental option, ` allow-newer-deps ` , which allows users to
235
- specify a subset of dependencies for which version bounds should be ignored
237
+ * Experimental: Add option ` allow-newer-deps ` , which allows users to specify a
238
+ subset of dependencies for which version bounds should be ignored
236
239
(` allow-newer-deps: ['foo', 'bar'] ` ). This field has no effect unless
237
240
` allow-newer ` is enabled.
238
241
@@ -784,7 +787,7 @@ Major changes:
784
787
* Remove the ` stack image ` command. With the advent of Docker multistage
785
788
builds, this functionality is no longer useful. For an example, please see
786
789
[ Building Haskell Apps with Docker] ( https://www.fpcomplete.com/blog/2017/12/building-haskell-apps-with-docker ) .
787
- * Support building GHC from source (experimental)
790
+ * Experimental: Support building GHC from source
788
791
* Stack now supports building and installing GHC from source. The built GHC
789
792
is uniquely identified by a commit id and an Hadrian "flavour" (Hadrian is
790
793
the newer GHC build system), hence ` compiler ` can be set to use a GHC
@@ -1667,11 +1670,10 @@ Other enhancements:
1667
1670
[ #3126 ] ( https://github.com/commercialhaskell/stack/issues/3126 )
1668
1671
* When using Nix, nix-shell now depends always on git to prevent runtime errors
1669
1672
while fetching metadata
1670
- * The ` stack unpack ` command now accepts a form where an explicit
1671
- Hackage revision hash is specified, e.g. `stack unpack
1672
- foo-1.2.3@gitsha1: deadbeef `. Note that this should be considered
1673
- _ experimental_ , Stack will likely move towards a different hash
1674
- format in the future.
1673
+ * Experimental: The ` stack unpack ` command now accepts a form where an explicit
1674
+ Hackage revision hash is specified, e.g.
1675
+ ` stack unpack foo-1.2.3@gitsha1:deadbeef ` . Note that Stack will likely move
1676
+ towards a different hash format in the future.
1675
1677
* Binary "stack upgrade" will now warn if the installed executable is not
1676
1678
on the PATH or shadowed by another entry.
1677
1679
* Allow running tests on tarball created by sdist and upload
@@ -2286,7 +2288,7 @@ Other enhancements:
2286
2288
* Fix too much rebuilding when enabling/disabling profiling flags.
2287
2289
* ` stack build pkg-1.0 ` will now build ` pkg-1.0 ` even if the snapshot specifies
2288
2290
a different version (it introduces a temporary extra-dep)
2289
- * Experimental support for ` --split-objs ` added
2291
+ * Experimental: Support for ` --split-objs ` added
2290
2292
[ #1284 ] ( https://github.com/commercialhaskell/stack/issues/1284 ) .
2291
2293
* ` git ` packages with submodules are supported by passing the ` --recursive `
2292
2294
flag to ` git clone ` .
@@ -2765,7 +2767,7 @@ Other enhancements:
2765
2767
[#1070](https://github.com/commercialhaskell/stack/pull/1070)
2766
2768
* Use Stack-installed GHCs for `stack init --solver`
2767
2769
[#1072](https://github.com/commercialhaskell/stack/issues/1072)
2768
- * New experimental `stack query` command
2770
+ * Experimental: Add `stack query` command
2769
2771
[#1087](https://github.com/commercialhaskell/stack/issues/1087)
2770
2772
* By default, Stack no longer rebuilds a package due to GHC options changes.
2771
2773
This behavior can be tweaked with the `rebuild-ghc-options` setting.
0 commit comments