Modify version bump for #1089
This commit is contained in:
parent
e22b81793e
commit
b51b57d445
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user