Skip to content

Releases: sitehostnz/gosh

v0.4.0

17 Jul 04:51
46759fe
Compare
Choose a tag to compare

Added

  • Added support for all endpoints under /cloud/db/.
  • Added support for all endpoints under /cloud/db/grant/.
  • Added support for all endpoints under /cloud/db/user/.
  • Added support for all endpoints under /cloud/ssh/user/.
  • Added support for the /bandwith/get_ip_list.json endpoint.
  • Added support for the /cloud/stack/image/list_all.json endpoint.

Fixed

  • Corrected the SSH key update parameters.

Changed

  • Updated Go from 1.19 to 1.22.
  • Updated dependencies.
  • Moved from v1.2 of the SiteHost API to v1.3.
  • Changed the type of the CustomImageAccess API request struct fields from string to bool.

v0.3.4

12 Mar 04:05
f068555
Compare
Choose a tag to compare

Added

  • Add ability to update SSH Keys.

v0.3.3

12 Mar 02:44
0d602e6
Compare
Choose a tag to compare

Added

  • Add ability to create, get and delete SSH Keys.

v0.3.2

23 Mar 20:23
9766aa6
Compare
Choose a tag to compare

Fixes

  • Fix a crash when unmarshalling when the /server returns a different type for the server disk size depending on the type of server.
  • Fix GetRecordWithRecord with default priority.
  • Fix ListRecords to remove the final dot in the content value.
  • Fix the priority value in the UpdateRecord function.

Added

  • Add some helpers for filtering the DNS list and getting new records since there is no get record end point, and the add api does not add the new record id.
  • Add helper for handling boolish results.
  • Add image list and get endpoints.

v0.3.1

27 Feb 21:15
aa14ef3
Compare
Choose a tag to compare

[v0.3.1] - 2023-02-28

Added

  • Added /cloud/server, /cloud/stack, /cloud/stack/environment endpoints.
  • Added /dns endpoint.
  • Added /ssh endpoint.
  • Added /api/get_info endpoint.

v0.3.0

07 Dec 20:27
9f93834
Compare
Choose a tag to compare

Added

  • GitHub PR actions to run go vet, go lint and go mod tidy.

Updated

  • Updated project layout and structure.
  • Moved and refactored server and job api endpoints.
  • Updated our code to conform with Golang linter.
  • Updated our README to link to our Golang style and our license.
  • Upgraded golang v1.19.3.
  • Upgraded golangci-lint v1.50.1.