Skip to content

Commit f8c9f30

Browse files
committed
Version bump
1 parent 6633884 commit f8c9f30

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Diff for: ChangeLog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog for file-embed
22

3+
## 0.0.14.0
4+
5+
* Add `embedFileIfExists`
6+
37
## 0.0.13.0
48

59
* Ensure that directory listings are returned in sorted order for reproducibility [yesodweb/yesod#1684](https://github.com/yesodweb/yesod/issues/1684)

Diff for: Data/FileEmbed.hs

+2
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ embedFile fp =
9898
-- >
9999
-- > maybeMyFile :: Maybe Data.ByteString.ByteString
100100
-- > maybeMyFile = $(embedFileIfExists "dirName/fileName")
101+
--
102+
-- @since 0.0.14.0
101103
embedFileIfExists :: FilePath -> Q Exp
102104
embedFileIfExists fp = do
103105
mbs <- runIO maybeFile

Diff for: file-embed.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: file-embed
2-
version: 0.0.13.0
2+
version: 0.0.14.0
33
license: BSD3
44
license-file: LICENSE
55
author: Michael Snoyman <[email protected]>

0 commit comments

Comments
 (0)