Skip to content

Commit 0100f62

Browse files
Merge pull request #830 from newrelic/develop
Release 3.28.1
2 parents 0e521dc + 7d91b51 commit 0100f62

File tree

66 files changed

+311
-168
lines changed

Some content is hidden

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

66 files changed

+311
-168
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 3.28.1
2+
### Added
3+
Added Supportability Metrics to `nrfasthttp` (brings `nrfasthttp` version to v1.0.1).
4+
Always Link Transaction IDs to traces regardless of whether Distributed Tracing is enabled or not
5+
### Fixed
6+
Fixed an issue where `nil` `Request.Body` could be set to non-`nil` `request.Body` with zero length when the security agent is enabled
7+
### Security
8+
More Secure URL Redaction
9+
### Support statement
10+
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.
11+
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.
12+
113
## 3.28.0
214
### Fixed
315
* Bumped gRPC from 1.54.0 -> 1.56.3 in the following packages /v3/integrations/nrgrpc, /v3/, /v3/integrations/nrgrpc

v3/go.mod

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ require (
77
google.golang.org/grpc v1.56.3
88
)
99

10+
1011
retract v3.22.0 // release process error corrected in v3.22.1
1112

1213
retract v3.25.0 // release process error corrected in v3.25.1

v3/integrations/logcontext-v2/logWriter/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/logWriter
33
go 1.19
44

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

v3/integrations/logcontext-v2/nrlogrus/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrlogrus
33
go 1.19
44

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

v3/integrations/logcontext-v2/nrwriter/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrwriter
22

33
go 1.19
44

5-
require github.com/newrelic/go-agent/v3 v3.26.0
5+
require github.com/newrelic/go-agent/v3 v3.28.1
66

77

88
replace github.com/newrelic/go-agent/v3 => ../../..

v3/integrations/logcontext-v2/nrzap/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrzap
33
go 1.19
44

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

v3/integrations/logcontext-v2/nrzerolog/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrzerolog
33
go 1.19
44

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

v3/integrations/logcontext-v2/zerologWriter/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/zerologWriter
33
go 1.19
44

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

v3/integrations/logcontext/nrlogrusplugin/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext/nrlogrusplugin
55
go 1.19
66

77
require (
8-
github.com/newrelic/go-agent/v3 v3.26.0
8+
github.com/newrelic/go-agent/v3 v3.28.1
99
// v1.4.0 is required for for the log.WithContext.
1010
github.com/sirupsen/logrus v1.4.0
1111
)

v3/integrations/nramqp/go.mod

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module github.com/newrelic/go-agent/v3/integrations/nramqp
33
go 1.19
44

55
require (
6-
github.com/newrelic/go-agent/v3 v3.27.0
6+
github.com/newrelic/go-agent/v3 v3.28.1
77
github.com/rabbitmq/amqp091-go v1.9.0
88
)
9+
replace github.com/newrelic/go-agent/v3 => ../..

v3/integrations/nrawssdk-v1/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ go 1.19
88
require (
99
// v1.15.0 is the first aws-sdk-go version with module support.
1010
github.com/aws/aws-sdk-go v1.34.0
11-
github.com/newrelic/go-agent/v3 v3.26.0
11+
github.com/newrelic/go-agent/v3 v3.28.1
1212
)
1313

1414

v3/integrations/nrawssdk-v2/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/aws/aws-sdk-go-v2/service/lambda v1.24.5
1212
github.com/aws/aws-sdk-go-v2/service/s3 v1.27.10
1313
github.com/aws/smithy-go v1.13.3
14-
github.com/newrelic/go-agent/v3 v3.26.0
14+
github.com/newrelic/go-agent/v3 v3.28.1
1515
)
1616

1717

v3/integrations/nrb3/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/newrelic/go-agent/v3/integrations/nrb3
22

33
go 1.19
44

5-
require github.com/newrelic/go-agent/v3 v3.26.0
5+
require github.com/newrelic/go-agent/v3 v3.28.1
66

77

88
replace github.com/newrelic/go-agent/v3 => ../..

