changelog 16.5 KB
Newer Older
1
2
-*-change-log-*-

3
1.11.x (current development version)
4

5
6
1.10.0.x (next stable release version)

Duncan Coutts's avatar
Duncan Coutts committed
7
8
9
10
11
12
1.10.2.0 Duncan Coutts <duncan@community.haskell.org> June 2011
	* Include test suites in cabal sdist
	* Fix for conditionals in test suite stanzas in .cabal files
	* Fix permissions of directories created during install
	* Fix for global builds when $HOME env var is not set

Duncan Coutts's avatar
Duncan Coutts committed
13
1.10.1.0 Duncan Coutts <duncan@community.haskell.org> February 2011
14
15
16
17
18
19
20
21
22
23
	* Improved error messages when test suites are not enabled
	* Template parameters allowed in test --test-option(s) flag
	* Improved documentation of the test feature
	* Relaxed QA check on cabal-version when using test-suite sections
	* haddock command now allows both --hoogle and --html at the same time
	* Find ghc-version-specific instances of the hsc2hs program
	* Preserve file executable permissions in sdist tarballs
	* Pass gcc location and flags to ./configure scripts
	* Get default gcc flags from ghc

24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
1.10.0.0 Duncan Coutts <duncan@haskell.org> November 2010
	* New cabal test feature
	* Initial support for UHC
	* New default-language and other-languages fields (e.g. Haskell98/2010)
	* New default-extensions and other-extensions fields
	* Deprecated extensions field (for packages using cabal-version >=1.10)
	* Cabal-version field must now only be of the form ">= x.y"
	* Removed deprecated --copy-prefix= feature
	* Auto-reconfigure when .cabal file changes
	* Workaround for haddock overwriting .hi and .o files when using TH
	* Extra cpp flags used with hsc2hs and c2hs (-D${os}_BUILD_OS etc)
	* New cpp define VERSION_<package> gives string version of dependencies
	* User guide source now in markdown format for easier editing
	* Improved checks and error messages for C libraries and headers
	* Removed BSD4 from the list of suggested licenses
	* Updated list of known language extensions
	* Fix for include paths to allow C code to import FFI stub.h files
	* Fix for intra-package dependencies on OSX
	* Stricter checks on various bits of .cabal file syntax
	* Minor fixes for c2hs

1.8.0.6 Duncan Coutts <duncan@haskell.org> June 2010
	* Fix 'register --global/--user'

1.8.0.4 Duncan Coutts <duncan@haskell.org> March 2010
	* Set dylib-install-name for dynalic libs on OSX
	* Stricter configure check that compiler supports a package's extensions
	* More configure-time warnings
	* Hugs can compile Cabal lib again
	* Default datadir now follows prefix on Windows
	* Support for finding installed packages for hugs
	* Cabal version macros now have proper parenthesis
	* Reverted change to filter out deps of non-buildable components
	* Fix for registering implace when using a specific package db
	* Fix mismatch between $os and $arch path template variables
	* Fix for finding ar.exe on Windows, always pick ghc's version
	* Fix for intra-package dependencies with ghc-6.12

1.8.0.2 Duncan Coutts <duncan@haskell.org> December 2009
63
64
65
66
67
	* Support for GHC-6.12
	* New unique installed package IDs which use a package hash
	* Allow executables to depend on the lib within the same package
	* Dependencies for each component apply only to that component
	  (previously applied to all the other components too)
68
	* Added new known license MIT and versioned GPL and LGPL
69
70
71
72
73
	* More liberal package version range syntax
	* Package registration files are now UTF8
	* Support for LHC and JHC-0.7.2
	* Deprecated RecordPuns extension in favour of NamedFieldPuns
	* Deprecated PatternSignatures extension in favor of ScopedTypeVariables
74
75
	* New VersionRange semantic view as a sequence of intervals
	* Improved package quality checks
76
	* Minor simplification in a couple Setup.hs hooks
77
	* Beginnings of a unit level testsuite using QuickCheck
78
79
	* Various bug fixes
	* Various internal cleanups
80

81
82
1.6.0.2 Duncan Coutts <duncan@haskell.org> February 2009
	* New configure-time check for C headers and libraries
Duncan Coutts's avatar
Duncan Coutts committed
83
84
85
	* Added language extensions present in ghc-6.10
	* Added support for NamedFieldPuns extension in ghc-6.8
	* Fix in configure step for ghc-6.6 on Windows
86
87
88
	* Fix warnings in Path_pkgname.hs module on Windows
	* Fix for exotic flags in ld-options field
	* Fix for using pkg-config in a package with a lib and an executable
89
	* Fix for building haddock docs for exes that use the Paths module
Duncan Coutts's avatar
Duncan Coutts committed
90
	* Fix for installing header files in subdirectories
