|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -## v1.0.8 (2019-05-24) |
| 3 | +## v1.1.0 (TBA) |
4 | 4 |
|
5 | 5 | ### Changes
|
6 | 6 |
|
7 |
| -* 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]` |
8 |
| -* Added `:prefix` repo opts support to use in multitenant apps |
9 |
| -* Removed `@changeset.data.__struct__.pow_user_id_field()` in template in favor of using `Pow.Ecto.Schema.user_id_field/1` |
10 |
| - |
11 |
| -### Bug fixes |
12 |
| - |
13 |
| -* 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 |
| 7 | +- Requires Elixir 1.7 or higher |
| 8 | +- Requires Ecto 3.0 or higher |
| 9 | +- Requires Phoenix 1.4 or higher |
14 | 10 |
|
15 | 11 | ### Deprecations
|
16 | 12 |
|
17 |
| -* Deprecated `Mix.Pow.Ecto.Migration.create_migration_files/3` and moved it to `Mix.Pow.Ecto.Migration.create_migration_file/3` |
18 |
| -* Deprecated `Pow.Ecto.Context.repo/1` and moved it to `Pow.Config.repo!/1` |
19 |
| -* Deprecated `Pow.Ecto.Context.user_schema_mod/1` and moved it to `Pow.Config.user!/1` |
20 |
| - |
21 |
| -## v1.0.7 (2019-05-01) |
22 |
| - |
23 |
| -* Fixed bug with Phoenix 1.4.4 scoped routes |
24 |
| - |
25 |
| -## v1.0.6 (2019-04-19) |
26 |
| - |
27 |
| -* Fixed bug where custom layout setting raised exception in `Pow.Phoenix.ViewHelpers.layout/1` |
28 |
| -* Prevent users from changing their email to one already taken when the PowEmailConfirmation extension has been enabled |
29 |
| - |
30 |
| -## v1.0.5 (2019-04-09) |
31 |
| - |
32 |
| -* Added `extension_messages/1` to extension controllers and callbacks |
33 |
| -* Improved feedback for when no templates are generated for an extension with `mix pow.extension.phoenix.gen.templates` and `mix pow.extension.phoenix.mailer.gen.templates` tasks |
34 |
| -* Error flash is no longer overridden in `Pow.Phoenix.PlugErrorHandler` if the error message is nil |
35 |
| -* Fixed bug in the migration generator where `references/2` wasn't called with options |
36 |
| -* Support any `:plug` version below `2.0.0` |
37 |
| -* Deprecated `Pow.Extension.Ecto.Context.Base` |
38 |
| - |
39 |
| -## v1.0.4 (2019-03-13) |
40 |
| - |
41 |
| -* Added `PowInvitation` to the `mix pow.extension.phoenix.gen.templates` and `mix pow.extension.phoenix.mailer.gen.templates` tasks |
42 |
| -* Fixed issue in umbrella projects where extensions wasn't found in environment configuration |
43 |
| -* Fixed so `:namespace` environment config can be used as web app module name |
44 |
| -* Shell instructions will only be printed if the configuration is missing |
45 |
| -* Now requires that `:ecto` or `:phoenix` are included in the dependency list for the app to run respective mix tasks |
46 |
| -* Deprecated `Mix.Pow.context_app/0` |
47 |
| -* Deprecated `Mix.Pow.ensure_dep!/3` |
48 |
| -* Deprecated `Mix.Pow.context_base/1` |
49 |
| - |
50 |
| -## v1.0.3 (2019-03-09) |
51 |
| - |
52 |
| -### Changes |
53 |
| - |
54 |
| -* Added `PowInvitation` extension |
55 |
| -* Added support in `Pow.Ecto.Schema` for Ecto associations fields |
56 |
| -* Added support for adding custom methods with `Pow.Extension.Ecto.Schema` through `__using__/1` macro in extension ecto schema module |
57 |
| -* Help information raised with invalid schema arguments for `pow.install`, `pow.ecto.install`, `pow.ecto.gen.migration`, and `pow.ecto.gen.schema` mix tasks |
58 |
| -* `PowEmailConfirmation` now redirects unconfirmed users to `after_registration_path/1` or `after_sign_in_path/1` rather than `pow_session_path(conn, :new)` |
59 |
| - |
60 |
| -### Bug fixes |
61 |
| - |
62 |
| -* Correct shell instructions for `mix pow.install` task with custom schema |
63 |
| -* Fixed bug in `Pow.Extension.Phoenix.Router.Base` and `Pow.Extension.Phoenix.Messages` where the full extension name wasn't used to namespace methods |
64 |
| - |
65 |
| -### Deprecations |
66 |
| - |
67 |
| -* Deprecated `Pow.Extension.Config.underscore_extension/1` |
68 |
| -* Deprecated `PowResetPassword.Ecto.Context.password_changeset/2` |
69 |
| -* Deprecated `Pow.Ecto.Schema.filter_new_fields/2` |
70 |
| -* Deprecated `:messages_backend_fallback` setting for extension controllers |
71 |
| -* Removed deprecated macro `router_helpers/1` in `Pow.Phoenix.Controller` |
72 |
| - |
73 |
| -## v1.0.2 (2019-02-28) |
74 |
| - |
75 |
| -* Added flash error message about e-mail confirmation for when user changes e-mail with PowEmailConfirmation enabled |
76 |
| -* Added `new_password_changeset/3` and `confirm_password_changeset/3` to `Pow.Ecto.Schema.Changeset` |
77 |
| -* Redis cache store backend guide |
78 |
| -* Correct shell instructions for `mix pow.phoenix.gen.templates` task |
79 |
| -* Only load environment config in `Pow.Config.get/3` when no key is set in the provided config |
80 |
| -* Fixed issue in `Pow.Store.Backend.MnesiaCache.keys/1` and `Pow.Store.Backend.EtsCache.keys/1` so they now return keys without namespace |
81 |
| -* `Pow.Store.Backend.MnesiaCache.put/3` now raises an error if TTL is not provided |
82 |
| - |
83 |
| -### Breaking changes |
84 |
| - |
85 |
| -* `PowResetPassword.Plug.reset_password_token/1` has been removed |
86 |
| - |
87 |
| -## v1.0.1 (2019-01-27) |
88 |
| - |
89 |
| -* `pow.extension.ecto.gen.migrations` mix task will output warning when a migration file won't be generated for any particular extension |
90 |
| -* Leading and trailing whitespace is removed from the user id field value (in addition to forced lower case) |
91 |
| -* An exception is raised when `pow_routes/0` or `pow_extension_routes/0` are used inside router scopes with aliases |
92 |
| -* Mail view templates assigns now has `[user: user, conn: conn]` along with the template specific assigns |
93 |
| -* Mail view subject methods now gets the same assigns passed as mail view template assigns instead of only `[conn: conn]` |
94 |
| -* Added `pow_registration_routes/0`, `pow_session_routes/0` and `pow_scope/1` macros to the router module |
95 |
| -* Added guide on how to disable registration |
96 |
| - |
97 |
| -## v1.0.0 (2018-11-18) |
98 |
| - |
99 |
| -* Phoenix 1.4 support |
100 |
| -* Ecto 3.0 support |
| 13 | +- Removed deprecated method `PowResetPassword.Ecto.Context.password_changeset/2` |
| 14 | +- Removed deprecated method `Pow.Extension.Config.underscore_extension/1` |
| 15 | +- Removed deprecated method `Mix.Pow.context_app/0` |
| 16 | +- Removed deprecated method `Mix.Pow.ensure_dep!/3` |
| 17 | +- Removed deprecated method `Mix.Pow.context_base/1` |
| 18 | +- Removed deprecated method `Mix.Pow.Ecto.Migration.create_migration_files/3` |
| 19 | +- Removed deprecated method `Pow.Ecto.Context.repo/1` |
| 20 | +- Removed deprecated method `Pow.Ecto.Context.user_schema_mod/1` |
| 21 | +- Config fallback set with `:messages_backend_fallback` configuration option removed in `Pow.Extension.Phoenix.Controller.Base` |
| 22 | +- Removed deprecated Bootstrap support in `Pow.Phoenix.HTML.FormTemplate` |
| 23 | +- Removed deprecated module `Pow.Extension.Ecto.Context.Base` |
0 commit comments