Skip to content

Releases: nerves-hub/nerves_hub_user_api

v0.9.1

27 Jul 21:03
Compare
Choose a tag to compare
  • Bug fixes
    • Enable HTTPS semantics for X.509 certificate validation. This fixes an issue
      where wildcard certificates were being incorrectly reported as invalid.
      Thanks to @doawoo for this fix.

v0.9.0

13 Apr 18:09
Compare
Choose a tag to compare

This releases shifts preferance to token authentication rather than the user
client certificate that was being used. This changes is backwards compatible
and you can continue to use certificates, but a warning will be emmitted.
See nerves-hub/nerves_hub_web#818 for more details.

  • New features
    • Added :token to %NervesHubUserAPI.Auth{} struct for token based authentication
    • NervesHubUserAPI.User.login/3 to authenticate and create a token for later use

v0.8.0

14 Apr 19:22
Compare
Choose a tag to compare
Release v0.8.0

v0.7.1

05 Nov 17:37
Compare
Choose a tag to compare
  • New features
    • Allow description when registering CA Certificate with
      NervesHubUserAPI.CACertificate.create/4 (thanks @brianberlin !! 🎉)

v0.7.0

26 Aug 14:57
Compare
Choose a tag to compare
  • Deprecations
    • NervesHubUserAPI.Device.cert_list/4 has been moved to
      NervesHubUserAPI.DeviceCertificate.list/4
    • NervesHubUserAPI.Device.cert_sign/5 has been moved to
      NervesHubUserAPI.DeviceCertificate.sign/5
  • New features
    • Added NervesHubUserAPI.DeviceCertificate.create/5 for import an existing
      trusted certificate for a device.
    • Added NervesHubUserAPI.DeviceCertificate.delete/5 for deleting certificates
      from a device.
  • Bug fixes
    • URI encode all parameters being used in the URL of the API requests.

v0.6.0

21 Jun 21:50
Compare
Choose a tag to compare

Backwards incompatible changes:

The NervesHubUserAPI.Device and NervesHubUserAPI.DeviceCertificate endpoints
have moved to include product as part of its path.

It used to be

/orgs/:org_name/devices*

They have moved to:

/orgs/:org_name/products/:product_name/devices*

v0.5.0

19 Apr 14:46
Compare
Choose a tag to compare
  • New features
    • Added support managing user roles for organizations and products.
      • OrgUser add / update / remove / list
      • ProductUser add / update / remove / list

v0.4.1

08 Mar 21:20
Compare
Choose a tag to compare
  • New features
    • Support deleting devices via the API

v0.4.0

08 Mar 21:21
Compare
Choose a tag to compare

Backwards incompatible changes:

Renamed the project nerves_hub_user_api
Changed configuration settings from api_host and api_port back to host and
port. You will need to update these your settings and the application name
in yourconfig.exs file.

v0.3.0

30 Jan 13:53
Compare
Choose a tag to compare

Backwards incompatible changes:

For clarity, the application config settings host and port were renamed to
api_host and api_port. If you're using your own NervesHub instance, you will
need to update your config.exs.