Skip to content

Commit

Permalink
Merge pull request #146 from newrelic/release/v0.6.0
Browse files Browse the repository at this point in the history
chore(changelog): Update CHANGELOG for v0.6.0
  • Loading branch information
Jonathan Thurman authored Jan 27, 2021
2 parents 0bd7ff1 + 90fee4e commit 6c9d0ba
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 4 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<a name="v0.6.0"></a>
## [v0.6.0] - 2021-01-27
### Bug Fixes
- **schema:** Queries withouth args do not get ()

<a name="v0.5.0"></a>
## [v0.5.0] - 2021-01-04
### Features
Expand Down Expand Up @@ -135,7 +140,8 @@
- **generator:** introduce a generator concept
- **tutone:** default path for tutone config file

[Unreleased]: https://github.com/newrelic/newrelic-client-go/compare/v0.5.0...HEAD
[Unreleased]: https://github.com/newrelic/newrelic-client-go/compare/v0.6.0...HEAD
[v0.6.0]: https://github.com/newrelic/newrelic-client-go/compare/v0.5.0...v0.6.0
[v0.5.0]: https://github.com/newrelic/newrelic-client-go/compare/v0.4.3...v0.5.0
[v0.4.3]: https://github.com/newrelic/newrelic-client-go/compare/v0.4.2...v0.4.3
[v0.4.2]: https://github.com/newrelic/newrelic-client-go/compare/v0.4.1...v0.4.2
Expand Down
4 changes: 2 additions & 2 deletions internal/schema/schema_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func TestExpandTypes(t *testing.T) {
Mutations: []config.MutationConfig{{
Name: "alertsNrqlConditionBaselineCreate",
}},
ExpectedNames: []string{"AlertsFillOption", "AlertsNrqlBaselineCondition", "AlertsNrqlBaselineDirection", "AlertsNrqlCondition", "AlertsNrqlConditionBaselineInput", "AlertsNrqlConditionExpiration", "AlertsNrqlConditionExpirationInput", "AlertsNrqlConditionPriority", "AlertsNrqlConditionQuery", "AlertsNrqlConditionQueryInput", "AlertsNrqlConditionSignal", "AlertsNrqlConditionSignalInput", "AlertsNrqlConditionTerms", "AlertsNrqlConditionTermsOperator", "AlertsNrqlConditionThresholdOccurrences", "AlertsNrqlConditionType", "AlertsNrqlDynamicConditionTermsInput", "AlertsNrqlDynamicConditionTermsOperator", "AlertsNrqlOutlierCondition", "AlertsNrqlStaticCondition", "AlertsNrqlStaticConditionValueFunction", "AlertsViolationTimeLimit", "Boolean", "Float", "ID", "Int", "Seconds", "String"},
ExpectedNames: []string{"AlertsFillOption", "AlertsNrqlBaselineCondition", "AlertsNrqlBaselineDirection", "AlertsNrqlCondition", "AlertsNrqlConditionBaselineInput", "AlertsNrqlConditionExpiration", "AlertsNrqlConditionExpirationInput", "AlertsNrqlConditionPriority", "AlertsNrqlConditionQuery", "AlertsNrqlConditionQueryInput", "AlertsNrqlConditionSignal", "AlertsNrqlConditionSignalInput", "AlertsNrqlConditionTerms", "AlertsNrqlConditionTermsOperator", "AlertsNrqlConditionThresholdOccurrences", "AlertsNrqlConditionType", "AlertsNrqlDynamicConditionTermsInput", "AlertsNrqlDynamicConditionTermsOperator", "AlertsNrqlOutlierCondition", "AlertsNrqlStaticCondition", "AlertsNrqlStaticConditionValueFunction", "AlertsViolationTimeLimit", "Boolean", "Float", "ID", "Int", "Nrql", "Seconds", "String"},
},
"sample interface type": {
Types: []config.TypeConfig{{
Expand All @@ -65,7 +65,7 @@ func TestExpandTypes(t *testing.T) {
Mutations: []config.MutationConfig{{
Name: "apiAccessCreateKeys",
}},
ExpectedNames: []string{"ApiAccessCreateIngestKeyInput", "ApiAccessCreateInput", "ApiAccessCreateKeyResponse", "ApiAccessCreateUserKeyInput", "ApiAccessIngestKey", "ApiAccessIngestKeyError", "ApiAccessIngestKeyErrorType", "ApiAccessIngestKeyType", "ApiAccessKey", "ApiAccessKeyError", "ApiAccessKeyType", "ApiAccessUserKey", "ApiAccessUserKeyError", "ApiAccessUserKeyErrorType", "EpochSeconds", "ID", "Int", "String"},
ExpectedNames: []string{"AccountReference", "ApiAccessCreateIngestKeyInput", "ApiAccessCreateInput", "ApiAccessCreateKeyResponse", "ApiAccessCreateUserKeyInput", "ApiAccessIngestKey", "ApiAccessIngestKeyError", "ApiAccessIngestKeyErrorType", "ApiAccessIngestKeyType", "ApiAccessKey", "ApiAccessKeyError", "ApiAccessKeyType", "ApiAccessUserKey", "ApiAccessUserKeyError", "ApiAccessUserKeyErrorType", "EpochSeconds", "ID", "Int", "String", "UserReference"},
},
"complicated cloud confirms complications": {
Types: []config.TypeConfig{},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ query { actor { entitySearch {
}
... on ThirdPartyServiceEntityOutline {
__typename
alertSeverity
}
... on UnavailableEntityOutline {
__typename
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ query(
}
... on ThirdPartyServiceEntityOutline {
__typename
alertSeverity
}
... on UnavailableEntityOutline {
__typename
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ mutation(
id
name
schedule {
endRepeat
endTime
nextEndTime
nextStartTime
repeat
repeatCount
startTime
timeZone
weeklyRepeatDays
}
status
updatedAt
Expand Down
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package version

// Version of this library
const Version string = "0.5.0"
const Version string = "0.6.0"

0 comments on commit 6c9d0ba

Please sign in to comment.