# Changelog ## v0.7.0 (2021-03-27) [Diff of generated code](https://github.com/aaronrenner/phx_gen_auth_output/compare/v0.6.0..v0.7.0) ### Enhancements * Generates new `valid__attrs/1` fixture function. Reduces the number of places to update when manually adding additional attributes to your generated schema. Thanks @chargio for bringing up this issue! ### Bug Fixes * Fixes flash messages that were hard-coded to use "Account" instead of the schema name. Thanks @jrdnull! * Fixes arity in test description for `confirm_` tests. Thanks @bhtabor! ## v0.6.0 (2020-11-24) [Diff of generated code](https://github.com/aaronrenner/phx_gen_auth_output/compare/v0.5.0..v0.6.0) ### Enhancements * Remember me cookie is now scoped to the app name. Thanks @LostKobrakai! * Improved user experience on confirmation messages. Thanks @josevalim and @Ian-GL! * Return_to logic now uses `current_path/1` helper instead of reimplementing it. Thanks @josevalim! * Password hashing no longer occurs while database transaction is open. #87 * User settings forms now submit to `/users/settings` to prevent 404 errors on refresh. #95 ## v0.5.0 (2020-09-03) [Diff of generated code](https://github.com/aaronrenner/phx_gen_auth_output/compare/v0.4.0..v0.5.0) ### Enhancements * Enabled same-site protection on remember me cookie. Thanks @mikl! * Updated `UserAuth.require_authenticated_user/2` to remember query string parameters as part of the return_to path. Thanks @matthewlehner! * Changed instances of "e-mail" to "email" to better match AP style guide. Thanks @zorn! * Fixed arity in test context descriptions. Thanks @liamwhite! * Fixed typos in generated documentation. Thanks @liamwhite! ## v0.4.0 (2020-06-19) [Diff of generated code](https://github.com/aaronrenner/phx_gen_auth_output/compare/v0.3.0..v0.4.0) ### Enhancements * Changed email form fields from `text_input` to `email_input`. Thanks @ream88! * Renamed incorrect login/logout(nouns) to "log in"/"log out" (verbs). * Replaced string-based route assertions with Routes-based assertions. Thanks @chvanikoff! * `_user_menu.html` is now injected at the end of the `