v3/integrations/nrecho-v3/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
// v3.1.0 is the earliest v3 version of Echo that works with modules due
99
// to the github.com/rsc/letsencrypt import of v3.0.0.
1010
github.com/labstack/echo v3.1.0+incompatible
11-
github.com/newrelic/go-agent/v3 v3.26.0
11+
github.com/newrelic/go-agent/v3 v3.28.1
1212
)
1313

1414

v3/integrations/nrecho-v4/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ go 1.19
66

77
require (
88
github.com/labstack/echo/v4 v4.9.0
9-
github.com/newrelic/go-agent/v3 v3.26.0
9+
github.com/newrelic/go-agent/v3 v3.28.1
1010
)
1111

1212

v3/integrations/nrelasticsearch-v7/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ go 1.19
66

77
require (
88
github.com/elastic/go-elasticsearch/v7 v7.17.0
9-
github.com/newrelic/go-agent/v3 v3.26.0
9+
github.com/newrelic/go-agent/v3 v3.28.1
1010
)
1111

1212

v3/integrations/nrfasthttp/examples/client-fasthttp/go.mod

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ module client-example
33
go 1.19
44

55
require (
6-
github.com/newrelic/go-agent/v3 v3.28.0
6+
github.com/newrelic/go-agent/v3 v3.28.1
77
github.com/newrelic/go-agent/v3/integrations/nrfasthttp v1.0.0
88
github.com/valyala/fasthttp v1.49.0
99
)
1010

1111
replace github.com/newrelic/go-agent/v3/integrations/nrfasthttp v1.0.0 => ../../
12+
13+
replace github.com/newrelic/go-agent/v3 => ../../../..

v3/integrations/nrfasthttp/examples/server-fasthttp/go.mod

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ module server-example
33
go 1.19
44

55
require (
6-
github.com/newrelic/go-agent/v3 v3.28.0
6+
github.com/newrelic/go-agent/v3 v3.28.1
77
github.com/newrelic/go-agent/v3/integrations/nrfasthttp v1.0.0
88
github.com/valyala/fasthttp v1.49.0
99
)
1010

1111
replace github.com/newrelic/go-agent/v3/integrations/nrfasthttp v1.0.0 => ../../
12+
13+
replace github.com/newrelic/go-agent/v3 => ../../../..

v3/integrations/nrfasthttp/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ module github.com/newrelic/go-agent/v3/integrations/nrfasthttp
33
go 1.19
44

55
require (
6-
github.com/newrelic/go-agent/v3 v3.28.0
6+
github.com/newrelic/go-agent/v3 v3.28.1
77
github.com/valyala/fasthttp v1.49.0
88
)

v3/integrations/nrfasthttp/instrumentation.go

+3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@ package nrfasthttp
33
import (
44
"net/http"
55

6+
"github.com/newrelic/go-agent/v3/internal"
67
"github.com/newrelic/go-agent/v3/newrelic"
78
"github.com/valyala/fasthttp"
89
"github.com/valyala/fasthttp/fasthttpadaptor"
910
)
1011

12+
func init() { internal.TrackUsage("integration", "framework", "fasthttp") }
13+
1114
type fasthttpWrapperResponse struct {
1215
ctx *fasthttp.RequestCtx
1316
}

v3/integrations/nrgin/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ go 1.19
66

77
require (
88
github.com/gin-gonic/gin v1.9.1
9-
github.com/newrelic/go-agent/v3 v3.26.0
9+
github.com/newrelic/go-agent/v3 v3.28.1
1010
)
1111

1212

v3/integrations/nrgorilla/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ go 1.19
77
require (
88
// v1.7.0 is the earliest version of Gorilla using modules.
99
github.com/gorilla/mux v1.7.0
10-
github.com/newrelic/go-agent/v3 v3.26.0
10+
github.com/newrelic/go-agent/v3 v3.28.1
1111
)
1212

1313

