v0.4.1

Sep 27, 2017

  • Restrict versions to old Ecto and Comeonin versions for now :(

v0.4.0

Sep 27, 2017

  • #5 - Allow passing of scopes. (@jekku)

v0.3.0

Jun 27, 2016

  • #2 - Shows errors when multiple resources are configured (MultipleResourcesException). (@victorsolis)
  • #2 - Shows errors in compile time when Authsense isn’t configured (UnconfiguredException). (@victorsolis)
  • #2 - General refactoring to improve configuration management. (@victorsolis)

v0.2.0

Jun 25, 2016

Authsense’s API has been significantly rewritten. It now uses Mix.Config for configuration.

config :authsense,
  Myapp.User,
  repo: Myapp.Repo

Instead of Auth.*, the functions are now in Authsense.Service and Authsense.Plug.

changeset
|> Authsense.Service.generate_hashed_password()

conn
|> Authsense.Plug.fetch_current_user()

The new Mix-based config now means the module-based configuration is now deprecated.

# <DEPRECATED>
defmodule Myapp.Auth do
  use Authsense,
    model: Myapp.User,
    repo: Myapp.Repo
end
# </DEPRECATED>

Special thanks to @victorsolis for all the guidance that went into this release.

v0.1.0

Jun 23, 2016

  • Initial release.