graphql-api v0.3.0 Release Notes
Release Date: 2018-02-08 // about 6 years ago-
๐ฅ Breaking changes
- ๐
Enum
handlers are now monadic (see#118
_) - You must use protolude 0.2.1 or later
- 0๏ธโฃ
Defaultable
must now be imported fromGraphQL.API
, rather thanGraphQL.Resolver
, this movesGraphQL.API
closer to being sufficient for API definition. (see#149
_) - ๐
GraphQL.Value.ToValue
andGraphQL.Value.FromValue
modules have been removed. ImportToValue(..)
andFromValue(..)
fromGraphQL.Value
directly.
๐ Improvements
- ๐ Now support GHC 8.2 as well as 8.0.2 and later
- โ Added support for anonymous queries (thanks
@sunwukonga
_)
.. _
#118
: https://github.com/jml/graphql-api/issues/118 .. _#149
: https://github.com/haskell-graphql/graphql-api/issues/149 .. _@sunwukonga
: https://github.com/sunwukonga - ๐
Previous changes from v0.2.0
-
- ๐ Make
Name
an overloaded string that panics if an invalid name is provided. - ๐ Correctly descend into the type parameter of a
Maybe
. See https://github.com/jml/graphql-api/issues/119. This is a backwards-incompatible change.
A common update would be having to
fmap pure callback
instead of justcallback
forMaybe
handlers. - ๐ Make