v3/integrations/nrgraphgophers/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ go 1.19
77
require (
88
// graphql-go has no tagged releases as of Jan 2020.
99
github.com/graph-gophers/graphql-go v1.3.0
10-
github.com/newrelic/go-agent/v3 v3.26.0
10+
github.com/newrelic/go-agent/v3 v3.28.1
1111
)
1212

1313

v3/integrations/nrgraphqlgo/example/go.mod

+1-16
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,10 @@ go 1.19
55
require (
66
github.com/graphql-go/graphql v0.8.1
77
github.com/graphql-go/graphql-go-handler v0.2.3
8-
github.com/newrelic/go-agent/v3 v3.26.0
8+
github.com/newrelic/go-agent/v3 v3.28.1
99
github.com/newrelic/go-agent/v3/integrations/nrgraphqlgo v1.0.0
1010
)
1111

12-
require (
13-
github.com/andybalholm/brotli v1.0.5 // indirect
14-
github.com/golang/protobuf v1.5.3 // indirect
15-
github.com/graphql-go/handler v0.2.3 // indirect
16-
github.com/klauspost/compress v1.16.3 // indirect
17-
github.com/valyala/bytebufferpool v1.0.0 // indirect
18-
github.com/valyala/fasthttp v1.49.0 // indirect
19-
golang.org/x/net v0.17.0 // indirect
20-
golang.org/x/sys v0.13.0 // indirect
21-
golang.org/x/text v0.13.0 // indirect
22-
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
23-
google.golang.org/grpc v1.56.3 // indirect
24-
google.golang.org/protobuf v1.30.0 // indirect
25-
)
26-
2712
replace github.com/newrelic/go-agent/v3/integrations/nrgraphqlgo => ../
2813

2914
replace github.com/newrelic/go-agent/v3 => ../../..

v3/integrations/nrgraphqlgo/go.mod

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ go 1.19
44

55
require (
66
github.com/graphql-go/graphql v0.8.1
7-
github.com/newrelic/go-agent/v3 v3.26.0
7+
github.com/newrelic/go-agent/v3 v3.28.1
88
)
9+
10+
11+
replace github.com/newrelic/go-agent/v3 => ../..

v3/integrations/nrgrpc/go.mod

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ require (
66
// protobuf v1.3.0 is the earliest version using modules, we use v1.3.1
77
// because all dependencies were removed in this version.
88
github.com/golang/protobuf v1.5.3
9-
github.com/newrelic/go-agent/v3 v3.26.0
9+
github.com/newrelic/go-agent/v3 v3.28.1
1010
github.com/newrelic/go-agent/v3/integrations/nrsecurityagent v1.1.0
1111
// v1.15.0 is the earliest version of grpc using modules.
1212
google.golang.org/grpc v1.56.3
1313
google.golang.org/protobuf v1.30.0
1414
)
1515

1616
replace github.com/newrelic/go-agent/v3 => ../..
17+
1718
replace github.com/newrelic/go-agent/v3/integrations/nrsecurityagent => ../../integrations/nrsecurityagent

v3/integrations/nrhttprouter/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ go 1.19
77
require (
88
// v1.3.0 is the earliest version of httprouter using modules.
99
github.com/julienschmidt/httprouter v1.3.0
10-
github.com/newrelic/go-agent/v3 v3.26.0
10+
github.com/newrelic/go-agent/v3 v3.28.1
1111
)
1212

1313

v3/integrations/nrlambda/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.19
44

55
require (
66
github.com/aws/aws-lambda-go v1.41.0
7-
github.com/newrelic/go-agent/v3 v3.26.0
7+
github.com/newrelic/go-agent/v3 v3.28.1
88
)
99

1010

v3/integrations/nrlogrus/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module github.com/newrelic/go-agent/v3/integrations/nrlogrus
55
go 1.19
66

