Skip to content

Commit e9eb6c0

Browse files
chore: merge main and update fleet deployment with agent input support
- Update fleet deployment mutation to support agent input updates - Add custom unmarshaller for fleet control operating system - Restore synthetics automated test struct tags configuration - Merge latest changes from main branch
1 parent 78ab4ea commit e9eb6c0

File tree

18 files changed

+585
-52
lines changed

18 files changed

+585
-52
lines changed

.github/workflows/compile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: 1.22.x
23+
go-version: 1.24.x
2424

2525
- name: Add GOBIN to PATH
2626
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH

.github/workflows/generate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Go
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: 1.22.x
25+
go-version: 1.24.x
2626

2727
- run: echo "${{ inputs.tutoneConfig }}"
2828
shell: bash

.github/workflows/graphql-schema.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install Go
2525
uses: actions/setup-go@v5
2626
with:
27-
go-version: 1.22.x
27+
go-version: 1.24.x
2828

2929
- name: Checkout code
3030
uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install Go
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.22.x
18+
go-version: 1.24.x
1919

2020
- name: Add GOBIN to PATH
2121
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Install Go
1414
uses: actions/setup-go@v5
1515
with:
16-
go-version: 1.22.x
16+
go-version: 1.24.x
1717

1818
- name: Add GOBIN to PATH
1919
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
@@ -41,7 +41,7 @@ jobs:
4141
- name: Install Go
4242
uses: actions/setup-go@v5
4343
with:
44-
go-version: 1.22.x
44+
go-version: 1.24.x
4545

4646
- name: Add GOBIN to PATH
4747
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
@@ -82,7 +82,7 @@ jobs:
8282
- name: Install Go
8383
uses: actions/setup-go@v5
8484
with:
85-
go-version: 1.22.x
85+
go-version: 1.24.x
8686

8787
- name: Add GOBIN to PATH
8888
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH

.github/workflows/test_pull_request_title.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request:
44
types: [opened, edited, synchronize, reopened]
55
env:
6-
GO_VERSION: 1.23.x
6+
GO_VERSION: 1.24.x
77
jobs:
88
test:
99
name: Pull Request Title

.tutone.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,26 @@ packages:
14051405
field_type_override: "*SyntheticsRuntimeInput"
14061406
- name: SyntheticsExtendedTypeMonitorRuntimeInput
14071407
field_type_override: "*SyntheticsExtendedTypeMonitorRuntimeInput"
1408+
# overrides and specifications of fields associated with the syntheticsStartAutomatedTest mutation start here
1409+
- name: SyntheticsAutomatedTestConfigInput
1410+
struct_tags:
1411+
tags: [json, yaml]
1412+
- name: SyntheticsAutomatedTestMonitorInput
1413+
struct_tags:
1414+
tags: [json, yaml]
1415+
- name: SyntheticsAutomatedTestMonitorConfigInput
1416+
struct_tags:
1417+
tags: [json, yaml]
1418+
- name: SyntheticsAutomatedTestOverridesInput
1419+
field_type_override: "*SyntheticsAutomatedTestOverridesInput"
1420+
struct_tags:
1421+
tags: [json, yaml]
1422+
- name: SyntheticsScriptDomainOverrideInput
1423+
struct_tags:
1424+
tags: [json, yaml]
1425+
- name: SyntheticsSecureCredentialOverrideInput
1426+
struct_tags:
1427+
tags: [json, yaml]
14081428
# overrides and specifications of fields associated with the automatedTestResults query start here
14091429
- name: Milliseconds
14101430
field_type_override: int
@@ -1871,6 +1891,8 @@ packages:
18711891
types:
18721892
- name: FleetControlFleetMembersFilterInput
18731893
field_type_override: "*FleetControlFleetMembersFilterInput"
1894+
- name: FleetControlOperatingSystemCreateInput
1895+
field_type_override: "*FleetControlOperatingSystemCreateInput"
18741896
- name: EntityManagementEntity
18751897
include_implementations:
18761898
- EntityManagementFleetEntity

