Packages
phauxth
2.3.2
2.5.1
retired
2.5.0
2.4.0
2.3.2
2.3.1
2.3.0
2.2.0
2.1.1
2.1.0
2.0.1
2.0.0
2.0.0-rc.2
2.0.0-rc.1
2.0.0-rc.0
2.0.0-beta.1
2.0.0-beta.0
2.0.0-alpha.5
2.0.0-alpha.4
retired
2.0.0-alpha.3
retired
2.0.0-alpha.2
retired
2.0.0-alpha.1
retired
2.0.0-alpha.0
retired
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.17.1
0.17.0
0.16.0
0.15.1
0.15.0
0.14.0
0.13.0-rc.1
0.13.0-rc.0
0.12.1-rc.1
0.12.1-rc.0
0.12.0-rc
0.11.0
0.10.3
0.10.2
0.10.0
0.9.0
0.8.2
0.8.1
0.8.0
Authentication library for Phoenix, and other Plug-based, web applications
Current section
Files
Jump to
Current section
Files
CHANGELOG.md
# Phauxth Changelog
## Version 2.3.2
* Bug fixes
* updated documentation for `authenticate` function in the Authenticate.Token and Login.Base modules
## Version 2.3.1
* Enhancements
* added `domain` option to `add_rem_cookie` (in the Remember module)
## Version 2.3.0
* Enhancements
* added option to use keyword arguments for `token_module`
## Version 2.2.0
* Enhancements
* added Phauxth.Confirm.Base behaviour with `get_user/2` callback
## Version 2.1.0
* Changes
* removed Comeonin dependency
* the password hashing library you use needs to implement the Comeonin behaviour
## Version 2.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
## Version 1.2.5
* Enhancements
* Added default `user_context` to config
* this makes the second argument to verify optional
## Version 1.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)
## Version 1.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
## Version 1.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
## Version 1.1.2
* Enhancements
* token implementation uses JSON instead of binary_to_term / term_to_binary
## Version 1.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