Which means that in a module with OverloadedStrings, string literals "like this" will default to Text instead of triggering an error about a polymorphic type.
(Spec v3.14 only) New field: extra-files allows you to bundle files in the source distribution (sdist) of your cabal package. It serves as an alternative when the files you want to bundle do not fit in the existing data-files (for runtime data), extra-source-files (built by cabal) or extra-doc-files (shipped with Haddocks). This field has no inherent meaning, to avoid misuse of the already existing fields. For instance, you can use extra-files to ship stack.yaml files, which are not used either by the program at run-time, nor by Cabal or Haddock.
New build type: Hooks. This build type, intended to eventually replace the Custom build type, integrates better with the rest of the ecosystem (cabal-install, Haskell Language Server).
The --promised-dependency flag now accepts the version of a package in the package name. Previously you could only call it with an argument like void=void-0.5.8. Now, it is possible to write: --promised-dependency=void-0.5.8=void-0.5.8.