Skip to content

Commit f3a9aca

Browse files
Merge pull request #1094 from newrelic/develop
Release v3.41.0
2 parents bc9e89f + d251252 commit f3a9aca

File tree

82 files changed

+3173
-203
lines changed

Some content is hidden

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

82 files changed

+3173
-203
lines changed

.github/workflows/test-pull-request.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
runs-on: ubuntu-latest
4747
strategy:
4848
matrix:
49-
go-version: [1.23.0, 1.24.0, stable]
49+
go-version: [1.24.0, 1.25.0, stable]
5050
continue-on-error: true
5151
steps:
5252
- name: Checkout go-agent code
@@ -76,7 +76,7 @@ jobs:
7676
runs-on: ubuntu-latest
7777
strategy:
7878
matrix:
79-
go-version: [1.23.0, 1.24.0, stable]
79+
go-version: [1.24.0, 1.25.0, stable]
8080
continue-on-error: true
8181
steps:
8282
- name: Checkout go-agent code
@@ -104,7 +104,7 @@ jobs:
104104
runs-on: ${{ matrix.runner }}
105105
strategy:
106106
matrix:
107-
go-version: [1.23.0, 1.24.0, latest]
107+
go-version: [1.24.0, 1.25.0, latest]
108108
core-test: ${{ fromJson(needs.setup-core-matrix.outputs.CORE_MATRIX) }}
109109
runner: [ubuntu-latest, ubuntu-24.04-arm]
110110
continue-on-error: true
@@ -139,7 +139,7 @@ jobs:
139139
runs-on: ubuntu-latest
140140
strategy:
141141
matrix:
142-
go-version: [1.23.0, 1.24.0, latest]
142+
go-version: [1.24.0, 1.25.0, latest]
143143
integration-test: ${{ fromJson(needs.setup-integration-matrix.outputs.INTEGRATION_MATRIX) }}
144144
continue-on-error: true
145145
steps:
@@ -173,7 +173,7 @@ jobs:
173173
runs-on: ubuntu-24.04-arm
174174
strategy:
175175
matrix:
176-
go-version: [1.23.0, 1.24.0, latest]
176+
go-version: [1.24.0, 1.25.0, latest]
177177
integration-test: ${{ fromJson(needs.setup-integration-matrix.outputs.INTEGRATION_MATRIX) }}
178178
continue-on-error: true
179179
steps:

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## 3.41.0
2+
### Added
3+
* Added `DistributedTracer.Sampler` config options for controlling the sampling behavior for Inbound Requests for distributed traces
4+
* To configure the sampler, added `ConfigRemoteParentSampled(flag RemoteParentSamplingConfig)` and `ConfigRemoteParentNotSampled(flag RemoteParentSamplingConfig)` which handles sampling behavior based on what the remote parent has flagged
5+
* Flags added are `"always_on", "always_off", and "default"` which can be called using `RemoteParentSamplingConfig`
6+
* `Example: newrelic.ConfigRemoteParentSampled(newrelic.AlwaysOff)`
7+
* Added OOM Monitoring Tests
8+
* Increased Secure Agent Test Coverage
9+
### Fixed
10+
* Updated third-party library versions due to reported security or other supportability issues:
11+
* `github.com/gofiber/fiber/v2` from 2.52.7 to 2.52.9 in `nrfiber` integration
12+
* `golang.org/x/net` from 0.25.0 to 0.38.0 in `nrconnect` integration
13+
### Support statement
14+
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.
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.40.1
218
### Fixed
319
* Reverted utilization.go back to v3.39.0 release due to deadlock bug

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
ARG GO_VERSION
33

44
# Takes in go version
5-
FROM golang:${GO_VERSION:-1.24}
5+
FROM golang:${GO_VERSION:-1.25}
66

77
ARG DEBIAN_FRONTEND=noninteractive
88
RUN apt-get update && apt-get install -y --no-install-recommends \

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ services:
4040
context: .
4141
dockerfile: ./Dockerfile
4242
args:
43-
GO_VERSION: ${GO_VERSION:-1.24}
43+
GO_VERSION: ${GO_VERSION:-1.25}
4444
environment:
4545
PG_HOST: postgres
4646
PG_PORT: 5432
@@ -63,7 +63,7 @@ services:
6363
context: .
6464
dockerfile: ./Dockerfile
6565
args:
66-
GO_VERSION: ${GO_VERSION:-1.24}
66+
GO_VERSION: ${GO_VERSION:-1.25}
6767
environment:
6868
PG_HOST: postgres
6969
PG_PORT: 5432

v3/go.mod

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

3-
go 1.22
3+
go 1.24
44

55
require (
66
google.golang.org/grpc v1.65.0

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

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

3-
go 1.22
3+
go 1.24
44

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

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

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

3-
go 1.22
3+
go 1.24
44

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

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

3-
go 1.22
3+
go 1.24
44

5-
require github.com/newrelic/go-agent/v3 v3.40.1
5+
require github.com/newrelic/go-agent/v3 v3.41.0
66

77

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

3-
go 1.22
3+
go 1.24
44

5-
require github.com/newrelic/go-agent/v3 v3.40.1
5+
require github.com/newrelic/go-agent/v3 v3.41.0
66

77

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

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

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

3-
go 1.22
3+
go 1.24
44

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

0 commit comments

Comments
 (0)