Skip to content

Releases: niklv/node-red-contrib-daichi-cloud

v2.0.0

Choose a tag to compare

@niklv niklv released this 09 Sep 21:56

Requires Node-RED 5.0 and Node.js 22. The package is now an ES module, which Node-RED 5 loads through dynamic import.

Breaking

  • Minimum Node-RED is 5.0, minimum Node.js is 22.
  • The package ships as an ES module. Node-RED 4 and earlier cannot load it.

Fixed

  • An mqtt socket error had no listener and could take down the whole Node-RED runtime. The broker connection is now guarded.
  • Device discovery posted to an absolute url, so Node-RED attached neither the admin root nor the auth token. It now uses a relative url and works behind httpAdminRoot and with adminAuth.
  • An account filled in but not yet deployed could not list its devices. The editor now sends its credentials with the discovery request.
  • Failed logins, unreadable notifications, unreachable devices and a missing account are reported through the node with a status, instead of console output or an unhandled rejection.
  • A broker connection opened after the node closed is now ended instead of leaking, and a closed node no longer publishes device state.
  • One failing listener no longer stops the other devices in a notification from updating, nor gets reported as a malformed payload.
  • A slow initial read no longer overwrites fresher broker updates, and the state object is copied before it is sent, so downstream nodes cannot corrupt it.
  • The discover endpoint is behind RED.auth.needsPermission and answers 400 for missing credentials, 502 with the cloud's own message.

Changed

  • Built with tsdown. Each node is a standalone bundle; each editor script is inlined into its edit dialog.
  • oxlint and oxfmt replace prettier.
  • Tests run on node-red-node-test-helper under vitest, covering both nodes and the admin endpoint.
  • The example flow now ships with the package and appears under Import, Examples.
  • Published through npm trusted publishing, with provenance.

v1.1.1

Choose a tag to compare

@niklv niklv released this 11 Jun 10:10

Full Changelog: v1.1.0...v1.1.1

v1.1.0

Choose a tag to compare

@niklv niklv released this 10 Jun 19:36

Full Changelog: v1.0.3...v1.1.0

v1.0.3

Choose a tag to compare

@niklv niklv released this 03 Jun 22:55

Full Changelog: v1.0.2...v1.0.3

v1.0.2

Choose a tag to compare

@niklv niklv released this 03 Jun 21:04

Full Changelog: v1.0.1...v1.0.2

v1.0.1

Choose a tag to compare

@niklv niklv released this 03 Jun 19:20

Full Changelog: v1.0.0...v1.0.1

v1.0.0

Choose a tag to compare

@niklv niklv released this 03 Jun 18:59