@@ -347,4 +347,108 @@ relative to the respective preceding *published* version.
347
347
* New :pkg-field: `license ` types ``MIT `` and versioned ``GPL `` and ``LGPL ``
348
348
added.
349
349
350
+ ``cabal-version: ==1.6 ``
351
+ ------------------------
352
+
353
+ * New :pkg-section: `source-repository ` stanza for information about the
354
+ location of the package's source code within a source code repository.
355
+
356
+ * Add support for new :pkg-field: `bug-reports ` field, to specify the URL where
357
+ users should direct bug reports.
358
+
359
+ * Add support for wildcards in :pkg-field: `data-files ` and
360
+ :pkg-field: `extra-source-files ` fields.
361
+
362
+ * Add support for ``foo ==1.2.* `` syntax to :pkg-field: `build-depends ` field.
363
+
364
+ * Add support for new ``exposed `` field (default: ``True ``), to be able to
365
+ specify that the package should not be exposed.
366
+
367
+ * :pkg-field: `cpp-options `, :pkg-field: `cc-options ` and :pkg-field: `ld-options `
368
+ fields no longer use ``, `` as a separator.
369
+
370
+ ``cabal-version: ==1.2.1 ``
371
+ --------------------------
372
+
373
+ * New format for the :pkg-section: `flag `, :pkg-section: `library ` and
374
+ :pkg-section: `executable ` stanzas.
375
+
376
+ * Add support for new :pkg-field: `cpp-options ` field, to specify options used
377
+ when pre-processing Haskell modules.
378
+
379
+ * Replace ``nhc-options `` field with ``nhc98-options `` field.
380
+
381
+ ``cabal-version: ==1.2.0 ``
382
+ --------------------------
383
+
384
+ * The :pkg-field: `cabal-version ` field is now required.
385
+
386
+ * New :pkg-section: `flag ` stanza for specifying configuration flags and add
387
+ support for conditional blocks in :pkg-section: `library ` and
388
+ :pkg-section: `executable ` stanzas.
389
+
390
+ * Add distinct :pkg-section: `library ` stanza.
391
+
392
+ * New format for :pkg-section: `executable ` stanzas.
393
+
394
+ * Add support for new :pkg-field: `build-type ` field (default: ``Custom ``), to
395
+ specify the type of build used by this package.
396
+
397
+ * Add support for new :pkg-field: `build-tools ` field, to specify tools needed to
398
+ build the package.
399
+
400
+ * Add support for new :pkg-field: `pkgconfig-depends ` field, to specify
401
+ ``pkg-config `` packages needed to build the package.
402
+
403
+ * Add support for new :pkg-field: `ghc-shared-options ` field, to specify
404
+ additional options for GHC when the package is built as a shared library.
405
+
406
+ ``cabal-version: ==1.1.6 ``
407
+ --------------------------
408
+
409
+ * Add support for new :pkg-field: `install-includes ` field, distinct from the
410
+ :pkg-field: `includes ` field, to specify header files from the package.
411
+
412
+ * Add support for new ``jhc-options `` field, to specify additional options for
413
+ John Meacham's Haskell compiler (JHC).
414
+
415
+ ``cabal-version: ==1.1.4 ``
416
+ --------------------------
417
+
418
+ * Add support for new optional :pkg-field: `cabal-version ` field, to specify the
419
+ version of ``Cabal `` required for the package.
420
+
421
+ * Add support for new :pkg-field: `author `, :pkg-field: `homepage `,
422
+ :pkg-field: `package-url `, :pkg-field: `synopsis `, :pkg-field: `description ` and
423
+ :pkg-field: `category ` fields.
424
+
425
+ * Add support for new :pkg-field: `tested-with ` field to specify compilers and
426
+ versions against which the package has been tested.
427
+
428
+ * Add support for new :pkg-field: `data-files ` field to specify files for use by
429
+ the package at run-time.
430
+
431
+ * Add support for new :pkg-field: `extra-source-files ` field to specify files to
432
+ be included in source distributions.
433
+
434
+ * Add support for new :pkg-field: `extra-tmp-files ` field to specify files to
435
+ be removed when cleaning up.
436
+
437
+ * Replace :pkg-field: `hs-source-dir ` field with :pkg-field: `hs-source-dirs `
438
+ field.
439
+
440
+ * Add support for new :pkg-field: `ghc-prof-options ` field, to specify
441
+ additional options for GHC when the package is built with profiling.
442
+
443
+ * Add support for extension fields beginning with ``x- ``.
444
+
445
+ ``Cabal-1.0 ``
446
+ -------------
447
+
448
+ ``Cabal-1.0 ``, released March 2005, came with a
449
+ `specification <https://downloads.haskell.org/~cabal/Cabal-1.0/doc/pkg-spec-html/ >`__
450
+ for 'The Haskell Cabal: A Common Architecture for Building Applications and
451
+ Tools', including `Section 5.2 <https://downloads.haskell.org/~cabal/Cabal-1.0/doc/pkg-spec-html/x611.html#SBI-PKG-DESC >`__
452
+ 'Package description in the simple build infrastructure'.
453
+
350
454
.. include :: references.inc
0 commit comments