Skip to content

@refinedev/[email protected]

Compare
Choose a tag to compare
@refine-bot refine-bot released this 15 Oct 06:51
· 48 commits to master since this release
3740bf6

Major Changes

  • #6336 58e90f26248ed3d1bc92ae748f03a2cbe71721c2 Thanks @aliemir! - feat: rewrite GraphQL data provider.

    We've modernized GraphQL dataprovider to make it more flexible and strictly coupled into a specific API schema.
    You can utilize option parameter to change the behaviour of the data provider. You can also do it individually for a single action.
    We've removed gql-query-builder and graphql-request dependencies and now using @urql/core as a GraphQL client.
    This means now it's required to pass either gqlQuery or gqlMutation to the hooks, meta.fields usage is removed.
    graphql-tag package is also removed since @urql/core already has gql export to write queries & mutations.
    We are no more re-exporting other packages, just our data provider, live provider and defaultOptions.

    See the updated documentation for more details: https://refine.dev/docs/data/packages/graphql/

    Resolves #5942
    Resolves #5943