Skip to content

Commit

Permalink
Merge pull request #830 from newrelic/develop
Browse files Browse the repository at this point in the history
Release 3.28.1
  • Loading branch information
nr-swilloughby authored Nov 30, 2023
2 parents 0e521dc + 7d91b51 commit 0100f62
Show file tree
Hide file tree
Showing 66 changed files with 311 additions and 168 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 3.28.1
### Added
Added Supportability Metrics to `nrfasthttp` (brings `nrfasthttp` version to v1.0.1).
Always Link Transaction IDs to traces regardless of whether Distributed Tracing is enabled or not
### Fixed
Fixed an issue where `nil` `Request.Body` could be set to non-`nil` `request.Body` with zero length when the security agent is enabled
### Security
More Secure URL Redaction
### Support statement
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.
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.

## 3.28.0
### Fixed
* Bumped gRPC from 1.54.0 -> 1.56.3 in the following packages /v3/integrations/nrgrpc, /v3/, /v3/integrations/nrgrpc
Expand Down
1 change: 1 addition & 0 deletions v3/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ require (
google.golang.org/grpc v1.56.3
)


retract v3.22.0 // release process error corrected in v3.22.1

retract v3.25.0 // release process error corrected in v3.25.1
2 changes: 1 addition & 1 deletion v3/integrations/logcontext-v2/logWriter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/logWriter
go 1.19

require (
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrwriter v1.0.0
)

Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/logcontext-v2/nrlogrus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrlogrus
go 1.19

require (
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/sirupsen/logrus v1.8.1
)

Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/logcontext-v2/nrwriter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrwriter

go 1.19

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


replace github.com/newrelic/go-agent/v3 => ../../..
2 changes: 1 addition & 1 deletion v3/integrations/logcontext-v2/nrzap/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrzap
go 1.19

require (
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
go.uber.org/zap v1.24.0
)

Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/logcontext-v2/nrzerolog/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrzerolog
go 1.19

require (
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/rs/zerolog v1.26.1
)

Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/logcontext-v2/zerologWriter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/zerologWriter
go 1.19

require (
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrwriter v1.0.0
github.com/rs/zerolog v1.27.0
)
Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/logcontext/nrlogrusplugin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext/nrlogrusplugin
go 1.19

require (
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
// v1.4.0 is required for for the log.WithContext.
github.com/sirupsen/logrus v1.4.0
)
Expand Down
3 changes: 2 additions & 1 deletion v3/integrations/nramqp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module github.com/newrelic/go-agent/v3/integrations/nramqp
go 1.19

