Releases: aws/aws-iot-device-sdk-js-v2
Releases · aws/aws-iot-device-sdk-js-v2
Custom Authorizer support
Adds custom authorizer support and a sample showing how to connect using a custom authorizer. Also adds support for the ClientToken
field in Shadows and documentation adjustments.
What's Changed
- Fix it so CI runs on branches with '/' in name by @graebm in #236
- Added ClientToken to ShadowDeltaUpdated by @TwistedTwigleg in #241
- Autodocs by @graebm in #242
- Added custom authorizer sample by @TwistedTwigleg in #246
Full Changelog: v1.8.1...v1.8.2
Device Advisor Script
What's changed:
- Add the device advisor scripts to enable GitHub Actions to automatically run device advisor test
Support mutual TLS using a certificate from a Windows cert store
What's Changed
- Split the PubSub sample down into smaller samples by @TwistedTwigleg in #231
- Support mutual TLS using a certificate from a Windows cert store by @graebm in #232
Full Changelog: v1.7.1...v1.8.0
Security Fix - OpenSSL CVE-2022-0778
Security Fix
- Updates the aws-lc submodule to a version that is not vulnerable to OpenSSL CVE-2022-0778 - a bug in BN_mod_sqrt() can cause the function to enter an infinite loop
PKCS#11 Support
- NEW: Support PKCS#11 for mutual TLS on Unix platforms (Node only)
- BUGFIX: Fix potential native memory leak when looping around a failed call to Connect
Browser mqtt fix
- Fixes an issue that broke the browser version of the crt mqtt client
Crash fix for queued napi function calls
- Dependency version updates
- Fixes a crash in native-to-node calls where the connection was closed while a threadsafe function was queued
Documentation Updates
This release modifies how the SDK and CRT documentation is tagged and generated in an effort to improve the discoverability and usability of the repo-internal documentation.
Stability Fix
- Fixes crashes that could occur if closing a connection that is currently in the connecting or disconnecting state.
Memory usage improvements and leak fixes
- Fixed a number of memory leaks in both managed and native objects
- Tls context caching in the mqtt connection builder reduced per-connection memory consumption from ~800K to ~100K on concurrent tests