7. Cabal file format changelog¶
7.1. Changes in 2.4¶
- Wildcard matching has been expanded. All previous wildcard
expressions are still valid; some will match strictly more files
than before. Specifically:
- Double-star (
**) wildcards are now accepted for recursive matching immediately before the final slash; they must be followed by a filename wildcard (e.g.,foo/**/*.htmlis valid;foo/**/bar/*.htmlandfoo/**/**/*.html,foo/**/bar.htmlare all invalid). As**was an error in globs before, this does not affect any existing.cabalfiles that previously worked. - Wildcards now match when the pattern’s extensions form a suffix of
the candidate file’s extension, rather than requiring strict
equality (e.g., previously
*.htmldid not matchfoo.en.html, but now it does).
- Double-star (
- License fields use identifiers from SPDX License List version
3.2 2018-07-10