packages feed

servant-static-th 0.2.0.0 → 0.2.0.1

raw patch · 3 files changed

+27/−3 lines, 3 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Servant.Static.TH: data EOT
+ Servant.Static.TH: data ICO
+ Servant.Static.TH: data TTF
+ Servant.Static.TH: data WOFF
+ Servant.Static.TH: data WOFF2

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog +## v0.2.0.1++-   In v0.2.0.0, the new MIME types were not being exported from `Servant.Static.TH`.  This fixes that.+ ## v0.2.0.0  -   Add
servant-static-th.cabal view
@@ -1,5 +1,5 @@ name:                servant-static-th-version:             0.2.0.0+version:             0.2.0.1 synopsis:            Embed a directory of static files in your Servant server description:         Please see <https://github.com/cdepillabout/servant-static-th#readme README.md>. homepage:            https://github.com/cdepillabout/servant-static-th
src/Servant/Static/TH.hs view
@@ -105,14 +105,19 @@     -- <https://github.com/cdepillabout/servant-static-th/issues issue> or     -- <https://github.com/cdepillabout/servant-static-th/pulls PR>.   , CSS+  , EOT   , GIF   , HTML   , Html+  , ICO   , JPEG   , JS   , PNG   , SVG+  , TTF   , TXT+  , WOFF+  , WOFF2     -- * Easy-To-Use Names and Paths      -- | The functions in this section pick defaults for the template@@ -139,8 +144,23 @@ import Text.Blaze.Html (Html)  import Servant.Static.TH.Internal-       (CSS, GIF, JPEG, JS, PNG, SVG, TXT, createApiDec, createApiType,-        createServerDec, createServerExp)+  ( CSS+  , EOT+  , GIF+  , ICO+  , JPEG+  , JS+  , PNG+  , SVG+  , TTF+  , TXT+  , WOFF+  , WOFF2+  , createApiDec+  , createApiType+  , createServerDec+  , createServerExp+  )  ------------------------------------ -- Hard-coded Frontend file paths --