morpheus-graphql v0.16.0 Release Notes

Release Date: 2020-11-05 // over 3 years ago
  • morpheus-graphql

    ๐Ÿ’ฅ Breaking changes

    • subscriptions are extracted in morpheus-graphql-subscriptions.
    • ๐Ÿšš Event, httpPubApp and webSocketsApp moved Data.Morpheus.Subscriptions

    ๐Ÿ†• New Features

    Data.Morpheus.Subscriptions provides:

    • runPubApp: generalized version of httpPubApp

    - runSubApp: generalized version of webSocketsApp

    ๐Ÿ†• New encode and decode instances for Set, NonEmpty, Seq and Vector
    Set and NonEmpty throw a graphql error when a duplicate is found (Set)
    or when an empty list is sent (NonEmpty).
    Beware : Right now, all these types are advertised as lists in the introspection query.
    This is something we are trying to change by submitting a proposal to the graphql spec.

    morpheus-graphql-core

    ๐Ÿ’ฅ Breaking Changes

    signature changes:

    render:
    a -> Text
    โœ… to a -> ByteString

    ๐Ÿ“œ parseTypeSystemDefinition :
    Text -> Eventless (Schema VALID)
    โœ… to ByteString -> Eventless (Schema VALID)

    ๐Ÿ“œ parseTypeDefinitions:
    Text -> Eventless [TypeDefinition ANY CONST]
    โœ… to ByteString -> Eventless [TypeDefinition ANY CONST]

    Minor Changes

    • ๐ŸŽ parser performance optimization

    morpheus-graphql-client

    Minor Changes

    • ๐ŸŽ parser performance optimization
    • ๐Ÿ›  fixed #514: json parser selects interface type as fallback
    • ๐Ÿ›  fixed #546: defineByIntrospectionFile support custom (Query,Mutation,Subscription)