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