Drab v0.7.7 Release Notes
-
๐ Potentially breaking release!
๐ As a preparation to 0.8.0, this release contains fundamental change in
Drab.Live
behaviour. It โ removes all the engine limitations, and makes a big change on how it treats@conn
assign.๐ Please report any found issues with this release.
API Changes
The
@conn
caseBecause sometimes it is huge,
@conn
is treated in the special way - it is trimmed to contain only ๐ง essential fields. By default it is:private => :phoenix_endpoint
, but you may configure it.config :drab, :live_conn_pass_through, %{ assigns: %{ users: true }, private: %{ phoenix_endpoint: true } }
๐ See
Drab.Live
documentation for more details on this case.:templates_path
config must be underpriv/
If you are using
:templates_path
config, and your templates are not under thepriv/
directory, ๐ you'll have to move them. Solved #105.