91
92
	* Fix for the case of building profiling libs but not ordinary libs
	* Fix read-only attribute of installed files on Windows
Duncan Coutts's avatar
Duncan Coutts committed
93
	* Ignore ghc -threaded flag when profiling in ghc-6.8 and older
94
95
96
97

1.6.0.1 Duncan Coutts <duncan@haskell.org> October 2008
	* Export a compat function to help alex and happy

Duncan Coutts's avatar
Duncan Coutts committed
98
1.6.0.0 Duncan Coutts <duncan@haskell.org> October 2008
Duncan Coutts's avatar
Duncan Coutts committed
99
100
101
	* Support for ghc-6.10
	* Source control repositories can now be specified in .cabal files
	* Bug report URLs can be now specified in .cabal files
102
103
104
105
106
107
	* Wildcards now allowed in data-files and extra-source-files fields
	* New syntactic sugar for dependencies "build-depends: foo ==1.2.*"
	* New cabal_macros.h provides macros to test versions of dependencies
	* Relocatable bindists now possible on unix via env vars
	* New 'exposed' field allows packages to be not exposed by default
	* Install dir flags can now use $os and $arch variables
Duncan Coutts's avatar
Duncan Coutts committed
108
	* New --builddir flag allows multiple builds from a single sources dir
109
110
111
112
113
114
115
	* cc-options now only apply to .c files, not for -fvia-C
	* cc-options are not longer propagated to dependent packages
	* The cpp/cc/ld-options fields no longer use ',' as a separator
	* hsc2hs is now called using gcc instead of using ghc as gcc
	* New api for manipulating sets and graphs of packages
	* Internal api improvements and code cleanups
	* Minor improvements to the user guide
Duncan Coutts's avatar
Duncan Coutts committed
116
	* Miscellaneous minor bug fixes
117

Duncan Coutts's avatar
Duncan Coutts committed
118
1.4.0.2 Duncan Coutts <duncan@haskell.org> August 2008
Duncan Coutts's avatar
Duncan Coutts committed
119
120
121
122
123
124
125
	* Fix executable stripping default
	* Fix striping exes on OSX that export dynamic symbols (like ghc)
	* Correct the order of arguments given by --prog-options=
	* Fix corner case with overlapping user and global packages
	* Fix for modules that use pre-processing and .hs-boot files
	* Clarify some points in the user guide and readme text
	* Fix verbosity flags passed to sub-command like haddock
126
127
128
	* Fix sdist --snapshot
	* Allow meta-packages that contain no modules or C code
	* Make the generated Paths module -Wall clean on Windows
Duncan Coutts's avatar
Duncan Coutts committed
129

Duncan Coutts's avatar
Duncan Coutts committed
130
131
132
133
1.4.0.1 Duncan Coutts <duncan@haskell.org> June 2008
	* Fix a bug which caused '.' to always be in the sources search path
	* Haddock-2.2 and later do now support the --hoogle flag

134
1.4.0.0 Duncan Coutts <duncan@haskell.org> June 2008
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
	* Rewritten command line handling support
	* Command line completion with bash
	* Better support for Haddock 2
	* Improved support for nhc98
	* Removed support for ghc-6.2
	* Haddock markup in .lhs files now supported
	* Default colour scheme for highlighted source code
	* Default prefix for --user installs is now $HOME/.cabal
	* All .cabal files are treaded as UTF-8 and must be valid
	* Many checks added for common mistakes
	* New --package-db= option for specific package databases
	* Many internal changes to support cabal-install
	* Stricter parsing for version strings, eg dissalows "1.05"
	* Improved user guide introduction
	* Programatica support removed
	* New options --program-prefix/suffix allows eg versioned programs
	* Support packages that use .hs-boot files
	* Fix sdist for Main modules that require preprocessing
	* New configure -O flag with optimisation level 0--2
	* Provide access to "x-" extension fields through the Cabal api
	* Added check for broken installed packages
	* Added warning about using inconsistent versions of dependencies
	* Strip binary executable files by default with an option to disable
	* New options to add site-specific include and library search paths
159
	* Lift the restriction that libraries must have exposed-modules
160
161
162
	* Many bugs fixed.
	* Many internal structural improvements and code cleanups

163
164
165
166
167
168
169
170
171
172
173
174
175
176
1.2.4.0 Duncan Coutts <duncan@haskell.org> June 2008
	* Released with GHC 6.8.3
	* Backported several fixes and minor improvements from Cabal-1.4
	* Use a default colour scheme for sources with hscolour >=1.9
	* Support --hyperlink-source for Haddock >= 2.0
	* Fix for running in a non-writable directory
	* Add OSX -framework arguments when linking executables
	* Updates to the user guide
	* Allow build-tools names to include + and _
	* Export autoconfUserHooks and simpleUserHooks
	* Export ccLdOptionsBuildInfo for Setup.hs scripts
	* Export unionBuildInfo and make BuildInfo an instance of Monoid
	* Fix to allow the 'main-is' module to use a pre-processor

