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 ofsocket 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