Releases: adonisjs/auth
Releases · adonisjs/auth
Handful of improvements and non trivial breaking changes
The config property for listing all the guards is renamed to guards
from list
. The keyword list
is generic. Change your config as follows
- list: {
+ guards: {
web: {}
}
The Auth.extend
method now receives the Auth
instance as the first argument. Earlier it used to receive the Application
instance.
Commits
- refactor: rename config guards list property from "list" to "guards" f759749
- chore: update dependencies a5686d4
- fix: do not hard code timestamps inside the instructions file 3ff43af
- refactor: change arguments passed to the extend callbacks ec2701d
- style: fix broken urls inside stubs 88a8278
- fix: make peerDep @adonisjs/lucid as optional (#166) b0e9f26
Allow defining custom connection for tokens provider
- chore: update publish tag to latest 6229787
- feat: add support to define custom connection for tokens provider ea71af5
- chore: update dependencies 6eaaf36
- fix:
api_tokens
template should useusersTableName
table (#163) 889a234 - fix: template should use correct table name for user-provider-database (#162) 3baca7c
Fix the bug introduced in v6.0.0
Small improvements and drop support for Node 12
- fix: instructions file to use correct imports d248780
- ci: fix the config file to use redis service 60fc279
- fix: api tokens token column to have unique constraint dd185cf
- refactor: update template stub to pre-define the type 601a5fc
- refactor: rethrow exception when not instance of the auth exception f99b0ce
- refactor: log authentication failure error 3eb6da0
- test: add test for an edge case 0f6f911
- refactor: allow user provider builder config property to lazy import the provider 327388c
- feat: allow lucid provider to implement findForAuth to lookup user by uid 7f0ff31
- refactor: use ioc container new async apis 48f3570
- chore: use the next tag for release 5f5c518
- style: reformat source files 5504340
- chore: remove npm-audit in favor of synk 8f3bf1d
- chore: update dependencies 7c099b8
- fix: remove JwtGuardContract from auth contract (#158) e6756dd
Types are also matched during tokens lookup
Add Redis provider for storing tokens
- style: update stubs to have better description b93b5c1
- refactor: prompt for api tokens table when using database provider 11243cd
- chore: update instructions to configure tokens provider bd73d70
- chore: add redis as a peer dependency 1dfae2c
- ci: add redis to the circleci setup 9b3b8a9
- feat: add redis provider for opaque tokens fe27b5b
- style: format using prettier f6a8758
- chore: update dependencies d605412
- chore: remove package-lock file 9f64cfa
Publish under alpha tag
Allow user model without remember me token & password field
- chore: add lucid as a peer dependency and make sessions optional 201ac44
- chore: update dependencies & templates 4fa1e7e
- improvement: raise a meaningful error when ctx.session is missing cef95ae
- improvement: allow user objects without password c8820c6
- refactor: accept lucid model from a lazy callback 851db56
- chore: update dependencies 0f46732
Migrating for beta of core
- chore: publish under next tag dcbaaf8
- chore(deps): bump lodash from 4.17.15 to 4.17.20 (#155) aa8ea5d
- feat: add auth types to container e0c1607
- refactor: get ready for beta of core 46c1d74
- feat: option to specify user's table identifier column (#152) cc3e164
- improvement(template): do not serialize password by default 992f524
- Merge pull request #150 from allanmaral/fix/mixed-space-tabs 246bb97
- chore: Removing .txt files from prettier checks 4c427a7
- fix: Removed mixed space and tabs from templates 8241821