Skip to content

Commit 0615468

Browse files
committed
Update ChangeLog for pantry changes
1 parent 7ab87ec commit 0615468

File tree

1 file changed

+29
-8
lines changed

1 file changed

+29
-8
lines changed

ChangeLog.md

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,32 @@ Release notes:
77

88
Major changes:
99

10-
* Drop support for multiple package indices and legacy `00-index.tar` style
11-
indices. See [#4137](https://github.com/commercialhaskell/stack/issues/4137).
12-
* Changes to parsing of packages in `stack.yaml` files:
13-
* All package types besides local file paths must now be treated as `extra-dep`s.
14-
* Only local filepaths can be specified in `packages`. All other
15-
must be specified in `extra-deps`.
16-
* The `extra-dep` key in `packages` is no longer supported; please
17-
move any such specifications to `extra-deps`.
10+
* Switch over to pantry for managing packages. This is a major change
11+
to Stack's internals, and affects user-visible behavior in a few
12+
places. Some highlights:
13+
* Drop support for multiple package indices and legacy
14+
`00-index.tar` style indices. See
15+
[#4137](https://github.com/commercialhaskell/stack/issues/4137).
16+
* Support for archives and repos in the `packages` section has
17+
been removed. Instead, you must use `extra-deps` for such
18+
dependencies. `packages` now only supports local filepaths.
19+
* Addition of new configuration options for specifying a "pantry
20+
tree" key, which provides more reproducibility around builds,
21+
and (in the future) will be used for more efficient package
22+
content downloads. You can also specify package name and version
23+
for more efficient config parsing.
24+
* __NOTE__ The new `stack freeze` command provides support
25+
for automatically generating this additional
26+
information. @@@TODO ensure `stack freeze` actually makes
27+
it in.
28+
* Package contents and metadata are stored in an SQLite database
29+
in place of files on the filesystem. The `pantry` library can be
30+
used for interacting with these contents.
31+
* Internally, Stack has changed many datatypes, including moving
32+
to Cabal's definition of many data types. As a result of such
33+
changes, existing cache files will in general be invalidated,
34+
resulting in Stack needing to rebuild many previously cached
35+
builds in the new version. Sorry :(.
1836

1937
Behavior changes:
2038

@@ -32,6 +50,9 @@ Other enhancements:
3250
redefine the default styles that stack uses to color some of its output. See
3351
`stack --help` for more information.
3452
* New build option `--ddump-dir`. (See [#4225](https://github.com/commercialhaskell/stack/issues/4225))
53+
* Stack parses and respects the `preferred-versions` information from
54+
Hackage for choosing latest version of a package in some cases,
55+
e.g. `stack unpack packagename`.
3556

3657
Bug fixes:
3758

0 commit comments

Comments
 (0)