graphql-api v0.3.0 Release Notes

Release Date: 2018-02-08 // almost 5 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 from GraphQL.API, rather than GraphQL.Resolver, this moves GraphQL.API closer to being sufficient for API definition. (see #149_)
    • ๐Ÿšš GraphQL.Value.ToValue and GraphQL.Value.FromValue modules have been removed. Import ToValue(..) and FromValue(..) from GraphQL.Value directly.

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘ Now support GHC 8.2 as well as 8.0.2 and later
    • โž• Added support for anonymous queries (thanks @sunwukonga_)

    .. _#118: .. _#149: .. _@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 This is a backwards-incompatible change.

    A common update would be having to fmap pure callback instead of just callback for Maybe handlers.