- Updated to latest major versions of all dependencies
- Updated to latest version of all dependencies
- Fixed operation message type for resolver error in
Query/Mutation
operations. - Updated dependencies and scala version.
Websocket transport feature complete with unit tests and major bug fixes, published with scala compiler version.
- Fixed issue with invalid
type
on incoming messages to terminate the connection. - Removed deprecated, unused code.
- Made
GqlError
into proper case class. - Renamed
Route
middleware directives toapplyMiddleware
fromws
.
- Fixed issue with sub-protocol error message to be user understandable.
- Deprecated functions that are being replaced, unused, or that have no relation to the package.
- Replaced old query parser
decodeStart
that useOption
withparse
that useTry
to allow error message to be preserved. - Added utilities for
SpawnProtocol
andAskPattern
.
- Fixed issue with error before and after execution, where before goes as
GQL_ERROR
/Error
, but after goes asGQL_DATA
/Next
.
- Renamed
Proxy
toOverEngine
. - Added multiple new message types for error and output handling for
Envoy
andOverEngine
. - Added throughout
recover
for error handling for both future and stream results. - Updated
OperationMessage
, AddedGqlError
for proper error formats. - Added capabilities to respond to non-streaming operation using
GraphImmediate
andStatelessOp
. - Updated
OverEngine
to be able to execute operation and pipe result back to self with proper error handling. - Kill / Terminate connection on
GraphException
. - Moved
onInit
to wait after acknowledgement. - Updated
timeoutDuration
to allowDuration.Inf
which will remove timeout.
- Fixed keepAlive mechanism to not send initially (immediately) as was suppose to be handled by
OverWebsocket
'sinit
method.
- Fixed
subscriptions-transport-ws
keepAlive mechanism to be periodical even when message is passing from the server. - Added logic to ignore
Ping
confirmation /Pong
forgraphql-ws
. - Added keepAlive finite duration to be an option for constructing
OverTransportLayer
. - Updated websocket
Flow
to couple completion forSource
andSink
.
- Fixed GraphQL Error for ending subscription's operations.
- Moved
PoisonPill
matcher tocompletionMatcher
fromfailureMatcher
for Websocket'sRef
to remove unnecessary exceptions. - Added abstractions to pass
OpMsg
toActorRef[String]
/ Websocket'sRef
. - Added utilities for responding to HTTP POST Request.
- Fixed timeouts for
OverTransportLayer
flow creation. - Added timeouts for graphql subscriptions streams. Added logic to resubscribe on completed failure and pipe back
to
Envoy
. - Removed the used of future from
SpawnProtocol
and unwrap immediately.
First working and published transport layer for akka-http and sangria-graphql over websocket
using subscriptions-transport-ws
and graphql-ws
. Mostly code implementation are aligned and derived
from whiskey
package.