rc/v3.3.0.1 (release candidate)
Pre-release
Pre-release
Changes since v3.1.1:
Behavior changes:
- Stack interprets consecutive line ends in the value of the
user-messageproject-specific configuration option as a single blank line. Previously all line ends were interpreted as white space. - Stack no longer supports Docker versions before Docker 1.9.1 and, consequently, if a Docker container is not being run 'detached', its standard input channel will always be kept open. (Before Docker 1.9.1 the use of an interactive container could hang in certain circumstances.)
- On Windows, Stack will always warn (message S-8432) if there is a space character in Stack's 'programs' path, as GHC 9.4.1 and later do not work if there is a space in the path to the
ghcexecutable. S-8432 now presents as a warning and not an error. - Stack respects the
--no-run-testsand--no-run-benchmarksflags when determining build actions. Previously Stack respected the flags when executing the run test suites or run benchmarks actions for each targeted project package.
Other enhancements:
- Consider GHC 9.10 to be a tested compiler and remove warnings.
- Consider Cabal 3.12 to be a tested library and remove warnings.
- Add flags
--run-testsand--run-benchmarks(the existing defaults) to Stack'sbuildcommand, which take precedence over the existingno-run-testsandno-run-benchmarksconfiguration options, respectively. - In configuration files, the
notify-if-no-run-testsandnotify-if-no-run-benchmarkskeys are introduced, to allow the exisitng notification to be muted if unwanted.
Bug fixes:
- Stack's in-app messages refer to https://haskellstack.org as currently structured. (Most URLs in older Stack versions are redirected.)
- Stack's
upgradecommand only treats the current running Stack executable as 'stack' if the executable file is namedstackor, on Windows,stack.exe. Previously only how it was invoked was considered. stack test --no-run-tests --dry-runno longer reports that Stack would test project packages with test suites andstack bench --no-run-benchmarks --dry-runno longer reports that Stack would benchmark project packages with benchmarks.StackSetupShimcompiles withCabal >= 3.14.0.0.