Releases: pow-auth/pow
Releases · pow-auth/pow
v1.0.8
Changes
- Added support for layout in mails with
Pow.Phoenix.Mailer.Mail
by settingconn.private[:pow_mailer_layout]
same way as the Phoenix layout withconn.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 usingPow.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
v1.0.7
v1.0.6
v1.0.5
Changes
- Added
extension_messages/1
to extension controllers and callbacks #142 - Improved feedback for when no templates are generated for an extension with
mix pow.extension.phoenix.gen.templates
andmix pow.extension.phoenix.mailer.gen.templates
tasks #145 - Error flash is no longer overridden in
Pow.Phoenix.PlugErrorHandler
if the error message is nil #156 - Fixed bug in the migration generator where
references/2
wasn't called with options #150 - Support any
:plug
version below2.0.0
#155 - Deprecated
Pow.Extension.Ecto.Context.Base
#146
v1.0.4
Changes
- Added
PowInvitation
to themix pow.extension.phoenix.gen.templates
andmix pow.extension.phoenix.mailer.gen.templates
tasks #132 - Fixed issue in umbrella projects where extensions wasn't found in environment configuration #134
- Fixed so
:namespace
environment config can be used as web app module name #137 - Shell instructions will only be printed if the configuration is missing #135
- Now requires that
:ecto
or:phoenix
are included in the dependency list for the app to run respective mix tasks #136 - Deprecated
Mix.Pow.context_app/0
#134 - Deprecated
Mix.Pow.ensure_dep!/3
#136 - Deprecated
Mix.Pow.context_base/1
#137
v1.0.3
Changes
- Added
PowInvitation
extension #113 - Added support in
Pow.Ecto.Schema
for Ecto associations fields #126 - Added support for adding custom methods with
Pow.Extension.Ecto.Schema
through__using__/1
macro in extension ecto schema module #113 - Help information raised with invalid schema arguments for
pow.install
,pow.ecto.install
,pow.ecto.gen.migration
, andpow.ecto.gen.schema
mix tasks #128 PowEmailConfirmation
now redirects unconfirmed users toafter_registration_path/1
orafter_sign_in_path/1
rather thanpow_session_path(conn, :new)
#119
Bug fixes
- Correct shell instructions for
mix pow.install
task with custom schema #123 - Fixed bug in
Pow.Extension.Phoenix.Router.Base
andPow.Extension.Phoenix.Messages
where the full extension name wasn't used to namespace methods #120
Deprecations
- Deprecated
Pow.Extension.Config.underscore_extension/1
#120 - Deprecated
PowResetPassword.Ecto.Context.password_changeset/2
#127 - Deprecated
Pow.Ecto.Schema.filter_new_fields/2
#129 - Deprecated
:messages_backend_fallback
setting for extension controllers #115 - Removed deprecated macro
router_helpers/1
inPow.Phoenix.Controller
#120
v1.0.2
- Added flash error message about e-mail confirmation for when user changes e-mail with PowEmailConfirmation enabled #111
- Added
new_password_changeset/3
andconfirm_password_changeset/3
toPow.Ecto.Schema.Changeset
#91 - Redis cache store backend guide #88
- Correct shell instructions for
mix pow.phoenix.gen.templates
task #92 - Only load environment config in
Pow.Config.get/3
when no key is set in the provided config #108 - Fixed issue in
Pow.Store.Backend.MnesiaCache.keys/1
andPow.Store.Backend.EtsCache.keys/1
so they now return keys without namespace #112 Pow.Store.Backend.MnesiaCache.put/3
now raises an error if TTL is not provided #112
Breaking changes
PowResetPassword.Plug.reset_password_token/1
has been removed #112
v1.0.1
Changes
pow.extension.ecto.gen.migrations
mix task will output warning when a migration file won't be generated for any particular extension #59- Leading and trailing whitespace is removed from the user id field value (in addition to forced lower case) #64
- An exception is raised when
pow_routes/0
orpow_extension_routes/0
are used inside router scopes with aliases #23 - Mail view templates assigns now has
[user: user, conn: conn]
along with the template specific assigns #70 - Mail view subject methods now gets the same assigns passed as mail view template assigns instead of only
[conn: conn]
#70 - Added
pow_registration_routes/0
,pow_session_routes/0
andpow_scope/1
macros to the router module #71 - Added guide on how to disable registration #71
v1.0.0
Initial release
- Phoenix 1.4 support
- Ecto 3.0 support