Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Latest commit

 

History

History
101 lines (66 loc) · 4.45 KB

CHANGELOG.md

File metadata and controls

101 lines (66 loc) · 4.45 KB

Changelog

v0.7.0 (2021-03-27)

Diff of generated code

Enhancements

  • Generates new valid_<schema>_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_<schema> tests. Thanks @bhtabor!

v0.6.0 (2020-11-24)

Diff of generated code

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

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

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 <nav> tag, if possible.

v0.3.0 (2020-05-26)

Diff of generated code

Enhancements

  • Updated generated code be up to date through commit: 4664c3. [Diff]
  • Upgraded phoenix requirement to ~> 1.5.2 to use undeprecated MyApp.Endpoint.subscribe/1 function.
  • Updated generator to be compatible with existing fixtures modules.
  • Set live_socket_id on log in and disconnect on log out.
  • Updated log out to succeed even if user is already logged out.
  • Added index on user_tokens.user_id column
  • Renamed several functions (see diff).

v0.2.0 (2020-04-28)

Diff of generated code

Enhancements

  • Updated generated code be up to date through commit: 6ae63a. [Diff]
  • Run User.maybe_hash_password/1 in a prepare_changes/1 hook instead of every time a changeset function is called. This decreases load on the server when a changeset function is being called multiple times like with a LiveView-based form.

v0.1.0 (2020-04-24)

Diff of generated code

Enhancements

  • Upgraded phoenix dependency to ~> 1.5.0.
  • Updated generated code be up to date through commit: ecc8eb. [Diff]
  • Print warnings instead of crashing on missing files.
  • Raise error when app is generated with --no-html.
  • Improve formatting of help messages.
  • Added instructions for apps upgraded from Phoenix 1.4. Thanks @goofansu.

Bug Fixes

  • Log when config/test.exs is injected.

v0.1.0-rc.0 (2020-04-17)

Initial release.

  • Up to date with original PR through commit 25d083.