Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vultr/govultr
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.7.0
Choose a base ref
..
head repository: vultr/govultr
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.7.1
Choose a head ref
Showing with 8 additions and 1 deletion.
  1. +5 −0 CHANGELOG.md
  2. +1 −0 bare_metal_server.go
  3. +1 −1 govultr.go
  4. +1 −0 instance.go
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,11 @@

## GoVultr v1 changelog is located [here](https://github.com/vultr/govultr/blob/v1/CHANGELOG.md)

## [v2.7.1](https://github.com/vultr/govultr/compare/v2.7.0..v2.7.1) (2021-07-15)
### Enhancement
* BareMetal : Add support for `image_id` on update [152](https://github.com/vultr/govultr/pull/152)
* Instances : Add support for `image_id` on update [152](https://github.com/vultr/govultr/pull/152)

## [v2.7.0](https://github.com/vultr/govultr/compare/v2.6.0..v2.7.0) (2021-07-14)
### Enhancement
* BareMetal : Add support for `image_id` [150](https://github.com/vultr/govultr/pull/150)
1 change: 1 addition & 0 deletions bare_metal_server.go
Original file line number Diff line number Diff line change
@@ -96,6 +96,7 @@ type BareMetalUpdate struct {
EnableIPv6 *bool `json:"enable_ipv6,omitempty"`
Label string `json:"label,omitempty"`
AppID int `json:"app_id,omitempty"`
ImageID string `json:"image_id,omitempty"`
UserData string `json:"user_data,omitempty"`
Tag string `json:"tag,omitempty"`
}
2 changes: 1 addition & 1 deletion govultr.go
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ import (
)

const (
version = "2.7.0"
version = "2.7.1"
defaultBase = "https://api.vultr.com"
userAgent = "govultr/" + version
rateLimit = 500 * time.Millisecond
1 change: 1 addition & 0 deletions instance.go
Original file line number Diff line number Diff line change
@@ -239,6 +239,7 @@ type InstanceUpdateReq struct {
Tag string `json:"tag,omitempty"`
OsID int `json:"os_id,omitempty"`
AppID int `json:"app_id,omitempty"`
ImageID string `json:"image_id,omitempty"`
EnableIPv6 *bool `json:"enable_ipv6,omitempty"`
EnablePrivateNetwork *bool `json:"enable_private_network,omitempty"`
AttachPrivateNetwork []string `json:"attach_private_network,omitempty"`