Skip to content

Commit

Permalink
bump yesod version
Browse files Browse the repository at this point in the history
  • Loading branch information
dten committed Aug 9, 2020
1 parent 8069d42 commit 8585893
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions yesod/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
1 change: 1 addition & 0 deletions yesod/Yesod/Default/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion yesod/yesod.cabal
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit 8585893

Please sign in to comment.