Skip to content

Releases: nerves-hub/nerves_hub_link

2.0.0

22 Aug 18:00
f345071
Compare
Choose a tag to compare

The new release of NervesHubLink starts adding new features from NervesHub 2.0, such as identifying the device you have open in NervesHub and hooks to help prevent a thundering herd of device reconnects. It also cleans up the code base a bit by removing unused packages. Make sure to run mix deps.unlock --unused after updating to keep your lock file up to date.

  • Removed

    • NervesHubCLI and NervesHubCAStore as dependencies
    • NervesHubLinkCommon as dependencies, it was merged into this repo
  • Added

    • Identify callback from NervesHub, a new message from the server that
      will let you blink an LED or anything else that will help you identify
      the device you're looking at is the one you have open in NervesHub.
    • Add a client callback for changing the backoff timeouts on reconnects
      (#128)

v1.4.1

26 May 15:48
Compare
Choose a tag to compare
  • Added

    • Expose NervesHubLink.console_active? for checking active IEx sessions (#123)
    • Improvements for Elixir 1.15 and OTP 26
  • Fixed

    • Stops IEx process with :normal instead of causing a crash (#121)

v1.4.0

07 Oct 16:10
Compare
Choose a tag to compare

v1.3.0

06 Sep 19:48
Compare
Choose a tag to compare
  • Fixed
    • Use Slipstream.push/5 for safe publishing
    • Don't apply update by default if the UUID is the same

v1.2.0

13 May 14:07
Compare
Choose a tag to compare
  • :nerves_hub_link_common 0.4.0

  • Removed

    • Elixir 1.10 is no longer supported. This matches the minimum version of
      nerves_hub_link_common which is Elixir 1.11
  • Fixed

    • Allow for :slipstream ~> 1.0

v1.1.0

09 Dec 12:44
Compare
Choose a tag to compare
  • Removed

    • Elixir 1.8 and 1.9 are no longer supported. These hadn't been tested on CI
      and were removed when we started testing Elixir 1.13.
  • Added

    • Retry timeouts are now being set on Slipstream via the
      :reconnect_after_msec parameter. The timeouts start at 1 second and
      double up to 60 seconds plus a random amount of jitter. Previously the
      timeouts started under a second and maxed out at 5 seconds without jitter.
      These timeouts were chosen to reduce the load on NervesHub servers when
      large numbers of devices disconnect. They can be overridden.

v1.0.1

16 Nov 23:34
Compare
Choose a tag to compare
  • Fixed
    • A crash in the remote console would occur if a window resize message was received
      before the IEx process was started

v1.0.0

26 Oct 00:10
Compare
Choose a tag to compare

This release only bumps the version number. It doesn't have any code changes.

v0.13.1

19 Oct 21:52
Compare
Choose a tag to compare
  • Fixed
    • NervesHubLink.reconnect/0 no longer times out and instead disconnects
      the socket forcing the reconnection logic

v0.13.0

01 Oct 15:33
Compare
Choose a tag to compare

Potentially Breaking

  • Added
    • Switch the websocket client to the Slipstream
      library for communication with NervesHub. There are no API changes. This should only be
      a change to the internals, but you may notice timing differences especially around retries.