Skip to content

Commit

Permalink
Bump version and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
fizruk committed Jan 19, 2017
1 parent 883b997 commit ebb82fd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
0.3.5
---

* Minor changes:
* Add `LenientData` which always succeeds to parse (see [#45](https://github.com/fizruk/http-api-data/pull/45)).

0.3.4
---

Expand Down
2 changes: 1 addition & 1 deletion http-api-data.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: http-api-data
version: 0.3.4
version: 0.3.5
license: BSD3
license-file: LICENSE
author: Nickolay Kudasov <[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions src/Web/Internal/HttpApiData.hs
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,8 @@ instance FromHttpApiData UUID.UUID where


-- | Lenient parameters. 'FromHttpApiData' combinators always return `Right`.
--
-- @since 0.3.5
newtype LenientData a = LenientData { getLenientData :: Either Text a }
deriving (Eq, Ord, Show, Read, Typeable, Data, Functor, Foldable, Traversable)

Expand Down

0 comments on commit ebb82fd

Please sign in to comment.