Skip to content

Commit

Permalink
Merge pull request #972 from nr-swilloughby/release_3_35
Browse files Browse the repository at this point in the history
Release 3 35
  • Loading branch information
nr-swilloughby authored Oct 10, 2024
2 parents ead5d74 + 150f041 commit 694f21f
Show file tree
Hide file tree
Showing 59 changed files with 144 additions and 135 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
## 3.35.0
### Added
- Enhanced security features (adds support for secure cookie even reporting)
- Enables sharing of response headers with the csec-security-agent.
- Now uses `error.Error()` value for log attributes
- Thanks to @ejsolberg for the [PR](https://github.com/newrelic/go-agent/pull/947)
- nramqp integration cloud services entity relationship changes
- Enhances url support for amqp server connections

### Fixed
- nrawssdk-v2 integration examples of `AppendMiddlewares` corrected.
- Thanks to @Meroje for the [PR](https://github.com/newrelic/go-agent/pull/599)
- Zerolog integration correction to example program `import` statement.
- Fixes issue [#950](https://github.com/newrelic/go-agent/issues/950)
- Zerolog integration JSON parser bug caused a runtime panic in some circumstances.
- Fixes issue [#955](https://github.com/newrelic/go-agent/issues/955)
- Fixed handling of `panic(nil)`. This was made necessary by changes introducted to Go as of 1.21.
- A race condition was possible due to code level metrics accesses to a contended memory address.
- Fixes issue [#949](https://github.com/newrelic/go-agent/issues/949)
- Fixes issue [#957](https://github.com/newrelic/go-agent/issues/957)
- Integer size issues flagged when converting unsigned to signed values.
- Workflow corrections for CI processes in github.
- Fixes issue [#946](https://github.com/newrelic/go-agent/issues/946)
- Updated to use latest grpc and protobuf versions.
- Fixes memory stat collection for `GOOS=js`.
- Thanks @hslatman for the [PR](https://github.com/newrelic/go-agent/pull/967)

### 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.34.0
### Added
- logcontext-v2/nrlogrus can now collect user attributes
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/protobuf v1.34.2
)


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

retract v3.25.0 // release process error corrected in v3.25.1
Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/logcontext-v2/logWriter/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/logWriter

go 1.20
go 1.21

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

Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/logcontext-v2/nrlogrus/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrlogrus

go 1.20
go 1.21

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

Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/logcontext-v2/nrslog/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrslog

go 1.20
go 1.21

require github.com/newrelic/go-agent/v3 v3.33.1
require github.com/newrelic/go-agent/v3 v3.35.0


replace github.com/newrelic/go-agent/v3 => ../../..
4 changes: 2 additions & 2 deletions v3/integrations/logcontext-v2/nrwriter/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrwriter

go 1.20
go 1.21

require github.com/newrelic/go-agent/v3 v3.33.1
require github.com/newrelic/go-agent/v3 v3.35.0


replace github.com/newrelic/go-agent/v3 => ../../..
4 changes: 2 additions & 2 deletions v3/integrations/logcontext-v2/nrzap/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrzap

go 1.20
go 1.21

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

Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/logcontext-v2/nrzerolog/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrzerolog

go 1.20
go 1.21

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

Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/logcontext-v2/zerologWriter/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/newrelic/go-agent/v3/integrations/logcontext-v2/zerologWriter

go 1.20
go 1.21

require (
github.com/newrelic/go-agent/v3 v3.33.1
github.com/newrelic/go-agent/v3 v3.35.0
github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrwriter v1.0.0
github.com/rs/zerolog v1.27.0
)
Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/logcontext/nrlogrusplugin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ module github.com/newrelic/go-agent/v3/integrations/logcontext/nrlogrusplugin

// As of Dec 2019, the logrus go.mod file uses 1.13:
// https://github.com/sirupsen/logrus/blob/master/go.mod
go 1.20
go 1.21

require (
github.com/newrelic/go-agent/v3 v3.33.1
github.com/newrelic/go-agent/v3 v3.35.0
// v1.4.0 is required for for the log.WithContext.
github.com/sirupsen/logrus v1.4.0
)
Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/nramqp/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/newrelic/go-agent/v3/integrations/nramqp

go 1.20
go 1.21

require (
github.com/newrelic/go-agent/v3 v3.33.1
github.com/newrelic/go-agent/v3 v3.35.0
github.com/rabbitmq/amqp091-go v1.9.0
)
replace github.com/newrelic/go-agent/v3 => ../..
4 changes: 2 additions & 2 deletions v3/integrations/nrawsbedrock/go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
module github.com/newrelic/go-agent/v3/integrations/nrawsbedrock

go 1.20
go 1.21

require (
github.com/aws/aws-sdk-go-v2 v1.26.0
github.com/aws/aws-sdk-go-v2/config v1.27.4
github.com/aws/aws-sdk-go-v2/service/bedrock v1.7.3
github.com/aws/aws-sdk-go-v2/service/bedrockruntime v1.7.1
github.com/google/uuid v1.3.0
github.com/newrelic/go-agent/v3 v3.33.1
github.com/newrelic/go-agent/v3 v3.35.0
)


Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/nrawssdk-v1/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ module github.com/newrelic/go-agent/v3/integrations/nrawssdk-v1
// As of Dec 2019, aws-sdk-go's go.mod does not specify a Go version. 1.6 is
// the earliest version of Go tested by aws-sdk-go's CI:
// https://github.com/aws/aws-sdk-go/blob/master/.travis.yml
go 1.20
go 1.21

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.33.1
github.com/newrelic/go-agent/v3 v3.35.0
)


Expand Down
27 changes: 1 addition & 26 deletions v3/integrations/nrawssdk-v2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,8 @@ require (
github.com/aws/aws-sdk-go-v2/service/s3 v1.61.0
github.com/aws/aws-sdk-go-v2/service/sqs v1.34.6
github.com/aws/smithy-go v1.20.4
github.com/newrelic/go-agent/v3 v3.33.1
github.com/newrelic/go-agent/v3 v3.35.0
)

require (
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.4 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.17.30 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.12 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.16 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.16 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.16 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.4 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.18 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.17 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.18 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.16 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.22.5 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.5 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.30.5 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
golang.org/x/net v0.9.0 // indirect
golang.org/x/sys v0.7.0 // indirect
golang.org/x/text v0.9.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 => ../..
4 changes: 2 additions & 2 deletions v3/integrations/nrb3/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/newrelic/go-agent/v3/integrations/nrb3

go 1.20
go 1.21

require github.com/newrelic/go-agent/v3 v3.33.1
require github.com/newrelic/go-agent/v3 v3.35.0


replace github.com/newrelic/go-agent/v3 => ../..
4 changes: 2 additions & 2 deletions v3/integrations/nrecho-v3/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ module github.com/newrelic/go-agent/v3/integrations/nrecho-v3

// 1.7 is the earliest version of Go tested by v3.1.0:
// https://github.com/labstack/echo/blob/v3.1.0/.travis.yml
go 1.20
go 1.21

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.33.1
github.com/newrelic/go-agent/v3 v3.35.0
)


Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/nrecho-v4/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ module github.com/newrelic/go-agent/v3/integrations/nrecho-v4

// As of Jun 2022, the echo go.mod file uses 1.17:
// https://github.com/labstack/echo/blob/master/go.mod
go 1.20
go 1.21

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


Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/nrelasticsearch-v7/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ module github.com/newrelic/go-agent/v3/integrations/nrelasticsearch-v7

// As of Jan 2020, the v7 elasticsearch go.mod uses 1.11:
// https://github.com/elastic/go-elasticsearch/blob/7.x/go.mod
go 1.20
go 1.21

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


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

go 1.20
go 1.21

require (
github.com/newrelic/go-agent/v3 v3.33.1
github.com/newrelic/go-agent/v3 v3.35.0
github.com/newrelic/go-agent/v3/integrations/nrfasthttp v1.0.0
github.com/valyala/fasthttp v1.49.0
)
Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/nrfasthttp/examples/server-fasthttp/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module server-example

go 1.20
go 1.21

require (
github.com/newrelic/go-agent/v3 v3.33.1
github.com/newrelic/go-agent/v3 v3.35.0
github.com/newrelic/go-agent/v3/integrations/nrfasthttp v1.0.0
github.com/valyala/fasthttp v1.49.0
)
Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/nrfasthttp/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/newrelic/go-agent/v3/integrations/nrfasthttp

go 1.20
go 1.21

require (
github.com/newrelic/go-agent/v3 v3.33.1
github.com/newrelic/go-agent/v3 v3.35.0
github.com/valyala/fasthttp v1.49.0
)

Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/nrgin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ module github.com/newrelic/go-agent/v3/integrations/nrgin

// As of Dec 2019, the gin go.mod file uses 1.12:
// https://github.com/gin-gonic/gin/blob/master/go.mod
go 1.20
go 1.21

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


Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/nrgorilla/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ module github.com/newrelic/go-agent/v3/integrations/nrgorilla

// As of Dec 2019, the gorilla/mux go.mod file uses 1.12:
// https://github.com/gorilla/mux/blob/master/go.mod
go 1.20
go 1.21

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.33.1
github.com/newrelic/go-agent/v3 v3.35.0
)


Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/nrgraphgophers/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ module github.com/newrelic/go-agent/v3/integrations/nrgraphgophers

// As of Jan 2020, the graphql-go go.mod file uses 1.13:
// https://github.com/graph-gophers/graphql-go/blob/master/go.mod
go 1.20
go 1.21

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.33.1
github.com/newrelic/go-agent/v3 v3.35.0
)


Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/nrgraphqlgo/example/go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module github.com/newrelic/go-agent/v3/integrations/nrgraphqlgo/example

go 1.20
go 1.21

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.33.1
github.com/newrelic/go-agent/v3 v3.35.0
github.com/newrelic/go-agent/v3/integrations/nrgraphqlgo v1.0.0
)

Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/nrgraphqlgo/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/newrelic/go-agent/v3/integrations/nrgraphqlgo

go 1.20
go 1.21

require (
github.com/graphql-go/graphql v0.8.1
github.com/newrelic/go-agent/v3 v3.33.1
github.com/newrelic/go-agent/v3 v3.35.0
)


Expand Down
4 changes: 2 additions & 2 deletions v3/integrations/nrgrpc/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module github.com/newrelic/go-agent/v3/integrations/nrgrpc

go 1.20
go 1.21

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.33.1
github.com/newrelic/go-agent/v3 v3.35.0
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
Expand Down
Loading

0 comments on commit 694f21f

Please sign in to comment.