Cabal Changelog

What's new in Cabal 1.22.8.0

Feb 1, 2016
  • Only Custom setup scripts should be compiled with '-i -i.'.
  • installedCabalVersion: Don't special-case Cabal anymore.
  • Bump the HTTP upper bound. See #3069.

New in Cabal 1.22.3.0 (Apr 21, 2015)

  • Fix bash completion for sandbox subcommands
  • filterConfigureFlags: filter more flags

New in Cabal 1.22.2.0 (Mar 23, 2015)

  • Don't pass '--{en,dis}able-profiling' to old setup.
  • Add -Wall police
  • Fix dependencies on 'old-time'
  • Fix test interface detailed-0.9 with GHC 7.10
  • Fix HPC tests with GHC 7.10
  • Make sure to pass the package key to ghc
  • Use --package-{name|version} when available for Haddock when available
  • Put full package name and version in library names
  • Fully specify package key format, so external tools can generate it.

New in Cabal 1.22.0.0 (Jan 5, 2015)

  • Support GHC 7.10.
  • Experimental support for emitting DWARF debug info.
  • Preliminary support for relocatable packages.
  • Allow cabal to be used inside cabal exec enviroments.
  • hpc: support mutliple "ways" (e.g. profiling and vanilla).
  • Support GHCJS.
  • Improved command line documentation.
  • Add '-none' constraint syntax for version ranges (#2093).
  • Make the default doc index file path compiler/arch/os-dependent (#2136).
  • Warn instead of dying when generating documentation and hscolour isn't installed (455f51622fa38347db62197a04bb0fa5b928ff17).
  • Support the new BinaryLiterals extension (1f25ab3c5eff311ada73c6c987061b80e9bbebd9).
  • Warn about 'ghc-prof-options: -auto-all' in 'cabal check' (#2162).
  • Add preliminary support for multiple instances of the same package version installed side-by-side (#2002).
  • New binary build config format - faster build times (#2076).
  • Support module thinning and renaming (#2038).
  • Add a new license type: UnspecifiedLicense (#2141).
  • Remove support for Hugs and nhc98 (#2168).
  • Invoke 'tar' with '--formar ustar' if possible in 'sdist' (#1903).
  • Replace --enable-library-coverage with --enable-coverage, which enables program coverage for all components (#1945).
  • Suggest that `ExitFailure 9` is probably due to memory exhaustion (#1522).
  • Drop support for Haddock < 2.0 (#1808, #1718).
  • Make 'cabal test'/'cabal bench' build only what's needed for running tests/benchmarks (#1821).
  • Build shared libraries by default when linking executables dynamically.
  • Build profiled libraries by default when profiling executables.

New in Cabal 1.20.0.1 (Jun 20, 2014)

  • Fix streaming test output.

New in Cabal 1.20.0.0 (Jun 20, 2014)

  • Rewrite user guide
  • Fix repl Ctrl+C handling
  • Add haskell-suite compiler support
  • Add __HADDOCK_VERSION__ define
  • Allow specifying exact dependency version using hash
  • Rename extra-html-files to extra-doc-files
  • Add parallel build support for GHC 7.8 and later
  • Don't call ranlib on OS X
  • Avoid re-linking executables, test suites, and benchmarks unnecessarily, shortening build times
  • Add --allow-never which allows upper version bounds to be ignored
  • Add --enable-library-stripping
  • Add command for freezing dependencies
  • Allow repl to be used outside Cabal packages
  • Add --require-sandbox
  • Don't use --strip-unneeded on OS X or iOS
  • Add new license-files field got additional licenses
  • Fix if(solaris) on some Solaris versions
  • Don't use -dylib-install-name on OS X with GHC > 7.8
  • Add DragonFly as a known OS
  • Improve pretty-printing of Cabal files
  • Add test flag --show-details=streaming for real-time test output
  • Add exec command

New in Cabal 1.8.0.4 (Jul 22, 2010)

  • Fix exe-depends-on-lib feature with ghc-6.12
  • Fix use of --package-db with ghc-6.12
  • By default $datadir now follows the $prefix on Windows
  • Find ar.exe on windows better
  • Fix mixup between $arch and $os path variables
  • Support for for hugs and nhc package databases
  • Set dynlib name for shared libs on OSX

New in Cabal 1.6.0.2 (Feb 19, 2009)

  • New configure-time check for C headers and libraries
  • 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
  • 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
  • Fix for building haddock docs for exes that use the Paths module
  • Fix for installing header files in subdirectories
  • Fix for the case of building profiling libs but not ordinary libs
  • Fix read-only attribute of installed files on Windows
  • Ignore ghc -threaded flag when profiling in ghc-6.8 and older

New in Cabal 1.6.0.0 (Oct 10, 2008)

  • 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
  • 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
  • New --builddir flag allows multiple builds from a single sources dir
  • 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
  • Miscellaneous minor bug fixes