@azure/msal-angular 3.0.0-beta.0 → 3.0.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 (87) hide show
  1. package/.beachballrc +3 -0
  2. package/.editorconfig +16 -0
  3. package/CHANGELOG.json +1418 -0
  4. package/CHANGELOG.md +520 -0
  5. package/FAQ.md +175 -0
  6. package/LICENSE +20 -20
  7. package/README.md +157 -157
  8. package/angular.json +51 -0
  9. package/docs/angular-universal.md +60 -0
  10. package/docs/configuration.md +525 -0
  11. package/docs/errors.md +89 -0
  12. package/docs/events.md +262 -0
  13. package/docs/initialization.md +206 -0
  14. package/docs/known-issues.md +19 -0
  15. package/docs/logging.md +47 -0
  16. package/docs/msal-guard.md +208 -0
  17. package/docs/msal-interceptor.md +160 -0
  18. package/docs/multi-tenant.md +90 -0
  19. package/docs/performance.md +50 -0
  20. package/docs/public-apis.md +29 -0
  21. package/docs/redirects.md +214 -0
  22. package/docs/security.md +4 -0
  23. package/docs/ssosilent.md +84 -0
  24. package/docs/v0-v1-upgrade-guide.md +61 -0
  25. package/docs/v1-v2-upgrade-guide.md +70 -0
  26. package/docs/v2-v3-upgrade-guide.md +41 -0
  27. package/karma.conf.js +43 -0
  28. package/ng-package.json +7 -0
  29. package/package.json +55 -31
  30. package/src/IMsalService.ts +31 -0
  31. package/src/constants.ts +20 -0
  32. package/src/msal.broadcast.config.ts +8 -0
  33. package/src/msal.broadcast.service.spec.ts +456 -0
  34. package/src/msal.broadcast.service.ts +74 -0
  35. package/src/msal.guard.config.ts +27 -0
  36. package/src/msal.guard.spec.ts +525 -0
  37. package/src/msal.guard.ts +290 -0
  38. package/src/msal.interceptor.config.ts +44 -0
  39. package/src/msal.interceptor.spec.ts +1125 -0
  40. package/src/msal.interceptor.ts +390 -0
  41. package/src/msal.module.ts +51 -0
  42. package/src/msal.navigation.client.spec.ts +95 -0
  43. package/src/msal.navigation.client.ts +57 -0
  44. package/src/msal.redirect.component.spec.ts +63 -0
  45. package/src/msal.redirect.component.ts +26 -0
  46. package/src/msal.service.spec.ts +452 -0
  47. package/src/msal.service.ts +97 -0
  48. package/src/packageMetadata.ts +3 -0
  49. package/{public-api.d.ts → src/public-api.ts} +35 -17
  50. package/src/test.ts +19 -0
  51. package/tsconfig.json +25 -0
  52. package/tsconfig.lib.json +27 -0
  53. package/tsconfig.lib.prod.json +10 -0
  54. package/tsconfig.spec.json +17 -0
  55. package/IMsalService.d.ts +0 -15
  56. package/constants.d.ts +0 -5
  57. package/esm2020/IMsalService.mjs +0 -6
  58. package/esm2020/azure-msal-angular.mjs +0 -5
  59. package/esm2020/constants.mjs +0 -10
  60. package/esm2020/msal.broadcast.config.mjs +0 -6
  61. package/esm2020/msal.broadcast.service.mjs +0 -57
  62. package/esm2020/msal.guard.config.mjs +0 -6
  63. package/esm2020/msal.guard.mjs +0 -218
  64. package/esm2020/msal.interceptor.config.mjs +0 -6
  65. package/esm2020/msal.interceptor.mjs +0 -270
  66. package/esm2020/msal.module.mjs +0 -46
  67. package/esm2020/msal.navigation.client.mjs +0 -51
  68. package/esm2020/msal.redirect.component.mjs +0 -31
  69. package/esm2020/msal.service.mjs +0 -81
  70. package/esm2020/packageMetadata.mjs +0 -4
  71. package/esm2020/public-api.mjs +0 -18
  72. package/fesm2015/azure-msal-angular.mjs +0 -736
  73. package/fesm2015/azure-msal-angular.mjs.map +0 -1
  74. package/fesm2020/azure-msal-angular.mjs +0 -732
  75. package/fesm2020/azure-msal-angular.mjs.map +0 -1
  76. package/index.d.ts +0 -5
  77. package/msal.broadcast.config.d.ts +0 -3
  78. package/msal.broadcast.service.d.ts +0 -17
  79. package/msal.guard.config.d.ts +0 -9
  80. package/msal.guard.d.ts +0 -43
  81. package/msal.interceptor.config.d.ts +0 -17
  82. package/msal.interceptor.d.ts +0 -63
  83. package/msal.module.d.ts +0 -13
  84. package/msal.navigation.client.d.ts +0 -19
  85. package/msal.redirect.component.d.ts +0 -15
  86. package/msal.service.d.ts +0 -31
  87. package/packageMetadata.d.ts +0 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,520 @@
