3 3.10.1.0 Mikolaj Konarski <mikolaj@well-typed.com> March 2023
4 * See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.10.1.0.md
6 3.8.1.0 Mikolaj Konarski <mikolaj@well-typed.com> August 2022
7 * See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.8.1.0.md
9 3.6.2.0 Emily Pillmore <emilypi@cohomolo.gy> October 2021
10 * See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.6.2.0.md
12 3.6.0.0 Emily Pillmore <emilypi@cohomolo.gy> August 2021
13 * See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.6.0.0.md
15 3.4.1.0 Emily Pillmore <emilypi@cohomolo.gy> October 2021
16 * See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.4.1.0.md
18 3.4.0.0 Oleg Grenrus <oleg.grenrus@iki.fi> February 2021
19 * See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.4.0.0.md
21 3.2.0.0 Herbert Valerio Riedel <hvr@gnu.org> April 2020
22 * `v2-build` (and other `v2-`prefixed commands) now accept the
23 `--benchmark-option(s)` flags, which pass options to benchmark executables
24 (analogous to how `--test-option(s)` works). (#6209)
25 * Add solver optimization to skip a version of a package if it does not resolve
26 any conflicts encountered in the last version, controlled by flag
27 '--fine-grained-conflicts'. (#5918)
28 * `cabal v2-exec` doesn't fail in clean package (#6479)
29 * Show full ABI hash for installed packages in solver log (#5892)
30 * Create incoming directory even for empty packages (#4130)
31 * Start GHCi with `main-is` module in scope (#6311)
32 * Implement `--benchmark-options` for `v2-bench` (#6224)
33 * Fix store-dir in ghc env files generated by `cabal install --lib
34 --package-env` (#6298)
35 * `cabal v2-run` works with `.lhs` files (#6134)
36 * `subdir` in source-repository-package accepts multiple entries (#5472)
38 3.0.1.0 Herbert Valerio Riedel <hvr@gnu.org> April 2020
39 * Create store incoming directory
40 ([#4130](https://github.com/haskell/cabal/issues/4130))
41 * `fetchRepoTarball` output is not marked
42 ([#6385](https://github.com/haskell/cabal/pull/6385))
43 * Update `setupMinCabalVersionConstraint` for GHC-8.8
44 ([#6217](https://github.com/haskell/cabal/pull/6217))
45 * Implement `cabal install --ignore-project`
46 ([#5919](https://github.com/haskell/cabal/issues/5919))
47 * `cabal install executable` solver isn't affected by default
49 ([#6410](https://github.com/haskell/cabal/issues/6410))
50 * Use `lukko` for file locking
51 ([#6345](https://github.com/haskell/cabal/pull/6345))
52 * Use `hackage-security-0.6`
53 ([#6388](https://github.com/haskell/cabal/pull/6388))
54 * Other dependency upgrades
56 3.0.0.0 Mikhail Glushenkov <mikhail.glushenkov@gmail.com> August 2019
57 * `v2-haddock` fails on `haddock` failures (#5977)
58 * `v2-run` works when given `File.lhs` literate file. (#6134)
59 * Parse comma-separated lists for extra-prog-path, extra-lib-dirs, extra-framework-dirs,
60 and extra-include-dirs as actual lists. (#5420)
61 * `v2-repl` no longer changes directory to a randomized temporary folder
62 when used outside of a project. (#5544)
63 * `install-method` and `overwrite-policy` in `.cabal/config` now actually work. (#5942)
64 * `v2-install` now reports the error when a package fails to build. (#5641)
65 * `v2-install` now has a default when called in a project (#5978, #6014, #6092)
66 * '--write-ghc-environment-files' now defaults to 'never' (#4242)
67 * Fix `sdist`'s output when sent to stdout. (#5874)
68 * Allow a list of dependencies to be provided for `repl --build-depends`. (#5845)
69 * Legacy commands are now only accessible with the `v1-` prefixes, and the `v2-`
70 commands are the new default. Accordingly, the next version of Cabal will be
71 the start of the 3.x version series. (#5800)
72 * New solver flag: '--reject-unconstrained-dependencies'. (#2568)
73 * Ported old-style test options to the new-style commands (#5455).
74 * Improved error messages for cabal file parse errors. (#5710)
75 * Removed support for `.zip` format source distributions (#5755)
76 * Add "simple project" initialization option. (#5707)
77 * Add '--minimize-conflict-set' flag to try to improve the solver's
78 error message, but with an increase in run time. (#5647)
79 * v2-test now succeeds when there are no test suites. (#5435)
80 * Add '--lib', '--exe', and '--libandexe' shorthands to init. (#5759)
81 * init now generates valid `Main.lhs` files. (#5577)
82 * Init improvements: add flag '--application-dir', and when creating
83 a library also create a MyLib.hs module. (#5740)
84 * Add support for generating test-suite via cabal init. (#5761)
85 * Increase `max-backjumps` default from 2000 to 4000.
86 * Make v2-install/new-install-specific flags configurable in
88 * Add --installdir and --install-method=copy flags to v2-install
89 that make it possible to copy the executable instead of symlinking it
90 * --symlink-bindir no longer controls the symlinking directory of
91 v2-install (installdir controls both symlinking and copying now)
92 * Default to non-interactive init.
93 * Add --test-wrapper that allows a prebuild script to set the test environment.
94 * Add filterTestFlags: filter test-wrapper for Cabal < 3.0.0.
95 * Cabal now only builds the minimum of a package for `v2-install` (#5754, #6091)
97 2.4.1.0 Mikhail Glushenkov <mikhail.glushenkov@gmail.com> November 2018
98 * Add message to alert user to potential package casing errors. (#5635)
99 * new-clean no longer deletes dist-newstyle/src with `-s`. (#5699)
100 * 'new-install' now warns when failing to symlink an exe (#5602)
101 * Extend 'cabal init' support for 'cabal-version' selection (#5567)
102 * 'new-sdist' now generates tarballs with file modification
103 times from a date in 2001. Using the Unix epoch caused
104 problems on Windows. (#5596)
105 * Register monolithic packages installed into the store due to a
106 build-tool dependency if they also happen to contain a buildable
107 public lib. (#5379,#5604)
108 * Fixed a Windows bug where cabal-install tried to copy files
109 after moving them (#5631).
110 * 'cabal v2-repl' now works for indefinite (in the Backpack sense) components. (#5619)
111 * Set data dir environment variable for tarballs and remote repos (#5469)
112 * Fix monolithic inplace build tool PATH (#5633)
113 * 'cabal init' now supports '-w'/'--with-compiler' flag (#4936, #5654)
114 * Fix ambiguous --builddir on new-install (#5652)
115 * Allow relative --storedir (#5662)
116 * Respect --dry on new-install (#5671)
117 * Warn when new-installing zero exes (#5666)
118 * Add 'pkg-cabal-sha256' field to plan.json (#5695)
119 * New v2-build flag: '--only-configure'. (#5578)
120 * Fixed a 'new-install' failure that manifested when it
121 encountered remote source dependencies in a project. (#5643)
122 * New 'v2-[build,configure' flag: '--write-ghc-environment-files'
123 to control the generation of .ghc.environment files. (#5711)
125 2.4.0.0 Mikhail Glushenkov <mikhail.glushenkov@gmail.com> September 2018
126 * Bugfix: "cabal new-build --ghc-option '--bogus' --ghc-option '-O1'"
127 no longer ignores all arguments except the last one (#5512).
128 * Add the following option aliases for '-dir'-suffixed options:
129 'storedir', 'logsdir', 'packagedir', 'sourcedir', 'outputdir' (#5484).
130 * 'new-run' now allows the user to run scripts that use a special block
131 to define their requirements (as in the executable stanza) in place
132 of a target. This also allows the use of 'cabal' as an interpreter
134 * Add aliases for the "new-" commands that won't change when they
135 lose their prefix or are eventually replaced by a third UI
136 paradigm in the future. (#5429)
137 * 'outdated' now accepts '--project-file FILE', which will look for bounds
138 from the new-style freeze file named FILE.freeze. This is only
139 available when `--new-freeze-file` has been passed.
140 * 'new-repl' now accepts a '--build-depends' flag which accepts the
141 same syntax as is used in .cabal files to add additional dependencies
142 to the environment when developing in the REPL. It is now usable outside
143 of projects. (#5425, #5454)
144 * 'new-build' now treats Haddock errors non-fatally. In addition,
145 it attempts to avoid trying to generate Haddocks when there is
146 nothing to generate them from. (#5232, #5459)
147 * 'new-run', 'new-test', and 'new-bench' now will attempt to resolve
148 ambiguous selectors by filtering out selectors that would be invalid.
150 * 'new-install' now supports installing libraries and local
152 * Drop support for GHC 7.4, since it is out of our support window
153 (and has been for over a year!).
154 * 'new-update' now works outside of projects. (#5096)
155 * Extend `plan.json` with `pkg-src` provenance information. (#5487)
156 * Add 'new-sdist' command (#5389). Creates stable archives based on
157 cabal projects in '.zip' and '.tar.gz' formats.
158 * Add '--repl-options' flag to 'cabal repl' and 'cabal new-repl'
159 commands. Passes its arguments to the invoked repl, bypassing the
160 new-build's cached configurations. This assures they don't trigger
161 useless rebuilds and are always applied within the repl. (#4247, #5287)
162 * Add 'v1-' prefixes for the commands that will be replaced in the
163 new-build universe, in preparation for it becoming the default.
165 * 'outdated' accepts '--v1-freeze-file' and '--v2-freeze-file'
167 * Completed the 'new-clean' command (#5357). The functionality is
168 equivalent to old-style clean, but for nix-style builds.
169 * Ensure that each package selected for a build-depends dependency
170 contains a library (#5304).
171 * Support packages from local tarballs in the cabal.project file.
172 * Default changelog generated by 'cabal init' is now named
173 'CHANGELOG.md' (#5441).
174 * Align output of 'new-build' command phases (#4040).
175 * Add support for specifying remote VCS dependencies via new
176 'source-repository-package' stanzas in 'cabal.project' files
179 2.2.0.0 Mikhail Glushenkov <mikhail.glushenkov@gmail.com> March 2018
180 * '--with-PROG' and '--PROG-options' are applied to all packages
181 and not local packages only (#5019).
182 * Completed the 'new-update' command (#4809), which respects nix-style
183 cabal.project(.local) files and allows to update from
184 multiple repositories when using overlays.
185 * Completed the 'new-run' command (#4477). The functionality is the
186 same of the old 'run' command but using nix-style builds.
187 Additionally, it can run executables across packages in a project.
188 Tests and benchmarks are also treated as executables, providing a
189 quick way to pass them arguments.
190 * Completed the 'new-bench' command (#3638). Same as above.
191 * Completed the 'new-exec' command (#3638). Same as above.
192 * Added a preliminary 'new-install' command (#4558, nonlocal exes
193 part) which allows to quickly install executables from Hackage.
194 * Set symlink-bindir (used by new-install) to .cabal/bin by default on
195 .cabal/config initialization (#5188).
196 * 'cabal update' now supports '--index-state' which can be used to
197 roll back the index to an earlier state.
198 * '--allow-{newer,older}' syntax has been enhanced. Dependency
199 relaxation can be now limited to a specific release of a package,
200 plus there's a new syntax for relaxing only caret-style (i.e. '^>=')
201 dependencies (#4575, #4669).
202 * New config file field: 'cxx-options' to specify which options to be
203 passed to the compiler when compiling C++ sources specified by the
204 'cxx-sources' field. (#3700)
205 * New config file field: 'cxx-sources' to specify C++ files to be
206 compiled separately from C source files. Useful in conjunction with the
207 'cxx-options' flag to pass different compiler options to C and C++
208 source files. (#3700)
209 * Use [lfxtb] letters to differentiate component kind instead of
210 opaque "c" in dist-dir layout.
211 * 'cabal configure' now supports '--enable-static', which can be
212 used to build static libraries with GHC via GHC's `-staticlib`
214 * 'cabal user-config now supports '--augment' which can append
215 additional lines to a new or updated cabal config file.
216 * Added support for '--enable-tests' and '--enable-benchmarks' to
217 'cabal fetch' (#4948).
218 * Misspelled package-names on CLI will no longer be silently
219 case-corrected (#4778).
220 * 'cabal new-configure' now backs up the old 'cabal.project.local'
221 file if it exists (#4460).
222 * On macOS, `new-build` will now place dynamic libraries into
223 `store/lib` and aggressively shorten their names in an effort to
224 stay within the load command size limits of macOSs mach-o linker.
225 * 'new-build' now checks for the existence of executables for
226 build-tools and build-tool-depends dependencies in the solver
228 * Fixed a spurious warning telling the user to run 'cabal update'
229 when it wasn't necessary (#4444).
230 * Packages installed in sandboxes via 'add-source' now have
231 their timestamps updated correctly and so will not be reinstalled
232 unnecessarily if the main install command fails (#1375).
233 * Add Windows device path support for copyFile, renameFile. Allows cabal
234 new-build to use temporary store path of up to 32k length
235 (#3972, #4914, #4515).
236 * When a flag value is specified multiple times on the command
237 line, the last one is now preferred, so e.g. '-f+dev -f-dev' is
238 now equivalent to '-f-dev' (#4452).
239 * Removed support for building cabal-install with GHC < 7.10 (#4870).
240 * New 'package *' section in 'cabal.project' files that applies
241 options to all packages, not just those local to the project.
242 * Paths_ autogen modules now compile when `RebindableSyntax` or
243 `OverloadedStrings` is used in `default-extensions`.
244 [stack#3789](https://github.com/commercialhaskell/stack/issues/3789)
245 * getDataDir` and other `Paths_autogen` functions now work correctly
246 when compiling a custom `Setup.hs` script using `new-build` (#5164).
248 2.0.0.1 Mikhail Glushenkov <mikhail.glushenkov@gmail.com> December 2017
249 * Support for GHC's numeric -g debug levels (#4673).
250 * Demoted 'scope' field version check to a warning (#4714).
251 * Fixed verbosity flags getting removed before being passed to
253 * Added a '--store-dir' option that can be used to configure the
254 location of the build global build store (#4623).
255 * Turned `allow-{newer,older}` in `cabal.project` files into an
256 accumulating field to match CLI flag semantics (#4679).
257 * Improve success message when `cabal upload`ing documentation
259 * Documentation fixes.
261 2.0.0.0 Mikhail Glushenkov <mikhail.glushenkov@gmail.com> August 2017
262 * See http://coldwa.st/e/blog/2017-09-09-Cabal-2-0.html
263 for more detailed release notes.
264 * Removed the '--root-cmd' parameter of the 'install' command
266 * Deprecated 'cabal install --global' (#3356).
267 * Changed 'cabal upload' to upload a package candidate by default
268 (#3419). Same applies to uploading documentation.
269 * Added a new 'cabal upload' flag '--publish' for publishing a
270 package on Hackage instead of uploading a candidate (#3419).
271 * Added optional solver output visualisation support via the
272 tracetree package. Mainly intended for debugging (#3410).
273 * Removed the '--check' option from 'cabal upload'
274 (#1823). It was replaced by package candidates.
275 * Fixed various behaviour differences between network transports
277 * The bootstrap script now works correctly when run from a Git
279 * Removed the top-down solver (#3598).
280 * The '-v/--verbosity' option no longer affects GHC verbosity
281 (except in the case of '-v0'). Use '--ghc-options=-v' to enable
282 verbose GHC output (#3540, #3671).
283 * Changed the default logfile template from
284 '.../$pkgid.log' to '.../$compiler/$libname.log' (#3807).
285 * Added a new command, 'cabal reconfigure', which re-runs 'configure'
286 with the most recently used flags (#2214).
287 * Added the '--index-state' flag for requesting a specific
288 version of the package index (#3893, #4115).
289 * Support for building Backpack packages. See
290 https://github.com/ezyang/ghc-proposals/blob/backpack/proposals/0000-backpack.rst
292 * Support the Nix package manager (#3651).
293 * Made the 'template-haskell' package non-upgradable again (#4185).
294 * Fixed password echoing on MinTTY (#4128).
295 * Added a new solver flag, '--allow-boot-library-installs', that allows
296 any package to be installed or upgraded (#4209).
297 * New 'cabal-install' command: 'outdated', for listing outdated
298 version bounds in a .cabal file or a freeze file (#4207).
299 * Added qualified constraints for setup dependencies. For example,
300 --constraint="setup.bar == 1.0" constrains all setup dependencies on
301 bar, and --constraint="foo:setup.bar == 1.0" constrains foo's setup
302 dependency on bar (part of #3502).
303 * Non-qualified constraints, such as --constraint="bar == 1.0", now
304 only apply to top-level dependencies. They don't constrain setup or
305 build-tool dependencies. The new syntax --constraint="any.bar == 1.0"
306 constrains all uses of bar.
307 * Added a technical preview version of the 'cabal doctest' command
310 1.24.0.2 Mikhail Glushenkov <mikhail.glushenkov@gmail.com> December 2016
311 * Adapted to the revert of a PVP-noncompliant API change in
312 Cabal 1.24.2.0 (#4123).
313 * Bumped the directory upper bound to < 1.4 (#4158).
315 1.24.0.1 Ryan Thomas <ryan@ryant.org> October 2016
316 * Fixed issue with passing '--enable-profiling' when invoking
317 Setup scripts built with older versions of Cabal (#3873).
318 * Fixed various behaviour differences between network transports
320 * Updated to depend on the latest hackage-security that fixes
321 various issues on Windows.
322 * Fixed 'new-build' to exit with a non-zero exit code on failure
324 * Store secure repo index data as 01-index.* (#3862).
325 * Added new hackage-security root keys for distribution with
327 * Fix an issue where 'cabal install' sometimes had to be run twice
328 for packages with build-type: Custom and a custom-setup stanza
330 * 'cabal sdist' no longer ignores '--builddir' when the package's
331 build-type is Custom (#3794).
333 1.24.0.0 Ryan Thomas <ryan@ryant.org> March 2016
334 * If there are multiple remote repos, 'cabal update' now updates
335 them in parallel (#2503).
336 * New 'cabal upload' option '-P'/'--password-command' for reading
337 Hackage password from arbitrary program output (#2506).
338 * Better warning for 'cabal run' (#2510).
339 * 'cabal init' now warns if the chosen package name is already
340 registered in the source package index (#2436).
341 * New 'cabal install' option: '--offline' (#2578).
342 * Accept 'builddir' field in cabal.config (#2484)
343 * Read 'builddir' option from 'CABAL_BUILDDIR' environment variable.
344 * Remote repos may now be configured to use https URLs. This uses
345 either curl or wget or, on Windows, PowerShell, under the hood (#2687).
346 * Install target URLs can now use https e.g. 'cabal install
347 https://example.com/foo-1.0.tar.gz'.
348 * Automatically use https for cabal upload for the main
349 hackage.haskell.org (other repos will use whatever they are
351 * Support for dependencies of custom Setup.hs scripts
352 (see http://www.well-typed.com/blog/2015/07/cabal-setup-deps/).
353 * 'cabal' program itself now can be used as an external setup
354 method. This fixes an issue when Cabal version mismatch caused
355 unnecessary reconfigures (#2633).
356 * Improved error message for unsatisfiable package constraints
358 * Fixed a space leak in 'cabal update' (#2826).
359 * 'cabal exec' and 'sandbox hc-pkg' now use the configured
361 * New 'cabal haddock' option: '--for-hackage' (#2852).
362 * Added a warning when the solver cannot find a dependency (#2853).
363 * New 'cabal upload' option: '--doc': upload documentation to
365 * Improved error handling for 'sandbox delete-source' (#2943).
366 * Solver support for extension and language flavours (#2873).
367 * Support for secure repos using hackage-security (#2983).
368 * Added a log file message similar to one printed by 'make' when
369 building in another directory (#2642).
370 * Added new subcommand 'init' to 'cabal user-config'. This
371 subcommand creates a cabal configuration file in either the
372 default location or as specified by --config-file (#2553).
373 * The man page for 'cabal-install' is now automatically generated
375 * The '--allow-newer' option now works as expected when specified
376 multiple times (#2588).
377 * New config file field: 'extra-framework-dirs' (extra locations
378 to find OS X frameworks in). Can be also specified as an argument
379 for 'install' and 'configure' commands (#3158).
380 * It's now possible to limit the scope of '--allow-newer' to
381 single packages in the install plan (#2756).
382 * Full '--allow-newer' syntax is now supported in the config file
383 (that is, 'allow-newer: base, ghc-prim, some-package:vector')
385 * Improved performance of '--reorder-goals' (#3208).
386 * Fixed space leaks in modular solver (#2916, #2914).
387 * Made the solver aware of pkg-config constraints (#3023).
388 * Added a new command: 'gen-bounds' (#3223). See
389 http://softwaresimply.blogspot.se/2015/08/cabal-gen-bounds-easy-generation-of.html.
390 * Tech preview of new nix-style isolated project-based builds.
391 Currently provides the commands (new-)build/repl/configure.
393 1.22.9.0 Ryan Thomas <ryan@ryant.org> March 2016
394 * Include Cabal-1.22.8.0
396 1.22.8.0 Ryan Thomas <ryan@ryant.org> February 2016
397 * Only Custom setup scripts should be compiled with '-i -i.'.
398 * installedCabalVersion: Don't special-case Cabal anymore.
399 * Bump the HTTP upper bound. See #3069.
401 1.22.7.0 Ryan Thomas <ryan@ryant.org> December 2015
402 * Remove GZipUtils tests
403 * maybeDecompress: bail on all errors at the beginning of the
404 stream with zlib < 0.6
405 * Correct maybeDecompress
407 1.22.6.0 Ryan Thomas <ryan@ryant.org> June 2015
408 * A fix for @ezyang's fix for #2502. (Mikhail Glushenkov)
410 1.22.5.0 Ryan Thomas <ryan@ryant.org> June 2015
411 * Reduce temporary directory name length, fixes #2502. (Edward Z. Yang)
413 1.22.4.0 Ryan Thomas <ryan@ryant.org> May 2015
414 * Force cabal upload to always use digest auth and never basic auth.
415 * Add dependency-graph information to `printPlan` output
416 * bootstrap.sh: fixes linker matching to avoid cases where tested
417 linker names appear unexpectedly in compiler output (fixes #2542)
419 1.22.3.0 Ryan Thomas <ryan@ryant.org> April 2015
420 * Fix bash completion for sandbox subcommands - Fixes #2513
422 * filterConfigureFlags: filter more flags (Mikhail Glushenkov)
424 1.22.2.0 Ryan Thomas <ryan@ryant.org> March 2015
425 * Don't pass '--{en,dis}able-profiling' to old setup exes.
429 1.22.0.0 Johan Tibell <johan.tibell@gmail.com> January 2015
430 * New command: user-config (#2159).
431 * Implement 'cabal repl --only' (#2016).
432 * Fix an issue when 'cabal repl' was doing unnecessary compilation
434 * Prompt the user to specify source directory in 'cabal init'
436 * Remove the self-upgrade check (#2090).
437 * Don't redownload already downloaded packages when bootstrapping
439 * Support sandboxes in 'bootstrap.sh' (#2137).
440 * Install profiling and shared libs by default in 'bootstrap.sh'
443 1.20.2.0 Ryan Thomas <ryan@ryant.org> February 2016
444 * Only Custom setup scripts should be compiled with '-i -i.'.
445 * installedCabalVersion: Don't special-case Cabal anymore.
447 1.20.1.0 Ryan Thomas <ryan@ryant.org> May 2015
448 * Force cabal upload to always use digest auth and never basic auth.
449 * bootstrap.sh: install network-uri before HTTP
451 1.20.0.5 Johan Tibell <johan.tibell@gmail.com> December 2014
452 * Support random 1.1.
453 * Fix bootstrap script after network package split.
454 * Support network-2.6 in test suite.
456 1.20.0.3 Johan Tibell <johan.tibell@gmail.com> June 2014
457 * Don't attempt to rename dist if it is already named correctly
458 * Treat all flags of a package as interdependent.
459 * Allow template-haskell to be upgradable again
461 1.20.0.2 Johan Tibell <johan.tibell@gmail.com> May 2014
462 * Increase max-backjumps to 2000.
463 * Fix solver bug which led to missed install plans.
464 * Fix streaming test output.
465 * Tweak solver heuristics to avoid reinstalls.
467 1.20.0.1 Johan Tibell <johan.tibell@gmail.com> May 2014
468 * Fix cabal repl search path bug on Windows
469 * Include OS and arch in cabal-install user agent
470 * Revert --constraint flag behavior in configure to 1.18 behavior
472 1.20.0.0 Johan Tibell <johan.tibell@gmail.com> April 2014
473 * Build only selected executables
474 * Add -j flag to build/test/bench/run
475 * Improve install log file
476 * Don't symlink executables when in a sandbox
477 * Add --package-db flag to 'list' and 'info'
478 * Make upload more efficient
479 * Add --require-sandbox option
480 * Add experimental Cabal file format command
481 * Add haddock section to config file
482 * Add --main-is flag to init
484 1.18.2.0 Ryan Thomas <ryan@ryant.org> February 2016
485 * Only Custom setup scripts should be compiled with '-i -i.'.
486 * installedCabalVersion: Don't special-case Cabal anymore.
488 1.18.1.0 Ryan Thomas <ryan@ryant.org> May 2015
489 * Force cabal upload to always use digest auth and never basic auth.
490 * Merge pull request #2367 from juhp/patch-2
491 * Fix bootstrap.sh by bumping HTTP to 4000.2.16.1
493 1.18.0.7 Johan Tibell <johan.tibell@gmail.com> December 2014
494 * Support random 1.1.
495 * Fix bootstrap script after network package split.
496 * Support network-2.6 in test suite.
498 1.18.0.5 Johan Tibell <johan.tibell@gmail.com> July 2014
499 * Make solver flag resolution more conservative.
501 1.18.0.4 Johan Tibell <johan.tibell@gmail.com> May 2014
502 * Increase max-backjumps to 2000.
503 * Fix solver bug which led to missed install plans.
504 * Tweak solver heuristics to avoid reinstalls.
506 0.14.0 Andres Loeh <andres@well-typed.com> April 2012
508 * Completely new modular dependency solver (default in most cases)
509 * Some tweaks to old topdown dependency solver
510 * Install plans are now checked for reinstalls that break packages
511 * Flags --constraint and --preference work for nonexisting packages
512 * New constraint forms for source and installed packages
513 * New constraint form for package-specific use flags
514 * New constraint form for package-specific stanza flags
515 * Test suite dependencies are pulled in on demand
516 * No longer install packages on --enable-tests when tests fail
517 * New "cabal bench" command
518 * Various "cabal init" tweaks
520 0.10.0 Duncan Coutts <duncan@community.haskell.org> February 2011
521 * New package targets: local dirs, local and remote tarballs
522 * Initial support for a "world" package target
523 * Partial fix for situation where user packages mask global ones
524 * Removed cabal upgrade, new --upgrade-dependencies flag
525 * New cabal install --only-dependencies flag
526 * New cabal fetch --no-dependencies and --dry-run flags
527 * Improved output for cabal info
528 * Simpler and faster bash command line completion
529 * Fix for broken proxies that decompress wrongly
530 * Fix for cabal unpack to preserve executable permissions
531 * Adjusted the output for the -v verbosity level in a few places
533 0.8.2 Duncan Coutts <duncan@community.haskell.org> March 2010
534 * Fix for cabal update on Windows
535 * On windows switch to per-user installs (rather than global)
536 * Handle intra-package dependencies in dependency planning
537 * Minor tweaks to cabal init feature
538 * Fix various -Wall warnings
539 * Fix for cabal sdist --snapshot
541 0.8.0 Duncan Coutts <duncan@haskell.org> Dec 2009
542 * Works with ghc-6.12
543 * New "cabal init" command for making initial project .cabal file
544 * New feature to maintain an index of haddock documentation
546 0.6.4 Duncan Coutts <duncan@haskell.org> Nov 2009
547 * Improve the algorithm for selecting the base package version
548 * Hackage errors now reported by "cabal upload [--check]"
549 * Improved format of messages from "cabal check"
550 * Config file can now be selected by an env var
551 * Updated tar reading/writing code
552 * Improve instructions in the README and bootstrap output
553 * Fix bootstrap.sh on Solaris 9
554 * Fix bootstrap for systems where network uses parsec 3
555 * Fix building with ghc-6.6
557 0.6.2 Duncan Coutts <duncan@haskell.org> Feb 2009
558 * The upgrade command has been disabled in this release
559 * The configure and install commands now have consistent behaviour
560 * Reduce the tendency to re-install already existing packages
561 * The --constraint= flag now works for the install command
562 * New --preference= flag for soft constraints / version preferences
563 * Improved bootstrap.sh script, smarter and better error checking
564 * New cabal info command to display detailed info on packages
565 * New cabal unpack command to download and untar a package
566 * HTTP-4000 package required, should fix bugs with http proxies
567 * Now works with authenticated proxies.
568 * On Windows can now override the proxy setting using an env var
569 * Fix compatibility with config files generated by older versions
570 * Warn if the hackage package list is very old
571 * More helpful --help output, mention config file and examples
572 * Better documentation in ~/.cabal/config file
573 * Improved command line interface for logging and build reporting
574 * Minor improvements to some messages
576 0.6.0 Duncan Coutts <duncan@haskell.org> Oct 2008
577 * Constraint solver can now cope with base 3 and base 4
578 * Allow use of package version preferences from hackage index
579 * More detailed output from cabal install --dry-run -v
580 * Improved bootstrap.sh
582 0.5.2 Duncan Coutts <duncan@haskell.org> Aug 2008
583 * Support building haddock documentation
584 * Self-reinstall now works on Windows
585 * Allow adding symlinks to executables into a separate bindir
586 * New self-documenting config file
587 * New install --reinstall flag
588 * More helpful status messages in a couple places
589 * Upload failures now report full text error message from the server
590 * Support for local package repositories
591 * New build logging and reporting
592 * New command to upload build reports to (a compatible) server
593 * Allow tilde in hackage server URIs
594 * Internal code improvements
595 * Many other minor improvements and bug fixes
597 0.5.1 Duncan Coutts <duncan@haskell.org> June 2008
598 * Restore minimal hugs support in dependency resolver
599 * Fix for disabled http proxies on Windows
600 * Revert to global installs on Windows by default
602 0.5.0 Duncan Coutts <duncan@haskell.org> June 2008
603 * New package dependency resolver, solving diamond dep problem
604 * Integrate cabal-setup functionality
605 * Integrate cabal-upload functionality
606 * New cabal update and check commands
607 * Improved behavior for install and upgrade commands
608 * Full Windows support
609 * New command line handling
610 * Bash command line completion
611 * Allow case insensitive package names on command line
612 * New --dry-run flag for install, upgrade and fetch commands
613 * New --root-cmd flag to allow installing as root
614 * New --cabal-lib-version flag to select different Cabal lib versions
615 * Support for HTTP proxies
616 * Improved cabal list output
617 * Build other non-dependent packages even when some fail
618 * Report a summary of all build failures at the end
619 * Partial support for hugs
620 * Partial implementation of build reporting and logging
621 * More consistent logging and verbosity
622 * Significant internal code restructuring
624 0.4 Duncan Coutts <duncan@haskell.org> Oct 2007
625 * Renamed executable from 'cabal-install' to 'cabal'
626 * Partial Windows compatibility
627 * Do per-user installs by default
628 * cabal install now installs the package in the current directory
629 * Allow multiple remote servers
630 * Use zlib lib and internal tar code and rather than external tar
631 * Reorganised configuration files
632 * Significant code restructuring
633 * Cope with packages with conditional dependencies
635 0.3 and older versions by Lemmih, Paolo Martini and others 2006-2007
636 * Switch from smart-server, dumb-client model to the reverse
637 * New .tar.gz based index format
638 * New remote and local package archive format