Skip to content

Releases: cycleplatform/api-client-nodejs

v1.8.5

04 Jun 22:59
Compare
Choose a tag to compare

Minor update to fix some misspellings and endpoint return types.

Fixed

  • Return type and link for resource telemetry report was incorrect
  • Misspelled threshold in instance telemetry snapshot
  • Added missing throttled field to CPU info on instance telemetry

Changed

  • Remove trials from api client

v1.8.4

04 Jun 17:15
Compare
Choose a tag to compare

This release comes with many updates to support Cycle's updated API.

Added

  • Added image.created as a valid hub notification
  • manual and ephemeral are now valid container deployment type
  • Containers.Servers.usable() call to get servers that this container COULD be deployed to
  • Containers.Instances.create() and Containers.Instances.remove() for containers with deployment strategy of manual
  • Added instance resource telemetry structures and calls
  • Hub activity data structs and collection request
  • Email added to public account struct
  • Email added to hub member struct
  • Added membership permissions to users
  • Added API calls to get individual memberships and to look up memberships by account id
  • Added environment specific permissions to API Keys

Fixed

  • Fixed image tasks to separate into collection tasks and individual tasks
  • Hub delete return type has been corrected to be a task object
  • Removed floating_ips from environment as they no longer exist
  • Updated container desired state to support empty
  • Query filter type definition now supports nested object
  • Fixed structure of provider server features, which was one level too high
  • Added missing new state to DNS Zones
  • Websocket onMessage handlers will no longer throw a unable to decode payload error if the user function throws

Changed

  • importBuild() -> generate()
  • Docker Hub image source swaps password for token
  • Removed Member struct in favor of full Membership everywhere
  • Standardized some error codes, i.e. 404.api_keys -> 404.hub.api_keys
  • DNS certificates are now generated per record, and not per zone