skylighting 0.14.1.2 → 0.14.2
raw patch · 2 files changed
+13/−3 lines, 2 filesdep ~skylighting-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: skylighting-core
API changes (from Hackage documentation)
Files
- changelog.md +10/−0
- skylighting.cabal +3/−3
changelog.md view
@@ -1,5 +1,15 @@ # Revision history for skylighting and skylighting-core +## 0.14.2++ * Add `loadValidSyntaxesFromDir` (Kevin Quick) [API change].+ The `loadSyntaxesFromDir` function is an all-or-nothing function:+ a single invalid file results in a error and *no* loaded syntaxes.+ This adds the `loadValidSyntaxesFromDir`, which is resilient+ against individual syntax file load failures. It returns a map+ of the failure messages, and the SyntaxMap that is created from+ all the successful parsing.+ ## 0.14.1.2 * Add terraform syntax (#190).
skylighting.cabal view
@@ -1,5 +1,5 @@ name: skylighting-version: 0.14.1.2+version: 0.14.2 synopsis: syntax highlighting library description: Skylighting is a syntax highlighting library with support for over one hundred languages. It derives@@ -21,7 +21,7 @@ license-file: LICENSE author: John MacFarlane maintainer: jgm@berkeley.edu-copyright: (C) 2016 John MacFarlane+copyright: (C) 2016-2024 John MacFarlane category: Text build-type: Simple extra-doc-files: README.md@@ -205,7 +205,7 @@ Skylighting.Syntax.Zsh other-extensions: CPP build-depends: base >= 4.8 && < 5.0,- skylighting-core == 0.14.1.2,+ skylighting-core == 0.14.2, skylighting-format-ansi >= 0.1 && < 0.2, skylighting-format-context >= 0.1 && < 0.2, skylighting-format-latex >= 0.1 && < 0.2,