phx_gen_auth v0.7.0 Release Notes

Release Date: 2021-03-27 // about 3 years ago
  • 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!

Previous changes from v0.6.0

  • 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