All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fixed an issue when the
useTeams
hook did not get the context properly
- Removed support for Node 10.x
- Node 12.x still available but not tested and pending removal
- Upgraded
@microsoft/teams-js
SDK to version 2
- Deleted the
checkInTeams
helper method - Deleted the
getQueryVariable
helper method
- Dependency bump
- Fixed an issue where non source files was included in tests
- Fixed an issue to use userAgent to detect Teams desktop client (#20)
- Added
setThemeHandler
option (#13) - Added unit testing
- Fixed an issue with the
@fluentui/react-northstar
peer dependency version range with npm 7+
- Fixed issue where the Teams JS Library was not initialized while hosted outside of Teams (for instance in a popup)
inTeams
isundefined
by default, instead offalse
- Optimized the hook to reduce the number of renders of the component using the hook
- Added
useTeams
React hook - Exported helper method
getQueryVariable
- Exported helper method
checkInTeams
- Method detecting if the hook is used inside Microsoft Teams now relies on naming of the hosting iframe
- Moved to Github actions from Travis CI
- Base class removed
- Added
esm
module version of the package (#5)
- Updated
@microsoft/teams-js
to version^1.8.0
- Updated
@fluentui/react-northstar
to version^0.51.0
.
- Breaking change,
inTeams(timeout:number=1000)
now returns aPromise<Boolean>
- Switched to
eslint
and removedtslint
- Switched to renamed package
@fluentui/react-northstar
- Removed unnecessary constructor
- Removed
fontSize
from state - Removed
pageFontSize
protected method - Removed the property interface
- Removed the
setValidityState
method
- Replaced
msteams-ui-components-react
with@fluentui/react
- Updated dependecies (
@microsoft/teams-js
) - Refactored packages into
peerDependencies
- Fixed an issue with React typings version
- Updated Typescript, React, teams-js and msteams-ui-components-react libraries
- Updated version of @microsoft/teams-js
- Updated code to reflect linting changes
- Fixed missing import to the @microsoft/teams-js library
- Travis-ci integration
- Linting added (npm run lint)
- Changed signature for getQueryVariable and updateTheme
- More inline documentation
- Included comments in output
- Updated node packages
- Updated method signatures
- Updated tsconfig.json with stricter checking
- Initial release