Skip to content

Commit d59f46c

Browse files
Merge pull request #772 from newrelic/develop
Release 3.24.1
2 parents 046b4fc + f4aa806 commit d59f46c

File tree

67 files changed

+421
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+421
-237
lines changed

.github/workflows/ci.yaml

Lines changed: 45 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -17,95 +17,95 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
include:
20-
- go-version: 1.18.x
21-
dirs: v3/newrelic,v3/internal,v3/examples
2220
- go-version: 1.19.x
2321
dirs: v3/newrelic,v3/internal,v3/examples
2422
- go-version: 1.20.x
2523
dirs: v3/newrelic,v3/internal,v3/examples
24+
- go-version: 1.21.x
25+
dirs: v3/newrelic,v3/internal,v3/examples
2626

2727
# v3 integrations
2828
- go-version: 1.19.x
2929
dirs: v3/integrations/nrsarama
30-
- go-version: 1.18.x
30+
- go-version: 1.19.x
3131
dirs: v3/integrations/logcontext/nrlogrusplugin
32-
extratesting: go get -u github.com/sirupsen/logrus@master
33-
- go-version: 1.18.x
32+
# extratesting: go get -u github.com/sirupsen/logrus@master
33+
- go-version: 1.19.x
3434
dirs: v3/integrations/logcontext-v2/nrlogrus
35-
extratesting: go get -u github.com/sirupsen/logrus@master
36-
- go-version: 1.18.x
35+
# extratesting: go get -u github.com/sirupsen/logrus@master
36+
- go-version: 1.19.x
3737
dirs: v3/integrations/logcontext-v2/nrzerolog
3838
extratesting: go get -u github.com/rs/zerolog@master
39-
- go-version: 1.18.x
39+
- go-version: 1.19.x
4040
dirs: v3/integrations/logcontext-v2/nrzap
41-
- go-version: 1.18.x
41+
- go-version: 1.19.x
4242
dirs: v3/integrations/logcontext-v2/nrwriter
43-
- go-version: 1.18.x
43+
- go-version: 1.19.x
4444
dirs: v3/integrations/logcontext-v2/zerologWriter
4545
extratesting: go get -u github.com/rs/zerolog@master
46-
- go-version: 1.18.x
46+
- go-version: 1.19.x
4747
dirs: v3/integrations/logcontext-v2/logWriter
48-
- go-version: 1.18.x
48+
- go-version: 1.19.x
4949
dirs: v3/integrations/nrawssdk-v1
5050
extratesting: go get -u github.com/aws/aws-sdk-go@main
51-
- go-version: 1.18.x
51+
- go-version: 1.19.x
5252
dirs: v3/integrations/nrawssdk-v2
5353
extratesting: go get -u github.com/aws/aws-sdk-go-v2@main
54-
- go-version: 1.18.x
54+
- go-version: 1.19.x
5555
dirs: v3/integrations/nrecho-v3
5656
# Test against the latest v3 Echo:
5757
extratesting: go get -u github.com/labstack/echo@v3
5858
# go/new/http no longer stable under go 1.18.x
59-
- go-version: 1.18.x
59+
- go-version: 1.19.x
6060
dirs: v3/integrations/nrecho-v4
6161
extratesting: go get -u github.com/labstack/echo/v4@master
62-
- go-version: 1.18.x
62+
- go-version: 1.19.x
6363
dirs: v3/integrations/nrelasticsearch-v7
6464
extratesting: go get -u github.com/elastic/go-elasticsearch/[email protected]
65-
- go-version: 1.18.x
65+
- go-version: 1.19.x
6666
dirs: v3/integrations/nrgin
6767
extratesting: go get -u github.com/gin-gonic/gin@master
68-
- go-version: 1.18.x
68+
- go-version: 1.19.x
6969
dirs: v3/integrations/nrgorilla
7070
extratesting: go get -u github.com/gorilla/mux@master
71-
- go-version: 1.18.x
71+
- go-version: 1.19.x
7272
dirs: v3/integrations/nrgraphgophers
73-
- go-version: 1.18.x
73+
- go-version: 1.19.x
7474
dirs: v3/integrations/nrlogrus
75-
- go-version: 1.18.x
75+
- go-version: 1.19.x
7676
dirs: v3/integrations/nrlogxi
7777
extratesting: go get -u github.com/mgutz/logxi@master
78-
- go-version: 1.18.x
78+
- go-version: 1.19.x
7979
dirs: v3/integrations/nrpkgerrors
8080
extratesting: go get -u github.com/pkg/errors@master
81-
- go-version: 1.18.x
81+
- go-version: 1.19.x
8282
dirs: v3/integrations/nrlambda
8383
extratesting: go get -u github.com/aws/aws-lambda-go@master
84-
- go-version: 1.18.x
84+
- go-version: 1.19.x
8585
dirs: v3/integrations/nrmysql
8686
extratesting: go get -u github.com/go-sql-driver/mysql@master
87-
- go-version: 1.18.x
87+
- go-version: 1.19.x
8888
dirs: v3/integrations/nrpq
8989
extratesting: go get -u github.com/lib/pq@master
90-
- go-version: 1.18.x
90+
- go-version: 1.19.x
9191
dirs: v3/integrations/nrpgx5
92-
- go-version: 1.18.x
92+
- go-version: 1.19.x
9393
dirs: v3/integrations/nrpq/example/sqlx
94-
- go-version: 1.18.x
94+
- go-version: 1.19.x
9595
dirs: v3/integrations/nrredis-v7
9696
extratesting: go get -u github.com/go-redis/redis/v7@master
97-
- go-version: 1.18.x
97+
- go-version: 1.19.x
9898
dirs: v3/integrations/nrredis-v9
9999
extratesting: go get -u github.com/redis/go-redis/v9@master
100-
- go-version: 1.18.x
100+
- go-version: 1.19.x
101101
dirs: v3/integrations/nrsqlite3
102102
extratesting: go get -u github.com/mattn/go-sqlite3@master
103-
- go-version: 1.18.x
103+
- go-version: 1.19.x
104104
dirs: v3/integrations/nrsnowflake
105-
- go-version: 1.18.x
105+
- go-version: 1.19.x
106106
dirs: v3/integrations/nrgrpc
107107
extratesting: go get -u google.golang.org/grpc@master
108-
- go-version: 1.18.x
108+
- go-version: 1.19.x
109109
dirs: v3/integrations/nrmicro
110110
# As of Dec 2019, there is a race condition in when using go-micro@master
111111
# in their logging system. Instead, we'll test against the latest
@@ -114,34 +114,34 @@ jobs:
114114
# As of June 2020, confirmed errors still result
115115
# extratesting: go get -u github.com/micro/go-micro@latest
116116
# If we are using the latest released version to test, we need to use a newer version of go
117-
- go-version: 1.18.x
117+
- go-version: 1.19.x
118118
dirs: v3/integrations/nrnats
119119
extratesting: go get -u github.com/nats-io/nats.go/@master
120-
- go-version: 1.18.x
120+
- go-version: 1.19.x
121121
dirs: v3/integrations/nrstan
122122
extratesting: go get -u github.com/nats-io/stan.go/@master
123-
- go-version: 1.18.x
123+
- go-version: 1.19.x
124124
dirs: v3/integrations/nrstan/test
125-
- go-version: 1.18.x
125+
- go-version: 1.19.x
126126
dirs: v3/integrations/nrstan/examples
127-
- go-version: 1.18.x
127+
- go-version: 1.19.x
128128
dirs: v3/integrations/logcontext
129129
extratesting: go get -u github.com/sirupsen/logrus@master
130130
# nrzap only supports the two most recent minor go releases
131-
- go-version: 1.18.x
131+
- go-version: 1.19.x
132132
dirs: v3/integrations/nrzap
133-
- go-version: 1.18.x
133+
- go-version: 1.19.x
134134
dirs: v3/integrations/nrhttprouter
135135
extratesting: go get -u github.com/julienschmidt/httprouter@master
136-
- go-version: 1.18.x
136+
- go-version: 1.19.x
137137
dirs: v3/integrations/nrb3
138-
- go-version: 1.18.x
138+
- go-version: 1.19.x
139139
dirs: v3/integrations/nrmongo
140140
extratesting: go get -u go.mongodb.org/mongo-driver@master
141-
- go-version: 1.18.x
141+
- go-version: 1.19.x
142142
dirs: v3/integrations/nrgraphqlgo,v3/integrations/nrgraphqlgo/example
143143
extratesting: go get -u github.com/graphql-go/graphql@master
144-
- go-version: 1.18.x
144+
- go-version: 1.19.x
145145
dirs: v3/integrations/nrmssql
146146
extratesting: go get -u github.com/microsoft/go-mssqldb@main
147147

