v0.10.0
-
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 ownNervesHubLink.Client
behavior, then you will need to yourNervesHubLink.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.
- This enforces the update data structure exchanged between device and server
-
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
- Report API version to NervesHub. While there's currently only one version of
-
Fixes
- Check
firmware_url
is valid before attempting update
- Check