1
+ # Change Log - @azure/msal-angular
2
+
3
+ This log was last generated on Mon, 07 Aug 2023 18:15:15 GMT and should not be manually modified.
4
+
5
+ <!-- Start content -->
6
+
7
+ ## 3.0.0
8
+
9
+ Mon, 07 Aug 2023 18:15:15 GMT
10
+
11
+ ### Major changes
12
+
13
+ - Update msal-angular to Angular 15 (joarroyo@microsoft.com)
14
+ - Rebase dev onto v3 #5843 (kshabelko@microsoft.com)
15
+ - Bump @azure/msal-browser to v3.0.0
16
+
17
+ ### Minor changes
18
+
19
+ - Remove unused main field in package.json #6190 (thomas.norling@microsoft.com)
20
+ - Update log to match name change #6036 (joarroyo@microsoft.com)
21
+ - Update rxjs dev dependency #6004 (joarroyo@microsoft.com)
22
+
23
+ ### Patches
24
+
25
+ - Fix package-lock.json #5788 (kshabelko@microsoft.com)
26
+
27
+ ## 2.5.7
28
+
29
+ Mon, 01 May 2023 20:47:44 GMT
30
+
31
+ ### Patches
32
+
33
+ - Bump @azure/msal-browser to v2.36.0
34
+
35
+ ## 2.5.5
36
+
37
+ Mon, 03 Apr 2023 21:29:32 GMT
38
+
39
+ ### Patches
40
+
41
+ - Bump @azure/msal-browser to v2.35.0
42
+
43
+ ## 2.5.4
44
+
45
+ Tue, 07 Mar 2023 16:48:51 GMT
46
+
47
+ ### Patches
48
+
49
+ - Avoid throwing 'Interaction is currently in progress' error in msal interceptor #5146 (ykshtein@gmail.com)
50
+ - Bump @azure/msal-browser to v2.34.0
51
+
52
+ ## 2.5.3
53
+
54
+ Mon, 06 Feb 2023 18:51:51 GMT
55
+
56
+ ### Patches
57
+
58
+ - Update ProtectedResourceScopes type to allow unprotected resource for concrete request type (#5563) (milos.buda@hotmail.com)
59
+ - Bump @azure/msal-browser to v2.33.0
60
+
61
+ ## 2.5.2
62
+
63
+ Mon, 09 Jan 2023 22:44:57 GMT
64
+
65
+ ### Patches
66
+
67
+ - Bump @azure/msal-browser to v2.32.2
68
+
69
+ ## 2.5.1
70
+
71
+ Wed, 07 Dec 2022 16:53:07 GMT
72
+
73
+ ### Patches
74
+
75
+ - Bump @azure/msal-browser to v2.32.1
76
+
77
+ ## 2.5.0
78
+
79
+ Mon, 21 Nov 2022 19:14:45 GMT
80
+
81
+ ### Minor changes
82
+
83
+ - Bump @azure/msal-browser to v2.32.0
84
+
85
+ ## 2.4.6
86
+
87
+ Mon, 07 Nov 2022 22:46:55 GMT
88
+
89
+ ### Patches
90
+
91
+ - Bump @azure/msal-browser to v2.31.0
92
+
93
+ ## 2.4.5
94
+
95
+ Mon, 10 Oct 2022 22:27:03 GMT
96
+
97
+ ### Patches
98
+
99
+ - Bump @azure/msal-browser to v2.30.0
100
+
101
+ ## 2.4.4
102
+
103
+ Mon, 03 Oct 2022 22:12:26 GMT
104
+
105
+ ### Patches
106
+
107
+ - Bump @azure/msal-browser to v2.29.0
108
+
109
+ ## 2.4.3
110
+
111
+ Mon, 12 Sep 2022 18:19:32 GMT
112
+
113
+ ### Patches
114
+
115
+ - Bump @azure/msal-browser to v2.28.3
116
+
117
+ ## 2.4.2
118
+
119
+ Fri, 02 Sep 2022 18:06:53 GMT
120
+
121
+ ### Patches
122
+
123
+ - Bump @azure/msal-browser to v2.28.2
124
+
125
+ ## 2.4.1
126
+
127
+ Mon, 01 Aug 2022 22:22:35 GMT
128
+
129
+ ### Patches
130
+
131
+ - Bump @azure/msal-browser to v2.28.1
132
+
133
+ ## 2.4.0
134
+
135
+ Mon, 18 Jul 2022 23:26:21 GMT
136
+
137
+ ### Minor changes
138
+
139
+ - Add MsalBroadcastService configurations, allow replay of past events #4998 (joarroyo@microsoft.com)
140
+ - Bump @azure/msal-browser to v2.28.0
141
+
142
+ ## 2.3.3
143
+
144
+ Tue, 05 Jul 2022 22:37:04 GMT
145
+
146
+ ### Patches
147
+
148
+ - Bump @azure/msal-browser to v2.27.0
149
+
150
+ ## 2.3.2
151
+
152
+ Mon, 13 Jun 2022 22:28:09 GMT
153
+
154
+ ### Patches
155
+
156
+ - Bump @azure/msal-browser to v2.26.0
157
+
158
+ ## 2.3.1
159
+
160
+ Mon, 06 Jun 2022 22:13:00 GMT
161
+
162
+ ### Patches
163
+
164
+ - Bump @azure/msal-browser to v2.25.0
165
+
166
+ ## 2.3.0
167
+
168
+ Mon, 02 May 2022 22:23:33 GMT
169
+
170
+ ### Minor changes
171
+
172
+ - Add support for acquiring tokens from the native broker #4531 (thomas.norling@microsoft.com)
173
+ - Bump @azure/msal-browser to v2.24.0
174
+
175
+ ## 2.2.0
176
+
177
+ Mon, 04 Apr 2022 21:12:41 GMT
178
+
179
+ ### Minor changes
180
+
181
+ - Add support for rxjs v7 and Angular 13 #4605 (rginsburg@microsoft.com)
182
+ - Bump @azure/msal-browser to v2.23.0
183
+
184
+ ## 2.1.2
185
+
186
+ Mon, 07 Mar 2022 23:28:43 GMT
187
+
188
+ ### Patches
189
+
190
+ - Bump @azure/msal-browser to v2.22.1
191
+
192
+ ## 2.1.1
193
+
194
+ Tue, 08 Feb 2022 00:41:06 GMT
195
+
196
+ ### Patches
197
+
198
+ - Bump @azure/msal-browser to v2.22.0
199
+
200
+ ## 2.1.0
201
+
202
+ Tue, 04 Jan 2022 00:20:29 GMT
203
+
204
+ ### Minor changes
205
+
206
+ - Bump @azure/msal-browser to v2.21.0
207
+
208
+ ## 2.0.6
209
+
210
+ Tue, 07 Dec 2021 00:17:01 GMT
211
+
212
+ ### Patches
213
+
214
+ - Fix angular guard /code check to ensure proper length #4249 (janutter@microsoft.com)
215
+ - Bump @azure/msal-browser to v2.20.0
216
+
217
+ ## 2.0.5
218
+
219
+ Mon, 01 Nov 2021 23:53:22 GMT
220
+
221
+ ### Patches
222
+
223
+ - Fix redirect processing when allowRedirectInIframe: true #4142 (thomas.norling@microsoft.com)
224
+ - Ensure code is in fragment for Angular guard #4190 (janutter@microsoft.com)
225
+ - Bump @azure/msal-browser to v2.19.0
226
+
227
+ ## 2.0.4
228
+
229
+ Mon, 04 Oct 2021 23:12:35 GMT
230
+
231
+ ### Patches
232
+
233
+ - Export library version #4124 (thomas.norling@microsoft.com)
234
+ - Bump @azure/msal-browser to v2.18.0
235
+
236
+ ## 2.0.3
237
+
238
+ Tue, 07 Sep 2021 23:22:24 GMT
239
+
240
+ ### Patches
241
+
242
+ - Fix inProgress state bug when returning from a redirect #4013 (thomas.norling@microsoft.com)
243
+ - Fix infinite reload on route protected by MsalGuard when '#code=' appears in the url #3995 (thomas.norling@microsoft.com)
244
+
245
+ ## 2.0.2
246
+
247
+ Thu, 22 Jul 2021 22:50:22 GMT
248
+
249
+ ### Patches
250
+
251
+ - allow unprotect resources on certain http methods #3878 (daniel.vargastr@gmail.com)
252
+ - fix: fixing the npm audit issues (samuelkamau@microsoft.com)
253
+
254
+ ## 2.0.1
255
+
256
+ Mon, 28 Jun 2021 23:39:48 GMT
257
+
258
+ ### Patches
259
+
260
+ - Don't use normalized url in Angular custom nav client #3757 (janutter@microsoft.com)
261
+ - MsalInterceptor relative url fix #3729 (joarroyo@microsoft.com)
262
+ - Add window check to msal-guard #3664 (joarroyo@microsoft.com)
263
+
264
+ ## 2.0.0
265
+
266
+ Thu, 13 May 2021 18:34:08 GMT
267
+
268
+ ### Patches
269
+
270
+ - Move MSAL Angular v2 and MSAL React to GA (janutter@microsoft.com)
271
+
272
+ ## 2.0.0-beta.6
273
+
274
+ Wed, 12 May 2021 18:35:03 GMT
275
+
276
+ ### Changes
277
+
278
+ - Fix navigation bug when clearing auth code from hash in msal-angular #3609 (hemoral@microsoft.com)
279
+ - Update MsalInterceptor to accept HTTP methods in protectedResourceMap #3546 (joarroyo@microsoft.com)
280
+ - Properly handle MSAL guard on redirect uri for hash and path routing (janutter@microsoft.com)
281
+ - Update msal-angular tooling to angular v11 #3584 (joarroyo@microsoft.com)
282
+
283
+ ## 2.0.0-beta.5
284
+
285
+ Thu, 22 Apr 2021 23:26:08 GMT
286
+
287
+ ### Changes
288
+
289
+ - Prevent MSAL Guard from navigating app to url with code hash #3506 (janutter@microsoft.com)
290
+ - Add .browserslistrc #3471 (thomas.norling@microsoft.com)
291
+
292
+ ## 2.0.0-beta.4
293
+
294
+ Wed, 14 Apr 2021 18:39:53 GMT
295
+
296
+ ### Changes
297
+
298
+ - fix(Msal-Angular): Dynamic interceptor authority (1292510+svrooij@users.noreply.github.com)
299
+
300
+ ## 2.0.0-beta.3
301
+
302
+ Wed, 31 Mar 2021 22:25:57 GMT
303
+
304
+ ### Changes
305
+
306
+ - Update MsalInterceptor types and getScopesForEndpoint with query and relative paths #3307 (joarroyo@microsoft.com)
307
+
308
+ ## 2.0.0-beta.2
309
+
310
+ Wed, 24 Mar 2021 22:55:46 GMT
311
+
312
+ ### Changes
313
+
314
+ - Add support for logoutPopup API #3044 (thomas.norling@microsoft.com)
315
+ - Add MsalCustomNavigationClient, updates samples and docs #3174 (joarroyo@microsoft.com)
316
+ - Update MsalGuard and \_inProgress subject #3269 (joarroyo@microsoft.com)
317
+ - Update MSAL Service handleRedirectObservable hash handling #3243 (joarroyo@microsoft.com)
318
+
319
+ ## 2.0.0-beta.1
320
+
321
+ Mon, 15 Mar 2021 23:45:17 GMT
322
+
323
+ ### Changes
324
+
325
+ - fix: #3149 - Msal Redirect Component was not part of the Module (rchinnakampalli@worldbankgroup.org)
326
+
327
+ ## 2.0.0-beta.0
328
+
329
+ Wed, 03 Mar 2021 21:47:05 GMT
330
+
331
+ ### Changes
332
+
333
+ - Fix BroadcastService logging to use msal-angular version, update samples versions, profile, and links (#3015) (joarroyo@microsoft.com)
334
+ - Add FAQ.md and active accounts in sample (#2977) (joarroyo@microsoft.com)
335
+ - Update msal-angular preinstall script to force npm-force-resolutions version (#3074) (joarroyo@microsoft.com)
336
+
337
+ ## 2.0.0-alpha.6
338
+
339
+ Thu, 18 Feb 2021 00:34:32 GMT
340
+
341
+ ### Changes
342
+
343
+ - Await loginRedirect in MSAL Guard to prevent race conditions (janutter@microsoft.com)
344
+
345
+ ## 2.0.0-alpha.5
346
+
347
+ Tue, 09 Feb 2021 01:48:22 GMT
348
+
349
+ ### Changes
350
+
351
+ - Msal-angular typedocs and instrumentation (#2863) (joarroyo@microsoft.com)
352
+ - Fix version.json import errors (#2993) (thomas.norling@microsoft.com)
353
+ - Update ssoSilent and cors-api documentation (#2971) (joarroyo@microsoft.com)
354
+
355
+ ## 2.0.0-alpha.4
356
+
357
+ Tue, 02 Feb 2021 01:56:47 GMT
358
+
359
+ ### Changes
360
+
361
+ - Invoke interaction if MSAL Interceptor resolves with null access token, mitigates B2C service not supporting RTs for multiple resources (janutter@microsoft.com)
362
+ - Pass SKU and version to msal-browser (#2845) (joarroyo@microsoft.com)
363
+ - Add redirect component, get interactionStatus from msal-browser, add inProgress$, and sample updates (#2885) (joarroyo@microsoft.com)
364
+ - Get package version from version.json (#2915) (thomas.norling@microsoft.com)
365
+ - Add version detection to msal guard for canLoad interface (#2948) (joarroyo@microsoft.com)
366
+
367
+ ## 2.0.0-alpha.3
368
+
369
+ Tue, 12 Jan 2021 00:51:26 GMT
370
+
371
+ ### Changes
372
+
373
+ - Make scopes optional for msal-guard config (#2829) (joarroyo@microsoft.com)
374
+ - Interceptor, guard, and samples to use active account (#2784) (joarroyo@microsoft.com)
375
+ - Msal guard supports angular routes for login failure (#2803) (joarroyo@microsoft.com)
376
+ - Add additional interfaces to msal-guard (#2759) (joarroyo@microsoft.com)
377
+
378
+ ## 2.0.0-alpha.1
379
+
380
+ Mon, 07 Dec 2020 23:02:52 GMT
381
+
382
+ ### Changes
383
+
384
+ - MSAL Angular v2 alpha.1 changes (janutter@microsoft.com)
385
+
386
+ ## 2.0.0-alpha.0
387
+
388
+ Thu, 12 Nov 2020 00:45:30 GMT
389
+
390
+ ### Changes
391
+
392
+ - Add msal-angular-v2-alpha-0 (#2463) (joarroyo@microsoft.com)
393
+
394
+ ## 1.1.2
395
+
396
+ Wed, 11 Nov 2020 23:33:20 GMT
397
+
398
+ ### Patches
399
+
400
+ - Pass generic to ModuleWithProviders for MsalModule v1, set supported Angular versions to 6-9 (#2577) (janutter@microsoft.com)
401
+
402
+ ## 1.1.0
403
+
404
+ Tue, 25 Aug 2020 00:40:45 GMT
405
+
406
+ ### Minor changes
407
+
408
+ - Update protectedResources with wildcard, remove unprotectedResources from msal-angular (#2029) (joarroyo@microsoft.com)
409
+
410
+ ## 1.0.0
411
+
412
+ Stable release of MSAL Angular v1. See beta versions below for complete list of changes.
413
+
414
+ ### Highlights:
415
+
416
+ - Requires `msal@1.3.0`.
417
+ - Requires `rxjs@6`.
418
+ - Adds support for Angular 6, 7, 8, 9.
419
+ - Drops support for Angular 4, 5.
420
+ - `MsalModule.forRoot` now takes two arguement.
421
+ - The first argument is the configuration object, which is the [same `Configuration` object](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-core/src/Configuration.ts) you would pass to `msal`.
422
+ - The second argument is a `MsalAngularConfiguration` object, containing the values for `consentScopes`, `popUp`, and `extraQueryParameters`.
423
+ - See the [updated sample](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/angular6-sample-app/src/app/app.module.ts) for an example of how to pass these configuration objects.
424
+ - The `acquireToken` and `login` methods now take a single `AuthenticationParameters` object as parameters.
425
+ - `getUser()` is now `getAccount()`.
426
+ - Broadcast events now emit objects, instead of just strings.
427
+ - Applications using `Redirect` methods can optionally implement the `handleRedirectCallback` method (and have it run on every page load), which will capture the result of redirect operations. See the [Angular sample](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/angular6-sample-app/src/app/app.component.ts) for an example of how to implement.
428
+ - Add `ssoSilent` API. This API requires either a `loginHint` or `sid`, and is intended to be used when you want to SSO to an existing AAD session. Emits `msal:ssoSuccess` and `msal:ssoFailure` events.
429
+
430
+ ### Fixes
431
+
432
+ - Ensure interceptor uses ID token property if response is of type id_token (#1528)
433
+
434
+ ## 1.0.0-beta.5
435
+
436
+ - Requires `msal@1.3.0-beta.0`.
437
+ - When MSAL Guard fails to silent SSO, prompt for interaction. (#1455)
438
+ - MSAL Guard should properly support hash routing and non-root base urls. (#1452)
439
+ - Fix isEmpty check for unprotectedResources. (#1454)
440
+ - Update handleRedirectCallback in Angular samples to log entire response. (#1428)
441
+ - Don't broadcast `msal:login` events from MSAL Guard. (#1435)
442
+ - Add guide for [Configuration](./docs/configuration.md).
443
+
444
+ ## 1.0.0-beta.4
445
+
446
+ - Requires `msal@1.2.2-beta.2`, which add `redirectStartUrl` to `AuthenticationParameters`, so that when a redirect operation from MSAL Guard is succesfully completed, redirect to the desired destination page. (#1343)
447
+ - Short-circuit MSAL Guard if it detects it is loaded in an iframe, to prevent timeouts that occur as a result of redirecting. (#1337)
448
+ - If framework.protectedResourceMap/unprotectedResources is empty, use msalAngularConfig.protectedResourceMap/unprotectedResources. (#1355)
449
+
450
+ ## 1.0.0-beta.3
451
+
452
+ Fixes issues related to support for Angular 9 and Ivy.
453
+
454
+ - Library is now built using the Angular 9 CLI and `ng-packagr`. (#1323)
455
+ - Angular 9 sample now available in the [samples folder](../../samples/angular9-sample-app/). (#1312)
456
+ - `MSAL_CONFIG` and `MSAL_CONFIG_ANGULAR` available from the package's main export. (#1323)
457
+ - Removes the `WindowWrapper` class. (#1323)
458
+
459
+ ## 1.0.0-beta.2
460
+
461
+ Fixes two issues related to `aot` mode.
462
+
463
+ - Requires `msal@1.2.2-beta.0`, which adds `setLogger` function to dynamically set the logger callback when running in `aot` mode. (#1213).
464
+ - Moves `protectedResourceMap` and `unprotectedResources` to MSAL Angular-specific configuration object. `protectedResourceMap` can now be `[string, string[]][]` or a `Map`. This is also to mitigate issues with `aot` mode. (#1213).
465
+
466
+ ## 1.0.0-beta.1
467
+
468
+ Initial upgrade to be compatible with new version of Angular (6+).
469
+
470
+ - Requires `msal@1.2.1`, `rxjs@6`, `@angular/core@>=6`, `@angular/common@>=6` as peer dependencies.
471
+ - `rxjs-compat` is no longer required by MSAL Angular.
472
+
473
+ ### Known issues
474
+
475
+ - `aot` compiling will throw errors for `new Logger()` and `new Map()` ("Function calls are not supported in decorators but 'Logger/Map' was called."). This will be addressed in a follow up release.
476
+
477
+ ## 1.0.0-alpha.1
478
+
479
+ - Requires `msal@1.2.0-beta.1`, which includes fixes for bugs with redirect methods.
480
+ - `handleRedirectCallback` will now emit events after returning from the redirect.
481
+
482
+ ## 1.0.0-alpha.0
483
+
484
+ Initial upgrade to use `msal@1.2.0`.
485
+
486
+ - `msal@1.2.0` package is now a peer dependency, and must be installed alongside `@azure/msal-angular`: `npm install msal@1.2.0 @azure/msal-angular@alpha`
487
+ - `MsalModule.forRoot` now takes two arguement.
488
+ - The first argument is the configuration object, which is the [same `Configuration` object](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-core/src/Configuration.ts) you would pass to `msal`.
489
+ - The second argument is a `MsalAngularConfiguration` object, containing the values for `consentScopes`, `popUp`, and `extraQueryParameters`.
490
+ - See the [updated sample](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/angular6-sample-app/src/app/app.module.ts) for an example of how to pass these configuration objects.
491
+ - The `acquireToken` and `login` methods now take a single `AuthenticationParameters` object as parameters.
492
+ - `getUser()` is now `getAccount()`.
493
+ - Broadcast events now emit objects, instead of just strings.
494
+ - Applications using `Redirect` methods must implement the `handleRedirectCallback` method (and have it run on every page load), which will capture the result of redirect operations. See the [Angular sample](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/angular6-sample-app/src/app/app.component.ts) for an example of how to implement.
495
+
496
+ ## 0.1.4
497
+
498
+ - Fix msal-angular to transpile for IE11 compatibility: https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/868
499
+ - Upgrade to msal-core version 0.2.2, namely including support for `storeAuthStateInCookie` for IE11.
500
+
501
+ ## 0.1.3
502
+
503
+ - Fix msal-angular exports to properly support IE11: https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/785
504
+ - **Note**: Unfortunately, the fix above caused breakage with `aot` compiling, so `0.1.3` has been deprecated in npm. We recommend pinning to `0.1.2` while we work on a fix. See https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/798
505
+
506
+ ## 0.1.2
507
+
508
+ - AOT fix for protectedResourceMap issue https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/407
509
+
510
+ - Broadcast message returns object
511
+
512
+ ## 0.1.1
513
+
514
+ - Fixed AOT issue https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/386
515
+
516
+ - Upgraded to latest msal-core version 0.2.1
517
+
518
+ ## 0.1.0
519
+
520
+ Preview Release