morpheus-graphql

Haskell GraphQL Api, Client and Tools

MIT License

Stars
402
Committers
43

Bot releases are visible (Hide)

morpheus-graphql - 0.27.3 Latest Release

Published by github-actions[bot] over 1 year ago

0.27.3 (2023-04-27)

Minor Changes

  • #825: Allow transformers-0.7
  • #823: JSON diffs on failed tests
  • #826: Fix: sorted possible types
  • #827: build(deps): bump yaml and cspell
    • ๐Ÿ‘ค @dependabot

    • Removes

      Updates from 5.18.5 to 6.31.1

      Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting .


      You can trigger Dependabot actions by commenting on this PR:

      • will rebase this PR
      • will recreate this PR, overwriting any edits that have been made to it
      • will merge this PR after your CI passes on it
      • will squash and merge this PR after your CI passes on it
      • will cancel a previously requested merge and block automerging
      • will reopen this PR if it is closed
      • will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
      • will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
      • will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
      • will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
        You can disable automated security fix PRs for this repo from the Security Alerts page.
  • #820: Refactor intropsection
  • #830: Allow vector
morpheus-graphql - 0.27.2

Published by github-actions[bot] over 1 year ago

0.27.2 (2023-04-20)

Minor Changes

morpheus-graphql - 0.27.1

Published by github-actions[bot] over 1 year ago

0.27.1 (2023-04-02)

Bug Fixes

Minor Changes

morpheus-graphql - 0.27.0

Published by github-actions[bot] almost 2 years ago

0.27.0 (2022-11-12)

Breaking Change

New features

Bug Fixes

Minor Changes

morpheus-graphql - 0.26.0

Published by github-actions[bot] almost 2 years ago

0.26.0 (2022-11-05)

Breaking Change

morpheus-graphql - 0.25.0

Published by github-actions[bot] almost 2 years ago

0.25.0 (2022-10-31)

Breaking Change

  • #784: custom directive for default values
  • #786: Named resolvers support batching
    • ๐Ÿ‘ค @nalchevanidze

      • ResolveNamed exposes resolveBatched
      • ResolveNamed requires MonadError GQLError m constraint

      fixes #348

Minor Changes

  • #785: refactor: clean up
    • ๐Ÿ‘ค @nalchevanidze

    • main:

      • toGraphQLDocument
      • GQL_KIND
      • OUTPUT
      • INPUT
      • INTERFACE
      • UNION
      • INPUT_OBJECT
      • OBJECT
      • ENUM

      core:

      • errorMessage
      • globalErrorMessage
      • Failure
      • failure

      server:

      • GQLType
        • description
        • getDescriptions
        • typeOptions
        • getDirectives
        • defaultValues
      • unsafeInternalContext
      • GQLTypeOptions
      • defaultTypeOptions
      • fieldLabelModifier
      • constructorTagModifier
      • typeNameModifier,

      client:

      • gql
      • defineByDocument,
      • defineByDocumentFile
      • defineByDocumentFile'
      • defineByIntrospection
      • defineByIntrospectionFile
      • defineByIntrospectionFile'
morpheus-graphql - 0.24.3

Published by github-actions[bot] almost 2 years ago

0.24.3 (2022-10-24)

morpheus-graphql - 0.24.2

Published by github-actions[bot] almost 2 years ago

0.24.2 (2022-10-24)

Minor Changes

  • #780: automatically upload binaries for: linux, mac-os, windows
morpheus-graphql - 0.24.1

Published by github-actions[bot] almost 2 years ago

0.24.1 (2022-10-22)

Bug Fixes

morpheus-graphql - 0.24.0

Published by github-actions[bot] almost 2 years ago

0.24.0 (2022-10-21)

Breaking Change

  • #773: disable automatic __typename selection and fix client runtime errors connected to it
  • #776: generate single type for fragment

Bug Fixes

Minor Changes

morpheus-graphql - 0.23.0

Published by github-actions[bot] about 2 years ago

0.23.0 (2022-10-17)

Breaking Change

  • #766: feat: replace Type Options with GQL Directives
    • ๐Ÿ‘ค @nalchevanidze

    • breaking changes:

      • visitTypeName signature changed from a -> Text -> Text to a -> Bool -> Text -> Text
      • DEPRECATED: typeOptions , GQLTypeOptions, prefixInputs, dropNamespaceOptions, defaultTypeOptions
      • TH may require importing InputTypeNamespace and Rename directive

      fixes #570

  • #769: generate code with code-gen.yaml

Bug Fixes

Minor Changes

