Version 1.2.0
This release contains new features, security vulnerability fixes, bug fixes, updates to code samples, and configuration options.
New Features
- Add option to set the theme to light or dark
- Add option to set the parent node where the iframe/webview container is placed
- Add option to disable the Grammar experience
- Add option to disable the Translation experience
- Add option to disable Language Detection
Improvements
- Add title and aria modal attributes to the iframe
- Set isLoading to false when exiting
- Update code samples to use v1.2.0
- Adds React code sample
- Adds Ember code sample
- Adds Azure function code sample
- Adds C# code sample demonstrating how to call the Azure Function for authentication
- Adds Android Kotlin code sample demonstrating how to call the Azure Function for authentication
- Updates the Swift code sample to be Objective C compliant
- Updates Advanced C# code sample to demonstrate the usage of new options: parent node, disableGrammar, disableTranslation, and disableLanguageDetection
Fixes
- Fixes multiple security vulnerabilities by upgrading TypeScript packages
- Fixes bug where renderButton rendered a duplicate icon and label in the button