177
1.2.3.0 Duncan Coutts <duncan@haskell.org> Nov 2007
178
179
180
181
	* Released with GHC 6.8.2
	* Includes full list of GHC language extensions
	* Fix infamous "dist/conftest.c" bug
	* Fix configure --interfacedir=
182
183
184
185
	* Find ld.exe on Windows correctly
	* Export PreProcessor constructor and mkSimplePreProcessor
	* Fix minor bug in unlit code
	* Fix some markup in the haddock docs
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209

1.2.2.0 Duncan Coutts <duncan@haskell.org> Nov 2007
	* Released with GHC 6.8.1
	* Support haddock-2.0
	* Support building DSOs with GHC
	* Require reconfiguring if the .cabal file has changed
	* Fix os(windows) configuration test
	* Fix building documentation
	* Fix building packages on Solaris
	* Other minor bug fixes

1.2.1 Duncan Coutts <duncan@haskell.org> Oct 2007
	* To be included in GHC 6.8.1
	* New field "cpp-options" used when preprocessing Haskell modules
	* Fixes for hsc2hs when using ghc
	* C source code gets compiled with -O2 by default
	* OS aliases, to allow os(windows) rather than requiring os(mingw32)
	* Fix cleaning of 'stub' files
	* Fix cabal-setup, command line ui that replaces "runhaskell Setup.hs"
	* Build docs even when dependent packages docs are missing
	* Allow the --html-dir to be specified at configure time
	* Fix building with ghc-6.2
	* Other minor bug fixes and build fixes

Duncan Coutts's avatar
Duncan Coutts committed
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
1.2.0  Duncan Coutts <duncan.coutts@worc.ox.ac.uk> Sept 2007
	* To be included in GHC 6.8.x
	* New configurations feature
	* Can make haddock docs link to hilighted sources (with hscolour)
	* New flag to allow linking to haddock docs on the web
	* Supports pkg-config
	* New field "build-tools" for tool dependencies
	* Improved c2hs support
	* Preprocessor output no longer clutters source dirs
	* Seperate "includes" and "install-includes" fields
	* Makefile command to generate makefiles for building libs with GHC
	* New --docdir configure flag
	* Generic --with-prog --prog-args configure flags
	* Better default installation paths on Windows
	* Install paths can be specified relative to each other
	* License files now installed
	* Initial support for NHC (incomplete)
	* Consistent treatment of verbosity
	* Reduced verbosity of configure step by default
	* Improved helpfulness of output messages
	* Help output now clearer and fits in 80 columns
	* New setup register --gen-pkg-config flag for distros
	* Major internal refactoring, hooks api has changed
	* Dozens of bug fixes

1.1.6.2 Duncan Coutts <duncan.coutts@worc.ox.ac.uk> May 2007
	* Released with GHC 6.6.1
	* Handle windows text file encoding for .cabal files
	* Fix compiling a executable for profiling that uses Template Haskell
	* Other minor bug fixes and user guide clarifications

1.1.6.1 Duncan Coutts <duncan.coutts@worc.ox.ac.uk> Oct 2006
	* fix unlit code
	* fix escaping in register.sh

245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
1.1.6  Duncan Coutts <duncan.coutts@worc.ox.ac.uk> Oct 2006
	* Released with GHC 6.6
	* Added support for hoogle
	* Allow profiling and normal builds of libs to be chosen indepentantly
	* Default installation directories on Win32 changed
	* Register haddock docs with ghc-pkg
	* Get haddock to make hyperlinks to dependent package docs
	* Added BangPatterns language extension
	* Various bug fixes

1.1.4  Duncan Coutts <duncan.coutts@worc.ox.ac.uk> May 2006
	* Released with GHC 6.4.2
	* Better support for packages that need to install header files
	* cabal-setup added, but not installed by default yet
	* Implemented "setup register --inplace"
	* Have packages exposed by default with ghc-6.2
	* It is no longer necessary to run 'configure' before 'clean' or 'sdist'
	* Added support for ghc's -split-objs
	* Initial support for JHC
	* Ignore extension fields in .cabal files (fields begining with "x-")
	* Some changes to command hooks API to improve consistency
	* Hugs support improvements
	* Added GeneralisedNewtypeDeriving language extension
	* Added cabal-version field
	* Support hidden modules with haddock
	* Internal code refactoring
	* More bug fixes

