on master help sign in
Version bump for #547
71d74aeMichael Snoyman
auto-update/ChangeLog.md+4
@@ -1,3 +1,7 @@
1+## 0.1.4
2+
3+* Provide updateActionModify API in AutoUpdate [#547](https://github.com/yesodweb/wai/pull/547)
4+
1## 0.1.3.1
5## 0.1.3.1
2
6
3* Doc improvements
7* Doc improvements
auto-update/Control/AutoUpdate.hs+2
@@ -108,6 +108,8 @@ mkAutoUpdate us = mkAutoUpdateHelper us Nothing
108-- | Generate an action which will either read from an automatically
108-- | Generate an action which will either read from an automatically
109-- updated value, or run the update action in the current thread if
109-- updated value, or run the update action in the current thread if
110-- the first time or the provided modify action after that.
110-- the first time or the provided modify action after that.
111+--
112+-- @since 0.1.4
111mkAutoUpdateWithModify :: UpdateSettings a -> (a -> IO a) -> IO (IO a)
113mkAutoUpdateWithModify :: UpdateSettings a -> (a -> IO a) -> IO (IO a)
112mkAutoUpdateWithModify us f = mkAutoUpdateHelper us (Just f)
114mkAutoUpdateWithModify us f = mkAutoUpdateHelper us (Just f)
113
115
auto-update/auto-update.cabal+1−1
@@ -1,5 +1,5 @@
1name: auto-update
1name: auto-update
2−version: 0.1.3.1
2+version: 0.1.4
3synopsis: Efficiently run periodic, on-demand actions
3synopsis: Efficiently run periodic, on-demand actions
4description: API docs and the README are available at <http://www.stackage.org/package/auto-update>.
4description: API docs and the README are available at <http://www.stackage.org/package/auto-update>.
5homepage: https://github.com/yesodweb/wai
5homepage: https://github.com/yesodweb/wai