Modify version bump for #1089

This commit is contained in:
Michael Snoyman 2015-10-20 05:28:06 +00:00
parent e22b81793e
commit b51b57d445
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
## 1.4.5
* Foldable/Traversable instances for FormResult [#1089](https://github.com/yesodweb/yesod/pull/1089)
## 1.4.4.1
* runFormPost has wrong behavior for empty forms [#950](https://github.com/yesodweb/yesod/issues/950)

View File

@ -64,14 +64,14 @@ instance Monoid m => Monoid (FormResult m) where
instance Semigroup m => Semigroup (FormResult m) where
x <> y = (<>) <$> x <*> y
-- | Since 1.4.4.2
-- | @since 1.4.5
instance Foldable FormResult where
foldMap f r = case r of
FormSuccess a -> f a
FormFailure errs -> mempty
FormMissing -> mempty
-- | Since 1.4.4.2
-- | @since 1.4.5
instance Traversable FormResult where
traverse f r = case r of
FormSuccess a -> fmap FormSuccess (f a)

View File

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