All Versions
11
Latest Version
Avg Release Cycle
541 days
Latest Release
-

Changelog History
Page 1

  • v2.3.0

    • ✨ Enhancements
      • added option to use keyword arguments for token_module
  • v2.2.0

    • ✨ Enhancements
      • added Phauxth.Confirm.Base behaviour with get_user/2 callback
  • v2.1.0

    February 12, 2019
    • 🔄 Changes
      • removed Comeonin dependency
      • the password hashing library you use needs to implement the Comeonin behaviour
  • v2.0.0

    • ✨ Enhancements

      • updated to use Elixir 1.7
      • Elixir versions 1.5 - 1.7 include various improvements to how behaviours are handled
      • you now only have to define a get_by(attrs) function in the user_context module (get/1 is no longer needed)
    • 🔄 Changes

      • Removed Phauxth.Confirm.Login
      • the Confirm.verify/3 and Login.verify/3 are now Confirm.verify/2 and Login.verify/2
      • the user_context is now set in the config
      • Phauxth.Confirm.verify with the :pass_reset mode is now Phauxth.Confirm.PassReset.verify
      • to use Phauxth.Remember, you need to define a create_session(conn) function in your app
      • Phauxth.Token is now a behaviour
      • you will need to define a token module using this behaviour in your app if you are using Phauxth for token authentication, email confirmation or password resetting
  • v1.2.5

    • ✨ Enhancements
      • Added default user_context to config
      • this makes the second argument to verify optional
  • v1.2.2

    • ✨ Enhancements
      • Added UserMessages module to make it easier to customize messages that are sent to the end user
      • this can also be used to translate these messages (using gettext)
  • v1.2.0

    • ✨ Enhancements

      • Improvements to session management
      • the session id in the Plug Session has a customizable max age
      • session ids are stored in the database (as a map in the users table)
        • if the session id is not found in the database, the user is not authenticated
    • 🔄 Changes

      • Moved the installer to a separate (phauxth_installer) repository
  • v1.1.3

    • ✨ Enhancements

      • Added backups option to the installer
      • if a file already exists, the installer will now create a backup of the file by default
      • running the installer with the --no-backups option will overwrite files
    • 🔄 Changes

      • replaced configure_session(conn, drop: true) with delete_session(conn, :user_id)
      • this preserves flash messages
  • v1.1.2

    • ✨ Enhancements
      • token implementation uses JSON instead of binary_to_term / term_to_binary
  • v1.1.0

    • ✨ Enhancements
      • the endpoint value in the config (used by the Confirm module) is now overridable
      • if necessary, you can set this value in the keyword options
      • this is to make it easier to use Phauxth with umbrella apps
      • key options are passed on to Phauxth.Token
      • this applies to the Authenticate, Remember and Confirm modules
      • minor updates to the installer templates - to make it more umbrella-friendly