v3.3.3 - 2023-12-19
- Updated
CsrfCookieController
to use named arguments by @OussamaMater in #487 - Extract generate token method by @mowangjuanzi in #488
v3.3.2 - 2023-11-03
- Fix typo in config by @cosmastech in #476
- Accept null as a parameter for
Sanctum[@getAccessTokenFromRequestUsing](https://github.com/getAccessTokenFromRequestUsing)()
by @cosmastech in #477
v3.3.1 - 2023-09-07
- Re-arrange middleware by @taylorotwell in https://github.com/laravel/sanctum/commit/d1f8bf7f2bdc39ba2a11f1d067b96d31d18246c8
v3.3.0 - 2023-09-04
- Use crc32b instead of crc32 by @marzvrover in #468
- Ensure device has not been logged out by @crynobone in #467
- Do not prefix by default by @taylorotwell https://github.com/laravel/sanctum/commit/95a0181900019e2d79acbd3e2ee7d57e3d0a086b
v3.2.6 - 2023-08-22
- Make tokens identifiable with prefix and checksum by @marzvrover in #459
- Add deprecated annotation in
MissingScopeException
by @hungthai1401 in #462
v3.2.5 - 2023-05-01
- Fix middleware by @taylorotwell in https://github.com/laravel/sanctum/commit/8ebda85d59d3c414863a7f4d816ef8302faad876
v3.2.4 - 2023-04-26
- Check for validate CSRF token by @taylorotwell in https://github.com/laravel/sanctum/commit/f5bae6156c760545f368438198327e2609ba7bf1
v3.2.3 - 2023-04-25
- Revert "check for validate csrf token middleware" by @driesvints in https://github.com/laravel/sanctum/commit/6281ce796d464592867f768eb890642aa1954bd0
v3.2.2 - 2023-04-21
- Check for validate csrf token middleware by @taylorotwell in https://github.com/laravel/sanctum/commit/bbcb052de3fe075a67446e8c5c8ffcb191a1fb24
v3.2.1 - 2023-01-13
- Fix bearer token format validation by @krasucki in #417
v3.2.0 - 2023-01-06
- Laravel v10 Support by @driesvints in #415
v3.1.0 - 2023-01-03
- Uses PHP Native Type Declarations 🐘 by @nunomaduro in #405
v3.0.1 - 2022-07-29
- Update migration's primary identifier change by @suyar in #386
- Prune expires_at tokens by @iruoy in #385
v3.0.0 - 2022-07-25
- Expiration dates for tokens by @bjhijmans in #252
- Improves console output by @nunomaduro in #382
- Shorter tokens by @taylorotwell in https://github.com/laravel/sanctum/commit/c46fc083ab52f2ddac97ee4510486f90fc94f220
- Drop old Laravel and PHP versions by @driesvints in #378
v2.15.1 - 2022-04-08
- Added custom auth token header support by @CodesignDev in #354
v2.15.0 - 2022-03-28
- Add sanctum:prune-expired command for removing expired tokens. by @yuraplohov in #348
- Add exit codes to command by @driesvints in #351
v2.14.2 - 2022-02-22
- Use config function by @taylorotwell in commit
v2.14.1 - 2022-02-15
- Add helper for current app url with port (5702317)
- Laravel 9 support (#329)
- Add guard to config (f811d5c)
- Rename
CheckScopes
andCheckForAnyScope
toCheckAbilities
andCheckForAnyAbility
(#312)
- Add CheckScopes and CheckForAnyScope Middleware (#310)
- Revert "fix: replace hardcoded "web" guard by
config('sanctum.guard')
" (#309)
- Replace hardcoded "web" guard by
config('sanctum.guard')
(#307)
- Ignore updating
last_used_at
for deciding the DB connection host (#283, 2c8b9a1) - Fix resolving wrong app instance on Octane (#285, #286)
- Only parse APP_URL for default stateful domains when it's set (#279)
Sanctum::$accessTokenAuthenticationCallback
callback for more granular control over access token validation (#275, 9c07921, #276)
- Add HasApiTokens contract to complement trait (#270)
- Use app helper (60f2809)
- Environment APP_URL added into the default sanctum.stateful configuration (#264)
- Changed Primary Key will not be used in created token's plainTextToken (#262)
- Avoid running string functions when domain is null (#258)
- Return json response when the request expects a json (#247)
- Fix user provider in
sanctum
guard (#225)
- Add default nextjs address to stateful (e86d3e0)
- PHP 8 Support (#213)
- Adds origin header fallback (#204)
- Shorten tokens (#186)
- Laravel 8 support (#184)
- Use the correct
Str::endsWith
parameter order (#163)
- Added Multiple Provider Support (#149)
- Fixed Host Problem (#155)
- EncryptCookies middleware option in config/sanctum.php (#147)
- Add routes config option (6cf798f)
- 419 Exception with requests without referrer (#139)
- More performant tokens lookup (#136)
- No need to specify a provider (#129)
- Allow customizing the query used to get the token (#124)
- Enhance supportsTokens check (#123)
actingAs
any ability (#120)
- Make the guard configurable (#110)
- Renamed package to Sanctum
- Allow localhost ip access by default (#81)
- Update minimum Laravel version to ^6.9 (#89)
- Fix wildcard matching (d8de232, 9a66e76)
First stable release.
- Allow .env configuration of stateful domains (#70)
- Added user mocking using actingAs (#51)
- Add a CSRF middleware config variable (#54, 4f77acd, 7df454d)
- Modify PersonalAccessToken Model to be polymorphic (#49)
Initial commit.