Skip to content

Releases: aws/aws-iot-device-sdk-js-v2

Bug fixes for tls and mqtt

28 May 21:10
4be4139
Compare
Choose a tag to compare
  • On Windows, perform a full verification of SNI/server cert chain even when using an overridden root CA
  • Mqtt received messages to use the received topic and not the original subscription topic when calling into javascript

Fixes #147

Updating CRT to v1.7.0

25 May 20:46
0714429
Compare
Choose a tag to compare
  • Updating aws-crt-nodejs to v1.7.0:
    • Backwards Incompatible API Change: verify_peer in TlsContextOptions now defaults to true instead of false.
    • WebsocketConfig now has an optional member (tls_ctx_options) for specifying TlsContextOptions.

Improved proxy support

18 May 21:03
e9802c4
Compare
Choose a tag to compare
  • Direct mqtt connections can now use http proxies
  • Update proxy-aware samples to use preferred proxy configuration
  • CRT update
    • Fix tls context initialization failures due to pem sanitization bug

Audit updates

11 May 23:26
53bbca4
Compare
Choose a tag to compare
  • Dependency security updates
  • A number of fixes for the ECS credentials provider

Mqtt, Http, Windows, and S3 bug fixes

30 Apr 22:46
c76887a
Compare
Choose a tag to compare
  • BUGFIX: Fix several MQTT race conditions.
  • BUGFIX: More validation of HTTP/1.1 messages.
  • BUGFIX: High resolution clock fix on Windows.
  • BUGFIX: Non-ascii file open fix on Windows.
  • BUGFIX: Support non-desktop Windows.
  • BUGFIX: Fixing sending of S3 abort-multipart-upload message

Crt and package lock update

23 Apr 17:35
ec4d9cf
Compare
Choose a tag to compare
  • Update to latest CRT and manually pin several packages

Updating CRT to 1.6.2

26 Mar 19:26
3bcc09d
Compare
Choose a tag to compare

BUG FIX

  • The authentication of proxy option will propagate correctly now
  • Building issues related to aws-lc is solved on some ARM machine.

API updates from aws-crt

  • Deprecated with_timeout_ms method as it's out of date. The with_timeout_ms will be moved to with_ping_timeout_ms to configures the PINGREQ response timeout
  • Add new with_protocol_operation_timeout_ms to configure the protocol operation timeout.

Updating CRT to 1.5.5

23 Mar 00:45
1a01e09
Compare
Choose a tag to compare
  • Updating CRT to 1.5.5:
    • Integration with aws-lc for crypto
    • CRT Related BUG FIXES:
      • Memory was being incorrectly released in MQTT connection finalize.
      • Pub-sub samples from iot-device-sdk-js-v2 were exiting with a non-zero code.
      • MQTT on_publish callback was not being cleaned up.
      • Async callbacks invoked with invalid env, leading to a crash.
      • The event-loop-group created for node was not getting cleaned up.
      • Async write operation for a Buffer Array based on a C managed buffer would crash, as the C buffer get cleaned up after the callback, before the async operation finishes.
  • Other BUG FIXES:
    • Adding disconnects to samples to prevent connection related hang.

aws-crt 1.5.2

22 Feb 05:35
2c4101b
Compare
Choose a tag to compare
aws-crt 1.5.2 (#137)

fixes aws-c-cal submodule

MQTT on-message callbacks carry more info + Bugfixes

20 Feb 07:35
a88cc63
Compare
Choose a tag to compare
  • IMPROVEMENT: The MQTT on_message event, and the topic-specific callback passed to subscribe(), have added dup, qos, and retain params.
  • IMPROVEMENT: Outgoing MQTT Payload type now accepts ArrayBuffer and any ArrayBufferView (ex: Uint8Array) type.
  • BUGFIX: on_message payload typescript signature changed from Buffer to ArrayBuffer.
    • This is a semi-breaking change. There were two callback passing payloads, one signature claimed to pass ArrayBuffer payloads and the other claimed to pass Buffer payloads. In reality the node implementation always passed ArrayBuffer and the browser implementation always passed Buffer. Now, both callbacks share a signature, they both claim to pass ArrayBuffer and both the node and browser implementations actually do pass ArrayBuffer
  • BUGFIX: browser MQTT publish() no longer tries to turn everything to strings. ArrayBuffer and ArrayBufferView types will pass their bytes straight through.
  • BUGFIX: browser MQTT unsubscribe()