@azure/msal-browser 2.21.0 → 2.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/README.md +1 -1
  2. package/dist/_virtual/_tslib.js +1 -1
  3. package/dist/app/ClientApplication.d.ts +31 -2
  4. package/dist/app/ClientApplication.d.ts.map +1 -1
  5. package/dist/app/ClientApplication.js +152 -36
  6. package/dist/app/ClientApplication.js.map +1 -1
  7. package/dist/app/IPublicClientApplication.d.ts +3 -1
  8. package/dist/app/IPublicClientApplication.d.ts.map +1 -1
  9. package/dist/app/IPublicClientApplication.js +7 -1
  10. package/dist/app/IPublicClientApplication.js.map +1 -1
  11. package/dist/app/PublicClientApplication.d.ts +2 -2
  12. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  13. package/dist/app/PublicClientApplication.js +51 -15
  14. package/dist/app/PublicClientApplication.js.map +1 -1
  15. package/dist/cache/AsyncMemoryStorage.d.ts +3 -2
  16. package/dist/cache/AsyncMemoryStorage.d.ts.map +1 -1
  17. package/dist/cache/AsyncMemoryStorage.js +17 -6
  18. package/dist/cache/AsyncMemoryStorage.js.map +1 -1
  19. package/dist/cache/BrowserCacheManager.d.ts +14 -12
  20. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  21. package/dist/cache/BrowserCacheManager.js +16 -12
  22. package/dist/cache/BrowserCacheManager.js.map +1 -1
  23. package/dist/cache/BrowserStorage.js +1 -1
  24. package/dist/cache/DatabaseStorage.d.ts +5 -0
  25. package/dist/cache/DatabaseStorage.d.ts.map +1 -1
  26. package/dist/cache/DatabaseStorage.js +65 -13
  27. package/dist/cache/DatabaseStorage.js.map +1 -1
  28. package/dist/cache/MemoryStorage.js +1 -1
  29. package/dist/cache/TokenCache.d.ts.map +1 -1
  30. package/dist/cache/TokenCache.js +4 -3
  31. package/dist/cache/TokenCache.js.map +1 -1
  32. package/dist/config/Configuration.d.ts +23 -10
  33. package/dist/config/Configuration.d.ts.map +1 -1
  34. package/dist/config/Configuration.js +21 -10
  35. package/dist/config/Configuration.js.map +1 -1
  36. package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
  37. package/dist/crypto/BrowserCrypto.js +7 -6
  38. package/dist/crypto/BrowserCrypto.js.map +1 -1
  39. package/dist/crypto/CryptoOps.d.ts +12 -3
  40. package/dist/crypto/CryptoOps.d.ts.map +1 -1
  41. package/dist/crypto/CryptoOps.js +71 -36
  42. package/dist/crypto/CryptoOps.js.map +1 -1
  43. package/dist/crypto/GuidGenerator.d.ts +3 -2
  44. package/dist/crypto/GuidGenerator.d.ts.map +1 -1
  45. package/dist/crypto/GuidGenerator.js +4 -3
  46. package/dist/crypto/GuidGenerator.js.map +1 -1
  47. package/dist/crypto/PkceGenerator.js +1 -1
  48. package/dist/crypto/SignedHttpRequest.js +1 -1
  49. package/dist/encode/Base64Decode.d.ts.map +1 -1
  50. package/dist/encode/Base64Decode.js +3 -2
  51. package/dist/encode/Base64Decode.js.map +1 -1
  52. package/dist/encode/Base64Encode.d.ts.map +1 -1
  53. package/dist/encode/Base64Encode.js +5 -4
  54. package/dist/encode/Base64Encode.js.map +1 -1
  55. package/dist/error/BrowserAuthError.js +1 -1
  56. package/dist/error/BrowserConfigurationAuthError.js +1 -1
  57. package/dist/event/EventHandler.js +1 -1
  58. package/dist/event/EventMessage.js +1 -1
  59. package/dist/event/EventType.js +1 -1
  60. package/dist/index.cjs.js +1380 -436
  61. package/dist/index.cjs.js.map +1 -1
  62. package/dist/index.d.ts +15 -2
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +15 -3
  65. package/dist/index.js.map +1 -1
  66. package/dist/interaction_client/BaseInteractionClient.d.ts +4 -3
  67. package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  68. package/dist/interaction_client/BaseInteractionClient.js +14 -14
  69. package/dist/interaction_client/BaseInteractionClient.js.map +1 -1
  70. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +1 -1
  71. package/dist/interaction_client/PopupClient.d.ts +4 -3
  72. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  73. package/dist/interaction_client/PopupClient.js +52 -60
  74. package/dist/interaction_client/PopupClient.js.map +1 -1
  75. package/dist/interaction_client/RedirectClient.d.ts +3 -3
  76. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  77. package/dist/interaction_client/RedirectClient.js +22 -10
  78. package/dist/interaction_client/RedirectClient.js.map +1 -1
  79. package/dist/interaction_client/SilentAuthCodeClient.d.ts +2 -2
  80. package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  81. package/dist/interaction_client/SilentAuthCodeClient.js +5 -4
  82. package/dist/interaction_client/SilentAuthCodeClient.js.map +1 -1
  83. package/dist/interaction_client/SilentCacheClient.d.ts +2 -2
  84. package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
  85. package/dist/interaction_client/SilentCacheClient.js +14 -6
  86. package/dist/interaction_client/SilentCacheClient.js.map +1 -1
  87. package/dist/interaction_client/SilentIframeClient.d.ts +4 -4
  88. package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
  89. package/dist/interaction_client/SilentIframeClient.js +22 -7
  90. package/dist/interaction_client/SilentIframeClient.js.map +1 -1
  91. package/dist/interaction_client/SilentRefreshClient.d.ts +2 -2
  92. package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  93. package/dist/interaction_client/SilentRefreshClient.js +19 -7
  94. package/dist/interaction_client/SilentRefreshClient.js.map +1 -1
  95. package/dist/interaction_client/StandardInteractionClient.d.ts +11 -11
  96. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  97. package/dist/interaction_client/StandardInteractionClient.js +84 -56
  98. package/dist/interaction_client/StandardInteractionClient.js.map +1 -1
  99. package/dist/interaction_handler/InteractionHandler.js +1 -1
  100. package/dist/interaction_handler/PopupHandler.d.ts.map +1 -1
  101. package/dist/interaction_handler/PopupHandler.js +1 -3
  102. package/dist/interaction_handler/PopupHandler.js.map +1 -1
  103. package/dist/interaction_handler/RedirectHandler.d.ts.map +1 -1
  104. package/dist/interaction_handler/RedirectHandler.js +1 -2
  105. package/dist/interaction_handler/RedirectHandler.js.map +1 -1
  106. package/dist/interaction_handler/SilentHandler.js +1 -1
  107. package/dist/navigation/NavigationClient.js +1 -1
  108. package/dist/network/FetchClient.d.ts.map +1 -1
  109. package/dist/network/FetchClient.js +3 -2
  110. package/dist/network/FetchClient.js.map +1 -1
  111. package/dist/network/XhrClient.js +1 -1
  112. package/dist/packageMetadata.d.ts +1 -1
  113. package/dist/packageMetadata.js +2 -2
  114. package/dist/packageMetadata.js.map +1 -1
  115. package/dist/request/EndSessionPopupRequest.d.ts +1 -0
  116. package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
  117. package/dist/request/EndSessionRequest.d.ts +1 -0
  118. package/dist/request/EndSessionRequest.d.ts.map +1 -1
  119. package/dist/telemetry/BrowserPerformanceClient.d.ts +19 -0
  120. package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
  121. package/dist/telemetry/BrowserPerformanceClient.js +52 -0
  122. package/dist/telemetry/BrowserPerformanceClient.js.map +1 -0
  123. package/dist/telemetry/BrowserPerformanceMeasurement.d.ts +13 -0
  124. package/dist/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
  125. package/dist/telemetry/BrowserPerformanceMeasurement.js +66 -0
  126. package/dist/telemetry/BrowserPerformanceMeasurement.js.map +1 -0
  127. package/dist/utils/BrowserConstants.d.ts +2 -1
  128. package/dist/utils/BrowserConstants.d.ts.map +1 -1
  129. package/dist/utils/BrowserConstants.js +2 -1
  130. package/dist/utils/BrowserConstants.js.map +1 -1
  131. package/dist/utils/BrowserProtocolUtils.js +1 -1
  132. package/dist/utils/BrowserStringUtils.d.ts.map +1 -1
  133. package/dist/utils/BrowserStringUtils.js +4 -2
  134. package/dist/utils/BrowserStringUtils.js.map +1 -1
  135. package/dist/utils/BrowserUtils.js +2 -2
  136. package/dist/utils/BrowserUtils.js.map +1 -1
  137. package/dist/utils/MathUtils.js +1 -1
  138. package/dist/utils/PopupUtils.d.ts +1 -2
  139. package/dist/utils/PopupUtils.d.ts.map +1 -1
  140. package/dist/utils/PopupUtils.js +3 -3
  141. package/dist/utils/PopupUtils.js.map +1 -1
  142. package/lib/msal-browser.js +1380 -436
  143. package/lib/msal-browser.js.map +1 -1
  144. package/lib/msal-browser.min.js +41 -31
  145. package/package.json +2 -2
  146. package/CHANGELOG.json +0 -1685
  147. package/CHANGELOG.md +0 -536