CHANGELOG.md

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<a name="v2.78.0"></a>
2+
## [v2.78.0] - 2026-02-16
3+
### Features
4+
- **cloud:** rollback health and trusted advisor for EUSC ([#1371](https://github.com/newrelic/newrelic-client-go/issues/1371))
5+
6+
<a name="v2.77.0"></a>
7+
## [v2.77.0] - 2026-02-02
8+
### Features
9+
- **cloud:** add AWS EU Sovereign cloud provider support ([#1368](https://github.com/newrelic/newrelic-client-go/issues/1368))
10+
11+
<a name="v2.76.0"></a>
12+
## [v2.76.0] - 2026-01-15
13+
### Features
14+
- **security-rx:** add support for Aws SecurityHub integration ([#1300](https://github.com/newrelic/newrelic-client-go/issues/1300))
15+
16+
<a name="v2.75.4"></a>
17+
## [v2.75.4] - 2026-01-15
18+
### Bug Fixes
19+
- **pipelinecontrol:** remove omitempty on EntityManagementPipelineCloudRuleEntityUpdateInput ([#1362](https://github.com/newrelic/newrelic-client-go/issues/1362))
20+
121
<a name="v2.75.3"></a>
222
## [v2.75.3] - 2026-01-07
323
### Bug Fixes
@@ -2024,18 +2044,18 @@
20242044

20252045
### Refactor
20262046
- update monitors to use return design pattern where applicable, update tests
2047+
- remove unnecessary else
20272048
- consistent use of pointers for &reqBody structs
2028-
- move logging config code into logging package
2029-
- use centralized test helpers and remove old ones
20302049
- update ListDashboards to return array of pointers, update Dashboard test to use assert
20312050
- update ListApplications to return array of pointers, update tests to use assert
2051+
- update alert channels to return array of pointers, update tests to use assert
20322052
- refactor to package-based types files
2033-
- remove config pointer references
2034-
- remove unnecessary else
20352053
- rescope vars for integration tests to avoid variable name conflicts
2036-
- update alert channels to return array of pointers, update tests to use assert
2037-
- update synthetics conditions to return array of pointers
2054+
- use centralized test helpers and remove old ones
20382055
- create a logger instance per package
2056+
- update synthetics conditions to return array of pointers
2057+
- move logging config code into logging package
2058+
- remove config pointer references
20392059
- remove redundant 'alert' from file names
20402060
- remove redundant 'Alert' from naming convention
20412061
- incorporate code review feedback
@@ -2180,7 +2200,11 @@
21802200
- extract paging implementation
21812201
- rename packages for clarity, promote Config to the public package
21822202

2183-
[Unreleased]: https://github.com/newrelic/newrelic-client-go/compare/v2.75.3...HEAD
2203+
[Unreleased]: https://github.com/newrelic/newrelic-client-go/compare/v2.78.0...HEAD
2204+
[v2.78.0]: https://github.com/newrelic/newrelic-client-go/compare/v2.77.0...v2.78.0
2205+
[v2.77.0]: https://github.com/newrelic/newrelic-client-go/compare/v2.76.0...v2.77.0
2206+
[v2.76.0]: https://github.com/newrelic/newrelic-client-go/compare/v2.75.4...v2.76.0
2207+
[v2.75.4]: https://github.com/newrelic/newrelic-client-go/compare/v2.75.3...v2.75.4
21842208
[v2.75.3]: https://github.com/newrelic/newrelic-client-go/compare/v2.75.2...v2.75.3
21852209
[v2.75.2]: https://github.com/newrelic/newrelic-client-go/compare/v2.75.1...v2.75.2
21862210
[v2.75.1]: https://github.com/newrelic/newrelic-client-go/compare/v2.75.0...v2.75.1

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Follow the steps below to add `github.com/newrelic/newrelic-client-go` as a depe
5959
```
6060
module example.com/yourmodule
6161
62-
go 1.22
62+
go 1.24
6363
6464
require (
6565
github.com/newrelic/newrelic-client-go/v2 v2.0.1
@@ -131,7 +131,7 @@ Keep in mind that when you submit your pull request, you'll need to sign the CLA
131131

132132
### Requirements
133133

134-
- Go 1.22+
134+
- Go 1.24+
135135
- GNU Make
136136
- git
137137

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/newrelic/newrelic-client-go/v2
22

3-
go 1.22
3+
go 1.24.0
4+
5+
toolchain go1.24.11
46

57
require (
68
github.com/elazarl/goproxy v0.0.0-20231117061959-7cc037d33fb5

0 commit comments

Comments
 (0)