@@ -180,8 +180,7 @@ jobs:
180180
fail-fast: false
181181
matrix:
182182
include:
183-
- go-version: 1.18.6
184-
- go-version: 1.19.1
183+
- go-version: 1.19.x
185184
steps:
186185
- uses: actions/checkout@v1
187186
with:

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
## 3.24.1
2+
### Fixed
3+
* Performance improvement around calls to security agent. In some cases, unnecessary setup operations were being performed even if there was no security agent present to use that. These are now conditional on the security agent being present in the application (note that this will enable the setup code if the security agent is *present* in the application, regardless of whether it's currently enabled to run). This affects:
4+
* Base agent code (updated to v3.24.1)
5+
* `nrmongo` integration (updated to v1.1.1)
6+
7+
* Fixed unit tests for integrations which were failing because code level metrics are enabled by default now:
8+
* `nrawssdk-v1` (updated to v1.1.2)
9+
* `nrawssdk-v2` (updated to v1.2.2)
10+
* `nrecho-v3` (updated to v1.0.2)
11+
* `nrecho-v4` (updated to v1.0.4)
12+
* `nrhttprouter` (updated to
13+
* `nrlambda` (updated to v1.2.2)
14+
* `nrnats` (updated to v1.1.5)
15+
* `nrredis-v8` (updated to v1.0.1)
16+
17+
18+
### Changed
19+
* Updated all integration `go.mod` files to reflect supported Go language versions.
20+
21+
### Support statement
22+
23+
We use the latest version of the Go language. At minimum, you should be using no version of Go older than what is supported by the Go team themselves (i.e., Go versions 1.19 and later are supported).
24+
25+
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
26+
27+
See the [Go agent EOL Policy](/docs/apm/agents/go-agent/get-started/go-agent-eol-policy/) for details about supported versions of the Go agent and third-party components.
28+
129
## 3.24.0
230

331
### Added

v3/go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
module github.com/newrelic/go-agent/v3
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/golang/protobuf v1.5.3
77
google.golang.org/grpc v1.54.0
88
)
99

10-
1110
retract v3.22.0 // release process error corrected in v3.22.1
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/logWriter
22

3-
go 1.17
3+
go 1.19
44

55
require (
6-
github.com/newrelic/go-agent/v3 v3.19.1
6+
github.com/newrelic/go-agent/v3 v3.24.1
77
github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrwriter v1.0.0
88
)
99

10+
11+
replace github.com/newrelic/go-agent/v3 => ../../..
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrlogrus
22

3-
go 1.17
3+
go 1.19
44

55
require (
6-
github.com/newrelic/go-agent/v3 v3.18.0
6+
github.com/newrelic/go-agent/v3 v3.24.1
77
github.com/sirupsen/logrus v1.8.1
88
)
99

10+
11+
replace github.com/newrelic/go-agent/v3 => ../../..
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrwriter
22

3-
go 1.17
3+
go 1.19
44

5-
require github.com/newrelic/go-agent/v3 v3.19.1
5+
require github.com/newrelic/go-agent/v3 v3.24.1
66

7+
8+
replace github.com/newrelic/go-agent/v3 => ../../..
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrzap
22

3-
go 1.18
3+
go 1.19
44

55
require (
6-
github.com/newrelic/go-agent/v3 v3.21.1
6+
github.com/newrelic/go-agent/v3 v3.24.1
77
go.uber.org/zap v1.24.0
88
)
99

10+
11+
replace github.com/newrelic/go-agent/v3 => ../../..
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrzerolog
22

3-
go 1.17
3+
go 1.19
44

55
require (
6-
github.com/newrelic/go-agent/v3 v3.18.0
6+
github.com/newrelic/go-agent/v3 v3.24.1
77
github.com/rs/zerolog v1.26.1
88
)
99

10+
11+
replace github.com/newrelic/go-agent/v3 => ../../..
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/zerologWriter
22

3-
go 1.17
3+
go 1.19
44

55
require (
6-
github.com/newrelic/go-agent/v3 v3.19.1
6+
github.com/newrelic/go-agent/v3 v3.24.1
77
github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrwriter v1.0.0
88
github.com/rs/zerolog v1.27.0
99
)
1010

11+
12+
replace github.com/newrelic/go-agent/v3 => ../../..

v3/integrations/logcontext/nrlogrusplugin/go.mod

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext/nrlogrusplugin
22

33
// As of Dec 2019, the logrus go.mod file uses 1.13:
44
// https://github.com/sirupsen/logrus/blob/master/go.mod
5-
go 1.13
5+
go 1.19
66

77
require (
8-
github.com/newrelic/go-agent/v3 v3.17.0
8+
github.com/newrelic/go-agent/v3 v3.24.1
99
// v1.4.0 is required for for the log.WithContext.
1010
github.com/sirupsen/logrus v1.4.0
1111
)
12+
13+
14+
replace github.com/newrelic/go-agent/v3 => ../../..

0 commit comments

Comments
 (0)