77
require (
8-
github.com/newrelic/go-agent/v3 v3.26.0
8+
github.com/newrelic/go-agent/v3 v3.28.1
99
github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrlogrus v1.0.0
1010
// v1.1.0 is required for the Logger.GetLevel method, and is the earliest
1111
// version of logrus using modules.

v3/integrations/nrlogxi/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ go 1.19
77
require (
88
// 'v1', at commit aebf8a7d67ab, is the only logxi release.
99
github.com/mgutz/logxi v0.0.0-20161027140823-aebf8a7d67ab
10-
github.com/newrelic/go-agent/v3 v3.26.0
10+
github.com/newrelic/go-agent/v3 v3.28.1
1111
)
1212

1313

v3/integrations/nrmicro/go.mod

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ go 1.19
77
require (
88
github.com/golang/protobuf v1.5.3
99
github.com/micro/go-micro v1.8.0
10-
github.com/newrelic/go-agent/v3 v3.26.0
10+
github.com/newrelic/go-agent/v3 v3.28.1
11+
google.golang.org/protobuf v1.31.0
1112
)
1213

1314

v3/integrations/nrmongo/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module github.com/newrelic/go-agent/v3/integrations/nrmongo
55
go 1.19
66

77
require (
8-
github.com/newrelic/go-agent/v3 v3.26.0
8+
github.com/newrelic/go-agent/v3 v3.28.1
99
// mongo-driver does not support modules as of Nov 2019.
1010
go.mongodb.org/mongo-driver v1.10.2
1111
)

v3/integrations/nrmssql/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.19
44

55
require (
66
github.com/microsoft/go-mssqldb v0.19.0
7-
github.com/newrelic/go-agent/v3 v3.26.0
7+
github.com/newrelic/go-agent/v3 v3.28.1
88
)
99

1010

v3/integrations/nrmysql/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
// v1.5.0 is the first mysql version to support gomod
88
github.com/go-sql-driver/mysql v1.6.0
99
// v3.3.0 includes the new location of ParseQuery
10-
github.com/newrelic/go-agent/v3 v3.26.0
10+
github.com/newrelic/go-agent/v3 v3.28.1
1111
)
1212

1313

v3/integrations/nrnats/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ go 1.19
77
require (
88
github.com/nats-io/nats-server v1.4.1
99
github.com/nats-io/nats.go v1.28.0
10-
github.com/newrelic/go-agent/v3 v3.26.0
10+
github.com/newrelic/go-agent/v3 v3.28.1
1111
)
1212

1313

v3/integrations/nrnats/test/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ replace github.com/newrelic/go-agent/v3/integrations/nrnats v1.0.0 => ../
88
require (
99
github.com/nats-io/nats-server v1.4.1
1010
github.com/nats-io/nats.go v1.17.0
11-
github.com/newrelic/go-agent/v3 v3.26.0
11+
github.com/newrelic/go-agent/v3 v3.28.1
1212
github.com/newrelic/go-agent/v3/integrations/nrnats v1.0.0
1313
)
1414

v3/integrations/nrpgx/example/sqlx/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module github.com/newrelic/go-agent/v3/integrations/nrpgx/example/sqlx
44
go 1.19
55
require (
66
github.com/jmoiron/sqlx v1.2.0
7-
github.com/newrelic/go-agent/v3 v3.26.0
7+
github.com/newrelic/go-agent/v3 v3.28.1
88
github.com/newrelic/go-agent/v3/integrations/nrpgx v0.0.0
99
)
1010
replace github.com/newrelic/go-agent/v3/integrations/nrpgx => ../../

v3/integrations/nrpgx/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.19
55
require (
66
github.com/jackc/pgx v3.6.2+incompatible
77
github.com/jackc/pgx/v4 v4.13.0
8-
github.com/newrelic/go-agent/v3 v3.26.0
8+
github.com/newrelic/go-agent/v3 v3.28.1
99
)
1010

1111

v3/integrations/nrpgx5/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.19
55
require (
66
github.com/egon12/pgsnap v0.0.0-20221022154027-2847f0124ed8
77
github.com/jackc/pgx/v5 v5.0.3
8-
github.com/newrelic/go-agent/v3 v3.26.0
8+
github.com/newrelic/go-agent/v3 v3.28.1
99
github.com/stretchr/testify v1.8.0
1010
)
1111

0 commit comments

Comments
 (0)