Skip to content

v0.10.0

Compare
Choose a tag to compare
@jjcarstens jjcarstens released this 09 Mar 17:46
· 228 commits to main since this release
  • nerves_hub_link_common 0.2.0

  • Potential Breaking Changes

    • This enforces the update data structure exchanged between device and server
      and is mostly internal. However, if you implement your own NervesHubLink.Client
      behavior, then you will need to your NervesHubLink.Client.update_available/1 to
      accept a %NervesHubLinkCommon.Message.UpdateInfo{} struct as the parameter
      instead of a map with string keys which was used until this point.
  • Enhancements

    • Report API version to NervesHub. While there's currently only one version of
      the Device API, this is anticipation that we may want to change it in the future.
    • On reconnect, notify NervesHub of firmware currently being downloaded so
      that NervesHub can differentiate failed firmware updates from network hiccups.
    • Allow devices to implement their own reboot logic by implementing the
      NervesHubLink.Client.reboot/0 callback
  • Fixes

    • Check firmware_url is valid before attempting update