require (
github.com/newrelic/go-agent/v3 v3.27.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/rabbitmq/amqp091-go v1.9.0
)
replace github.com/newrelic/go-agent/v3 => ../..
2 changes: 1 addition & 1 deletion v3/integrations/nrawssdk-v1/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ go 1.19
require (
// v1.15.0 is the first aws-sdk-go version with module support.
github.com/aws/aws-sdk-go v1.34.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrawssdk-v2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/aws/aws-sdk-go-v2/service/lambda v1.24.5
github.com/aws/aws-sdk-go-v2/service/s3 v1.27.10
github.com/aws/smithy-go v1.13.3
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrb3/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/newrelic/go-agent/v3/integrations/nrb3

go 1.19

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


replace github.com/newrelic/go-agent/v3 => ../..
2 changes: 1 addition & 1 deletion v3/integrations/nrecho-v3/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
// v3.1.0 is the earliest v3 version of Echo that works with modules due
// to the github.com/rsc/letsencrypt import of v3.0.0.
github.com/labstack/echo v3.1.0+incompatible
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrecho-v4/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ go 1.19

require (
github.com/labstack/echo/v4 v4.9.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrelasticsearch-v7/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ go 1.19

require (
github.com/elastic/go-elasticsearch/v7 v7.17.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
4 changes: 3 additions & 1 deletion v3/integrations/nrfasthttp/examples/client-fasthttp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ module client-example
go 1.19

require (
github.com/newrelic/go-agent/v3 v3.28.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/newrelic/go-agent/v3/integrations/nrfasthttp v1.0.0
github.com/valyala/fasthttp v1.49.0
)

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

replace github.com/newrelic/go-agent/v3 => ../../../..
4 changes: 3 additions & 1 deletion v3/integrations/nrfasthttp/examples/server-fasthttp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ module server-example
go 1.19

require (
github.com/newrelic/go-agent/v3 v3.28.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/newrelic/go-agent/v3/integrations/nrfasthttp v1.0.0
github.com/valyala/fasthttp v1.49.0
)

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

replace github.com/newrelic/go-agent/v3 => ../../../..
2 changes: 1 addition & 1 deletion v3/integrations/nrfasthttp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module github.com/newrelic/go-agent/v3/integrations/nrfasthttp
go 1.19

require (
github.com/newrelic/go-agent/v3 v3.28.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/valyala/fasthttp v1.49.0
)
3 changes: 3 additions & 0 deletions v3/integrations/nrfasthttp/instrumentation.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ package nrfasthttp
import (
"net/http"

"github.com/newrelic/go-agent/v3/internal"
"github.com/newrelic/go-agent/v3/newrelic"
"github.com/valyala/fasthttp"
"github.com/valyala/fasthttp/fasthttpadaptor"
)

func init() { internal.TrackUsage("integration", "framework", "fasthttp") }

type fasthttpWrapperResponse struct {
ctx *fasthttp.RequestCtx
}
Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrgin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ go 1.19

require (
github.com/gin-gonic/gin v1.9.1
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrgorilla/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ go 1.19
require (
// v1.7.0 is the earliest version of Gorilla using modules.
github.com/gorilla/mux v1.7.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrgraphgophers/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ go 1.19
require (
// graphql-go has no tagged releases as of Jan 2020.
github.com/graph-gophers/graphql-go v1.3.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
17 changes: 1 addition & 16 deletions v3/integrations/nrgraphqlgo/example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,10 @@ go 1.19
require (
github.com/graphql-go/graphql v0.8.1
github.com/graphql-go/graphql-go-handler v0.2.3
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/newrelic/go-agent/v3/integrations/nrgraphqlgo v1.0.0
)

require (
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/graphql-go/handler v0.2.3 // indirect
github.com/klauspost/compress v1.16.3 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasthttp v1.49.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/grpc v1.56.3 // indirect
google.golang.org/protobuf v1.30.0 // indirect
)

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

replace github.com/newrelic/go-agent/v3 => ../../..
5 changes: 4 additions & 1 deletion v3/integrations/nrgraphqlgo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ go 1.19

require (
github.com/graphql-go/graphql v0.8.1
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


replace github.com/newrelic/go-agent/v3 => ../..
3 changes: 2 additions & 1 deletion v3/integrations/nrgrpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ require (
// protobuf v1.3.0 is the earliest version using modules, we use v1.3.1
// because all dependencies were removed in this version.
github.com/golang/protobuf v1.5.3
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/newrelic/go-agent/v3/integrations/nrsecurityagent v1.1.0
// v1.15.0 is the earliest version of grpc using modules.
google.golang.org/grpc v1.56.3
google.golang.org/protobuf v1.30.0
)

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

replace github.com/newrelic/go-agent/v3/integrations/nrsecurityagent => ../../integrations/nrsecurityagent
2 changes: 1 addition & 1 deletion v3/integrations/nrhttprouter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ go 1.19
require (
// v1.3.0 is the earliest version of httprouter using modules.
github.com/julienschmidt/httprouter v1.3.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrlambda/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/aws/aws-lambda-go v1.41.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrlogrus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module github.com/newrelic/go-agent/v3/integrations/nrlogrus
go 1.19

require (
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrlogrus v1.0.0
// v1.1.0 is required for the Logger.GetLevel method, and is the earliest
// version of logrus using modules.
Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrlogxi/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ go 1.19
require (
// 'v1', at commit aebf8a7d67ab, is the only logxi release.
github.com/mgutz/logxi v0.0.0-20161027140823-aebf8a7d67ab
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
3 changes: 2 additions & 1 deletion v3/integrations/nrmicro/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ go 1.19
require (
github.com/golang/protobuf v1.5.3
github.com/micro/go-micro v1.8.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
google.golang.org/protobuf v1.31.0
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrmongo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module github.com/newrelic/go-agent/v3/integrations/nrmongo
go 1.19

require (
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
// mongo-driver does not support modules as of Nov 2019.
go.mongodb.org/mongo-driver v1.10.2
)
Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrmssql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/microsoft/go-mssqldb v0.19.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrmysql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
// v1.5.0 is the first mysql version to support gomod
github.com/go-sql-driver/mysql v1.6.0
// v3.3.0 includes the new location of ParseQuery
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrnats/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ go 1.19
require (
github.com/nats-io/nats-server v1.4.1
github.com/nats-io/nats.go v1.28.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrnats/test/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ replace github.com/newrelic/go-agent/v3/integrations/nrnats v1.0.0 => ../
require (
github.com/nats-io/nats-server v1.4.1
github.com/nats-io/nats.go v1.17.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/newrelic/go-agent/v3/integrations/nrnats v1.0.0
)

Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrpgx/example/sqlx/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module github.com/newrelic/go-agent/v3/integrations/nrpgx/example/sqlx
go 1.19
require (
github.com/jmoiron/sqlx v1.2.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/newrelic/go-agent/v3/integrations/nrpgx v0.0.0
)
replace github.com/newrelic/go-agent/v3/integrations/nrpgx => ../../
Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrpgx/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
github.com/jackc/pgx v3.6.2+incompatible
github.com/jackc/pgx/v4 v4.13.0
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
)


Expand Down
2 changes: 1 addition & 1 deletion v3/integrations/nrpgx5/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
github.com/egon12/pgsnap v0.0.0-20221022154027-2847f0124ed8
github.com/jackc/pgx/v5 v5.0.3
github.com/newrelic/go-agent/v3 v3.26.0
github.com/newrelic/go-agent/v3 v3.28.1
github.com/stretchr/testify v1.8.0
)

Expand Down
Loading

0 comments on commit 0100f62

Please sign in to comment.