Skip to content

v1.0.8

Compare
Choose a tag to compare
@danschultzer danschultzer released this 24 May 14:05

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