skylighting 0.8.2.2 → 0.8.2.3
raw patch · 4 files changed
+18/−7 lines, 4 filesdep ~skylighting-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: skylighting-core
API changes (from Hackage documentation)
Files
- README.md +2/−4
- bin/main.hs +4/−1
- changelog.md +10/−0
- skylighting.cabal +2/−2
README.md view
@@ -1,10 +1,8 @@ skylighting =========== -| Package | License | Status |-|-|-|-|-| `skylighting` | [](https://www.gnu.org/licenses/gpl.html) | [](https://travis-ci.org/jgm/skylighting) |-| `skylighting-core` | [](https://opensource.org/licenses/BSD-3-Clause) | [](https://travis-ci.org/jgm/skylighting-core) |+[](https://www.gnu.org/licenses/gpl.html)+[](https://github.com/jgm/skylighting/actions) A Haskell syntax highlighting library with tokenizers derived from KDE XML syntax highlighting descriptions.
bin/main.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} import Control.Monad@@ -5,7 +6,6 @@ import Data.Char (toLower) import qualified Data.Map as Map import Data.Maybe (fromMaybe)-import Data.Monoid import qualified Data.Text as Text import qualified Data.Text.IO as Text import Data.Version (showVersion)@@ -21,6 +21,9 @@ import Text.Read (readMaybe) import Text.Printf (printf) import Text.Show.Pretty (ppShow)+#if !MIN_VERSION_base(4,11,0)+import Data.Semigroup ((<>))+#endif data Flag = Sty String | Theme String
changelog.md view
@@ -1,5 +1,15 @@ # Revision history for skylighting and skylighting-core +## 0.8.2.3 -- 2019-10-03++ * Tests: ensure we read test files as UTF-8.++ * Fix compiler warnings around Monoid imports.++ * Add MonadFail constraint (allowing compilation with ghc 8.8.x).++ * Add cabal.project and move CI from Travis to GitHub Actions.+ ## 0.8.2.2 -- 2019-09-30 * Remove upper bound on regex-base and require
skylighting.cabal view
@@ -1,5 +1,5 @@ name: skylighting-version: 0.8.2.2+version: 0.8.2.3 synopsis: syntax highlighting library description: Skylighting is a syntax highlighting library with support for over one hundred languages. It derives@@ -183,7 +183,7 @@ Skylighting.Syntax.Zsh other-extensions: CPP, Arrows build-depends: base >= 4.8 && < 5.0,- skylighting-core == 0.8.2.2,+ skylighting-core == 0.8.2.3, bytestring, containers, binary