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