v1.8.1 (2020-05-06)
Fixed
- Fix issue with create-react-app webpack build #451 (adamjmcgrath)
v1.8.0 (2020-04-30)
Added
- [SDK-1417] Customizable default scopes #435 (stevehobbsdev)
- include polyfill for Set #426 (tony-aq)
Fixed
- Update rollup-plugin-web-worker-loader to 1.1.1 #443 (stevehobbsdev)
- Updated
login_hint
js docs to clarify usage with Lock #441 (stevehobbsdev)
v1.7.0 (2020-04-15)
Added
- Support for rotating refresh tokens #315 (stevehobbsdev)
- Export types from global TypeScript file. #310 (maxswa)
- Local Storage caching mechanism #303 (stevehobbsdev)
Changed
- Use Web Workers for token endpoint call for in-memory storage #409 (adamjmcgrath)
- Export constructor #385 (adamjmcgrath)
- Fall back to iframe method if no refresh token is available #364 (stevehobbsdev)
- Removed setTimeout cache removal in favour of removal-on-read #354 (stevehobbsdev)
- Stop checking
isAuthenticated
cookie on initialization when using local storage #352 (stevehobbsdev) - getTokenSilently retry logic #336 (stevehobbsdev)
- Fixed issue with cache not retaining refresh token #333 (stevehobbsdev)
Fixed
- Check if source of event exists before closing it #410 (gerritdeperrit)
- Check if iframe is still in body before removing #399 (paulfalgout)
- Fix typings to allow custom claims in ID token #386 (picosam)
- Fix error in library type definitions #367 (devoto13)
Security
- Dependency upgrade #405 (stevehobbsdev)
v1.7.0-beta.5 (2020-03-26)
Changed
- [SDK-1379] Export constructor #385 (adamjmcgrath)
v1.7.0-beta.4 (2020-03-03)
Changed
- [SDK-1386] Fall back to iframe method if no refresh token is available #364 (stevehobbsdev)
Fixed
v1.7.0-beta.3 (2020-02-17)
Added
Changed
- [SDK-1352] Removed setTimeout cache removal in favour of removal-on-read #354 (stevehobbsdev)
- [SDK-1352] Stop checking
isAuthenticated
cookie on initialization when using local storage #352 (stevehobbsdev) - [SDK-1279] getTokenSilently retry logic #336 (stevehobbsdev)
v1.7.0-beta.2 (2020-01-16)
Changed
- Fixed issue with cache not retaining refresh token #333 (stevehobbsdev)
v1.7.0-beta.1 (2020-01-08)
Added
- Ability to use either an in-memory cache (the default) or localstorage to store tokens - stevehobbsdev - auth0#303
- Added support for rotating refresh tokens - stevehobbsdev - auth0#315
v1.6.5 (2020-03-19)
Changed
- [SDK-1395] Refactor loginWithPopup to optionally accept an existing popup window #368 (stevehobbsdev)
- handleRedirectCallback wont pass redirect_uri undefined if not set in transaction #374 (albertlockett)
- Update dependencies within semver ranges #371 (stevehobbsdev)
- [SDK-1099] Add
localOnly
logout option #362 (adamjmcgrath) - center popup over owner window #356 (ggascoigne)
Fixed
- [SDK-1127] Delay removal of iframe to prevent Chrome hanging status bug #240 #376 (adamjmcgrath)
- [SDK-1125] createAuth0Client now throws errors that are not login_required #369 (stevehobbsdev)
v1.6.4 (2020-02-10)
Changed
- [SDK-1308] Return appState value on error from handleRedirectCallback #348 (stevehobbsdev)
- Configurable timeout for getTokenSilently() #347 (Serjlee)
v1.6.3 (2020-01-28)
Fixed
- Send same redirect_uri as /authorize to /token #341 (stevehobbsdev)
- No longer acquires a browser lock if there was a hit on the cache #339 (stevehobbsdev)
- Use user provided params on silent login #318 (nkete)
v1.6.2 (2020-01-13)
Removed
Removed future issued-at claim check stevehobbsdev - auth0#329
v1.6.1 (2020-01-07)
Fixed
Included core-js polyfill for String.includes
to fix an issue with browser-tabs-lock in IE11 stevehobbsdev - auth0#325
Added import definition to Getting Started section in the Readme for clarity thundermiracle - auth0#294
v1.6.0 (2019-11-19)
Added Added buildAuthorizeUrl and url parameter to handleRedirectCallback - austin43 - auth0#280
Fixed Released browser lock on getTokenSilently error - auth0#276 Updates browser-tabs-lock to fix issue of long acquired lock - super-tokens - https://github.com/auth0/auth0-spa-js/commit/3413e30bdb5955c818989cdc050079fa6efb6050
v1.5.0 (2019-10-31)
Added Add a new property 'fragment' to be appended to the authorize URL on redirect - auth0#249
v1.4.2 (2019-10-30)
Fixed Update typescript definition for max_age param - auth0#260 Fix for typings files in packaged SDK - auth0#263
v1.4.1 (2019-10-30)
Fixed Updated types path in package.json auth0#261
v1.4.0 (2019-10-30)
Added
Add 'lock' to prevent getTokenSilently
to be invoked in parallel auth0#238
Improved OIDC compliance auth0#248
Fixed
Fix for race condition when using sha256
on IE11 auth0#252
Fixed the codeowners file with the correct group auth0#253
Document leeway default value auth0#256
Clear transaction data on error auth0#254
v1.3.2 (2019-10-17)
Fixed
parseQueryString
now removes hash fragment on query before parsing auth0#246
v1.3.1 (2019-10-14)
Fixed Fix IE msCrypto.subtle usage auth0#242
v1.3.0 (2019-10-10)
Fixed Add missing char for nonce/state generation auth0#230 Fix query parsing when using hash routing auth0#231 Fix safari10 initialization error auth0#232
Changed Add early expiration of Access Token in cache auth0#233
v1.2.4 (2019-09-24)
Fixed
Fix empty PKCE code challenge auth0#221
v1.2.3 (2019-09-02)
Fixed
Fix incorrect state extraction from query string auth0#197
v1.2.2 (2019-08-28)
Fixed
Fix SSR errors with fetch polyfill usage auth0#184
v1.2.1 (2019-08-27)
Fixed
Replace promise polyfill for a pure one. This fixes using this library with zone.js. auth0#180
v1.2.0 (2019-08-26)
Fixed
- Expose raw id_token in the getIdTokenClaims method auth0#175
- Fix bug where oauth/token call ignores
options.audience
auth0#134
Added
- Add IE11 polyfills auth0#154
- Add popup timeout config auth0#133
- Add ?federated logout param auth0#129
v1.1.1 (2019-07-22)
Fixed
- Make sure the production bundle is ES5 compatible. auth0#98
v1.1.0 (2019-07-15)
Changed
- Allow redirect_uri override in loginWithRedirect - auth0#66
- Make options argument for popup and redirect optional - auth0#61
- Mark redirect_uri optional in RedirectLoginOptions - auth0#53
v1.0.2 (2019-07-02)
Changed
- Add polyfill for TextEncoder - auth0#46
v1.0.1 (2019-06-24)
Changed
- Reduce transaction cookie size - auth0#32
v1.0.0 (2019-06-19)
Initial Release