- When there are multiple tasks waiting for the same response, respond only to the latest one
- Use elixir 1.18.1 and otp 27.2
- Update all deps to their latest versions
- Requires otp >= 25
- use correctly custom CA if one is set
- Allow
config :graph_conn, ca_cert: "/absolute/path/to/my_cert.crt"
to be set
- BREAKING: Invoker returns req_id in error messages
- Use patched gun
- Bump gun to ~> 2.1.0
- Invoker doesn't send request again on nack
- More descriptive handling of dropped ws connections
- Make
cachex
optional (only needed by action_handler) - Explicit support of new action-api features:
- Log "hello" message when ws connection is successfully established
- Invoker sends "last call" instead of immediate timeout (maybe cached response is waiting but wasn't delivered)
- More descriptive timeout messages (with last success status in action api)
- CI tests for elixir >= 1.15
- Wait with rejecting unknown api if no apis are registered yet
- remove
murmur
and clean unused dependencies
- make ws ping interval configurable
GraphConn.ActionApi.Handler
'sexecute/2
changed toexecute/3
, addingreq_id
as first argument
- reduce ping/pong interval and make it configurable
- Fix connection to graph via proxy
- Fix crashing logging when proxy is used
- Invoker will wait timeout + 1sec so handler have time to return timeout message.
- Allow connection to graph via proxy
- Allow
config :graph_conn, insecure: true
to force insecure SSL connections
- Fix ssl options for ws connection
- Use
finch
lib for REST requests instead ofmachine_gun
.
- Update all deps and fix dialyzer errors
- Action executions are not performed inside Cachex process
- Processes will now unregister themself after execution
- Update dependencies for later erlang compatibility
- Replace con_cache with cachex.
- Make request_id for action api deterministic.
- Process ws response and prepare request out of Connection process.
- Fix problem with RequestRegistry when ack/nack is received for already processed request.
- Send WS and REST related telemetry events
- Action Handler will pass on inspected error if error not json encodable
- Action Invoker ignores received response if it can't find request_id in registry 5 times with a second wait time
- Default (local) request registry can be changed with clients (distributed) version
- Generate smaller request ids by using murmur hash
- Improve logging for Action API
- Fix stopping ws connection on missing pongs.
- Default authentication to 60sec
- Allow
timeout
in graph_con config for default execution timeout (defaults to 5 sec). - Allow
timeout
in graph_coni[:auth] config for default authentication timeout (defaults to 60 sec).
- Stop GraphConn process if authentication returns 401
- Exponentially increase delay between two unsuccessful authentications
- Require cowlib ~> 2.9.1
- Handle GOAWAY message sent by server.