@@ -7,14 +7,32 @@ Release notes:
7
7
8
8
Major changes:
9
9
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 :(.
18
36
19
37
Behavior changes:
20
38
@@ -32,6 +50,9 @@ Other enhancements:
32
50
redefine the default styles that stack uses to color some of its output. See
33
51
` stack --help ` for more information.
34
52
* 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 ` .
35
56
36
57
Bug fixes:
37
58
0 commit comments