Bump version and update changelog
commitebb82fd43d26482a1eeeaf9c46cf65686fa55c4d
authorNickolay Kudasov <nickolay.kudasov@gmail.com>
dateThu 19 Jan 2017, 23:58 (10 years ago)
parent883b997
CHANGELOG.md+6
@@ -1,3 +1,9 @@
1+0.3.5
2+---
3+
4+* Minor changes:
5+ * Add `LenientData` which always succeeds to parse (see [#45](https://github.com/fizruk/http-api-data/pull/45)).
6+
170.3.4
28---
39
http-api-data.cabal+1−1
@@ -1,5 +1,5 @@
11name: http-api-data
2−version: 0.3.4
2+version: 0.3.5
33license: BSD3
44license-file: LICENSE
55author: Nickolay Kudasov <nickolay.kudasov@gmail.com>
src/Web/Internal/HttpApiData.hs+2
@@ -597,6 +597,8 @@ instance FromHttpApiData UUID.UUID where
597597
598598
599599-- | Lenient parameters. 'FromHttpApiData' combinators always return `Right`.
600+--
601+-- @since 0.3.5
600602newtype LenientData a = LenientData { getLenientData :: Either Text a }
601603 deriving (Eq, Ord, Show, Read, Typeable, Data, Functor, Foldable, Traversable)
602604