Skip to content

Commit f1942e1

Browse files
authored
Merge pull request #684 from newrelic/develop
Release 3.21.1
2 parents a534248 + 649ede6 commit f1942e1

File tree

15 files changed

+952
-64
lines changed

15 files changed

+952
-64
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "gomod"
4+
# Disable version updates for gomod dependencies, security updates don't use this configuration
5+
# See: https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates
6+
open-pull-requests-limit: 0
7+
directory: "../v3"
8+
schedule:
9+
interval: "daily"
10+
commit-message:
11+
prefix: "security"
12+
prefix-development: "chore"
13+
include: "scope"

.github/workflows/ci.yaml

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

2727
# v3 integrations
28-
- go-version: 1.17.x
28+
- go-version: 1.18.x
2929
dirs: v3/integrations/logcontext/nrlogrusplugin
3030
extratesting: go get -u github.com/sirupsen/logrus@master
31-
- go-version: 1.17.x
31+
- go-version: 1.18.x
3232
dirs: v3/integrations/logcontext-v2/nrlogrus
3333
extratesting: go get -u github.com/sirupsen/logrus@master
34-
- go-version: 1.17.x
34+
- go-version: 1.18.x
3535
dirs: v3/integrations/logcontext-v2/nrzerolog
3636
extratesting: go get -u github.com/rs/zerolog@master
37-
- go-version: 1.17.x
37+
- go-version: 1.18.x
3838
dirs: v3/integrations/logcontext-v2/nrwriter
39-
- go-version: 1.17.x
39+
- go-version: 1.18.x
4040
dirs: v3/integrations/logcontext-v2/zerologWriter
4141
extratesting: go get -u github.com/rs/zerolog@master
42-
- go-version: 1.17.x
42+
- go-version: 1.18.x
4343
dirs: v3/integrations/logcontext-v2/logWriter
44-
- go-version: 1.17.x
44+
- go-version: 1.18.x
4545
dirs: v3/integrations/nrawssdk-v1
4646
extratesting: go get -u github.com/aws/aws-sdk-go@main
47-
- go-version: 1.17.x
47+
- go-version: 1.18.x
4848
dirs: v3/integrations/nrawssdk-v2
4949
extratesting: go get -u github.com/aws/aws-sdk-go-v2@main
50-
- go-version: 1.17.x
50+
- go-version: 1.18.x
5151
dirs: v3/integrations/nrecho-v3
5252
# Test against the latest v3 Echo:
5353
extratesting: go get -u github.com/labstack/echo@v3
54-
# go/new/http no longer stable under go 1.17.x
55-
- go-version: 1.17.x
54+
# go/new/http no longer stable under go 1.18.x
55+
- go-version: 1.18.x
5656
dirs: v3/integrations/nrecho-v4
5757
extratesting: go get -u github.com/labstack/echo/v4@master
58-
- go-version: 1.17.x
58+
- go-version: 1.18.x
5959
dirs: v3/integrations/nrelasticsearch-v7
6060
extratesting: go get -u github.com/elastic/go-elasticsearch/[email protected]
6161
- go-version: 1.18.x
6262
dirs: v3/integrations/nrgin
6363
extratesting: go get -u github.com/gin-gonic/gin@master
64-
- go-version: 1.17.x
64+
- go-version: 1.18.x
6565
dirs: v3/integrations/nrgorilla
6666
extratesting: go get -u github.com/gorilla/mux@master
67-
- go-version: 1.17.x
67+
- go-version: 1.18.x
6868
dirs: v3/integrations/nrgraphgophers
69-
- go-version: 1.17.x
69+
- go-version: 1.18.x
7070
dirs: v3/integrations/nrlogrus
7171
extratesting: go get -u github.com/sirupsen/logrus@master
72-
- go-version: 1.17.x
72+
- go-version: 1.18.x
7373
dirs: v3/integrations/nrlogxi
7474
extratesting: go get -u github.com/mgutz/logxi@master
75-
- go-version: 1.17.x
75+
- go-version: 1.18.x
7676
dirs: v3/integrations/nrpkgerrors
7777
extratesting: go get -u github.com/pkg/errors@master
78-
- go-version: 1.17.x
78+
- go-version: 1.18.x
7979
dirs: v3/integrations/nrlambda
8080
extratesting: go get -u github.com/aws/aws-lambda-go@master
81-
- go-version: 1.17.x
81+
- go-version: 1.18.x
8282
dirs: v3/integrations/nrmysql
8383
extratesting: go get -u github.com/go-sql-driver/mysql@master
84-
- go-version: 1.17.x
84+
- go-version: 1.18.x
8585
dirs: v3/integrations/nrpq
8686
extratesting: go get -u github.com/lib/pq@master
8787
- go-version: 1.18.x
8888
dirs: v3/integrations/nrpgx5
89-
- go-version: 1.17.x
89+
- go-version: 1.18.x
9090
dirs: v3/integrations/nrpq/example/sqlx
91-
- go-version: 1.17.x
91+
- go-version: 1.18.x
9292
dirs: v3/integrations/nrredis-v7
9393
extratesting: go get -u github.com/go-redis/redis/v7@master
94-
- go-version: 1.17.x
94+
- go-version: 1.18.x
95+
dirs: v3/integrations/nrredis-v9
96+
extratesting: go get -u github.com/redis/go-redis/v9@master
97+
- go-version: 1.18.x
9598
dirs: v3/integrations/nrsqlite3
9699
extratesting: go get -u github.com/mattn/go-sqlite3@master
97-
- go-version: 1.17.x
100+
- go-version: 1.18.x
98101
dirs: v3/integrations/nrsnowflake
99-
- go-version: 1.17.x
102+
- go-version: 1.18.x
100103
dirs: v3/integrations/nrgrpc
101104
extratesting: go get -u google.golang.org/grpc@master
102-
- go-version: 1.17.x
105+
- go-version: 1.18.x
103106
dirs: v3/integrations/nrmicro
104107
# As of Dec 2019, there is a race condition in when using go-micro@master
105108
# in their logging system. Instead, we'll test against the latest
@@ -108,36 +111,36 @@ jobs:
108111
# As of June 2020, confirmed errors still result
109112
# extratesting: go get -u github.com/micro/go-micro@latest
110113
# If we are using the latest released version to test, we need to use a newer version of go
111-
- go-version: 1.17.x
114+
- go-version: 1.18.x
112115
dirs: v3/integrations/nrnats
113116
extratesting: go get -u github.com/nats-io/nats.go/@master
114-
- go-version: 1.17.x
117+
- go-version: 1.18.x
115118
dirs: v3/integrations/nrnats/test
116-
- go-version: 1.17.x
119+
- go-version: 1.18.x
117120
dirs: v3/integrations/nrstan
118121
extratesting: go get -u github.com/nats-io/stan.go/@master
119-
- go-version: 1.17.x
122+
- go-version: 1.18.x
120123
dirs: v3/integrations/nrstan/test
121-
- go-version: 1.17.x
124+
- go-version: 1.18.x
122125
dirs: v3/integrations/nrstan/examples
123-
- go-version: 1.17.x
126+
- go-version: 1.18.x
124127
dirs: v3/integrations/logcontext
125128
extratesting: go get -u github.com/sirupsen/logrus@master
126129
# nrzap only supports the two most recent minor go releases
127-
- go-version: 1.17.x
130+
- go-version: 1.18.x
128131
dirs: v3/integrations/nrzap
129-
- go-version: 1.17.x
132+
- go-version: 1.18.x
130133
dirs: v3/integrations/nrhttprouter
131134
extratesting: go get -u github.com/julienschmidt/httprouter@master
132-
- go-version: 1.17.x
135+
- go-version: 1.18.x
133136
dirs: v3/integrations/nrb3
134-
- go-version: 1.17.x
137+
- go-version: 1.18.x
135138
dirs: v3/integrations/nrmongo
136139
extratesting: go get -u go.mongodb.org/mongo-driver@master
137-
- go-version: 1.17.x
140+
- go-version: 1.18.x
138141
dirs: v3/integrations/nrgraphqlgo,v3/integrations/nrgraphqlgo/example
139142
extratesting: go get -u github.com/graphql-go/graphql@master
140-
- go-version: 1.17.x
143+
- go-version: 1.18.x
141144
dirs: v3/integrations/nrmssql
142145
extratesting: go get -u github.com/microsoft/go-mssqldb@main
143146

