Drab v0.2.1 Release Notes

  • Introduced Drab Session: the way to access (read-only) the Plug Session map in the Commander.

    ๐Ÿ”„ Changes:

    • use Drab.Endpoint instead of socket Drab.config.socket, Drab.Socket in endpoint.ex
    • Drab Session with value inheritance from the Plug Session
    • โš  event handler must return socket, warning in the other case

    ๐Ÿ›  Fixes:

    • ๐Ÿ”’ security (#2): checks token in each event call to prevent tampering