Skip to content

Releases: graphql/graphql-http

v1.8.0

Choose a tag to compare

@enisdenjo enisdenjo released this 21 Nov 18:49

1.8.0 (2022-11-21)

Features

  • audits/server: Support functions for the url option (f4d20a9), closes #24

v1.7.2

Choose a tag to compare

@enisdenjo enisdenjo released this 18 Nov 09:17

1.7.2 (2022-11-18)

Bug Fixes

  • handler,audits/server: application/json is the default when accept is missing until watershed (#23) (050fdfe)

v1.7.1

Choose a tag to compare

@enisdenjo enisdenjo released this 15 Nov 16:14

1.7.1 (2022-11-15)

Bug Fixes

  • audits/server: A server MAY support GET requests (#18) (9c5e8d2)
  • audits/server: Status code for mutations through GET should be between 400 and 499 (#19) (1021494)

v1.7.0

Choose a tag to compare

@enisdenjo enisdenjo released this 07 Nov 18:17

1.7.0 (2022-11-07)

Bug Fixes

  • audits/server: Server may accept other content-type encodings (42c26f7)

Features

  • handler: Headers can be native to fetch (d459991)
  • handler: Supply context to schema option and improve typings (01c45d8)
  • use: Built-in handlers for some environments and frameworks (#13) (750e600)

v1.6.1

Choose a tag to compare

@enisdenjo enisdenjo released this 12 Sep 14:12

1.6.1 (2022-09-12)

Bug Fixes

  • server: Accepting application/json SHOULD use status code 200 (9622ea0)
  • server: Adjust audits following the spec (2b21b08)
  • server: Audits requires 4xx shouldnt consider 5xx (59c51fa)
  • server: Audits respect legacy watershed (050c7ba)
  • server: Audits safely handle unparsable JSON in response body (f8098b6)

v1.6.0

Choose a tag to compare

@enisdenjo enisdenjo released this 01 Sep 14:15

1.6.0 (2022-09-01)

Features

  • server: Data entry audits when accepting application/graphql-response+json (fe6f60d)

v1.5.0

Choose a tag to compare

@enisdenjo enisdenjo released this 30 Aug 17:29

1.5.0 (2022-08-30)

Features

  • server: Audits and test function (#4) (431e513)

v1.4.0

Choose a tag to compare

@enisdenjo enisdenjo released this 16 Aug 12:16

1.4.0 (2022-08-16)

Bug Fixes

  • handler: JSON body must be an object (f500fa7)

Features

  • handler: Request's body field may be a parser function (268a4bf)

v1.3.0

Choose a tag to compare

@enisdenjo enisdenjo released this 16 Aug 10:42

1.3.0 (2022-08-16)

Features

  • Change GraphQL acceptable media type application/graphql+json to application/graphql-response+json (d86318a)

v1.2.0

Choose a tag to compare

@enisdenjo enisdenjo released this 12 Aug 14:36

1.2.0 (2022-08-12)

Bug Fixes

  • handler: onSubscribe can return readonly GraphQLErrors (5ce6841)
  • handler: Allow empty query string parameter (necessary for persisted operations) (4eed1d5)
  • handler: Don't validate if onSubscribe returns execution arguments (17c8007)
  • handler: Respond with error if GraphQL execution result is iterable (d1ffdf7)

Features

  • handler: onSubscribe can return an ExecutionResult for immediate result response (0dcaf89)
  • handler: Expose getAcceptableMediaType and makeResponse for increased modularity (ae8ea29)
  • handler: Request may contain a context value (3a593f8)

Performance Improvements

  • handler: Detect non-string query parameter before parsing (4bc71ee)