- Update development dependencies
- Update Elixir, Erlang versions for development
- Use internal module for UUID generation, based on
ecto
's implementation
- Update
uuid
library ->elixir_uuid
- Fix
c:Absinthe.GraphqlWS.Socket.handle_init/2
docs - Add examples to README
- Add
Absinthe.GraphqlWS.Client
- Documentation fix.
- Bug fix: transient task started in the socket uses a name that will not conflict with Task.
- Allow configuration of alternate JSON encoder/decoder pull/3.
Jason
is an optional dependency, so must be declared explicitly in the deps of a parent application.
- Fix error payloads to handle error array from Absinthe pull/2
- Logger statements use macros, so that inspect calls only execute when the log level is set to print the statement.
- Removes redundant
:queue_exit
message, since Cowboy already closes WebSocket processes when{:close, code, reason}
is sent to a client.
- Adds
Ping
handler. - Adds
c:Absinthe.GraphqlWS.Socket.handle_init/2
for custom handling ofConnectionInit
. - Close socket with
44xx
status code on abnormal client request4429
- Client sends a duplicateConnectionInit
message.4400
- Client sends aSubscribe
message beforeConnectionInit
.4400
- Client sends an unexpected message.
- Fix incorrect
@spec
onc:Absinthe.GraphqlWS.Socket.handle_message/2
.
- Initial release.