1 # 3.12.0.0 [Francesco Ariis](mailto:fa-ml@ariis.it) May 2024
2 # 3.12.0.0 [Francesco Ariis](mailto:fa-ml@ariis.it) March 2024
3 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.12.0.0.md
5 # 3.10.3.0 [Hécate](mailto:hecate+github@glitchbra.in) January 2024
6 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.10.3.0.md
8 # 3.10.2.1 [Hécate](mailto:hecate+github@glitchbra.in) October 2023
9 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.10.2.1.md
11 # 3.10.2.0 [Hécate](mailto:hecate+github@glitchbra.in) August 2023
12 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.10.2.0.md
14 # 3.10.1.0 [Mikolaj Konarski](mailto:mikolaj@well-typed.com) March 2023
15 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.10.1.0.md
17 # 3.8.1.0 [Mikolaj Konarski](mailto:mikolaj@well-typed.com) August 2022
18 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.8.1.0.md
21 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.6.3.0.md
23 # 3.6.2.0 [Emily Pillmore](mailto:emilypi@cohomolo.gy) October 2021
24 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.6.2.0.md
26 # 3.6.1.0 [Emily Pillmore](mailto:emilypi@cohomolo.gy) August 2021
27 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.6.1.0.md
29 # 3.6.0.0 [Emily Pillmore](mailto:emilypi@cohomolo.gy) August 2021
30 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.6.0.0.md
32 # 3.4.1.0 [Emily Pillmore](mailto:emilypi@cohomolo.gy) October 2021
33 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.4.1.0.md
35 # 3.4.0.0 [Oleg Grenrus](mailto:oleg.grnerus@iki.fi) February 2021
36 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.4.0.0.md
38 # 3.2.1.0 [Oleg Grenrus](mailto:oleg.grenris@iki.fi) October 2020
39 * Pass `cxx-options` with `-optcxx` for GHC >= 8.10
40 * Use process jobs when calling subprocesses
41 * Require custom-setup for `cabal-version: 1.24` and later
42 * Accept `linux-androideabi` as an alias for Android
43 * Fix ghci being launched before other sources are built
44 * Require cabal-versions >=1.25 to be exact
46 # 3.2.0.0 [Herbert Valerio Riedel](mailto:hvr@gnu.org) April 2020
47 * Change free text `String` fields to use `ShortText` in package description
48 and installed package info.
49 * Split `Distribution.Types.Flag` and `Distribution.Types.ConfVar`
50 `Distribution.Types.GenericPackageDescription`.
51 * Add GHC-8.10 support, including new extensions to
52 `Language.Haskell.Extension`.
53 * Use more `NonEmpty` instead of ordinary lists.
54 * Add `Distribution.Utils.Structured` for fingeprinting `Binary` blobs.
55 * Add `null`, `length` and `unsafeFromUTF8BS` to `Distribution.Utils.ShortText`.
56 * Refactor `Distribution.Utils.IOData` module.
57 * Rename `Distribution.Compat.MD5` to `Distribution.Utils.MD5`.
58 * Add `safeHead`, `safeTail`, `safeLast` to `Distribution.Utils.Generic`.
59 * Add `unsnoc` and `unsnocNE` to `Distribution.Utils.Generic`.
60 * Add `Set'` modifier to `Distribution.Parsec.Newtypes`.
61 * Add `Distribution.Compat.Async`.
63 # 3.0.2.0 [Herbert Valerio Riedel](mailto:hvr@gnu.org) April 2020
64 * Disallow spaces around colon `:` in Dependency `build-depends` syntax
65 ([#6538](https://github.com/haskell/cabal/pull/6538)).
66 * Make `configure` accept any `pkg-config --modversion` output
67 ([#6541](https://github.com/haskell/cabal/pull/6541)).
69 # 3.0.1.0 [Herbert Valerio Riedel](mailto:hvr@gnu.org) April 2020
70 * Add GHC-8.8 flags to `normaliseGhcFlags`
71 ([#6379](https://github.com/haskell/cabal/pull/6379)).
73 ([#6372](https://github.com/haskell/cabal/pull/6372)).
74 * Limit version number parts to contain at most 9 digits
75 ([#6386](https://github.com/haskell/cabal/pull/6386)).
76 * Fix boundless sublibrary dependency parse failure
77 ([#5846](https://github.com/haskell/cabal/issues/5846)).
78 * `cabal check` verifies `cpp-options` more pedantically, allowing only
79 options starting with `-D` and `-U`.
80 * Don’t rebuild world when new ghc flags that affect how error
81 messages are presented is specified.
82 * Fix dropExeExtension behaviour on Windows
83 ([#6287](https://github.com/haskell/cabal/pull/6287)).
85 # 3.0.0.0 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) August 2019
86 * The 3.0 migration guide gives advice on adapting Custom setup
87 scripts to backwards-incompatible changes in this release:
88 https://github.com/haskell/cabal/wiki/3.0-migration-guide.
89 * Due to [#5119](https://github.com/haskell/cabal/issues/5119), the
90 `cabal check` warning for bounds on internal libraries has been
92 * Introduce set notation for `^>=` and `==` operators
93 ([#5906](https://github.com/haskell/cabal/pull/5906)).
94 * 'check' reports warnings for various ghc-\*-options fields separately
95 ([#5342](https://github.com/haskell/cabal/issues/5432)).
96 * `KnownExtension`: added new extensions `DerivingVia` and
98 * Add `extra-dynamic-library-flavours`, to specify extra dynamic library
99 flavours to build and install from a .cabal file.
100 * `autoconfUserHooks` now passes `--host=$HOST` when cross-compiling
101 * Introduce multiple public libraries feature
102 ([#5526](https://github.com/haskell/cabal/pull/5526)).
103 * New build-depends syntax
104 * Add a set of library components to the `Dependency` datatype
105 * New `visibility` field in the `library` stanza
106 * New `LibraryVisibility` field in `InstalledPackageInfo`
107 * New syntax for the `--dependency` Cabal flag
109 * Add `--enable-executable-static` flag for building fully
110 static executables (GHC's normal "statish" linking links
111 Haskell libraries statically, but libc and system dependencies
112 dynamically). This new flag links everything statically.
113 * Note you likely want to link against `musl` or another libc that
114 supports fully static linking;
115 [`glibc` has some issues](https://sourceware.org/glibc/wiki/FAQ#Even_statically_linked_programs_need_some_shared_libraries_which_is_not_acceptable_for_me.__What_can_I_do.3F)
116 with fully static linking.
117 * Fix corrupted config file header for non-ASCII package names
118 ([2557](https://github.com/haskell/cabal/issues/2557)).
119 * Extend `Distribution.Simple.Utils.rewriteFileEx` from ASCII to UTF-8 encoding.
120 * Change the arguments of `Newtype` class to better suit @DeriveAnyClass@ usage,
121 add default implementation in terms of `coerce` / `unsafeCoerce`.
122 * Implement support for response file arguments to defaultMain* and cabal-install.
123 * Uniformly provide 'Semigroup' instances for `base < 4.9` via `semigroups` package
124 * Implement `{cmm,asm}-{sources,options} buildinfo fields for
125 separate compilation of C-- and ASM source files (#6033).
126 * Setting `debug-info` now implies `library-stripping: False` and
127 `executable-stripping: False) ([#2702](https://github.com/haskell/cabal/issues/2702))
128 * `Setup.hs copy` and `install` now work in the presence of
129 `data-files` that use `**` syntax
130 ([#6125](https://github.com/haskell/cabal/issues/6125)).
134 ### 2.4.1.1 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) December 2018
136 * Fix `--with-compiler` failing to locate compiler on Windows
137 ([#5753](https://github.com/haskell/cabal/pull/5753)).
138 * Cabal can once again be built with GHC 7.8 and 7.6
139 ([#5730](https://github.com/haskell/cabal/pull/5730)).
141 ### 2.4.1.0 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) November 2018
143 * Warnings in autogenerated files are now silenced
144 ([#5678](https://github.com/haskell/cabal/pull/5678)).
145 * Improved recompilation avoidance, especially when using GHC 8.6
146 ([#5589](https://github.com/haskell/cabal/pull/5589)).
147 * Do not error on empty packagedbs in `getInstalledPackages`
148 ([#5516](https://github.com/haskell/cabal/issues/5516)).
151 ### 2.4.0.1 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) September 2018
153 * Allow arguments to be passed to `Setup.hs haddock` for `build-type:configure`
154 ([#5503](https://github.com/haskell/cabal/issues/5503)).
156 # 2.4.0.0 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) September 2018
157 * Due to [#5119](https://github.com/haskell/cabal/issues/5119), the
158 `cabal check` warning for bounds on internal libraries has been
160 * `Distribution.Simple.Haddock` now checks to ensure that it
161 does not erroneously call Haddock with no target modules.
162 ([#5232](https://github.com/haskell/cabal/issues/5232),
163 [#5459](https://github.com/haskell/cabal/issues/5459)).
164 * Add `getting` (less general than `to`) Lens combinator,
165 `non`) and an optics to access the modules in a component
166 of a `PackageDescription` by the `ComponentName`:
167 `componentBuildInfo` and `componentModules`
168 * Linker `ld-options` are now passed to GHC as `-optl` options
169 ([#4925](https://github.com/haskell/cabal/pull/4925)).
170 * Add `readGhcEnvironmentFile` to parse GHC environment files.
171 * Drop support for GHC 7.4, since it is out of our support window
172 (and has been for over a year!)
173 * Deprecate `preSDist`, `sDistHook`, and `postSDist` in service of
174 `new-sdist`, since they violate key invariants of the new-build
175 ecosystem. Use `autogen-modules` and `build-tool-depends` instead.
176 ([#5389](https://github.com/haskell/cabal/pull/5389)).
177 * Added `--repl-options` flag to `Setup repl` used to pass flags to the
178 underlying repl without affecting the `LocalBuildInfo`
179 ([#4247](https://github.com/haskell/cabal/issues/4247),
180 [#5287](https://github.com/haskell/cabal/pull/5287))
181 * `KnownExtension`: added new extensions `BlockArguments`
182 ([#5101](https://github.com/haskell/cabal/issues/5101)),
184 ([#5130]((https://github.com/haskell/cabal/issues/5130)),
185 `QuantifiedConstraints`, and `StarIsType`.
186 * `buildDepends` is removed from `PackageDescription`. It had long been
187 uselessly hanging about as top-level build-depends already got put
188 into per-component condition trees anyway. Now it's finally been put
190 ([#4383](https://github.com/haskell/cabal/issues/4283)).
191 * Added `Eta` to `CompilerFlavor` and to known compilers.
192 * `cabal haddock` now generates per-component documentation
193 ([#5226](https://github.com/haskell/cabal/issues/5226)).
194 * Wildcard improvements:
195 * Allow `**` wildcards in `data-files`, `extra-source-files` and
196 `extra-doc-files`. These allow a limited form of recursive
197 matching, and require `cabal-version: 2.4`.
198 ([#5284](https://github.com/haskell/cabal/issues/5284),
199 [#3178](https://github.com/haskell/cabal/issues/3178), et al.)
200 * With `cabal-version: 2.4`, when matching a wildcard, the
201 requirement for the full extension to match exactly has been
202 loosened. Instead, if the wildcard's extension is a suffix of the
203 file's extension, the file will be selected. For example,
204 previously `foo.en.html` would not match `*.html`, and
205 `foo.solaris.tar.gz` would not match `*.tar.gz`, but now both
206 do. This may lead to files unexpectedly being included by `sdist`;
207 please audit your package descriptions if you rely on this
208 behaviour to keep sensitive data out of distributed packages
209 ([#5372](https://github.com/haskell/cabal/pull/5372),
210 [#784](https://github.com/haskell/cabal/issues/784),
211 [#5057](https://github.com/haskell/cabal/issues/5057)).
212 * Wildcard syntax errors (misplaced `*`, etc), wildcards that
213 refer to missing directories, and wildcards that do not match
214 anything are now all detected by `cabal check`.
215 * Wildcard ('globbing') functions have been moved from
216 `Distribution.Simple.Utils` to `Distribution.Simple.Glob` and
217 have been refactored.
218 * Fixed `cxx-options` and `cxx-sources` buildinfo fields for
219 separate compilation of C++ source files to correctly build and link
220 non-library components ([#5309](https://github.com/haskell/cabal/issues/5309)).
221 * Reduced warnings generated by hsc2hs and c2hs when `cxx-options` field
222 is present in a component.
223 * `cabal check` now warns if `-j` is used in `ghc-options` in a Cabal
224 file. ([#5277](https://github.com/haskell/cabal/issues/5277))
225 * `install-includes` now works as expected with foreign libraries
226 ([#5302](https://github.com/haskell/cabal/issues/5299)).
227 * Removed support for JHC.
228 * Options listed in `ghc-options`, `cc-options`, `ld-options`,
229 `cxx-options`, `cpp-options` are not deduplicated anymore
230 ([#4449](https://github.com/haskell/cabal/issues/4449)).
231 * Deprecated `cabal hscolour` in favour of `cabal haddock --hyperlink-source` ([#5236](https://github.com/haskell/cabal/pull/5236/)).
232 * Recognize `powerpc64le` as architecture PPC64.
233 * Cabal now deduplicates more `-I` and `-L` and flags to avoid `E2BIG`
234 ([#5356](https://github.com/haskell/cabal/issues/5356)).
235 * With `build-type: configure`, avoid using backslashes to delimit
236 path components on Windows and warn about other unsafe characters
237 in the path to the source directory on all platforms
238 ([#5386](https://github.com/haskell/cabal/issues/5386)).
239 * `Distribution.PackageDescription.Check.checkPackageFiles` now
240 accepts a `Verbosity` argument.
241 * Added a parameter to
242 `Distribution.Backpack.ConfiguredComponent.toConfiguredComponent` in order to fix
243 [#5409](https://github.com/haskell/cabal/issues/5409).
244 * Partially silence `abi-depends` warnings
245 ([#5465](https://github.com/haskell/cabal/issues/5465)).
246 * Foreign libraries are now linked against the threaded RTS when the
247 'ghc-options: -threaded' flag is used
248 ([#5431](https://github.com/haskell/cabal/pull/5431)).
249 * Pass command line arguments to `hsc2hs` using response files when possible
250 ([#3122](https://github.com/haskell/cabal/issues/3122)).
254 ## 2.2.0.1 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) March 2018
256 * Fix `checkPackageFiles` for relative directories ([#5206](https://github.com/haskell/cabal/issues/5206))
259 # 2.2.0.0 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) March 2018
261 * The 2.2 migration guide gives advice on adapting Custom setup
262 scripts to backwards-incompatible changes in this release:
263 https://github.com/haskell/cabal/wiki/2.2-migration-guide.
264 * New Parsec-based parser for `.cabal` files is now the
265 default. This brings memory consumption and speed improvements, as
266 well as making new syntax extensions easier to implement.
267 * Support for common stanzas (#4751).
268 * Added elif-conditionals to `.cabal` syntax (#4750).
269 * The package license information can now be specified using the
270 SPDX syntax. This requires setting `cabal-version` to 2.2+ (#2547,
272 * Support for GHC's numeric -g debug levels (#4673).
273 * Compilation with section splitting is now supported via the
274 `--enable-split-sections` flag (#4819)
275 * Fields with mandatory commas (e.g. build-depends) may now have a
276 leading or a trailing comma (either one, not both) (#4953)
277 * Added `virtual-modules` field, to allow modules that are not built
278 but registered (#4875).
279 * Use better defaulting for `build-type`; rename `PackageDescription`'s
280 `buildType` field to `buildTypeRaw` and introduce new `buildType`
282 * `D.T.PackageDescription.allBuildInfo` now returns all build infos, not
283 only for buildable components (#5087).
284 * Removed `UnknownBuildType` constructor from `BuildType` (#5003).
285 * Added `HexFloatLiterals` to `KnownExtension`.
286 * Cabal will no longer try to build an empty set of `inputModules`
288 * `copyComponent` and `installIncludeFiles` will now look for
289 include headers in the build directory (`dist/build/...` by
290 default) as well (#4866).
291 * Added `cxx-options` and `cxx-sources` buildinfo fields for
292 separate compilation of C++ source files (#3700).
293 * Removed unused `--allow-newer`/`--allow-older` support from
294 `Setup configure` (#4527).
295 * Changed `FlagAssignment` to be an opaque `newtype` (#4849).
296 * Changed `rawSystemStdInOut` to use proper type to represent
297 binary and textual data; new `Distribution.Utils.IOData` module;
298 removed obsolete `startsWithBOM`, `fileHasBOM`, `fromUTF8`,
299 and `toUTF8` functions; add new `toUTF8BS`/`toUTF8LBS`
300 encoding functions. (#4666)
301 * Added a `cabal check` warning when the `.cabal` file name does
302 not match package name (#4592).
303 * The `ar` program now receives its arguments via a response file
304 (`@file`). Old behaviour can be restored with
305 `--disable-response-files` argument to `configure` or
307 * Added `.Lens` modules, with optics for package description data
309 * Support for building with Win32 version 2.6 (#4835).
310 * Change `compilerExtensions` and `ghcOptExtensionMap` to contain
311 `Maybe Flag`s, since a supported extension can lack a flag (#4443).
312 * Pretty-printing of `.cabal` files is slightly different due to
313 parser changes. For an example, see
314 https://mail.haskell.org/pipermail/cabal-devel/2017-December/010414.html.
315 * `--hyperlink-source` now uses Haddock's hyperlinker backend when
316 Haddock is new enough, falling back to HsColour otherwise.
317 * `D.S.defaultHookedPackageDesc` has been deprecated in favour of
318 `D.S.findHookedPackageDesc` (#4874).
319 * `D.S.getHookedBuildInfo` now takes an additional parameter
320 specifying the build directory path (#4874).
321 * Emit warning when encountering unknown GHC versions (#415).
323 ### 2.0.1.1 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) December 2017
325 * Don't pass `other-modules` to stub executable for detailed-0.9
327 * Hpc: Use relative .mix search paths (#4917).
329 ## 2.0.1.0 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) November 2017
331 * Support for GHC's numeric -g debug levels (#4673).
332 * Added a new `Distribution.Verbosity.modifyVerbosity` combinator
334 * Added a new `cabal check` warning about unused, undeclared or
335 non-Unicode flags. Also, it warns about leading dash, which is
336 unusable but accepted if it's unused in conditionals. (#4687)
337 * Modify `allBuildInfo` to include foreign library info (#4763).
338 * Documentation fixes.
340 ### 2.0.0.2 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) July 2017
342 * See http://coldwa.st/e/blog/2017-09-09-Cabal-2-0.html
343 for more detailed release notes.
344 * The 2.0 migration guide gives advice on adapting Custom setup
345 scripts to backwards-incompatible changes in this release:
346 https://github.com/haskell/cabal/wiki/2.0-migration-guide
347 * Add CURRENT_PACKAGE_VERSION to cabal_macros.h (#4319)
348 * Dropped support for versions of GHC earlier than 6.12 (#3111).
349 * GHC compatibility window for the Cabal library has been extended
350 to five years (#3838).
351 * Convenience/internal libraries are now supported (#269).
352 An internal library is declared using the stanza `library
353 'libname'`. Packages which use internal libraries can
354 result in multiple registrations; thus `--gen-pkg-config`
355 can now output a directory of registration scripts rather than
357 * Backwards incompatible change to preprocessor interface:
358 the function in `PPSuffixHandler` now takes an additional
359 `ComponentLocalBuildInfo` specifying the build information
360 of the component being preprocessed.
361 * Backwards incompatible change to `cabal_macros.h` (#1893): we now
362 generate a macro file for each component which contains only
363 information about the direct dependencies of that component.
364 Consequently, `dist/build/autogen/cabal_macros.h` contains
365 only the macros for the library, and is not generated if a
366 package has no library; to find the macros for an executable
367 named `foobar`, look in `dist/build/foobar/autogen/cabal_macros.h`.
368 Similarly, if you used `autogenModulesDir` you should now
369 use `autogenComponentModulesDir`, which now requires a
370 `ComponentLocalBuildInfo` argument as well in order to
371 disambiguate which component the autogenerated files are for.
372 * Backwards incompatible change to `Component`: `TestSuite` and
373 `Benchmark` no longer have `testEnabled` and
374 `benchmarkEnabled`. If you used
375 `enabledTests` or `enabledBenchmarks`, please instead use
376 `enabledTestLBIs` and `enabledBenchLBIs`
377 (you will need a `LocalBuildInfo` for these functions.)
378 Additionally, the semantics of `withTest` and `withBench`
379 have changed: they now iterate over all buildable
380 such components, regardless of whether or not they have
381 been enabled; if you only want enabled components,
382 use `withTestLBI` and `withBenchLBI`.
383 `finalizePackageDescription` is deprecated:
384 its replacement `finalizePD` now takes an extra argument
385 `ComponentRequestedSpec` which specifies what components
386 are to be enabled: use this instead of modifying the
387 `Component` in a `GenericPackageDescription`. (As
388 it's not possible now, `finalizePackageDescription`
389 will assume tests/benchmarks are disabled.)
390 If you only need to test if a component is buildable
391 (i.e., it is marked buildable in the Cabal file)
392 use the new function `componentBuildable`.
393 * Backwards incompatible change to `PackageName` (#3896):
394 `PackageName` is now opaque; conversion to/from `String` now works
395 via (old) `unPackageName` and (new) `mkPackageName` functions.
396 * Backwards incompatible change to `ComponentId` (#3917):
397 `ComponentId` is now opaque; conversion to/from `String` now works
398 via `unComponentId` and `mkComponentId` functions.
399 * Backwards incompatible change to `AbiHash` (#3921):
400 `AbiHash` is now opaque; conversion to/from `String` now works
401 via `unAbiHash` and `mkAbiHash` functions.
402 * Backwards incompatible change to `FlagName` (#4062):
403 `FlagName` is now opaque; conversion to/from `String` now works
404 via `unFlagName` and `mkFlagName` functions.
405 * Backwards incompatible change to `Version` (#3905):
406 Version is now opaque; conversion to/from `[Int]` now works
407 via `versionNumbers` and `mkVersion` functions.
408 * Add support for `--allow-older` (dual to `--allow-newer`) (#3466)
409 * Improved an error message for process output decoding errors
411 * `getComponentLocalBuildInfo`, `withComponentsInBuildOrder`
412 and `componentsInBuildOrder` are deprecated in favor of a
413 new interface in `Distribution.Types.LocalBuildInfo`.
414 * New `autogen-modules` field. Modules that are built automatically at
415 setup, like Paths_PACKAGENAME or others created with a build-type
416 custom, appear on `other-modules` for the Library, Executable,
417 Test-Suite or Benchmark stanzas or also on `exposed-modules` for
418 libraries but are not really on the package when distributed. This
419 makes commands like sdist fail because the file is not found, so with
420 this new field modules that appear there are treated the same way as
421 Paths_PACKAGENAME was and there is no need to create complex build
422 hooks. Just add the module names on `other-modules` and
423 `exposed-modules` as always and on the new `autogen-modules` besides.
425 * New `./Setup configure` flag `--cabal-file`, allowing multiple
426 `.cabal` files in a single directory (#3553). Primarily intended for
428 * Macros in `cabal_macros.h` are now ifndef'd, so that they
429 don't cause an error if the macro is already defined. (#3041)
430 * `./Setup configure` now accepts a single argument specifying
431 the component to be configured. The semantics of this mode
432 of operation are described in
433 <https://github.com/ghc-proposals/ghc-proposals/pull/4>
434 * Internal `build-tools` dependencies are now added to PATH
435 upon invocation of GHC, so that they can be conveniently
436 used via `-pgmF`. (#1541)
437 * Add support for new caret-style version range operator `^>=` (#3705)
438 * Verbosity `-v` now takes an extended format which allows
439 specifying exactly what you want to be logged. The format is
440 `[silent|normal|verbose|debug] flags`, where flags is a space
441 separated list of flags. At the moment, only the flags
442 +callsite and +callstack are supported; these report the
443 call site/stack of a logging output respectively (these
444 are only supported if Cabal is built with GHC 8.0/7.10.2
445 or greater, respectively).
446 * New `Distribution.Utils.ShortText.ShortText` type for representing
447 short text strings compactly (#3898)
448 * Cabal no longer supports using a version bound to disambiguate
449 between an internal and external package (#4020). This should
450 not affect many people, as this mode of use already did not
451 work with the dependency solver.
452 * Support for "foreign libraries" (#2540), which are Haskell
453 libraries intended to be used by foreign languages like C.
454 Foreign libraries only work with GHC 7.8 and later.
455 * Added a technical preview version of integrated doctest support (#4480).
456 * Added a new `scope` field to the executable stanza. Executables
457 with `scope: private` get installed into
458 $libexecdir/$libexecsubdir. Additionally $libexecdir now has a
459 subdir structure similar to $lib(sub)dir to allow installing
460 private executables of different packages and package versions
461 alongside one another. Private executables are those that are
462 expected to be run by other programs rather than users. (#3461)
464 ## 1.24.2.0 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) December 2016
465 * Fixed a bug in the handling of non-buildable components (#4094).
466 * Reverted a PVP-noncompliant API change in 1.24.1.0 (#4123).
467 * Bumped the directory upper bound to < 1.4 (#4158).
469 ## 1.24.1.0 [Ryan Thomas](mailto:ryan@ryant.org) October 2016
470 * API addition: `differenceVersionRanges` (#3519).
471 * Fixed reexported-modules display mangling (#3928).
472 * Check that the correct cabal-version is specified when the
473 extra-doc-files field is present (#3825).
474 * Fixed an incorrect invocation of GetShortPathName that was
475 causing build failures on Windows (#3649).
476 * Linker flags are now set correctly on GHC >= 7.8 (#3443).
478 # 1.24.0.0 [Ryan Thomas](mailto:ryan@ryant.org) March 2016
480 * Deal with extra C sources from preprocessors (#238).
481 * Include cabal_macros.h when running c2hs (#2600).
482 * Don't recompile C sources unless needed (#2601).
483 * Read `builddir` option from `CABAL_BUILDDIR` environment variable.
484 * Add `--profiling-detail=$level` flag with a default for libraries
485 and executables of `exported-functions` and `toplevel-functions`
486 respectively (GHC's `-fprof-auto-{exported,top}` flags) (#193).
487 * New `custom-setup` stanza to specify setup deps. Setup is also built
488 with the cabal_macros.h style macros, for conditional compilation.
489 * Support Haddock response files (#2746).
490 * Fixed a bug in the Text instance for Platform (#2862).
491 * New `setup haddock` option: `--for-hackage` (#2852).
492 * New `--show-detail=direct`; like streaming, but allows the test
493 program to detect that is connected to a terminal, and works
494 reliable with a non-threaded runtime (#2911, and serves as a
495 work-around for #2398)
496 * Library support for multi-instance package DBs (#2948).
497 * Improved the `./Setup configure` solver (#3082, #3076).
498 * The `--allow-newer` option can be now used with `./Setup
500 * Added a way to specify extra locations to find OS X frameworks
501 in (`extra-framework-dirs`). Can be used both in `.cabal` files and
502 as an argument to `./Setup configure` (#3158).
503 * Macros `VERSION_$pkgname` and `MIN_VERSION_$pkgname` are now
504 also generated for the current package. (#3235).
505 * Backpack is supported! Two new fields supported in Cabal
506 files: signatures and mixins; and a new flag
507 to setup scripts, `--instantiate-with`. See
508 https://github.com/ezyang/ghc-proposals/blob/backpack/proposals/0000-backpack.rst
513 ## 1.22.8.0 [Ryan Thomas](mailto:ryan@ryant.org) March 2016
514 * Distribution.Simple.Setup: remove job cap. Fixes #3191.
515 * Check all object file suffixes for recompilation. Fixes #3128.
516 * Move source files under `src/`. Fixes #3003.
518 ## 1.22.7.0 [Ryan Thomas](mailto:ryan@ryant.org) January 2016
519 * Backport #3012 to the 1.22 branch
520 * Cabal.cabal: change build-type to Simple
522 * The Cabal part for fully gcc-like response files
524 ## 1.22.6.0 [Ryan Thomas](mailto:ryan@ryant.org) December 2015
525 * Relax upper bound to allow upcoming binary-0.8
527 ## 1.22.5.0 [Ryan Thomas](mailto:ryan@ryant.org) November 2015
528 * Don't recompile C sources unless needed (#2601). (Luke Iannini)
529 * Support Haddock response files.
530 * Add frameworks when linking a dynamic library.
532 ## 1.22.4.0 [Ryan Thomas](mailto:ryan@ryant.org) June 2015
533 * Add libname install-dirs variable, use it by default. Fixes #2437. (Edward Z. Yang)
534 * Reduce temporary directory name length, fixes #2502. (Edward Z. Yang)
535 * Workaround for #2527. (Mikhail Glushenkov)
537 ## 1.22.3.0 [Ryan Thomas](mailto:ryan@ryant.org) April 2015
538 * Fix for the ghcjs-pkg version number handling (Luite Stegeman)
539 * filterConfigureFlags: filter more flags (Mikhail Glushenkov)
540 * Cabal check will fail on -fprof-auto passed as a ghc-option - Fixes #2479 (John Chee)
542 ## 1.22.2.0 [Ryan Thomas](mailto:ryan@ryant.org) March 2015
543 * Don't pass `--{en,dis}able-profiling` to old setup.
545 * Fix dependencies on `old-time`
546 * Fix test interface detailed-0.9 with GHC 7.10
547 * Fix HPC tests with GHC 7.10
548 * Make sure to pass the package key to ghc
549 * Use `--package-{name|version}` when available for Haddock when available
550 * Put full package name and version in library names
551 * Fully specify package key format, so external tools can generate it.
553 # 1.22.0.0 [Johan Tibell](mailto:johan.tibell@gmail.com) January 2015
555 * Experimental support for emitting DWARF debug info.
556 * Preliminary support for relocatable packages.
557 * Allow cabal to be used inside cabal exec environments.
558 * hpc: support multiple "ways" (e.g. profiling and vanilla).
560 * Improved command line documentation.
561 * Add `-none` constraint syntax for version ranges (#2093).
562 * Make the default doc index file path compiler/arch/os-dependent
564 * Warn instead of dying when generating documentation and hscolour
565 isn't installed (455f51622fa38347db62197a04bb0fa5b928ff17).
566 * Support the new BinaryLiterals extension
567 (1f25ab3c5eff311ada73c6c987061b80e9bbebd9).
568 * Warn about `ghc-prof-options: -auto-all` in `cabal check` (#2162).
569 * Add preliminary support for multiple instances of the same package
570 version installed side-by-side (#2002).
571 * New binary build config format - faster build times (#2076).
572 * Support module thinning and renaming (#2038).
573 * Add a new license type: UnspecifiedLicense (#2141).
574 * Remove support for Hugs and nhc98 (#2168).
575 * Invoke `tar` with `--formar ustar` if possible in `sdist` (#1903).
576 * Replace `--enable-library-coverage` with `--enable-coverage`, which
577 enables program coverage for all components (#1945).
578 * Suggest that `ExitFailure 9` is probably due to memory
580 * Drop support for Haddock < 2.0 (#1808, #1718).
581 * Make `cabal test`/`cabal bench` build only what's needed for
582 running tests/benchmarks (#1821).
583 * Build shared libraries by default when linking executables dynamically.
584 * Build profiled libraries by default when profiling executables.
588 ### 1.20.0.4 [Ryan Thomas](mailto:ryan@ryant.org) January 2016
589 * Cabal.cabal: change build-type to Simple.
591 ### 1.20.0.1 [Johan Tibell](mailto:johan.tibell@gmail.com) May 2014
592 * Fix streaming test output.
594 # 1.20.0.0 [Johan Tibell](mailto:johan.tibell@gmail.com) April 2014
596 * Fix repl Ctrl+C handling
597 * Add haskell-suite compiler support
598 * Add __HADDOCK_VERSION__ define
599 * Allow specifying exact dependency version using hash
600 * Rename extra-html-files to extra-doc-files
601 * Add parallel build support for GHC 7.8 and later
602 * Don't call ranlib on OS X
603 * Avoid re-linking executables, test suites, and benchmarks
604 unnecessarily, shortening build times
605 * Add `--allow-newer` which allows upper version bounds to be
607 * Add `--enable-library-stripping`
608 * Add command for freezing dependencies
609 * Allow repl to be used outside Cabal packages
610 * Add `--require-sandbox`
611 * Don't use `--strip-unneeded` on OS X or iOS
612 * Add new license-files field got additional licenses
613 * Fix if(solaris) on some Solaris versions
614 * Don't use -dylib-install-name on OS X with GHC > 7.8
615 * Add DragonFly as a known OS
616 * Improve pretty-printing of Cabal files
617 * Add test flag `--show-details=streaming` for real-time test output
622 ## 1.10.2.0 [Duncan Coutts](mailto:duncan@community.haskell.org) June 2011
623 * Include test suites in cabal sdist
624 * Fix for conditionals in test suite stanzas in `.cabal` files
625 * Fix permissions of directories created during install
626 * Fix for global builds when $HOME env var is not set
628 ## 1.10.1.0 [Duncan Coutts](mailto:duncan@community.haskell.org) February 2011
629 * Improved error messages when test suites are not enabled
630 * Template parameters allowed in test `--test-option(s)` flag
631 * Improved documentation of the test feature
632 * Relaxed QA check on cabal-version when using test-suite sections
633 * `haddock` command now allows both `--hoogle` and `--html` at the same time
634 * Find ghc-version-specific instances of the hsc2hs program
635 * Preserve file executable permissions in sdist tarballs
636 * Pass gcc location and flags to ./configure scripts
637 * Get default gcc flags from ghc
639 # 1.10.0.0 [Duncan Coutts](mailto:duncan@haskell.org) November 2010
640 * New cabal test feature
641 * Initial support for UHC
642 * New default-language and other-languages fields (e.g. Haskell98/2010)
643 * New default-extensions and other-extensions fields
644 * Deprecated extensions field (for packages using cabal-version >=1.10)
645 * Cabal-version field must now only be of the form `>= x.y`
646 * Removed deprecated `--copy-prefix=` feature
647 * Auto-reconfigure when `.cabal` file changes
648 * Workaround for haddock overwriting .hi and .o files when using TH
649 * Extra cpp flags used with hsc2hs and c2hs (-D${os}_BUILD_OS etc)
650 * New cpp define VERSION_<package> gives string version of dependencies
651 * User guide source now in markdown format for easier editing
652 * Improved checks and error messages for C libraries and headers
653 * Removed BSD4 from the list of suggested licenses
654 * Updated list of known language extensions
655 * Fix for include paths to allow C code to import FFI stub.h files
656 * Fix for intra-package dependencies on OSX
657 * Stricter checks on various bits of `.cabal` file syntax
658 * Minor fixes for c2hs
662 ### 1.8.0.6 [Duncan Coutts](mailto:duncan@haskell.org) June 2010
663 * Fix `register --global/--user`
665 ### 1.8.0.4 [Duncan Coutts](mailto:duncan@haskell.org) March 2010
666 * Set dylib-install-name for dynalic libs on OSX
667 * Stricter configure check that compiler supports a package's extensions
668 * More configure-time warnings
669 * Hugs can compile Cabal lib again
670 * Default datadir now follows prefix on Windows
671 * Support for finding installed packages for hugs
672 * Cabal version macros now have proper parenthesis
673 * Reverted change to filter out deps of non-buildable components
674 * Fix for registering inplace when using a specific package db
675 * Fix mismatch between $os and $arch path template variables
676 * Fix for finding ar.exe on Windows, always pick ghc's version
677 * Fix for intra-package dependencies with ghc-6.12
679 # 1.8.0.2 [Duncan Coutts](mailto:duncan@haskell.org) December 2009
680 * Support for GHC-6.12
681 * New unique installed package IDs which use a package hash
682 * Allow executables to depend on the lib within the same package
683 * Dependencies for each component apply only to that component
684 (previously applied to all the other components too)
685 * Added new known license MIT and versioned GPL and LGPL
686 * More liberal package version range syntax
687 * Package registration files are now UTF8
688 * Support for LHC and JHC-0.7.2
689 * Deprecated RecordPuns extension in favour of NamedFieldPuns
690 * Deprecated PatternSignatures extension in favor of ScopedTypeVariables
691 * New VersionRange semantic view as a sequence of intervals
692 * Improved package quality checks
693 * Minor simplification in a couple `Setup.hs` hooks
694 * Beginnings of a unit level testsuite using QuickCheck
696 * Various internal cleanups
700 ### 1.6.0.2 [Duncan Coutts](mailto:duncan@haskell.org) February 2009
701 * New configure-time check for C headers and libraries
702 * Added language extensions present in ghc-6.10
703 * Added support for NamedFieldPuns extension in ghc-6.8
704 * Fix in configure step for ghc-6.6 on Windows
705 * Fix warnings in `Path_pkgname.hs` module on Windows
706 * Fix for exotic flags in ld-options field
707 * Fix for using pkg-config in a package with a lib and an executable
708 * Fix for building haddock docs for exes that use the Paths module
709 * Fix for installing header files in subdirectories
710 * Fix for the case of building profiling libs but not ordinary libs
711 * Fix read-only attribute of installed files on Windows
712 * Ignore ghc -threaded flag when profiling in ghc-6.8 and older
714 ### 1.6.0.1 [Duncan Coutts](mailto:duncan@haskell.org) October 2008
715 * Export a compat function to help alex and happy
717 # 1.6.0.0 [Duncan Coutts](mailto:duncan@haskell.org) October 2008
718 * Support for ghc-6.10
719 * Source control repositories can now be specified in `.cabal` files
720 * Bug report URLs can be now specified in `.cabal` files
721 * Wildcards now allowed in data-files and extra-source-files fields
722 * New syntactic sugar for dependencies `build-depends: foo ==1.2.*`
723 * New cabal_macros.h provides macros to test versions of dependencies
724 * Relocatable bindists now possible on unix via env vars
725 * New `exposed` field allows packages to be not exposed by default
726 * Install dir flags can now use $os and $arch variables
727 * New `--builddir` flag allows multiple builds from a single sources dir
728 * cc-options now only apply to .c files, not for -fvia-C
729 * cc-options are not longer propagated to dependent packages
730 * The cpp/cc/ld-options fields no longer use `,` as a separator
731 * hsc2hs is now called using gcc instead of using ghc as gcc
732 * New api for manipulating sets and graphs of packages
733 * Internal api improvements and code cleanups
734 * Minor improvements to the user guide
735 * Miscellaneous minor bug fixes
739 ### 1.4.0.2 [Duncan Coutts](mailto:duncan@haskell.org) August 2008
740 * Fix executable stripping default
741 * Fix striping exes on OSX that export dynamic symbols (like ghc)
742 * Correct the order of arguments given by `--prog-options=`
743 * Fix corner case with overlapping user and global packages
744 * Fix for modules that use pre-processing and `.hs-boot` files
745 * Clarify some points in the user guide and readme text
746 * Fix verbosity flags passed to sub-command like haddock
747 * Fix `sdist --snapshot`
748 * Allow meta-packages that contain no modules or C code
749 * Make the generated Paths module -Wall clean on Windows
751 ### 1.4.0.1 [Duncan Coutts](mailto:duncan@haskell.org) June 2008
752 * Fix a bug which caused `.` to always be in the sources search path
753 * Haddock-2.2 and later do now support the `--hoogle` flag
755 # 1.4.0.0 [Duncan Coutts](mailto:duncan@haskell.org) June 2008
756 * Rewritten command line handling support
757 * Command line completion with bash
758 * Better support for Haddock 2
759 * Improved support for nhc98
760 * Removed support for ghc-6.2
761 * Haddock markup in `.lhs` files now supported
762 * Default colour scheme for highlighted source code
763 * Default prefix for `--user` installs is now `$HOME/.cabal`
764 * All `.cabal` files are treaded as UTF-8 and must be valid
765 * Many checks added for common mistakes
766 * New `--package-db=` option for specific package databases
767 * Many internal changes to support cabal-install
768 * Stricter parsing for version strings, eg dissalows "1.05"
769 * Improved user guide introduction
770 * Programatica support removed
771 * New options `--program-prefix/suffix` allows eg versioned programs
772 * Support packages that use `.hs-boot` files
773 * Fix sdist for Main modules that require preprocessing
774 * New configure -O flag with optimisation level 0--2
775 * Provide access to "`x-`" extension fields through the Cabal api
776 * Added check for broken installed packages
777 * Added warning about using inconsistent versions of dependencies
778 * Strip binary executable files by default with an option to disable
779 * New options to add site-specific include and library search paths
780 * Lift the restriction that libraries must have exposed-modules
782 * Many internal structural improvements and code cleanups
786 ## 1.2.4.0 [Duncan Coutts](mailto:duncan@haskell.org) June 2008
787 * Released with GHC 6.8.3
788 * Backported several fixes and minor improvements from Cabal-1.4
789 * Use a default colour scheme for sources with hscolour >=1.9
790 * Support `--hyperlink-source` for Haddock >= 2.0
791 * Fix for running in a non-writable directory
792 * Add OSX -framework arguments when linking executables
793 * Updates to the user guide
794 * Allow build-tools names to include + and _
795 * Export autoconfUserHooks and simpleUserHooks
796 * Export ccLdOptionsBuildInfo for `Setup.hs` scripts
797 * Export unionBuildInfo and make BuildInfo an instance of Monoid
798 * Fix to allow the `main-is` module to use a pre-processor
800 ## 1.2.3.0 [Duncan Coutts](mailto:duncan@haskell.org) Nov 2007
801 * Released with GHC 6.8.2
802 * Includes full list of GHC language extensions
803 * Fix infamous `dist/conftest.c` bug
804 * Fix `configure --interfacedir=`
805 * Find ld.exe on Windows correctly
806 * Export PreProcessor constructor and mkSimplePreProcessor
807 * Fix minor bug in unlit code
808 * Fix some markup in the haddock docs
810 ## 1.2.2.0 [Duncan Coutts](mailto:duncan@haskell.org) Nov 2007
811 * Released with GHC 6.8.1
812 * Support haddock-2.0
813 * Support building DSOs with GHC
814 * Require reconfiguring if the `.cabal` file has changed
815 * Fix os(windows) configuration test
816 * Fix building documentation
817 * Fix building packages on Solaris
818 * Other minor bug fixes
820 ## 1.2.1 [Duncan Coutts](mailto:duncan@haskell.org) Oct 2007
821 * To be included in GHC 6.8.1
822 * New field `cpp-options` used when preprocessing Haskell modules
823 * Fixes for hsc2hs when using ghc
824 * C source code gets compiled with -O2 by default
825 * OS aliases, to allow os(windows) rather than requiring os(mingw32)
826 * Fix cleaning of `stub` files
827 * Fix cabal-setup, command line ui that replaces `runhaskell Setup.hs`
828 * Build docs even when dependent packages docs are missing
829 * Allow the `--html-dir` to be specified at configure time
830 * Fix building with ghc-6.2
831 * Other minor bug fixes and build fixes
833 # 1.2.0 [Duncan Coutts](mailto:duncan.coutts@worc.ox.ac.uk) Sept 2007
834 * To be included in GHC 6.8.x
835 * New configurations feature
836 * Can make haddock docs link to highlighted sources (with hscolour)
837 * New flag to allow linking to haddock docs on the web
838 * Supports pkg-config
839 * New field `build-tools` for tool dependencies
840 * Improved c2hs support
841 * Preprocessor output no longer clutters source dirs
842 * Separate `includes` and `install-includes` fields
843 * Makefile command to generate makefiles for building libs with GHC
844 * New `--docdir` configure flag
845 * Generic `--with-prog` `--prog-args` configure flags
846 * Better default installation paths on Windows
847 * Install paths can be specified relative to each other
848 * License files now installed
849 * Initial support for NHC (incomplete)
850 * Consistent treatment of verbosity
851 * Reduced verbosity of configure step by default
852 * Improved helpfulness of output messages
853 * Help output now clearer and fits in 80 columns
854 * New setup register `--gen-pkg-config` flag for distros
855 * Major internal refactoring, hooks api has changed
856 * Dozens of bug fixes
860 ### 1.1.6.2 [Duncan Coutts](mailto:duncan.coutts@worc.ox.ac.uk) May 2007
862 * Released with GHC 6.6.1
863 * Handle windows text file encoding for `.cabal` files
864 * Fix compiling a executable for profiling that uses Template Haskell
865 * Other minor bug fixes and user guide clarifications
867 ### 1.1.6.1 [Duncan Coutts](mailto:duncan.coutts@worc.ox.ac.uk) Oct 2006
870 * fix escaping in register.sh
872 ## 1.1.6 [Duncan Coutts](mailto:duncan.coutts@worc.ox.ac.uk) Oct 2006
874 * Released with GHC 6.6
875 * Added support for hoogle
876 * Allow profiling and normal builds of libs to be chosen independently
877 * Default installation directories on Win32 changed
878 * Register haddock docs with ghc-pkg
879 * Get haddock to make hyperlinks to dependent package docs
880 * Added BangPatterns language extension
883 ## 1.1.4 [Duncan Coutts](mailto:duncan.coutts@worc.ox.ac.uk) May 2006
885 * Released with GHC 6.4.2
886 * Better support for packages that need to install header files
887 * cabal-setup added, but not installed by default yet
888 * Implemented `setup register --inplace`
889 * Have packages exposed by default with ghc-6.2
890 * It is no longer necessary to run `configure` before `clean` or `sdist`
891 * Added support for ghc's `-split-objs`
892 * Initial support for JHC
893 * Ignore extension fields in `.cabal` files (fields beginning with "`x-`")
894 * Some changes to command hooks API to improve consistency
895 * Hugs support improvements
896 * Added GeneralisedNewtypeDeriving language extension
897 * Added cabal-version field
898 * Support hidden modules with haddock
899 * Internal code refactoring
902 ## 1.1.3 [Isaac Jones](mailto:ijones@syntaxpolice.org) Sept 2005
904 * WARNING: Interfaces not documented in the user's guide may
905 change in future releases.
906 * Move building of GHCi .o libs to the build phase rather than
907 register phase. (from Duncan Coutts)
908 * Use .tar.gz for source package extension
909 * Uses GHC instead of cpphs if the latter is not available
910 * Added experimental "command hooks" which completely override the
911 default behavior of a command.
914 # 1.1.1 [Isaac Jones](mailto:ijones@syntaxpolice.org) July 2005
916 * WARNING: Interfaces not documented in the user's guide may
917 change in future releases.
918 * Handles recursive modules for GHC 6.2 and GHC 6.4.
919 * Added `setup test` command (Used with UserHook)
920 * implemented handling of _stub.{c,h,o} files
921 * Added support for profiling
922 * Changed install prefix of libraries (pref/pkgname-version
923 to prefix/pkgname-version/compname-version)
924 * Added pattern guards as a language extension
925 * Moved some functionality to Language.Haskell.Extension
926 * Register / unregister .bat files for windows
927 * Exposed more of the API
928 * Added support for the hide-all-packages flag in GHC > 6.4
933 # 1.0 [Isaac Jones](mailto:ijones@syntaxpolice.org) March 11 2005
935 * Released with GHC 6.4, Hugs March 2005, and nhc98 1.18
936 * Some sanity checking
940 # 0.5 [Isaac Jones](mailto:ijones@syntaxpolice.org) Wed Feb 19 2005
942 * __WARNING__: this is a pre-release and the interfaces are
943 still likely to change until we reach a 1.0 release.
944 * Hooks interfaces changed
945 * Added preprocessors to user hooks
946 * No more executable-modules or hidden-modules. Use
947 `other-modules` instead.
948 * Certain fields moved into BuildInfo, much refactoring
949 * `extra-libs` -> `extra-libraries`
950 * Added `--gen-script` to configure and unconfigure.
951 * `modules-ghc` (etc) now `ghc-modules` (etc)
952 * added new fields including `synopsis`
954 * spaces can sometimes be used instead of commas
955 * A user manual has appeared (Thanks, ross!)
956 * for ghc 6.4, configures versioned depends properly
957 * more features to `./setup haddock`
961 # 0.4 [Isaac Jones](mailto:ijones@syntaxpolice.org) Sun Jan 16 2005
963 * Much thanks to all the awesome fptools hackers who have been
964 working hard to build the Haskell Cabal!
966 * __Interface Changes__:
968 * __WARNING__: this is a pre-release and the interfaces are still
969 likely to change until we reach a 1.0 release.
971 * Instead of Package.description, you should name your
972 description files <something>.cabal. In particular, we suggest
973 that you name it <packagename>.cabal, but this is not enforced
974 (yet). Multiple `.cabal` files in the same directory is an error,
977 * `./setup install --install-prefix` is gone. Use `./setup copy`
978 `--copy-prefix` instead.
980 * The `Modules` field is gone. Use `hidden-modules`,
981 `exposed-modules`, and `executable-modules`.
983 * `Build-depends` is now a package-only field, and can't go into
984 executable stanzas. Build-depends is a package-to-package
987 * Some new fields. Use the Source.
991 * Cabal is now included as a package in the CVS version of
992 fptools. That means it'll be released as `-package Cabal` in
993 future versions of the compilers, and if you are a bleeding-edge
994 user, you can grab it from the CVS repository with the compilers.
996 * Hugs compatibility and NHC98 compatibility should both be
999 * Hooks Interface / Autoconf compatibility: Most of the hooks
1000 interface is hidden for now, because it's not finalized. I have
1001 exposed only `defaultMainWithHooks` and `defaultUserHooks`. This
1002 allows you to use a ./configure script to preprocess
1003 `foo.buildinfo`, which gets merged with `foo.cabal`. In future
1004 releases, we'll expose UserHooks, but we're definitely going to
1005 change the interface to those. The interface to the two functions
1006 I've exposed should stay the same, though.
1008 * ./setup haddock is a baby feature which pre-processes the
1009 source code with hscpp and runs haddock on it. This is brand new
1010 and hardly tested, so you get to knock it around and see what you
1013 * Some commands now actually implement verbosity.
1015 * The preprocessors have been tested a bit more, and seem to work
1016 OK. Please give feedback if you use these.
1020 # 0.3 [Isaac Jones](mailto:ijones@syntaxpolice.org) Sun Jan 16 2005
1022 * Unstable snapshot release
1023 * From now on, stable releases are even.
1027 # 0.2 [Isaac Jones](mailto:ijones@syntaxpolice.org)
1029 * Adds more HUGS support and preprocessor support.