Pow v1.0.8 Release Notes

Release Date: 2019-05-24 // almost 5 years ago
  • ๐Ÿ”„ Changes

    • Added support for layout in mails with Pow.Phoenix.Mailer.Mail by setting conn.private[:pow_mailer_layout] same way as the Phoenix layout with conn.private[:phoenix_layout] #191
    • โž• Added :prefix repo opts support to use in multitenant apps #147
    • Removed @changeset.data. __struct__.pow_user_id_field() in template in favor of using Pow.Ecto.Schema.user_id_field/1 #192

    ๐Ÿ› Bug fixes

    • Fixed bug in Pow.Ecto.Schema.Changeset.current_password_changeset/3 where an exception would be thrown if the virtual :current_password field of the user struct was set and either the :current_password change was blank or identical #177

    ๐Ÿ—„ Deprecations

    • Deprecated Mix.Pow.Ecto.Migration.create_migration_files/3 and moved it to Mix.Pow.Ecto.Migration.create_migration_file/3 #184
    • ๐Ÿšš Deprecated Pow.Ecto.Context.repo/1 and moved it to Pow.Config.repo!/1 #184
    • Deprecated Pow.Ecto.Context.user_schema_mod/1 and moved it to Pow.Config.user!/1 #184