- Update development dependencies
- Update Elixir, Erlang versions for development
- Use internal module for UUID generation, based on
ecto's implementation
- Update
uuidlibrary ->elixir_uuid - Fix
c:Absinthe.GraphqlWS.Socket.handle_init/2docs - 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.
Jasonis 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_exitmessage, since Cowboy already closes WebSocket processes when{:close, code, reason}is sent to a client.
- Adds
Pinghandler. - Adds
c:Absinthe.GraphqlWS.Socket.handle_init/2for custom handling ofConnectionInit. - Close socket with
44xxstatus code on abnormal client request4429- Client sends a duplicateConnectionInitmessage.4400- Client sends aSubscribemessage beforeConnectionInit.4400- Client sends an unexpected message.
- Fix incorrect
@speconc:Absinthe.GraphqlWS.Socket.handle_message/2.
- Initial release.