diff --git a/.gitignore b/.gitignore index 563f97a..9d03660 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ bugs.md examples/demo/demo .vscode/ +.DS_Store \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index ed005cf..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "workbench.colorCustomizations": { - "activityBar.activeBackground": "#0bceff", - "activityBar.activeBorder": "#df00b2", - "activityBar.background": "#0bceff", - "activityBar.foreground": "#15202b", - "activityBar.inactiveForeground": "#15202b99", - "activityBarBadge.background": "#df00b2", - "activityBarBadge.foreground": "#e7e7e7", - "statusBar.background": "#00acd7", - "statusBar.foreground": "#e7e7e7", - "statusBarItem.hoverBackground": "#0bceff", - "titleBar.activeBackground": "#00acd7", - "titleBar.activeForeground": "#e7e7e7", - "titleBar.inactiveBackground": "#00acd799", - "titleBar.inactiveForeground": "#e7e7e799" - }, - "peacock.color": "#00ACD7" -} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a4f938c..e380b3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,34 +4,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [1.3.0] - 2021-07-14 +### Added +- Support for versioned runtimes [#31](https://github.com/checkly/checkly-go-sdk/issues/31) ## [1.2.0] - 2021-06-02 ### Added - Support for PagerDuty alert channels integration -### Changed -N/A - -### Removed -N/A - ## [1.1.0] - 2021-05-20 ### Added - Support for API high frequency checks [#26](https://github.com/checkly/checkly-go-sdk/issues/26). -### Changed -N/A - -### Removed -N/A - ## [1.0.1] - 2021-02-25 -### Added -N/A ### Changed - Set `autoAssignAlerts` as false for all request - -### Removed -N/A diff --git a/types.go b/types.go index 1cf1355..2c5deb8 100644 --- a/types.go +++ b/types.go @@ -277,6 +277,7 @@ type Check struct { GroupID int64 `json:"groupId,omitempty"` GroupOrder int `json:"groupOrder,omitempty"` AlertChannelSubscriptions []AlertChannelSubscription `json:"alertChannelSubscriptions,omitempty"` + RuntimeID *string `json:"runtimeId"` } // Request represents the parameters for the request made by the check. @@ -380,6 +381,7 @@ type Group struct { LocalSetupScript string `json:"localSetupScript,omitempty"` LocalTearDownScript string `json:"localTearDownScript,omitempty"` AlertChannelSubscriptions []AlertChannelSubscription `json:"alertChannelSubscriptions,omitempty"` + RuntimeID *string `json:"runtimeId"` } // APICheckDefaults represents the default settings for API checks within a