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 and SUBSCRIPTION_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 and DELETE 4010/v2/apis/api_id to correctly return 204 and no content.

    โœ‚ Removed

    ๐Ÿ”’ 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