react-aad-msal
Version:
A react component that integrates with Azure AD (v2, MSAL).
188 lines (172 loc) • 21.1 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
## [v2.3.5](https://github.com/syncweek-react-aad/react-aad/compare/v0.3.7...v2.3.5) - 2020-04-18
### Merged
- Removing domain_hint parameter from silent calls as it is not required when executing acquire token silent [`#220`](https://github.com/syncweek-react-aad/react-aad/pull/220)
- Updated Package Json [`#224`](https://github.com/syncweek-react-aad/react-aad/pull/224)
- Fixed Typo [`#226`](https://github.com/syncweek-react-aad/react-aad/pull/226)
- fix import using baseUrl [`#205`](https://github.com/syncweek-react-aad/react-aad/pull/205)
- added typescript sample with all hooks [`#204`](https://github.com/syncweek-react-aad/react-aad/pull/204)
- Resolve referential issues, and pass correct params to loginToRefreshToken [`#202`](https://github.com/syncweek-react-aad/react-aad/pull/202)
- Using input auth params if provided when user interaction is required while retrieving access token [`#200`](https://github.com/syncweek-react-aad/react-aad/pull/200)
- Update msal version to 1.2.1 [`#196`](https://github.com/syncweek-react-aad/react-aad/pull/196)
- Fix reference issue to enums [`#194`](https://github.com/syncweek-react-aad/react-aad/pull/194)
- Modify the documentation for the new monorepo strucutre [`#191`](https://github.com/syncweek-react-aad/react-aad/pull/191)
- Monorepo [`#190`](https://github.com/syncweek-react-aad/react-aad/pull/190)
- Fix path in package.main [`#184`](https://github.com/syncweek-react-aad/react-aad/pull/184)
- Fix pacakge.json main field to point to the CommonJS build so TypeScript users can utilize typings [`#182`](https://github.com/syncweek-react-aad/react-aad/pull/182)
- Fix non-function children of AzureAD from rendering when authentication is InProgres [`#181`](https://github.com/syncweek-react-aad/react-aad/pull/181)
- Fix wrong auth parameters being used when renewing tokens [`#180`](https://github.com/syncweek-react-aad/react-aad/pull/180)
- Andcra/fix auth params [`#179`](https://github.com/syncweek-react-aad/react-aad/pull/179)
- Produce ES6 modules, ES5 CommonJS, and UMD builds [`#175`](https://github.com/syncweek-react-aad/react-aad/pull/175)
- Hotfix: infinite authentication loop when forceLogin is true [`#174`](https://github.com/syncweek-react-aad/react-aad/pull/174)
- Andcra/fix promise error [`#173`](https://github.com/syncweek-react-aad/react-aad/pull/173)
- Expose the IMsalAuthProfiderConfig interface [`#172`](https://github.com/syncweek-react-aad/react-aad/pull/172)
- Update to MSAL version 1.2.0 and fix breaking changes [`#170`](https://github.com/syncweek-react-aad/react-aad/pull/170)
- Remove exports from MSAL peerDependency [`#168`](https://github.com/syncweek-react-aad/react-aad/pull/168)
- Bump the version to 2.0.0 in preparation for new release [`#167`](https://github.com/syncweek-react-aad/react-aad/pull/167)
- Add a new authentication state, InProgress [`#166`](https://github.com/syncweek-react-aad/react-aad/pull/166)
- Make MSAL a peer dependency so clients can choose which version to use [`#163`](https://github.com/syncweek-react-aad/react-aad/pull/163)
- Fix infinite loop of login process when forceLogin is true and an error occurs [`#165`](https://github.com/syncweek-react-aad/react-aad/pull/165)
- Update MSAL to the latest version [`#162`](https://github.com/syncweek-react-aad/react-aad/pull/162)
- Update MSAL to beta 3 [`#161`](https://github.com/syncweek-react-aad/react-aad/pull/161)
- Set displayName of components for better rendering in React DevTools [`#157`](https://github.com/syncweek-react-aad/react-aad/pull/157)
- No longer automatically fetch Access Token on login [`#156`](https://github.com/syncweek-react-aad/react-aad/pull/156)
- Update MSAL dependency [`#153`](https://github.com/syncweek-react-aad/react-aad/pull/153)
- upgrade react-scripts to 3.2.0 (minor upgrade) [`#146`](https://github.com/syncweek-react-aad/react-aad/pull/146)
- remove react/react-dom dependency from sample project [`#144`](https://github.com/syncweek-react-aad/react-aad/pull/144)
- Feature: catch authentication errors [`#140`](https://github.com/syncweek-react-aad/react-aad/pull/140)
- don't lint dist files (even if staged) [`#142`](https://github.com/syncweek-react-aad/react-aad/pull/142)
- Fix typos in README.md [`#136`](https://github.com/syncweek-react-aad/react-aad/pull/136)
- Export IAzureADFunctionProps [`#138`](https://github.com/syncweek-react-aad/react-aad/pull/138)
- Update Access Token Refresh Docs [`#135`](https://github.com/syncweek-react-aad/react-aad/pull/135)
- Update README.md [`#130`](https://github.com/syncweek-react-aad/react-aad/pull/130)
- Andcra/readme edits [`#127`](https://github.com/syncweek-react-aad/react-aad/pull/127)
- Update the README to match the v1.0.0 changes [`#125`](https://github.com/syncweek-react-aad/react-aad/pull/125)
- Add Function as a Child Component pattern to the AzureAD component for easier use [`#126`](https://github.com/syncweek-react-aad/react-aad/pull/126)
- Attempt to refresh IdToken if it has expired [`#123`](https://github.com/syncweek-react-aad/react-aad/pull/123)
- Clean the project folder / remove leftover traces of Create React App [`#121`](https://github.com/syncweek-react-aad/react-aad/pull/121)
- Add ability to get a valid/refreshed token for API request [`#119`](https://github.com/syncweek-react-aad/react-aad/pull/119)
- Fix bug where UserAgentApplication is not being exposed properly [`#114`](https://github.com/syncweek-react-aad/react-aad/pull/114)
- Fix spelling mistake in README [`#112`](https://github.com/syncweek-react-aad/react-aad/pull/112)
- Expose the full AuthResponse details [`#107`](https://github.com/syncweek-react-aad/react-aad/pull/107)
- Add the withAuthentication Higher-Order Component. Resolves #108. [`#111`](https://github.com/syncweek-react-aad/react-aad/pull/111)
- Fix issues described in #102 where Redirection auth is not properly setting the token, and not storing in Redux until page refresh [`#110`](https://github.com/syncweek-react-aad/react-aad/pull/110)
- Fix sample code casing [`#101`](https://github.com/syncweek-react-aad/react-aad/pull/101)
- Wrong enum type for redirect in sample [`#96`](https://github.com/syncweek-react-aad/react-aad/pull/96)
- Call redux store first and then change state [`#94`](https://github.com/syncweek-react-aad/react-aad/pull/94)
- Update MSAL to v1.0.1 [`#93`](https://github.com/syncweek-react-aad/react-aad/pull/93)
- Fix broken sample app. Correct sample app documentation. [`#91`](https://github.com/syncweek-react-aad/react-aad/pull/91)
- Update README.md [`#87`](https://github.com/syncweek-react-aad/react-aad/pull/87)
- Resolves #83, adding a forceLogin parameter to the AzureAD component [`#84`](https://github.com/syncweek-react-aad/react-aad/pull/84)
- Add changelog [`#82`](https://github.com/syncweek-react-aad/react-aad/pull/82)
- Fix edge case where AzureAD render() function can return void [`#81`](https://github.com/syncweek-react-aad/react-aad/pull/81)
- Get latest from Master [`#3`](https://github.com/syncweek-react-aad/react-aad/pull/3)
- Fix unauthenticated callback being called even after login [`#80`](https://github.com/syncweek-react-aad/react-aad/pull/80)
- Merge latest from master [`#2`](https://github.com/syncweek-react-aad/react-aad/pull/2)
- Adding prettier and repo badges [`#78`](https://github.com/syncweek-react-aad/react-aad/pull/78)
- Switch to using commonjs [`#77`](https://github.com/syncweek-react-aad/react-aad/pull/77)
- Clean up dev dependencies [`#76`](https://github.com/syncweek-react-aad/react-aad/pull/76)
- Generate type definition files as part of build [`#75`](https://github.com/syncweek-react-aad/react-aad/pull/75)
- Update dependencies to resolve security vulnerabilities, and enable new MSAL config options [`#70`](https://github.com/syncweek-react-aad/react-aad/pull/70)
- Merge with latest from base project [`#1`](https://github.com/syncweek-react-aad/react-aad/pull/1)
- Clean up and replace travis with azure pipelines [`#73`](https://github.com/syncweek-react-aad/react-aad/pull/73)
- Added option for redirctUri to authProvider [`#56`](https://github.com/syncweek-react-aad/react-aad/pull/56)
- Update README.md with disclaimer [`#60`](https://github.com/syncweek-react-aad/react-aad/pull/60)
- Changing the order that dispatch and authentiationState are handled [Issue #53] [`#57`](https://github.com/syncweek-react-aad/react-aad/pull/57)
- Move AzureAD component to its own file [`#51`](https://github.com/syncweek-react-aad/react-aad/pull/51)
- Refactor MSAL-specific configuration options into seperate prop [`#50`](https://github.com/syncweek-react-aad/react-aad/pull/50)
- Exporting AAD_LOGOUT_SUCCESS [Issue #48] [`#49`](https://github.com/syncweek-react-aad/react-aad/pull/49)
- Refactor MSAL code out of AzureAD Component [`#45`](https://github.com/syncweek-react-aad/react-aad/pull/45)
- update to use GitHub credentials instead of VSTS [`#43`](https://github.com/syncweek-react-aad/react-aad/pull/43)
- feat(login persistence) component recognizes when a user is logged in after refresh [`#41`](https://github.com/syncweek-react-aad/react-aad/pull/41)
- Need to force bump version to fix deploy [`#40`](https://github.com/syncweek-react-aad/react-aad/pull/40)
- Fix travis3 [`#34`](https://github.com/syncweek-react-aad/react-aad/pull/34)
- Updating README.md [`#36`](https://github.com/syncweek-react-aad/react-aad/pull/36)
- fix travis build [`#33`](https://github.com/syncweek-react-aad/react-aad/pull/33)
### Fixed
- Add the withAuthentication Higher-Order Component. Resolves #108. (#111) [`#108`](https://github.com/syncweek-react-aad/react-aad/issues/108) [`#108`](https://github.com/syncweek-react-aad/react-aad/issues/108)
- Fix broken sample app. Correct sample app documentation. (#91) [`#88`](https://github.com/syncweek-react-aad/react-aad/issues/88)
- Resolves #83, adding a forceLogin parameter to the AzureAD component (#84) [`#83`](https://github.com/syncweek-react-aad/react-aad/issues/83)
- Fix #69 where the UnauthenticatedCallback gets executed even after logging in. [`#69`](https://github.com/syncweek-react-aad/react-aad/issues/69)
- Fixed a few references to the old npm rimraf script. Also fixes #26 where use of the npm --prefix flag was cusing scripts to install to ./sample folder [`#26`](https://github.com/syncweek-react-aad/react-aad/issues/26)
- Fixes #74 by generating type definition files as part of build output [`#74`](https://github.com/syncweek-react-aad/react-aad/issues/74)
### Commits
- Update NPM dependencies to fix all detected security vulnerabilities, and enable all new MSAL options to be used. [`cc53b06`](https://github.com/syncweek-react-aad/react-aad/commit/cc53b06513e92601545cea80636ef9cf364914f0)
- Remove package.lock.json to allow for merge [`08eb5ff`](https://github.com/syncweek-react-aad/react-aad/commit/08eb5ffd5a3ca753ba688c87bb4ca3d3373352d5)
- Update react-dom npm and address PR comment [`d621de8`](https://github.com/syncweek-react-aad/react-aad/commit/d621de879402fe1d7cde5b4f66f2d073200b2f16)
- Adding prettier, format files, and badges [`3a8b42e`](https://github.com/syncweek-react-aad/react-aad/commit/3a8b42eda16f142c9dd55cf0ad21ab7f4d7dac55)
- Fix unit tests [`b2259b8`](https://github.com/syncweek-react-aad/react-aad/commit/b2259b828eb8415887548b0467d7d38230e4a9d5)
- Male all the callback props on the AzureAD component optional [`23824c1`](https://github.com/syncweek-react-aad/react-aad/commit/23824c1476a296d64863b06ca2b777e380a71fd4)
- update script and travis build [`599279e`](https://github.com/syncweek-react-aad/react-aad/commit/599279ea64eb73b9bf4162bb78d2dcb653098853)
- Update issue templates [`31cc5d7`](https://github.com/syncweek-react-aad/react-aad/commit/31cc5d75e6dafe40ee12576947be1e6190124cc6)
- Add linter changes [`1b750bf`](https://github.com/syncweek-react-aad/react-aad/commit/1b750bf7c19c4f5a4d8540f7292da8167f88430f)
- Simplify authentication state and user recieved callbacks [`6e25f32`](https://github.com/syncweek-react-aad/react-aad/commit/6e25f32646db65312ac435d488494a607354a5f6)
- fixing build when push vs pr [`df1f666`](https://github.com/syncweek-react-aad/react-aad/commit/df1f6664eb810601f1597243143692d54e65e591)
- Remove ts-jest config from package.json, as we rely on babel-jest to transpile TypeScript [`c6e6401`](https://github.com/syncweek-react-aad/react-aad/commit/c6e64014b005338ecb159d5c0332eae1baa899b2)
- Fix readme formatting [`93e318e`](https://github.com/syncweek-react-aad/react-aad/commit/93e318e9ef9ae40c3eb5381ea63e3b68b46a9ca5)
- FIx edge case where if the authenticatedFunction or unauthenticatedFunction don't return a value, React will throw excetions expecting render() to result in an element or null return value [`f9761e9`](https://github.com/syncweek-react-aad/react-aad/commit/f9761e9ef053c8f9085662a28987e1b7f3874a12)
- Add missing markdown [`f4f040e`](https://github.com/syncweek-react-aad/react-aad/commit/f4f040ec5f5e240db12063b7e883e982f1d46c00)
- Export the IUSerInfo interface so that TypeScript projects can strong type the user type [`03b7236`](https://github.com/syncweek-react-aad/react-aad/commit/03b72368da20c1c41133603856a3e005baa1a084)
- Merge latest from Master [`51cdd32`](https://github.com/syncweek-react-aad/react-aad/commit/51cdd3215686a7a57f2f408c17652c13128c3ea4)
- Complete merge conflict [`f2a88f9`](https://github.com/syncweek-react-aad/react-aad/commit/f2a88f9020740f1a836e22fdde9ce44481f8b633)
- Merge latest with master [`2b993c6`](https://github.com/syncweek-react-aad/react-aad/commit/2b993c611566550d02d21a25d80bb389d537d2d7)
- Merge with latest CI changes from Master [`b20bf1f`](https://github.com/syncweek-react-aad/react-aad/commit/b20bf1fb755f4f04f7bc54fcf015562de79d96d1)
- Update .travis.yml [`43fed94`](https://github.com/syncweek-react-aad/react-aad/commit/43fed94b251efd41b9ce8d3bb2f2761b63ece1ee)
- Exporting AAD_LOGOUT_SUCCESS [`a105c37`](https://github.com/syncweek-react-aad/react-aad/commit/a105c372921e56e9c8128b0851c1479c47931184)
- Changing the orderthat dispatch and authentiationState are handled [`c957938`](https://github.com/syncweek-react-aad/react-aad/commit/c9579384967f6ecde9eed0f96adfd2d0b791ffe7)
- merge from master [`76edeac`](https://github.com/syncweek-react-aad/react-aad/commit/76edeac6ac9d5677518a2e2d7e8c542cb658b53b)
- try travis update [`ea2f8df`](https://github.com/syncweek-react-aad/react-aad/commit/ea2f8df2bb1539ec2a3a2099f482460be95d6ff5)
## v0.3.7 - 2018-05-14
### Merged
- remove clean, corrected skip ci to ci skip [`#30`](https://github.com/syncweek-react-aad/react-aad/pull/30)
- Updating Travis Settings [`#28`](https://github.com/syncweek-react-aad/react-aad/pull/28)
- added buttons to switch between samples [Issue #9] [`#24`](https://github.com/syncweek-react-aad/react-aad/pull/24)
- enabling travis build [`#25`](https://github.com/syncweek-react-aad/react-aad/pull/25)
- Removed use of symlink and pointed to react-aad-msal module through [Issue #15 & #18] [`#22`](https://github.com/syncweek-react-aad/react-aad/pull/22)
- Adding AAD_LOGOUT_SUCCESS case to reduxStore.js [Issue #20] [`#21`](https://github.com/syncweek-react-aad/react-aad/pull/21)
- Setting tsconfig to exclude sample folder [Issue #10] [`#17`](https://github.com/syncweek-react-aad/react-aad/pull/17)
- Updating READMEs [Issue #11] [`#16`](https://github.com/syncweek-react-aad/react-aad/pull/16)
- added microsoft copyright statement / mit license to files [`#14`](https://github.com/syncweek-react-aad/react-aad/pull/14)
- Added sample application [`#12`](https://github.com/syncweek-react-aad/react-aad/pull/12)
- Fix Redirect LoginType to authenticate [`#4`](https://github.com/syncweek-react-aad/react-aad/pull/4)
- Updating README to add component property details [`#2`](https://github.com/syncweek-react-aad/react-aad/pull/2)
- Moving sync week project from VSTS to GH. [`#1`](https://github.com/syncweek-react-aad/react-aad/pull/1)
### Commits
- Removed use of symlink and pointed to react-aad-msal module through [`fc54464`](https://github.com/syncweek-react-aad/react-aad/commit/fc544641d238f3511596ae5dc637ea070878bc39)
- Added sample app [`4d3acb6`](https://github.com/syncweek-react-aad/react-aad/commit/4d3acb6ab845b2f440a3ec68d34699c732d09861)
- cleaned up READMEs [`f8ebaf8`](https://github.com/syncweek-react-aad/react-aad/commit/f8ebaf804f1291fb8110f80649892f6b2c775c24)
- Updating README's [`0b8dcef`](https://github.com/syncweek-react-aad/react-aad/commit/0b8dcef1f0f19c029f1ca0a87a14b3d8e8bba1f2)
- Adding travis settings [`0439d39`](https://github.com/syncweek-react-aad/react-aad/commit/0439d399d54c8bba24c9d7f69f28695242cda2ae)
- Initial commit [`dce2cda`](https://github.com/syncweek-react-aad/react-aad/commit/dce2cdaea7ebcd6cafc782a8801568015f54292c)
- Initial commit [`f4b3bd0`](https://github.com/syncweek-react-aad/react-aad/commit/f4b3bd022b0db0700c69cfb5255bf48baa3249d0)
- Initial commit [`912b8a5`](https://github.com/syncweek-react-aad/react-aad/commit/912b8a5e0ae53599c70082c38a9e134c6ea22443)
- Initial commit [`46c8184`](https://github.com/syncweek-react-aad/react-aad/commit/46c8184149f3b6732ee9cc4f79030d4dcd66845b)
- Updating README so that properties are in a table format [`0dd8b86`](https://github.com/syncweek-react-aad/react-aad/commit/0dd8b8610a715244fd91bf99b09f75819fc17906)
- Initial commit [`0f03ec5`](https://github.com/syncweek-react-aad/react-aad/commit/0f03ec53061413431333a26808a95b1f2daf8417)
- Updating README resources; updating code snippets to jsx [`1b98fa8`](https://github.com/syncweek-react-aad/react-aad/commit/1b98fa85135e18bb8cd4773040093527f8889aa3)
- Initial commit [`ab0feb3`](https://github.com/syncweek-react-aad/react-aad/commit/ab0feb3200cb6f5e743c56406ae51689efc73368)
- cleaned up merge issues [`77c7213`](https://github.com/syncweek-react-aad/react-aad/commit/77c721338905fc4b3b18844b71d257a1ab3955df)
- Added sample app [`daa9dec`](https://github.com/syncweek-react-aad/react-aad/commit/daa9decfd3558d8c7dda45f118a3587d0396496d)
- Initial commit [`69e4fae`](https://github.com/syncweek-react-aad/react-aad/commit/69e4fae425b3599dd4bf3146b0654aa3bf867f53)
- add npm run start-dev to contributing guidelines [`3e69d3e`](https://github.com/syncweek-react-aad/react-aad/commit/3e69d3e18d0a6d4ef9ff12350b1cc23b3fc3e0c3)
- Update README [`c47f280`](https://github.com/syncweek-react-aad/react-aad/commit/c47f28052fb1ce9293691b865520d199c734cd76)
- chore: release version 0.3.7 [ci skip] [`751acba`](https://github.com/syncweek-react-aad/react-aad/commit/751acba0f48eb8529efcfca7c6b88c2c098f535c)
- chore: release version 0.3.6 [ci skip] [`9a65602`](https://github.com/syncweek-react-aad/react-aad/commit/9a65602c826f815f67315c8e52c7174a87b0928b)
- chore: release version 0.3.5 [skip ci] [`8f84178`](https://github.com/syncweek-react-aad/react-aad/commit/8f84178008bb1d7793b292e0997998b002e4a20f)
- chore: release version 0.3.4 [skip ci] [`6724520`](https://github.com/syncweek-react-aad/react-aad/commit/6724520d8a33d08867670a8e376ff7337e8a5d31)
- chore: release version 0.3.3 [skip ci] [`20630d6`](https://github.com/syncweek-react-aad/react-aad/commit/20630d634a50b02e40d342fc6b76caf89fac1f5d)
- chore: release version 0.3.2 [skip ci] [`9579140`](https://github.com/syncweek-react-aad/react-aad/commit/957914067c2d495dff40f8b713014d958fc0fca5)
- Adding project name to CONTRIBUTING and LICENSE files [`fb0b884`](https://github.com/syncweek-react-aad/react-aad/commit/fb0b88405d9120fdd8fbfcf66efc630e04002fec)
- Update .travis.yml [`546faa7`](https://github.com/syncweek-react-aad/react-aad/commit/546faa7f3ed7d0f69bbd7c5b228feb598a04e98f)
- set tags to false, add master branch to npm deploy [`56c8fcf`](https://github.com/syncweek-react-aad/react-aad/commit/56c8fcfa294a3782c54665e2d3db104f20d379c8)
- Update .npmignore [`7219d12`](https://github.com/syncweek-react-aad/react-aad/commit/7219d1251c672a7de017bd05295dc57e59c194b9)
- Update README.md [`8138405`](https://github.com/syncweek-react-aad/react-aad/commit/81384050766a6379150dbc7adc6f5da35b05ecdd)
- have a development build option that doesn't use tslint [`66f9516`](https://github.com/syncweek-react-aad/react-aad/commit/66f9516bdc817cd75a7e90a52795f90f3e284453)
- Adding source of script [`8383aeb`](https://github.com/syncweek-react-aad/react-aad/commit/8383aeb5164cf85ce325236105f237844f4799a5)
- Adding sh before script path [`9d4f915`](https://github.com/syncweek-react-aad/react-aad/commit/9d4f915aa95b48125e25ed7dcca1a554f7e8b410)
- Adding AAD_LOGOUT_SUCCESS case to reduxStore.js [`af9f0bd`](https://github.com/syncweek-react-aad/react-aad/commit/af9f0bd1a889d37dd071f5dacf42e75d84bac282)
- Setting tsconfig to exclude sample folder [`ee9599c`](https://github.com/syncweek-react-aad/react-aad/commit/ee9599c497c506d15a1868b87a197bae6fbad0d3)