Skip to content

v0.1.1 — Bridge hygiene

Choose a tag to compare

@linucs linucs released this 20 Apr 09:31
· 42 commits to main since this release

Bridge-hygiene maintenance release covering both packages.

@raasimpact/arduino-uno-q-bridge@0.1.1

Added

  • disconnect event emitted by Bridge whenever the transport socket drops. Consumers now have an explicit hook for cleaning up deferred state instead of waiting for a response that will never arrive.

Fixed

  • In-flight provide handlers are cleared from activeHandlers when the socket closes mid-call. Previously orphaned handlers lingered in tracking after a mid-call drop, surviving reconnects and causing shutdown-drain paths to wait on handlers whose eventual RESPONSE had nowhere to land.

Full changelog: packages/bridge/CHANGELOG.md

n8n-nodes-uno-q@0.1.1

Fixed

  • BridgeManager serializes acquire() and getBridge() after a prior release() by awaiting the background close. Rapid deactivate / reactivate cycles on the same method previously left two connections briefly overlapping on the router, causing the new $/register to be rejected with a "method already registered" error on workflow reactivation.

Changed

  • Bumps dependency on @raasimpact/arduino-uno-q-bridge to ^0.1.1 to pick up the bridge's new disconnect event and orphan-handler cleanup on socket close.

Full changelog: packages/n8n-nodes/CHANGELOG.md


All existing tests remain green; three new unit tests guard the fixed behaviours (two in the bridge package, one in n8n-nodes). Integration tests run against a real UNO Q also pass.