azure-iot-sdk-node

A Node.js SDK for connecting devices to Microsoft Azure IoT services

OTHER License

Downloads
164.6K
Stars
262
Committers
84

Bot releases are visible (Hide)

azure-iot-sdk-node - Azure IoT SDKs for Node.js v1.8.2 (Device/Hub) v1.4.2 (Provisioning) and v1.3.2 (security)

Published by pierreca almost 6 years ago

This release contains many fixes:

  • The ability to use SharedAccessSignatures in the connection string (thanks @Loghorn!)
  • Many typescript overloads that fix typescript compilation issues (thanks @Loghorn again :)) (Fixes #403, #404, #409...)
  • A fix for #416 (usage of
  • Many updates to our dependencies
azure-iot-sdk-node - Azure IoT SDKs for Node.js v1.8.1 (Device) v1.4.1 (Provisioning) and v1.3.1 (security)

Published by pierreca almost 6 years ago

  • Fix for #405
  • Update the machina.js dependency
azure-iot-sdk-node - Azure IoT SDKs v1.8.0 (iothub), v1.4.0 (provisioning), v1.3.0 (security clients)

Published by pierreca almost 6 years ago

Bugfixes:

  • #400

New Features

  • Promise support (#399). All APIs now return a Promise if no callback is passed.
azure-iot-sdk-node - Azure IoT SDKs v1.7.5 (iothub), v1.3.5 (provisioning), v1.2.5 (security)

Published by pierreca about 6 years ago

Bugfixes:

  • update MQTT library dependency
  • Add/Fix multiple end-to-end tests for security (invalid certificate tests) and build stability
  • Remove sync calls in async setOptions method

Package list:

This release also marks a new LTS cycle: 09_2018 is now the active LTS, 02_2018 is in maintenance/security fixes only and the *_2017 LTS branches are deprecated

azure-iot-sdk-node - Azure IoT SDKs for Node.js v1.7.4

Published by anthonyvercolano about 6 years ago

  • Various changes to adjust the SDK build pipeline.
  • Increase the end to end test coverage.
  • Add support for IoT Edge modules using the AMQP protocol.
  • Utilize Rhea as the AMQP transport. Many thanks to @grs.
azure-iot-sdk-node - Azure IoT SDKs for Node.js v1.7.3

Published by pierreca about 6 years ago

Supersedes 1.7.2 which was not functional - same feature set

  • includes a fix for #338
azure-iot-sdk-node - Azure IoT Hub SDKs v1.7.2

Published by pierreca about 6 years ago

Includes the fix for #338

this release has been unpublished from NPM since there was an issue with the publishing process and has been superseded by packages v1.7.3

azure-iot-sdk-node - Azure IoT Hub SDKs v1.7.1 & Azure IoT Hub Provisioning SDKs v1.3.1

Published by pierreca over 6 years ago

  • fix for #285
  • update dependencies to solve nom audit warnings
  • update build scripts to use lerna.js
azure-iot-sdk-node - Azure IoT SDKs for Node.js : Edge release

Published by pierreca over 6 years ago

Azure IoT Hub Service SDK for Node.js

  • Identity Registry: Create, Read, Update and Delete module identities
  • Methods: Invoke a method on a module
  • Twin: Update/Receive updates on module twins
  • Create device configurations and apply then to devices (also used for Edge devices provisioning)

Azure IoT Hub Device SDK for Node.js

  • Introducing the ModuleClient object. Build Edge modules with Node.js!
  • The ModuleClient can:
    • connect to an Edge Hub or an IoT Hub
    • send telemetry
    • receive and update its module twin
    • receive method requests
    • invoke methods on modules running on the same device and on downstream devices
    • Make use of edge routing inputs and outputs when connected to an Edge hub
  • Current limitations:
    • IoT Hub connectivity is only supported in AMQP
    • Edge Hub connectivity is only supported in MQTT

Azure IoT Hub Provisioning Service SDK for Node.js

  • Supports the iotEdge capability on devices.
azure-iot-sdk-node - Azure IoT Device SDK / Edge Modules preview

Published by pierreca over 6 years ago

pre-release for the modules-preview branch

  • introducing the new ModuleClient
  • Modules can:
    • connect to Edge Hub or IoT Hub
    • send telemetry
    • use Azure IoT Edge routing feature with inputs and outputs (only available when connecting to an Edge Hub)
    • use their twin
    • receive method requests
  • Known limitations of this preview version:
    • receive C2D messages
    • upload files
    • use X509 authentication
azure-iot-sdk-node - Azure IoT Provisioning Service SDK v1.1.0 - Azure IoT MQTT Transport Package v1.4.4

Published by pierreca over 6 years ago

azure-iot-sdk-node - Azure IoT SDKs for Devices v1.4.2

Published by BertKleewein over 6 years ago

Bugfixes

  • azure-iot-device-amqp: method receiver link has invalid rcvSettleMode 293
  • Improved detail added to userAgent string for SDK usage tracking
  • Many improvements to E2E tests

Packages released

  • azure-iot-amqp-base: v1.5.2
  • azure-iot-common: v1.5.1
  • azure-iot-device: v1.4.2
  • azure-iot-device-amqp: v1.4.2
  • azure-iot-device-http: v1.4.2
  • azure-iot-device-mqtt: v1.4.2
  • azure-iot-http-base: v1.4.1
  • azure-iot-mqtt-base: v1.4.1
  • azure-iot-provisioning-device: v1.1.3
  • azure-iot-provisioning-device-amqp: v1.1.4
  • azure-iot-provisioning-device-http: v1.1.4
  • azure-iot-provisioning-device-mqtt: v1.0.5
  • azure-iot-provisioning-service: v1.0.5
  • azure-iot-security-x509: v1.0.4
  • azure-iothub: v1.3.1
azure-iot-sdk-node - Azure IoT SDKs for Devices v1.4.1

Published by pierreca over 6 years ago

Features

  • Added the ability to pass an HTTP Agent object to the HTTP (4dda10bb) and MQTT-WS (093bd9bd) transports (enables setting keep-alive and proxy settings). Closes #98

Bugfixes

  • Fixes for a couple of race conditions in the MQTT (37451258) and AMQP (75f23f86) transports
  • Adjust MQTT QoS level for C2D messages (b4cb2e24)

Packages released

  • azure-iot-amqp-base: v1.5.1
  • azure-iot-http-base: v1.4.0
  • azure-iot-mqtt-base: v1.4.0
  • azure-iot-device: v1.4.1
  • azure-iot-device-amqp: v1.4.1
  • azure-iot-device-http: v1.4.1
  • azure-iot-device-mqtt: v1.4.1
  • node-red-contrib-azureiothubnode: v0.1.27
  • azure-iot-provisioning-device-http: v1.1.3
  • azure-iot-provisioning-device-amqp: v1.1.3
  • azure-iot-provisioning-device-mqtt: v1.0.4
azure-iot-sdk-node - Azure IoT SDKs for Node.js

Published by pierreca over 6 years ago

New features

  • Support for contentType and contentEncoding properties on the Message class: this enables routing on message body in Azure IoT Hub (see this blog post for details)

Bugfixes and Improvements

  • The Twin feature has been refactored to enable retries - no public API has been modified.
  • Thanks to @treedust for fixing typos in our docs!

Package versions

azure-iot-sdk-node - Azure IoT SDKs for Node.js

Published by pierreca over 6 years ago

Fixes:

  • #64
  • #157
  • #221 (part deux)

Improvements:

  • Update service api-version to 2018-01-16
  • Update dependency versions of lodash, azure-storage, machina, debug, uuid and tss.js
azure-iot-sdk-node - Azure IoT SDKs for Node.js

Published by pierreca over 6 years ago

TL;DR

  • Fix for #221
  • Fix for #193
  • Fix for #187
  • Add support for TPM-based device registration and authentication
  • update MQTT library dependency minimum version
  • update AMQP library dependency minimum version

Details

azure-iot-common v1.4.0

  • Add new factory method for the SharedAccessSignature class enabling the caller to pass a function to use when signing the SAS token.

azure-iot-amqp-base v1.4.0 (not a usable public API!)

  • update AMQP library dependency minimum version
  • Enable support for custom SASL mechanism (used by TPM-based authentication)
  • Remove call to undefined callback (#221/#222)

azure-iot-http-base v1.3.1 (not a usable public API!)

  • Export HttpTransportError class.

azure-iot-mqtt-base v1.3.1 (not a usable public API!)

  • update MQTT library dependency minimum version

azure-iot-device v1.3.1

  • Fix for #193

azure-iothub v1.2.4

  • Fix for #187 (properly URI-encode device ids)

azure-iot-provisioning-device v1.1.0

  • Add support for TPM-based device registration

azure-iot-provisioning-device-http v1.1.0

  • Add support for TPM-based device registration

azure-iot-provisioning-device-amqp v1.1.0

  • Add support for TPM-based device registration

azure-iot-security-tpm: v1.0.0-preview

  • Support for TPM-based registration

All packages have been updated to the latest version of the azure-iot-common package as well.

azure-iot-sdk-node - Azure IoT SDKs for Node js v1.3.0 (Device), v1.2.3 (Service) and v1.0.0 (provisioning)

Published by pierreca almost 7 years ago

This release includes new features!

Azure IoT Hub

Device SDK (v1.3.0)

Service SDK (v1.2.3)

  • Snap to latest common packages

Azure IoT Hub Device Provisioning Service

Device SDK

  • Support for X509-based registration over AMQP, MQTT and HTTP (TPM will come in future releases)

Service SDK

  • snap to latest common packages
azure-iot-sdk-node - Azure IoT Hub Device Provisioning Service SDK v1.0.0 and Service SDK v1.2.2

Published by pierreca almost 7 years ago

Azure IoT Hub Device Provisioning Service SDK v1.0.0

This SDK enables you to create, update, delete and query individual enrollments and enrollment groups, as well as query, get and delete device registration states. This is the first official (non-preview) release of the Azure IoT Hub Device Provisioning Service SDK for Node.js.

Azure IoT Hub Service SDK v1.2.2

Bugfixes

  • #162 missing ? for last optional parameter in nextAsTwin() (solved with #165). Thanks @Qba91 and @anthonyvercolano !
azure-iot-sdk-node - Azure IoT SDKs for Node.js v1.2.2 (Device) and v1.2.1 (Service)

Published by pierreca almost 7 years ago

Issues closed

  • #132 (Thanks @dsjh, @bmrpatel, @wmmihaa)
  • #138 (Thanks @jonbgallant)
  • #141 (Thanks @dsjh)

Package versions

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

azure-iot-sdk-node - Azure IoT SDKs for Node.js v1.2.1 (Device) and v1.2.0 (Service)

Published by pierreca almost 7 years ago

Bugfixes:

  • #73 with #131 (MQTT Premature close error)
  • #119 with #120 (typescript types in service SDK - thanks @nebrius !)
  • Removed dependency to old sinon.js version that was producing deprecation warnings
  • Removed deprecated --type-check option in the tslint npm script.

New features:

  • #127 Retry logic for the AMQP Client of the service SDK (to retry connecting and sending C2D messages)

Retries in azure-iothub.Client

Before this release, the SDK user had to manually manage if the Client was connected or not before sending C2D messages and eventually called connect. if not connected. it was also mandatory to listen to the disconnect event.

With the new AMQP state machine and Client introduced in this release, sending C2D messages automatically handles connecting the client if necessary, and retries connecting and sending messages (if the error can be retried, such as a timeout). this is done using the azure-iot-common.ExponentialBackoffWithJitter policy. it is possible to modify the retry policy using the Client.setRetryPolicy API.

Please note: the current retry logic does not include the FeedbackReceiver and FileNotificationReceiver objects: this is in our backlog but if you are using those for now, you should still listen to the disconnect event and call getFeedbackReceiver and getFileNotificationReceiver manually to re-establish the link. Calling any of these APIs will also automatically connect the client.

Package Rankings
Top 1.55% on Npmjs.org
Related Projects