- [otelwsgraphql] Allow specifying tracer provider
- Added
WithInterceptors
option to allow context-based third-party instrumentation WithCallbacks
is deprecated in favor ofWithInterceptors
and will be removed by 2024.- Added openetelemetry instrumentation in compat package.
- Bumped graphql-go dependency to v0.8.1 with critical security fixes
- Support setting headers in websocket upgrade response
- Work-around for ExtendedError extensions not rendering in subscription is added
- Added support for per-request protocol selection for websocket subscriptions using websocket subprotocol negotiation. (#2)
- Added Stringer implementation to
apollows.Protocol
, to avoid the explicit type casts. In 1.5.0 underlying Protocol type will be replaced with an integer, migration to .String() as advised.
- Fixed serialization of empty data/payloads (#1)
- Breaking change: root object moved to functional options parametrization
- Added support for graphql-ws (graphql-transport-ws subprotocol)
- Ensured only pre-execution operation errors are returned as
error
type per apollows spec - Fixed incorrect OnConnect/OnOperation callback sequence
- Added OnDisconnect handler without respnsibility to handle error, callback sequence diagram
- Correct termination request handling
-
Fixes, clarifications for websocket request teardown sequence
-
Added CHANGELOG.md
-
Added READMEs to examples
-
Updated LICENSE year
Major refactor, cleaned up implementation Complete test coverage, versioned package scheme
Initial implemnetation