graphql-sse

Zero-dependency, HTTP/1 safe, simple, GraphQL over Server-Sent Events Protocol server and client.

MIT License

Downloads
928.6K
Stars
383
Committers
12

Bot releases are hidden (Show)

graphql-sse - v1.2.5

Published by enisdenjo over 2 years ago

1.2.5 (2022-07-17)

Bug Fixes

  • client: Leverage active streams for reliable network error retries (607b468)
graphql-sse - v1.2.4

Published by enisdenjo over 2 years ago

1.2.4 (2022-07-01)

Bug Fixes

  • Add types path to package.json exports (44f95b6)
graphql-sse - v1.2.3

Published by enisdenjo over 2 years ago

1.2.3 (2022-06-13)

Bug Fixes

  • client: Retry if connection is closed while having active streams (83a0178), closes #28
graphql-sse - v1.2.2

Published by enisdenjo over 2 years ago

1.2.2 (2022-06-09)

Bug Fixes

  • client: Network errors during event emission contain the keyword "stream" in Firefox (054f16b)
graphql-sse - v1.2.1

Published by enisdenjo over 2 years ago

1.2.1 (2022-06-09)

Bug Fixes

  • client: Retry network errors even if they occur during event emission (489b1b0), closes #27

Performance Improvements

  • client: Avoid recreating result variables when reading the response stream (16f6a6c)
graphql-sse - v1.2.0

Published by enisdenjo over 2 years ago

1.2.0 (2022-04-14)

Bug Fixes

  • client: TypeScript generic for ensuring proper arguments when using "single connection mode" (be2ae7d)

Features

  • client: Inspect incoming messages through ClientOptions.onMessage (496e74b), closes #20
graphql-sse - v1.1.0

Published by enisdenjo over 2 years ago

1.1.0 (2022-03-09)

Features

  • client: Add credentials property for requests (79d0266)
  • client: Add lazyCloseTimeout as a close timeout after last operation completes (16e5e31), closes #17
graphql-sse - v1.0.6

Published by enisdenjo almost 3 years ago

1.0.6 (2021-11-18)

Bug Fixes

  • client: Avoid bundling DOM types, have the implementor supply his own Response type (98780c0)
  • handler: Support generics for requests and responses (9ab10c0)
graphql-sse - v1.0.5

Published by enisdenjo almost 3 years ago

1.0.5 (2021-11-02)

Bug Fixes

  • client: Should not call complete after subscription error (d8b7634)
  • handler: Use 3rd body argument only if is object or string (2062579)
graphql-sse - v1.0.4

Published by enisdenjo about 3 years ago

1.0.4 (2021-09-08)

Bug Fixes

  • Define graphql execution results (89da803)
  • server: Operation result can be async generator or iterable (24b6078)
graphql-sse - v1.0.3

Published by enisdenjo about 3 years ago

1.0.3 (2021-08-26)

Bug Fixes

  • Bump graphql version to v16 in package.json (af219f9)
graphql-sse - v1.0.2

Published by enisdenjo about 3 years ago

1.0.2 (2021-08-26)

Bug Fixes

  • Add support for graphql@v16 (89367f2)
graphql-sse - v1.0.1

Published by enisdenjo about 3 years ago

1.0.1 (2021-08-23)

Bug Fixes

  • Prefer X-GraphQL-Event-Stream-Token header name for clarity (9aaa0a9)
graphql-sse - v1.0.0

Published by enisdenjo about 3 years ago

1.0.0 (2021-08-21)

Features

Package Rankings
Top 1.98% on Npmjs.org
Top 9.73% on Proxy.golang.org
Top 26.22% on Repo1.maven.org
Badges
Extracted from project README's
Continuous integration graphql-sse
Related Projects