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 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: 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 just callback for Maybe handlers.