Version bump

This commit is contained in:
Michael Snoyman 2021-05-10 18:55:59 +03:00
parent 6633884509
commit f8c9f30c1a
No known key found for this signature in database
GPG Key ID: 907EAE2F42B52046
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# ChangeLog for file-embed
## 0.0.14.0
* Add `embedFileIfExists`
## 0.0.13.0
* Ensure that directory listings are returned in sorted order for reproducibility [yesodweb/yesod#1684](https://github.com/yesodweb/yesod/issues/1684)

View File

@ -98,6 +98,8 @@ embedFile fp =
-- >
-- > maybeMyFile :: Maybe Data.ByteString.ByteString
-- > maybeMyFile = $(embedFileIfExists "dirName/fileName")
--
-- @since 0.0.14.0
embedFileIfExists :: FilePath -> Q Exp
embedFileIfExists fp = do
mbs <- runIO maybeFile

View File

@ -1,5 +1,5 @@
name: file-embed
version: 0.0.13.0
version: 0.0.14.0
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>