bump yesod version

This commit is contained in:
David Hewson 2020-08-07 13:29:29 +01:00
parent 8069d42d90
commit 8585893b1d
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
## 1.6.1.0
* `widgetFileReload` and `widgetFileNoReload` now use absolute paths via the new `globFilePackage` Q Exp which can provide absolute templates paths within the project [#1691](https://github.com/yesodweb/yesod/pull/1691)
## 1.6.0.2
* Replace deprecated decodeFile with decodeFileEither. This should have no semantic impact, but silences a deprecation warning. [#1658](https://github.com/yesodweb/yesod/pull/1658)

View File

@ -67,6 +67,7 @@ globFile :: String -> String -> FilePath
globFile kind x = "templates/" ++ x ++ "." ++ kind
-- | `globFile` but returned path is absolute and within the package the Q Exp is evaluated
-- @since 1.6.1.0
globFilePackage :: String -> String -> Q FilePath
globFilePackage = (makeRelativeToProject <$>) . globFile

View File

@ -1,5 +1,5 @@
name: yesod
version: 1.6.0.2
version: 1.6.1.0
license: MIT
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>