ijones's avatar
ijones committed
273
274
275
276
277
278
279
280
281
282
1.1.3  Isaac Jones  <ijones@syntaxpolice.org> Sept 2005
	* WARNING: Interfaces not documented in the user's guide may
	  change in future releases.
	* Move building of GHCi .o libs to the build phase rather than
	register phase. (from Duncan Coutts)
	* Use .tar.gz for source package extension
	* Uses GHC instead of cpphs if the latter is not available
	* Added experimental "command hooks" which completely override the
	default behavior of a command.
	* Some bugfixes
283

284
1.1.1  Isaac Jones  <ijones@syntaxpolice.org> July 2005
285
	* WARNING: Interfaces not documented in the user's guide may
286
	  change in future releases.
ijones's avatar
ijones committed
287
 	* Handles recursive modules for GHC 6.2 and GHC 6.4.
288
289
	* Added "setup test" command (Used with UserHook)
	* implemented handling of _stub.{c,h,o} files
290
291
292
	* Added support for profiling
	* Changed install prefix of libraries (pref/pkgname-version
	  to prefix/pkgname-version/compname-version)
293
	* Added pattern guards as a language extension
294
	* Moved some functionality to Language.Haskell.Extension
295
	* Register / unregister .bat files for windows
296
	* Exposed more of the API
ijones's avatar
ijones committed
297
	* Added support for the hide-all-packages flag in GHC > 6.4
298
299
300
301
302
303
	* Several bug fixes

1.0  Isaac Jones  <ijones@syntaxpolice.org> March 11 2005
	* Released with GHC 6.4, Hugs March 2005, and nhc98 1.18
	* Some sanity checking

ijones's avatar
ijones committed
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
0.5  Isaac Jones  <ijones@syntaxpolice.org> Wed Feb 19 2005
	* WARNING: this is a pre-release and the interfaces are still
	likely to change until we reach a 1.0 release.
	* Hooks interfaces changed
	* Added preprocessors to user hooks
	* No more executable-modules or hidden-modules.  Use
	"other-modules" instead.
	* Certain fields moved into BuildInfo, much refactoring
	* extra-libs -> extra-libraries
	* Added --gen-script to configure and unconfigure.
	* modules-ghc (etc) now ghc-modules (etc)
	* added new fields including "synopsis"
	* Lots of bug fixes
	* spaces can sometimes be used instead of commas
	* A user manual has appeared (Thanks, ross!)
	* for ghc 6.4, configures versionsed depends properly
	* more features to ./setup haddock
321

322
0.4  Isaac Jones  <ijones@syntaxpolice.org> Sun Jan 16 2005
323

ijones's avatar
ijones committed
324
325
326
	* Much thanks to all the awesome fptools hackers who have been
	working hard to build the Haskell Cabal!

327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
	* Interface Changes:

	** WARNING: this is a pre-release and the interfaces are still
	likely to change until we reach a 1.0 release.

	** Instead of Package.description, you should name your
	description files <something>.cabal.  In particular, we suggest
	that you name it <packagename>.cabal, but this is not enforced
	(yet).  Multiple .cabal files in the same directory is an error,
	at least for now.

	** ./setup install --install-prefix is gone.  Use ./setup copy
	--copy-prefix instead.

	** The "Modules" field is gone.  Use "hidden-modules",
	"exposed-modules", and "executable-modules".

	** Build-depends is now a package-only field, and can't go into
	executable stanzas.  Build-depends is a package-to-package
	relationship.

	** Some new fields.  Use the Source.

	* New Features

	** Cabal is now included as a package in the CVS version of
	fptools.  That means it'll be released as "-package Cabal" in
	future versions of the compilers, and if you are a bleeding-edge
	user, you can grab it from the CVS repository with the compilers.

	** Hugs compatibility and NHC98 compatibility should both be
	improved.

	** Hooks Interface / Autoconf compatibility: Most of the hooks
	interface is hidden for now, because it's not finalized.  I have
	exposed only "defaultMainWithHooks" and "defaultUserHooks".  This
	allows you to use a ./configure script to preprocess
	"foo.buildinfo", which gets merged with "foo.cabal".  In future
	releases, we'll expose UserHooks, but we're definitely going to
	change the interface to those.  The interface to the two functions
	I've exposed should stay the same, though.

	** ./setup haddock is a baby feature which pre-processes the
	source code with hscpp and runs haddock on it.  This is brand new
	and hardly tested, so you get to knock it around and see what you
	think.

	** Some commands now actually implement verbosity.

	** The preprocessors have been tested a bit more, and seem to work
	OK.  Please give feedback if you use these.

379
380
381
382
0.3  Isaac Jones  <ijones@syntaxpolice.org> Sun Jan 16 2005
	* Unstable snapshot release
	* From now on, stable releases are even.

383
384
385
0.2  Isaac Jones  <ijones@syntaxpolice.org>

	* Adds more HUGS support and preprocessor support.