Pow v1.0.21 Release Notes

Release Date: 2020-09-13 // 18 days ago
  • โœจ Enhancements

    • [Pow.Plug.Base] Will now use the existing :pow_config in the conn when no plug options has been set #514
    • ๐Ÿ›  [PowInvitation.Phoenix.InvitationController] Fixed bug where user was incorrectly redirected to the show action with unsigned token when user struct has no e-mail #535
    • โš  [Pow.Ecto.Schema] Now only emits warning for primitive Ecto types #541

    ๐Ÿ› Bug fixes

    • [PowEmailConfirmation.Ecto.Schema] PowEmailConfirmation.Ecto.Schema.changeset/3 no longer sets the email to the unconfirmed email when the same email change is set twice #515
    • โš  [Pow.Extension.Phoenix.Messages] Fixed fallback message dializer warning #520
    • [Pow.Ecto.Context] Fixed bug where the macro didn't add :users_context to the Pow config in the module resulting in Pow.Ecto.Context.get_by/2 being called instead of get_by/1 in the custom context #537
    • ๐Ÿ‘ [Pow.Ecto.Schema.Changeset] The Pow.Ecto.Schema.Changeset.validate_email/1 method has been improved per specifications to support wider unicode support, fully-qualified domain validation, and comments #565

Previous changes from v1.0.20

  • ๐Ÿ‘ Now supports Phoenix 1.5, and requires Elixir 1.7 or higher. #494

    โœจ Enhancements

    • [Mix.Tasks.Pow.Extension.Phoenix.Gen.Templates] mix pow.extension.phoenix.gen.templates now dynamically loads template list from the extension base module #461
    • ๐Ÿ‘‰ [PowResetPassword.Plug] PowResetPassword.Plug.load_user_by_token/2 now sets a :pow_reset_password_decoded_token key in conn.private that will be used in PowResetPassword.Plug.update_user_password/2 #464