Skip to content

Releases: AzureAD/microsoft-authentication-library-for-js

Release msal v1.3.1

23 Jun 16:58
55c5587
Compare
Choose a tag to compare

1.3.1

Bugs

  • Prevent adding unnecessary entries into browser history. (#1577)
  • Add aria-hidden to hidden iframes. (#1581)
  • Fix regression for redirect URIs that included query strings. (#1604)

Release msal v1.3.0

28 Apr 18:40
920911e
Compare
Choose a tag to compare

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 when sid or login_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

27 Mar 17:13
Compare
Choose a tag to compare

1.2.2

Features

  • Add setLogger function to UserAgentApplication. (#1251)

Enhancements

  • Render hidden iframes synchronously if navigateFrameWait is set to 0. (#1278)
  • Add redirectStartPage property to AuthenticationParameters 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

15 Jan 02:21
c7c5d1e
Compare
Choose a tag to compare

Enhancements

  • isAngular flag removal from redirect use cases(#1193)

Bugs

  • urlContainsHash() is restored as a public API (#1202)
  • allow-forms added in sandbox properties for the iframes created by msal js to support certain B2C scenarios(#1191)

Release msal v1.2.0

10 Dec 20:09
07dede6
Compare
Choose a tag to compare

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() and acquireTokenPopup() 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 to location.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

  • Simplify root readme file (#1004)
  • Remove generated doc files from repo, deploy them to Github Pages (#1131)

Release msal v1.1.3

14 Aug 23:50
9c02f26
Compare
Choose a tag to compare
  • 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

08 Aug 22:41
fbeb38b
Compare
Choose a tag to compare
  • Minor fixes to docs and samples (#859, #857, #757)
  • Fixes issue where scope object was being mutated (#875)
  • Fixes issue where token type wasn't being set correctly when renewing id token (#873)
  • Refactoring (#805, #806)

Release msal v1.1.1

24 Jul 00:03
5bc9828
Compare
Choose a tag to compare
  • Fixed an issue where cacheLocation was no longer accepting string values (#862)

Release msal v1.1.0

23 Jul 19:43
Compare
Choose a tag to compare

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

21 Jun 00:26
730be4d
Compare
Choose a tag to compare

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)