.github/workflows/snyk.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## 3.21.1
2+
3+
### Added
4+
* nrredis-v9: automatic instrumentation for Go redis v9
5+
6+
### Fixed
7+
* Agent now requires Go version 1.18 or higher.
8+
* Removed support for Go version 1.17. This version of Go is outside of the support window.
9+
10+
### Support Statement
11+
New Relic recommends that you upgrade the agent regularly to ensure that you’re getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
12+
13+
We also recommend using the latest version of the Go language. At minimum, you should at least be using no version of Go older than what is supported by the Go team themselves.
14+
15+
See the [Go Agent EOL Policy](https://docs.newrelic.com/docs/apm/agents/go-agent/get-started/go-agent-eol-policy/) for details about supported versions of the Go Agent and third-party components.
16+
117
## 3.21.0
218

319
### Added

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ package primitives can be found [here](GUIDE.md#datastore-segments).
9797
| [jmoiron/sqlx](https://github.com/jmoiron/sqlx) | Use a supported [database driver](https://godoc.org/github.com/newrelic/go-agent/v3/integrations/nrpq/example/sqlx) or [builtin instrumentation](https://godoc.org/github.com/newrelic/go-agent/v3/newrelic#InstrumentSQLConnector) | Instrument database calls with SQLx |
9898
| [go-redis/redis](https://github.com/go-redis/redis) | [v3/integrations/nrredis-v7](https://godoc.org/github.com/newrelic/go-agent/v3/integrations/nrredis-v7) | Instrument Redis 7 calls |
9999
| [go-redis/redis](https://github.com/go-redis/redis) | [v3/integrations/nrredis-v8](https://godoc.org/github.com/newrelic/go-agent/v3/integrations/nrredis-v8) | Instrument Redis 8 calls |
100+
| [redis/go-redis](https://github.com/redis/go-redis) | [v3/integrations/nrredis-v9](https://godoc.org/github.com/newrelic/go-agent/v3/integrations/nrredis-v9) | Instrument Redis 9 calls |
100101
| [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) | [v3/integrations/nrsqlite3](https://godoc.org/github.com/newrelic/go-agent/v3/integrations/nrsqlite3) | Instrument SQLite driver |
101102
| [snowflakedb/gosnowflake](https://github.com/snowflakedb/gosnowflake) | [v3/integrations/nrsnowflake](https://godoc.org/github.com/newrelic/go-agent/v3/integrations/nrsnowflake) | Instrument Snowflake driver |
102103
| [mongodb/mongo-go-driver](https://github.com/mongodb/mongo-go-driver) | [v3/integrations/nrmongo](https://godoc.org/github.com/newrelic/go-agent/v3/integrations/nrmongo) | Instrument MongoDB calls |

v3/go.mod

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

3-
go 1.17
3+
go 1.18
44

55
require (
6-
github.com/golang/protobuf v1.5.2
7-
google.golang.org/grpc v1.49.0
6+
github.com/golang/protobuf v1.5.3
7+
google.golang.org/grpc v1.54.0
88
)

0 commit comments

Comments
 (0)