11# Changelog
22
33
4- ## Unreleased changes
5-
6- ** Changes since v2.1.0.3**
7-
8- Release notes:
9-
10- Major changes:
11-
12- Behavior changes:
13-
14- Other enhancements:
15-
16- Bug fixes:
17-
18-
19- ## v2.1.0.3 (release candidate)
20-
21- ** Changes since v2.1.0.1**
22-
23- Other enhancements:
24-
25- * Add ` --docker-mount-mode ` option to set the Docker volume mount mode
26- for performance tuning on macOS.
27-
28- Bug fixes:
29-
30- * Fix regression where ` stack --docker ` would quit after 20 seconds on
31- macOS.
32-
33-
34- ## v2.1.0.1 (release candidate)
4+ ## v2.1.1
355
366** Changes since v1.9.3**
377
@@ -93,76 +63,60 @@ Major changes:
9363* ` stack.yaml ` now supports a ` configure-options ` , which are passed directly to
9464 the ` configure ` step in the Cabal build process. See
9565 [ #1438 ] ( https://github.com/commercialhaskell/stack/issues/1438 )
96-
9766* Remove support for building GHCJS itself. Future releases of Stack
9867 may remove GHCJS support entirely.
9968* Support for lock files for pinning exact project dependency versions
10069
10170Behavior changes:
102- * ` stack.yaml ` now supports ` snapshot ` : a synonym for ` resolver ` . See [ #4256 ] ( https://github.com/commercialhaskell/stack/issues/4256 )
10371
72+ * ` stack.yaml ` now supports ` snapshot ` : a synonym for ` resolver ` . See
73+ [ #4256 ] ( https://github.com/commercialhaskell/stack/issues/4256 )
10474* ` stack script ` now passes ` -i -idir ` in to the ` ghc `
10575 invocation. This makes it so that the script can import local
10676 modules, and fixes an issue where ` .hs ` files in the current
10777 directory could affect interpretation of the script. See
10878 [ #4538 ] ( https://github.com/commercialhaskell/stack/pull/4538 )
109-
11079* When using ` stack script ` , custom snapshot files will be resolved
11180 relative to the directory containing the script.
112-
11381* Remove the deprecated ` --upgrade-cabal ` flag to ` stack setup ` .
114-
11582* Support the ` drop-packages ` field in ` stack.yaml `
116-
11783* Remove the GPG signing code during uploads. The GPG signatures have
11884 never been used yet, and there are no plans to implement signature
11985 verification.
120-
12186* Remove the ` --plain ` option for the ` exec ` family of commands
122-
12387* Always use the ` --exact-configuration ` Cabal configuration option when
12488 building (should mostly be a non-user-visible enhancement).
125-
12689* No longer supports Cabal versions older than ` 1.19.2 ` . This means
12790 projects using snapshots earlier than ` lts-3.0 ` or
12891 ` nightly-2015-05-05 ` will no longer build.
129-
13092* Remove the ` stack docker cleanup ` command. Docker itself now has
13193 [ ` docker image prune ` ] ( https://docs.docker.com/engine/reference/commandline/image_prune/ )
13294 and
13395 [ ` docker container prune ` ] ( https://docs.docker.com/engine/reference/commandline/container_prune/ ) ,
13496 which you can use instead.
135-
13697* Interleaved output is now turned on by default, see
13798 [ #4702 ] ( https://github.com/commercialhaskell/stack/issues/4702 ) . In
13899 addition, the ` packagename> ` prefix is no longer included in
139100 interelaved mode when only building a single target.
140-
141101* The ` -fhide-source-paths ` GHC option is now enabled by default and
142102 can be disabled via the ` hide-source-paths ` configuration option in
143103 ` stack.yaml ` . See [ #3784 ] ( https://github.com/commercialhaskell/stack/issues/3784 )
144-
145104* Stack will reconfigure a package if you modify your ` PATH ` environment
146105 variable. See
147106 [ #3138 ] ( https://github.com/commercialhaskell/stack/issues/3138 ) .
148-
149107* For GHC 8.4 and later, disable the "shadowed dependencies" workaround. This
150108 means that Stack will no longer have to force reconfigures as often. See
151109 [ #3554 ] ( https://github.com/commercialhaskell/stack/issues/3554 ) .
152-
153110* When building a package, Stack takes a lock on the dist directory in
154111 use to avoid multiple runs of Stack from trampling each others'
155112 files. See
156113 [ #2730 ] ( https://github.com/commercialhaskell/stack/issues/2730 ) .
157-
158114* Stack will check occassionally if there is a new version available and prompt
159115 the user to upgrade. This will not incur any additional network traffic, as
160116 it will piggy-back on the existing Hackage index updates. You can set
161117 ` recommend-stack-upgrade: false ` to bypass this. See
162118 [ #1681 ] ( https://github.com/commercialhaskell/stack/issues/1681 ) .
163-
164119* ` stack list-dependencies ` has been removed in favour of ` stack ls dependencies ` .
165-
166120* The new default for ` --docker-auto-pull ` is enabled. See
167121 [ #3332 ] ( https://github.com/commercialhaskell/stack/issues/3332 ) .
168122
@@ -188,7 +142,8 @@ Other enhancements:
188142* British English spelling of 'color' (colour) accepted as an alias for
189143 ` --color ` , ` --stack-colors ` , ` stack ls stack-colors ` at the command line and
190144 for ` color: ` and ` stack-colors: ` in yaml configuration files.
191- * New build option ` --ddump-dir ` . (See [ #4225 ] ( https://github.com/commercialhaskell/stack/issues/4225 ) )
145+ * New build option ` --ddump-dir ` . (See
146+ [ #4225 ] ( https://github.com/commercialhaskell/stack/issues/4225 ) )
192147* Stack parses and respects the ` preferred-versions ` information from
193148 Hackage for choosing latest version of a package in some cases,
194149 e.g. ` stack unpack packagename ` .
@@ -210,7 +165,8 @@ Other enhancements:
210165* ` get-stack ` script now works on Windows CI machines of Appveyor,
211166 Travis and Azure Pipelines. See
212167 [ #4535 ] ( https://github.com/commercialhaskell/stack/issues/4535 ) /
213- * Show snapshot being used when ` stack ghci ` is invoked outside of a project directory. See
168+ * Show snapshot being used when ` stack ghci ` is invoked outside of a project
169+ directory. See
214170 [ #3651 ] ( https://github.com/commercialhaskell/stack/issues/3651 )
215171* The script interpreter now accepts a ` --extra-dep ` flag for adding
216172 packages not present in the snapshot. Currently, this only works
@@ -244,7 +200,6 @@ Other enhancements:
244200* Set the ` GHC_ENVIRONMENT ` environment variable to specify dependency
245201 packages explicitly when running test. This is done to prevent
246202 ambiguous module name errors in ` doctest ` tests.
247- * Document the way stack interacts with the Cabal library.
248203* ` get-stack ` script now works on Windows CI machines of Appveyor,
249204 Travis and Azure Pipelines. See
250205 [ #4535 ] ( https://github.com/commercialhaskell/stack/issues/4535 )
@@ -278,6 +233,8 @@ Other enhancements:
278233 and further warns users if that path does not have an alternative short
279234 ('8 dot 3') name, referencing the ` local-programs-path ` configuration option.
280235 See [ #4726 ] ( https://github.com/commercialhaskell/stack/issues/4726 )
236+ * Add ` --docker-mount-mode ` option to set the Docker volume mount mode
237+ for performance tuning on macOS.
281238
282239Bug fixes:
283240
@@ -315,10 +272,13 @@ Bug fixes:
315272 [ #4527 ] ( https://github.com/commercialhaskell/stack/issues/4527 ) .
316273* Apply GHC options when building a ` Setup.hs ` file. See
317274 [ #4526 ] ( https://github.com/commercialhaskell/stack/issues/4526 ) .
318- * Stack handles ABI changes in FreeBSD 12 by differentiating that version from previous.
319- * Help text for the ` templates ` subcommand now reflects behaviour in stack 1.9 — that it
320- downloads and shows a help file, rather than listing available templates.
321- * Fix detection of aarch64 platform (this broke when we upgraded to a newer Cabal version).
275+ * Stack handles ABI changes in FreeBSD 12 by differentiating that version from
276+ previous.
277+ * Help text for the ` templates ` subcommand now reflects behaviour in stack 1.9
278+ — that it downloads and shows a help file, rather than listing available
279+ templates.
280+ * Fix detection of aarch64 platform (this broke when we upgraded to a newer
281+ Cabal version).
322282* Docker: fix detecting and pulling missing images with ` --docker-auto-pull ` , see
323283 [ #4598 ] ( https://github.com/commercialhaskell/stack/issues/4598 )
324284* Hackage credentials are not world-readable. See
@@ -331,7 +291,8 @@ Bug fixes:
331291 against the snapshot's Cabal library. See
332292 [ #4488 ] ( https://github.com/commercialhaskell/stack/issues/4488 )
333293* Docker: fix detection of expected subprocess failures. This fixes
334- downloading a compatible ` stack ` executable when the host ` stack ` is not compatible with the Docker image (on Linux), and doesn't show an unnecessary
294+ downloading a compatible ` stack ` executable when the host ` stack ` is not
295+ compatible with the Docker image (on Linux), and doesn't show an unnecessary
335296 extra error when the in-container re-exec'ed ` stack ` exits with failure.
336297* The ` stack ghci ` command's ` --ghc-options ` flag now parses multiple options.
337298 See [ #3315 ] ( https://github.com/commercialhaskell/stack/issues/3315 ) .
@@ -343,13 +304,6 @@ Hackage-only release with no user facing changes (added compatibility
343304with ` rio-0.1.9.2 ` ).
344305
345306
346-
347- ## v1.9.3.1
348-
349- Hackage-only release with no user facing changes (added compatibility
350- with ` rio-0.1.9.2 ` ).
351-
352-
353307## v1.9.3
354308
355309Bug fixes:
0 commit comments