Releases: AzureAD/microsoft-authentication-library-for-js
Releases · AzureAD/microsoft-authentication-library-for-js
Release msal v1.3.1
Release msal v1.3.0
1.3.0
Features
- Add ssoSilent API (#1166)
Enhancements
- Turn library state into encoded string that contains guid and timestamp. (#1395)
- Fix behavior of
handleRedirectCallback
, and make it no longer required. (#1358) domain_hint
is no longer supported in silent calls or whensid
orlogin_hint
is passed. (#1299)- Update the framename to reflect authority and scopes (#1267)
- Switch to file-based sourcemaps for msal.js and msal.min.js (#1525)
- Set sideEffects to false to enable better tree-shaking (#1526)
- Add TelemetryManager to public APIs (#1399)
Bugs
- Ensure responses from redirect requests are always processed. (#1413)
- Ensure state is decoded before it is processed. (#1456)
- B2C Authority Fixes. (#1276)
- Check if request is null in populateQueryParams (#1531)
- Fix token caching for acquireToken calls (#1516)
- Unblock popup scrolling for IE11 (#1426)
Release msal v1.2.2
1.2.2
Features
- Add
setLogger
function toUserAgentApplication
. (#1251)
Enhancements
- Render hidden iframes synchronously if
navigateFrameWait
is set to0
. (#1278) - Add
redirectStartPage
property toAuthenticationParameters
to allow apps to indicate which page triggered the redirect. (#1343)
Bugs
- Properly remove temporary cache entries. (#1339)
- Always send back the accessToken and scopes if the response includes them. (#1351)
- Ensure silent operations timeout if the iframe never returns to the app domain. (#1354)
- Ensure hidden iframes are properly removed. (#1415)
Logging / Telemetry
- Add telemetry for
acquireTokenSilent
. (#1388)
Release msal v1.2.1
Release msal v1.2.0
Features:
- Iframes Support added (#939, #975, #1053, #1075); msal js now added support for authentication in applications embedded in iframes which implies that an application can now call
loginPopup()
,acquireTokenSilent()
andacquireTokenPopup()
from iframes. redirectUri
supported as a request parameter (#1116); This feature in conjunction with iframes support improves performance, by providing the application the capability to avoid a full reload of a SPA on redirect. Please refer to the sample in the release notes for the usage details- Multiple Instances (#980, #1010)
- Cache changes - to support iframes, multiple instances and other enhancements (#983, #1042, #1067)
- fromCache flag added in response to indicate cache vs network response for a request (#1114)
- Instance Aware support (#969)
Bugs
request.correlationId
is now passed to the service (#1083)- response_mode explicitly set to fragment for all use cases (#1090)
- verbose messages and monitoring for timeout errors (#1098, #1113)
- handle
loginRedirect
set to null (#1047) - Fix japanese decoding (#1036, #1054)
- Fix Unified cache, Redirect and B2C samples (#933, #959, #1027, #973)
- Change
location.replace
tolocation.assign
to support history in redirect APIs (#1002)
Dev tools
- linting added (#931, #935, #947)
- CI/CD pipeline (#924)
- Removed karma from UT and migrate completely to mocha/chai (#956)
- Added Code coverage, introduce coveralls (#972, #1105)
- Fix unit tests for unix environments (#977)
- Move samples to top level (#987)
- Added SRI tags to CDN files (#1020, #1024, #1030)
Documentation
Release msal v1.1.3
-
Introduction of Azure Pipelines (#449)
-
Removing uuid library that is incompatible with ES6 modules (#878)
-
Update lerna dependency to resolve to safe version of lodash (#769)
-
Refactoring (#886)
-
Code Integration:
* <script src="https://alcdn.msauth.net/lib/1.1.3/js/msal.js" integrity=”sha384- 3cT22wEPS/umVHpe5hGwbRF8PLObcSXaaFncKfbzutTBzn/aEMQ6aIlxaa6J2TG1” crossorigin=”anonymous”> </script> * <script src="https://alcdn.msftauth.net/lib/1.1.3/js/msal.js" integrity=”sha384-3cT22wEPS/umVHpe5hGwbRF8PLObcSXaaFncKfbzutTBzn/aEMQ6aIlxaa6J2TG1” crossorigin=”anonymous”> </script>
Release msal v1.1.2
Release msal v1.1.1
- Fixed an issue where cacheLocation was no longer accepting string values (#862)
Release msal v1.1.0
Core
- idTokenClaims has been added to the API surface in AuthResponse and Account (#804)
- Added forceRefresh parameter to request object, which will force acquireTokenSilent to fetch tokens from cache (#823)
- Added scaffolding for telemetry (#737, #802, #840)
- The full telemetry feature will be available in a future release
- Fixed issue where server was sending a null errorDesc which caused a problem in error response processing (#811)
- MSAL.js now throws a ServerError when the user chooses not to grant consent or clicks back in multi-account selection
- Updating the comments in Configuration.ts to show the correct parameters (#780)
- CacheLocation changed to enum to avoid type widening (#851)
- MSAL.js sends log messages when removing sid and login_hint from extraQueryParameters (#781)
- Improved formatting and docs in README and issue template (#789, #793, #795)
- Fixed bug where expiresIn was not calculating correctly (#799)
- Fixed issue where errors did not display for failed redirect login attempts in the React sample. (#820)
- Fixed
npm audit
security warnings (#828) - Updated references to
cloud.microsoft.com
since domain no longer works properly (#830) - AcquireToken APIs throw empty request errors when given null or empty request objects (#831)
- Switched from tslint to eslint for linting configuration (#849)
- Removed dependency on base64-js package due to incompatability with ES modules, removed unused encoding functions (#826)
- Refactoring (#792)
Other Updates
- Fixed issues with Angular and Angular-JS samples (#813)
Release msal v1.0.2
Updates:
- Fixed broken link in docs for error message and module docs (#731)
- Fix typo in README (#743, #749)
- Update lerna version (#748)
- Fix Interaction_Required error to throw on all interaction_required error types (#753)
- Added a react sample (#727)
- Fix for bug preventing asynchronous acquireTokenSilent calls (#768)