Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Releases: d2iq-archive/reactive-graphql

v4.0.1

11 Oct 16:40
Compare
Choose a tag to compare

4.0.1 (2019-10-11)

Bug Fixes

v4.0.0

30 Sep 13:11
Compare
Choose a tag to compare

4.0.0 (2019-09-30)

Features

  • complete implementation (fragments, introspection...) (ccfa24b)

BREAKING CHANGES

    • Removed support for Observable rootValue
  • Removed the support for Observable variables: If necessary, it can be done by the user with a simple:
variables$.pipe(
  switchMap(variables => graphql({ schema, source: query, variables }))
)
  • Removed support for query as Document in graphql():
// previously ok:
graphql(schema, gql`query {}`)

// now use:
execute(schema, gql`query {}`)
// or 
graphql(schema, `query {}`)
  • Error handling: every expected errors (validation, syntax error, throwing resolver...) are pushed in the error field of the ExecutionResult, the RxJS stream does not throw in these cases anymore

v3.0.2

26 Mar 10:42
Compare
Choose a tag to compare

3.0.2 (2019-03-26)

Bug Fixes

  • resolvers: allow undefined as return value (68334fd), closes #17

v3.0.1

06 Mar 07:17
Compare
Choose a tag to compare

3.0.1 (2019-03-06)

Bug Fixes

  • error thrown for nullable field resolving null (af83c91), closes #22

v3.0.0

22 Jan 10:07
Compare
Choose a tag to compare

3.0.0 (2019-01-22)

  • feat(signature) accept variables parameter (168b0e8)

Bug Fixes

  • align export with graphql convention (77a4c7b), closes #4
  • change order of arguments to align with graphql (5e5cd09), closes #4
  • rxjs interoperability (93ae0d0), closes #5

Features

  • add support for root value (aa6aa0d)
  • allow strings as query input (792edb1), closes #4

BREAKING CHANGES

  • Please add the root value as third argument, null or an
    empty object are great default values for this.
  • Its now schema, query instead of query, schema, so the
    inputs in all projects need to change
  • All imports need to be import {graphql} instead of
    import graphql from now on
  • context param was used to get resolver's arguments. It's not the case anymore.

v2.0.0

07 Jan 09:33
Compare
Choose a tag to compare

2.0.0 (2019-01-07)

chore

  • dependencies: update to rxjs >= 6 (2bd9ff0)

BREAKING CHANGES

  • dependencies: The RxJS versions has a breaking change, so all clients
    need to adopt RxJS version 6 or above

v1.1.0

04 Jan 15:01
Compare
Choose a tag to compare

1.1.0 (2019-01-04)

Features

  • error in field resolvers gets caught (1cdbcae)

v1.0.0

06 Dec 21:51
Compare
Choose a tag to compare

1.0.0 (2018-12-06)

Features