package/CHANGELOG.md DELETED
@@ -1,536 +0,0 @@
1
- # Change Log - @azure/msal-browser
2
-
3
- This log was last generated on Tue, 04 Jan 2022 00:20:29 GMT and should not be manually modified.
4
-
5
- <!-- Start content -->
6
-
7
- ## 2.21.0
8
-
9
- Tue, 04 Jan 2022 00:20:29 GMT
10
-
11
- ### Minor changes
12
-
13
- - Add support for requested claims in silent token acquisition #4296 (hemoral@microsoft.com)
14
- - Bump @azure/msal-common to v6.0.0
15
-
16
- ### Patches
17
-
18
- - Clear interaction status even if there is no ongoing request #4314 (janutter@microsoft.com)
19
-
20
- ## 2.20.0
21
-
22
- Tue, 07 Dec 2021 00:17:01 GMT
23
-
24
- ### Minor changes
25
-
26
- - Add acquireTokenByCode API for hybrid spa flow #3978 (janutter@microsoft.com)
27
- - Bump @azure/msal-common to v5.2.0
28
-
29
- ### Patches
30
-
31
- - Fix circular dependencies in AuthenticationHeaderParser and AsyncMemoryStorage #4235 (hemoral@microsoft.com)
32
-
33
- ## 2.19.0
34
-
35
- Mon, 01 Nov 2021 23:53:21 GMT
36
-
37
- ### Minor changes
38
-
39
- - Add support for in-memory storage of token binding keys #4183 (hemoral@microsoft.com)
40
- - Add support for ephemeral SSH certificate acquisition #4178 (hemoral@microsoft.com)
41
- - Add support for in-memory storage of token binding keys #4183 (hemoral@microsoft.com)
42
- - Add support for SHR nonce #3999 (hemoral@microsoft.com)
43
- - Bump @azure/msal-common to v5.1.0
44
-
45
- ### Patches
46
-
47
- - Add support for different key types in IndexedDB storage #4052 (hemoral@microsoft.com)
48
- - Ensure correlation is passed to all interaction clients in acquireTokenSilent #4186 (janutter@microsoft.com)
49
- - Fix typo in noTokenRequestCacheError (#4136) (Michael.Currie@rjwgroup.com)
50
- - Fix redirect processing when allowRedirectInIframe: true #4142 (thomas.norling@microsoft.com)
51
-
52
- ## 2.18.0
53
-
54
- Mon, 04 Oct 2021 23:12:35 GMT
55
-
56
- ### Minor changes
57
-
58
- - Emit event when user logs in or out from a different tab or window #3981 (thomas.norling@microsoft.com)
59
- - Remove requirement of user hint on ssoSilent API #4123 (prkanher@microsoft.com)
60
- - Bump @azure/msal-common to v5.0.1
61
-
62
- ### Patches
63
-
64
- - Consistently export error types and messages for errors thrown by MSAL #4117 (jagore@microsoft.com)
65
- - Move helper functions up to BaseInteractionClient #4049 (thomas.norling@microsoft.com)
66
- - Export library version #4124 (thomas.norling@microsoft.com)
67
-
68
- ## 2.17.0
69
-
70
- Tue, 07 Sep 2021 23:22:24 GMT
71
-
72
- ### Minor changes
73
-
74
- - Add configuration for popup window size and placement #3946 (joarroyo@microsoft.com)
75
- - Add API to sideload tokens to msal-browser #3895 (joarroyo@microsoft.com)
76
- - Add SignedHttpRequest class #3058 (janutter@microsoft.com)
77
- - Refactor acquireToken logic into InteractionClients #3871 (thomas.norling@microsoft.com)
78
-
79
- ### Patches
80
-
81
- - Clear cache before constructing logout url #3982 (thomas.norling@microsoft.com)
82
- - Add pop params to request thumbprint #3973 (hemoral@microsoft.com)
83
- - Update ADAL to MSAL SSO logic to use preferred_username instead of upn by default #3945 (ellymakuba@microsoft.com)
84
- - Populate msal v2 loginHint from cached msal v1 id token #4027 (janutter@microsoft.com)
85
- - Throw interaction in progress if any msal instance has interaction in progress #4014 (thomas.norling@microsoft.com)
86
- - Only emit handleRedirect start event on first invocation of handleRedirectPromise #4013 (thomas.norling@microsoft.com)
87
- - Add correlationId to AuthenticationResult type #3947 (thomas.norling@microsoft.com)
88
- - Remove token binding key from key store when refreshing pop token #3500 (hemoral@microsoft.com)
89
- - Fix clearing active account on logout #3948 (hemoral@microsoft.com)
90
- - Add correlationId to errors thrown #3930 (thomas.norling@microsoft.com)
91
-
92
- ## 2.16.0
93
-
94
- Thu, 22 Jul 2021 22:50:22 GMT
95
-
96
- ### Minor changes
97
-
98
- - Msal-Browser supports parallel silent requests #3837 (joarroyo@microsoft.com)
99
- - Persist active account #3755 (thomas.norling@microsoft.com)
100
-
101
- ### Patches
102
-
103
- - Add fix for loginRedirect failure when angular index.html base href is different from the origin (#3875) (rishanthakumar@gmail.com)
104
- - fix: fixing the npm audit issues (samuelkamau@microsoft.com)
105
- - Expose isInPopup helper function #3825 (thomas.norling@microsoft.com)
106
-
107
- ## 2.15.0
108
-
109
- Mon, 28 Jun 2021 23:39:48 GMT
110
-
111
- ### Minor changes
112
-
113
- - Add correlationId to log messages #3601 (joarroyo@microsoft.com)
114
- - Add CCS parameters to headers or form_data #3636 (prkanher@microsoft.com)
115
-
116
- ### Patches
117
-
118
- - Update monitor_window_timeout error message with link to error docs #3783 (thomas.norling@microsoft.com)
119
- - Refactor event APIs into EventHandler class #3770 (thomas.norling@microsoft.com)
120
- - Fix logoutPopup parameter type on IPublicClientApplication #3663 (thomas.norling@microsoft.com)
121
-
122
- ## 2.14.2
123
-
124
- Wed, 12 May 2021 18:35:03 GMT
125
-
126
- ### Patches
127
-
128
- - Adjust log messages #3589 (joarroyo@microsoft.com)
129
- - Fix hash removal from URL and browser history after interactive request #3609 (hemoral@microsoft.com)
130
- - Update account equality check #3527 (thomas.norling@microsoft.com)
131
- - Close popup if error is thrown before popup window navigation occurs #3572 (thomas.norling@microsoft.com)
132
- - change msal-browser/msal-common to preserveModules to enable tree-shaking #3300 (oo.thomas96@gmail.com)
133
-
134
- ## 2.14.1
135
-
136
- Thu, 22 Apr 2021 23:26:08 GMT
137
-
138
- ### Patches
139
-
140
- - Add .browserslistrc #3471 (thomas.norling@microsoft.com)
141
- - Look for temp cache items in local storage as fallback #3509 (janutter@microsoft.com)
142
-
143
- ## 2.14.0
144
-
145
- Wed, 14 Apr 2021 18:39:53 GMT
146
-
147
- ### Minor changes
148
-
149
- - Add support for AccessToken_With_AuthScheme credential type #3426 (hectormgdev@gmail.com)
150
-
151
- ### Patches
152
-
153
- - Make SHR parameters optional (#3320) (hemoral@microsoft.com)
154
-
155
- ## 2.13.1
156
-
157
- Wed, 31 Mar 2021 22:25:57 GMT
158
-
159
- ### Patches
160
-
161
- - Export PopupEvent #3360 (joarroyo@microsoft.com)
162
-
163
- ## 2.13.0
164
-
165
- Wed, 24 Mar 2021 22:55:46 GMT
166
-
167
- ### Minor changes
168
-
169
- - Add logoutPopup API #3044 (thomas.norling@microsoft.com)
170
-
171
- ### Patches
172
-
173
- - Fix errors thrown on cache lookups when reading non-msal cache values #3245 (thomas.norling@microsoft.com)
174
- - Update blockReloadInIframe error message with link to error doc #3294 (thomas.norling@microsoft.com)
175
- - Block nested popups #3249 (thomas.norling@microsoft.com)
176
-
177
- ## 2.12.1
178
-
179
- Mon, 15 Mar 2021 23:45:17 GMT
180
-
181
- ### Patches
182
-
183
- - Clear temporary cache cookies on page load #3129 (prkanher@microsoft.com)
184
- - Throw BrowserAuthError when fetch fails #3146 (thomas.norling@microsoft.com)
185
-
186
- ## 2.12.0
187
-
188
- Wed, 03 Mar 2021 21:47:05 GMT
189
-
190
- ### Minor changes
191
-
192
- - Add option to make MSAL browser cookies secure (#3001) (hemoral@microsoft.com)
193
- - Add setNavigationClient API and expose INavigationClient interface (#2985) (thomas.norling@microsoft.com)
194
-
195
- ### Patches
196
-
197
- - Separate telemetry for ssoSilent and ATS iframe renewal (#3064) (thomas.norling@microsoft.com)
198
- - Add instrumentation to msal-browser (#3004) (joarroyo@microsoft.com)
199
- - Memoize multiple calls to handleRedirectPromise (#3072) (thomas.norling@microsoft.com)
200
-
201
- ## 2.11.2
202
-
203
- Thu, 18 Feb 2021 00:34:32 GMT
204
-
205
- ### Patches
206
-
207
- - Ensure scrollbars are enabled for popups in browser (janutter@microsoft.com)
208
-
209
- ## 2.11.1
210
-
211
- Tue, 09 Feb 2021 01:48:22 GMT
212
-
213
- ### Patches
214
-
215
- - Fix version.json import errors (#2993) (thomas.norling@microsoft.com)
216
- - Add missing network types to browser exports (#2995) (prkanher@microsoft.com)
217
- - Ignore OIDC scopes during cache lookup or replacement (#2969) (prkanher@microsoft.com)
218
- - Allow apps to not use the current page as default postLogoutRedirectUri in MSAL Browser (#2789) (janutter@microsoft.com)
219
- - Fix PCA stub errors (#2963) (thomas.norling@microsoft.com)
220
-
221
- ## 2.11.0
222
-
223
- Tue, 02 Feb 2021 01:56:47 GMT
224
-
225
- ### Minor changes
226
-
227
- - Add initializeWrapperLibrary API (#2845) (thomas.norling@microsoft.com)
228
- - Add getInteractionStatusFromEvent to msal-browser (#2885) (joarroyo@microsoft.com)
229
-
230
- ### Patches
231
-
232
- - Fix temp cache cleanup when using localStorage (#2935) (thomas.norling@microsoft.com)
233
- - Get package version from version.json (#2915) (thomas.norling@microsoft.com)
234
-
235
- ## 2.10.0
236
-
237
- Thu, 21 Jan 2021 21:48:01 GMT
238
-
239
- ### Minor changes
240
-
241
- - Authority metadata caching (#2758) (thomas.norling@microsoft.com)
242
-
243
- ### Patches
244
-
245
- - Fix handling of multiple popup windows (#2842) (janutter@microsoft.com)
246
- - redirectStartPage supports relative URIs (#2866) (thomas.norling@microsoft.com)
247
-
248
- ## 2.9.0
249
-
250
- Tue, 12 Jan 2021 00:51:26 GMT
251
-
252
- ### Minor changes
253
-
254
- - Adding an active account API to PublicClientApplication (#2728) (prkanher@microsoft.com)
255
- - Add internal in-memory storage to BrowserCacheManager (#2765) (thomas.norling@microsoft.com)
256
- - Enable strict TypeScript option (#2792) (thomas.norling@microsoft.com)
257
-
258
- ## 2.8.0
259
-
260
- Mon, 07 Dec 2020 22:19:03 GMT
261
-
262
- ### Minor changes
263
-
264
- - Enable the instance_aware flow (#1804) (prkanher@microsoft.com)
265
-
266
- ### Patches
267
-
268
- - Fix clearing of temporary cache items (#2696) (thomas.norling@microsoft.com)
269
- - Add exports to index.ts (#2680) (joarroyo@microsoft.com)
270
- - Expose idTokenClaims on AccountInfo (#2554) (janutter@microsoft.com)
271
- - Add onRedirectNavigate to redirect operations in browser (#2669) (janutter@microsoft.com)
272
- - Update Internal PCA Configuration (#2602) (thomas.norling@microsoft.com)
273
- - Add allowRedirectInIframe flag to browser (#2593) (janutter@microsoft.com)
274
- - Log messages contain package name and version (#2589) (thomas.norling@microsoft.com)
275
- - Update request types (#2512) (thomas.norling@microsoft.com)
276
-
277
- ## 2.7.0
278
-
279
- Wed, 11 Nov 2020 23:33:20 GMT
280
-
281
- ### Minor changes
282
-
283
- - Support relative paths on redirectUri parameter (#2560) (thomas.norling@microsoft.com)
284
-
285
- ### Patches
286
-
287
- - Adds getAccountByLocalId to PCA Interface (#2588) (thomas.norling@microsoft.com)
288
- - Add navigateFrameWait and change loadFrameTimeout to browser to match core behavior (#2545) (janutter@microsoft.com)
289
-
290
- ## 2.6.1
291
-
292
- Tue, 10 Nov 2020 01:48:44 GMT
293
-
294
- ### Patches
295
-
296
- - Export stubbed PCA instance (#2540) (thomas.norling@microsoft.com)
297
-
298
- ## 2.6.0
299
-
300
- Sat, 07 Nov 2020 01:50:14 GMT
301
-
302
- ### Minor changes
303
-
304
- - Fixing a bug and adding `localAccountId` in AccountInfo interface (#2516) (sameera.gajjarapu@microsoft.com)
305
-
306
- ## 2.5.2
307
-
308
- Mon, 02 Nov 2020 23:33:39 GMT
309
-
310
- ### Patches
311
-
312
- - Fix JSON.parse issue and cache value validation (#2527) (prkanher@microsoft.com)
313
-
314
- ## 2.5.1
315
-
316
- Fri, 30 Oct 2020 00:52:19 GMT
317
-
318
- ### Patches
319
-
320
- - Restore string to cacheLocation type (#2523) (janutter@microsoft.com)
321
-
322
- ## 2.5.0
323
-
324
- Thu, 29 Oct 2020 20:36:48 GMT
325
-
326
- ### Minor changes
327
-
328
- - Add getLogger and setLogger to msal-browser (#2513) (joarroyo@microsoft.com)
329
- - Adding memory storage option for cache location (#2481) (prkanher@microsoft.com)
330
-
331
- ### Patches
332
-
333
- - Add handleRedirect End Event (#2518) (thomas.norling@microsoft.com)
334
- - Ensure history.replaceState is a function (janutter@microsoft.com)
335
- - Allow hash to be passed into handleRedirectPromise, reset non-msal after processing (janutter@microsoft.com)
336
-
337
- ## 2.4.1
338
-
339
- Mon, 26 Oct 2020 21:00:29 GMT
340
-
341
- ### Patches
342
-
343
- - msal-browser and msal-node cache Interfaces to msal-common updated (#2415) (sameera.gajjarapu@microsoft.com)
344
-
345
- ## 2.4.0
346
-
347
- Tue, 20 Oct 2020 23:47:28 GMT
348
-
349
- ### Minor changes
350
-
351
- - Add removeEventCallback API (#2462) (thomas.norling@microsoft.com)
352
- - Add event api to msal-browser (#2394) (joarroyo@microsoft.com)
353
-
354
- ### Patches
355
-
356
- - Use history API to clear hash for msal-browser (janutter@microsoft.com)
357
- - Export InteractionType (#2438) (thomas.norling@microsoft.com)
358
- - Add extraQueryParameters to acquireTokenSilent in msal-browser (janutter@microsoft.com)
359
- - Fix unexpected interaction_required error in redirect flow (#2404) (thomas.norling@microsoft.com)
360
- - Adds support for any OIDC-compliant authority (#2389). (jamckenn@microsoft.com)
361
-
362
- ## 2.3.1
363
-
364
- Wed, 14 Oct 2020 23:45:07 GMT
365
-
366
- ### Patches
367
-
368
- - Remove rogue console.log() in the BrowserCrypto.ts file and add a lint rule to prevent future issues (#2410) (prkanher@microsoft.com)
369
- - Check for Headers class when configuring network client (janutter@microsoft.com)
370
- - Update getItem to return ServerTelemetryEntity (#2223) (thomas.norling@microsoft.com)
371
-
372
- ## 2.3.0
373
-
374
- Fri, 02 Oct 2020 17:42:35 GMT
375
-
376
- ### Minor changes
377
-
378
- - Implementation of Access Token Proof-of-Possession Flow (#2151, #2153, #2154, #2209, #2289) (prkanher@microsoft.com)
379
-
380
- ## 2.2.1
381
-
382
- Wed, 30 Sep 2020 17:58:33 GMT
383
-
384
- ### Patches
385
-
386
- - Support SSR in msal-browser (#2073) (thomas.norling@microsoft.com)
387
-
388
- ## 2.2.0
389
-
390
- Thu, 17 Sep 2020 23:16:22 GMT
391
-
392
- ### Minor changes
393
-
394
- - Added client-side throttling to enhance server stability (#1907) (jamckenn@microsoft.com)
395
-
396
- ### Patches
397
-
398
- - Fix issue with base64 encoding of spaces (#2248) (prkanher@microsoft.com)
399
- - Properly support multiple concurrent RT requests (#2290) (janutter@microsoft.com)
400
- - Default scope addition done in msal-common (#2267) (thomas.norling@microsoft.com)
401
- - acquireTokenSilent calls ssoSilent (#2264) (thomas.norling@microsoft.com)
402
- - Check for interaction in progress when processing redirect hash (#2183) (thomas.norling@microsoft.com)
403
- - Creating ClientApplication.ts subclass (#2199) (prkanher@microsoft.com)
404
- - Add SsoSilentRequest for ssoSilent, update tests and samples (joarroyo@microsoft.com)
405
- - Add Angular 10 browser sample, update documentation (joarroyo@microsoft.com)
406
-
407
- ## 2.1.0
408
-
409
- Tue, 25 Aug 2020 00:40:45 GMT
410
-
411
- ### Minor changes
412
-
413
- - Client Capabilities Support (#2169) (thomas.norling@microsoft.com)
414
-
415
- ### Patches
416
-
417
- - update APP_META_DATA to APP_METADATA (sameera.gajjarapu@microsoft.com)
418
- - Add getAccountByHomeId API (#2114) (thomas.norling@microsoft.com)
419
- - Change msal-browser loginPopup and openPopup, add ability to configure popup delay (#2132) (joarroyo@microsoft.com)
420
- - Update POST header to type Record (#2128) (thomas.norling@microsoft.com)
421
-
422
- ## 2.0.2
423
-
424
- Thu, 13 Aug 2020 02:20:48 GMT
425
-
426
- ### Patches
427
-
428
- - Fix hash parsing issue from #2118 and back button cache clearing (#2129) (prkanher@microsoft.com)
429
-
430
- # 2.0.1
431
- ## Breaking Changes
432
- * None
433
-
434
- ## Features and Fixes
435
- * Make request object optional for login APIs in PublicClientApplication (#2061)
436
- * Fix `getAccountByUsername()` API signatures to return null (#2059)
437
- * (#2078) Fix issues with `handleRedirectPromise()` where:
438
- * state mismatches occur if `handleRedirectPromise()` is called multiple times.
439
- * `currentUrl` and `loginRequestUrl` being evaluated as not equal if one has a trailing slash and the other does not
440
- * When `loginRequestUrl` is not in the cache, msal redirects to the homepage but would not process the hash
441
- * Add `sid` from `AuthorizationUrlRequest` to SSO check in `ssoSilent()` (#2030)
442
- * Add interaction type to platform state and check before processing hash (#2045)
443
- * Implements telemetry error calculation and caching for server telemetry information in browser scenarios (#1918)
444
- * Fix promise handling in PublicClientApplication (#2091)
445
-
446
- # 2.0.0
447
- ## Breaking Changes
448
- * None
449
-
450
- ## Features and Fixes
451
- * Fix an issue where logout was not clearing all accounts (#1919)
452
- * Typescript sample for browser (#1920)
453
- * Add SilentRequest.ts object (#1964)
454
- * Fix an issue where popup window position value did not have a floor (#1981)
455
- * Fix an issue where getAccountByUsername was case-sensitive for the given username (#1982)
456
- * Fix an issue where `openid` and `profile` were being added to silent requests (#1962)
457
- * Fix an issue where the hash was not handled if `navigateToLoginRequestUrl`=`false` (#1973)
458
- * Fix an error that occurs when the request object is not provided to login and the redirectStartPage is expected (#1998)
459
-
460
- # 2.0.0-beta.4
461
- ## Breaking Changes
462
- * Updated all APIs to send `openid` and `profile` by default in all requests (#1868)
463
-
464
- ## Features and Fixes
465
- * add interface for PublicClientApplication (#1870)
466
- * Update `monitorIframeForHash` to be purely time-based (#1873)
467
- * Instantiate Logger instance for PublicClientApplication (#1882)
468
- * Fix an issue with encoding in cookies and state values (#1852)
469
- * Fix issue where cache isn't being cleaned correctly (#1856)
470
- * Fix issue where expiration isn't calculated correctly (#1860)
471
- * Fix an issue where the crypto APIs were not truly random (#1872)
472
- * Remove all non-application specific initialization from PublicClientApplication constructor (#1885, #1886)
473
- * Added support for IE11 (#1883, #1884)
474
- * Added support for redirection to pages with custom hashes or query params (#1862)
475
- * Remove deprecated `handleRedirectCallback()` API (#1863)
476
- * Remove function typings for `redirectUri` and `postLogoutRedirectUri` (#1861).
477
- * Add support for Instance Discovery, combine all authority classes into a single generic class (#1811)
478
-
479
- # 2.0.0-beta.3
480
- ## Breaking Changes
481
- * `@azure/msal-browser` now follows a unified cache schema similar to other MSAL libraries (#1624, #1655, #1680, #1711, #1762, #1771)
482
- * Updated browser library to follow common format for request, response, and client configurations (#1682, #1711, #1762, #1770, #1771, #1793)
483
- * Account interface updated to AccountInfo.ts (#1789)
484
-
485
- ## Features and Fixes
486
- * add `setKnownAuthorities` to constructor call for B2C Authority scenarios (#1646)
487
- * Library state is now sent as a encoded JSON object (#1790)
488
- * Added a request object for logout APIs, made logout async (#1802)
489
-
490
- # 2.0.0-beta.2
491
- * Fixed an issue where the system config values were being overwritten with `undefined` (#1631)
492
-
493
- # 2.0.0-beta.1
494
- ## Features
495
- * Added a silent iframe flow in the @azure/msal-browser package (#1451)
496
- * Includes an ssoSilent() API to acquire tokens silently with a user context (loginHint)
497
-
498
- ## Bugs
499
- * Fixed an issue where TokenResponse is not exported
500
-
501
- ## Enhancements
502
- * handleRedirectCallback flow was modified, will be deprecated in favor of handleRedirectPromise(), added log message (#1490, #1543)
503
-
504
- # 2.0.0-beta.0
505
- ## Features
506
- * Removed client_secret from config and added docs for new registration experience (#1421)
507
-
508
- ## Enhancements
509
- * Test pipelines in place. (#1393)
510
- * Added docs and samples. (#1421, #1321)
511
-
512
- ## Bugs
513
- * Minor bug fixes from unit testing. (#1236)
514
- * navigateToLoginRequestUrl works correctly (#1320)
515
-
516
- # 2.0.0-alpha.0
517
- ## Features
518
- * Added Rollup as build tool (#1108)
519
- * Added APIs and major type files (#1109)
520
- * Added tests and code coverage (#1127)
521
- * Added Authority and protocol classes (#1133)
522
- * Added browser storage implementation (#1140)
523
- * Added implementation of crypto for browser (#1141)
524
- * Added fetch client (#1144)
525
- * Creating of login url (#1149)
526
- * Added logger class (#1155)
527
- * Added redirect handling code (#1164)
528
- * Successful token exchange (#1181)
529
- * Response handling code (#1183)
530
- * Token caching (#1185)
531
- * Popup handling (#1190)
532
- * Silent renewal using refresh tokens and logout (#1208)
533
- * SSO fixes for login_hint (#1211)
534
-
535
- # 0.0.1
536
- - Created library with initial files for repo structure, build and package dependencies