Drab v0.5.1 Release Notes

  • ๐Ÿ›  Fixes:

    • ๐Ÿšš Transpiled all JS templates, and removed all occurences of forEach (#22)
    • Radio buttons not reported correctly in sender["form"] (#23)
    • New :main_phoenix_app config item, in case the app name can't be read from mix.exs (#25)

    ๐Ÿ”„ Changes:

    • sender[:params] contains params normalized to controller type params (#24)

      %{"_csrf" => "1234", "user[id]" => "42", "user[email]" => "[email protected]", "user[account][id]" => "99", "user[account][address][street]" => "123 Any Street"}

      becomes:

      %{"_csrf" => "1234", "user" => %{"account" => %{"address" => %{"street" => "123 Any Street"}, "id" => "99"}, "email" => "[email protected]", "id" => "42"}}

    ๐Ÿ†• New features:

    • ๐Ÿ’ป Core.Browser.set_url/2 to manipulate the browser's URL bar