RIG v2.3.0 Release Notes
Release Date: 2019-12-13 // over 4 years ago-
โ Added
- ๐ In addition to SSE and WebSocket, RIG now also supports HTTP long-polling for listening to events. Frontends should only use this as a fallback in situations where neither SSE nor WebSocket is supported by the network. #217
- ๐ฐ When terminating an SSE connection after its associated session has been blacklisted, RIG now sends out a
rig.session_killed
event before closing the socket. For WebSocket connections, the closing frame contains "Session killed." as its payload. #261 - ๐ New API for querying and updating the session blacklist:
/v2/session-blacklist
, which introduces the following breaking changes (/v1/session-blacklist
is unaffected) #261:- When a session has been added to the session blacklist successfully, the endpoint now uses the correct HTTP status code "201 Created" instead of "200 Ok".
- When using the API to blacklist a session, the
validityInSeconds
should now be passed as an integer value (using a string still works though).
๐ Fixed
- Fixed usage of external check for
SUBMISSION_CHECK
andSUBSCRIPTION_CHECK
. #241 - ๐ฒ Logging incoming HTTP request to Kafka works again and now also supports Apache Avro. #170
- Fixed HTTP response for
DELETE 4010/v1/apis/api_id
andDELETE 4010/v2/apis/api_id
to correctly return204
and no content.
โ Removed
- Removed the
JWT_BLACKLIST_DEFAULT_EXPIRY_HOURS
environment variable (deprecated since 2.0.0-beta.2). #260
๐ Security
- A connection is now associated to its session right after the connection is established, given the request carries a JWT in its authorization header. Previously, this was only done by the subscriptions endpoint, which could cause a connection to remain active even after blacklisting its authorization token. #260
Technical Improvements
- โฌ๏ธ Upgrade the Elixir and Erlang versions for source code and Docker images. #211
- โ Automated UI-tests using Cypress make sure that all examples work and that code changes do not introduce any unintended API changes. #227
- ๐จ Refactor JWT related code in favor of
RIG.JWT
. #244 - ๐ Fix flaky cypress tests; this shouldn't be an issue anymore when running Travis builds. #265