morpheus-graphql - 0.22.1

Published by github-actions[bot] about 2 years ago

0.22.1 (2022-10-13)

Bug Fixes

morpheus-graphql - 0.22.0

Published by github-actions[bot] about 2 years ago

0.22.0 (2022-10-11)

Breaking Change

New features

Bug Fixes

Minor Changes

morpheus-graphql - 0.21.0

Published by github-actions[bot] about 2 years ago

0.21.0 (2022-10-01)

Breaking Change

New features

Bug Fixes

Minor Changes

morpheus-graphql - 0.20.1

Published by github-actions[bot] about 2 years ago

0.20.1 (2022-08-26)

Minor Changes

  • #733: Fix JSON instances for enums with a single variant.
    • ๐Ÿ‘ค @pranaysashank

    • I attempted a fix in this PR, which instead generates the instances as

      But notice that the ToJSON and FromJSON instances after the fix don't match.(Fixed in adbbcf0) Thoughts?
      Also added a test for this bug.

  • #740: fix linter
  • #739: build(deps): bump @actions/core from 1.6.0 to 1.9.1
    • ๐Ÿ‘ค @dependabot

    • Dependabot compatibility score

      Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting .


      You can trigger Dependabot actions by commenting on this PR:

      • will rebase this PR
      • will recreate this PR, overwriting any edits that have been made to it
      • will merge this PR after your CI passes on it
      • will squash and merge this PR after your CI passes on it
      • will cancel a previously requested merge and block automerging
      • will reopen this PR if it is closed
      • will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
      • will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
      • will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
      • will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
      • will set the current labels as the default for future PRs for this repo and language
      • will set the current reviewers as the default for future PRs for this repo and language
      • will set the current assignees as the default for future PRs for this repo and language
      • will set the current milestone as the default for future PRs for this repo and language

      You can disable automated security fix PRs for this repo from the Security Alerts page.

morpheus-graphql - 0.20.0

Published by github-actions[bot] over 2 years ago

0.20.0 (2022-05-03)

Breaking Change

  • #722: Fix single variant enums
    • ๐Ÿ‘ค @nalchevanidze

      1. hides constructor of .

      2. exposes value to build with undefined operations.

      3. converts types with singe empty constructors to single value enums

      fixes #721

  • #727: Local/Global Type Generation
    • ๐Ÿ“ฆ client

    • ๐Ÿ‘ค @nalchevanidze

    • Type generation is divided into local and global types. Global types should be declared only once and have no namespaces. These types are enums, scalars, inputs and can be used by multiple queries that have their own namespaced local type definitions.

      Data.Morpheus.Client

      Deprecated:

      • gql
      • defineByDocument
      • defineByDocumentFile
      • defineByDocumentFile'
      • defineByIntrospection
      • defineByIntrospectionFile
      • defineByIntrospectionFile'

      new:

      • raw
      • clientTypeDeclarations
      • declareGlobalTypes
      • declareLocalTypes
      • declareLocalTypesInline

      Fixes #696

  • #729: clean up client interface

Minor Changes

morpheus-graphql - 0.19.3

Published by github-actions[bot] over 2 years ago

0.19.3 (2022-04-02)

internal changes

morpheus-graphql - 0.19.2

Published by nalchevanidze over 2 years ago

morpheus-graphql - 0.19.1

Published by github-actions[bot] over 2 years ago

0.19.1 (2022-03-31)

New features

  • #694: Export a function to add extensions to errors

Bug Fixes

  • #695: fix(client): avoid generating duplicated Aeson instances
    • ๐Ÿ“ฆ client

    • ๐Ÿ‘ค @lorenzo

    • With this change, before generating a the instance, it will lookup
      if it was declared already and avoid doing so.

      This also helps when you want to take over and declare some things
      manualy and let morpheus do the rest.

      Additionally, this add a omitNulls pass to the generated Aeson object.
      When sending the object for a type with lots of nullables, this reduces
      significantly the request size.

Minor Changes

morpheus-graphql - morpheus-graphql-0.19.0

Published by nalchevanidze over 2 years ago

0.19.0 - 21.03.2022

Breaking Changes

  • Pair fields changed from key, value to _0, _1

Minor Changes

  • supports: NonEmpty, Vector, Seq
  • fixes decoding of types without record syntax (including tuples) (#667, #659, #665)
  • supports Aeson-2.0
  • accepts indexes for GraphQL Error Path (#662)
Package Rankings
Top 6.73% on Proxy.golang.org
Badges
Extracted from project README
Hackage
Related Projects