Skip to content

Commit 89f60a8

Browse files
Merge pull request #792 from nr-swilloughby/nrpgx5v2
updates to nrpgx5
2 parents b41f070 + c32cee3 commit 89f60a8

File tree

56 files changed

+807
-122
lines changed

Some content is hidden

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

56 files changed

+807
-122
lines changed

CHANGELOG.md

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
## 3.25.1
2-
* Corrects an error in the release process for 3.25.0.
3-
### Support statement
1+
## 3.26.0
2+
### Added
3+
* Extended implementation of the `nrpgx5` integration (now v1.2.0). This instruments Postgres database operations using the `jackc/pgx/v5` library, including the direct access mode of operation as opposed to requiring code to use the library compatibly with the standard `database/sql` library.
4+
5+
### Corrections
6+
* See below for revised release notes for the 3.25.1 and the retracted 3.25.0 releases. We have clarified what was released at those versions; see also the revised notes for 3.22.0 and 3.22.1 for the same reason.
47

8+
### Support statement
59
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.
610

711
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.
812

9-
10-
## 3.25.0
13+
## 3.25.1
1114
### Added
1215
* Added Support for FastHTTP package
1316
* Added newrelic.WrapHandleFuncFastHTTP() and newrelic.StartExternalSegmentFastHTTP() functions to instrument fasthttp context and create wrapped handlers. These functions work similarly to the existing ones for net/http
@@ -16,6 +19,15 @@
1619
### Fixed
1720
* Corrected a bug where the security agent failed to correctly parse the `NEW_RELIC_SECURITY_AGENT_ENABLED` environment variable.
1821

22+
### Support statement
23+
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.
24+
25+
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.
26+
27+
## 3.25.0 (retracted)
28+
This release was retracted due to an error in the release process which caused the wrong git commit to be tagged.
29+
Since the erroneous `v3.25.0` tag was already visible publicly and may already have been picked up by the Go language infrastructure, we retracted the incorrect 3.25.0 version and released the changes intended for 3.25.0 as version 3.25.1, so users of the Go Agent library will reliably get the correct code.
30+
1931
### Support statement
2032
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 (i.e., Go versions 1.19 and later are supported).
2133
We recommend updating to the latest agent version as soon as it’s available. If you can’t upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
@@ -111,16 +123,6 @@ See the [Go agent EOL Policy](https://docs.newrelic.com/docs/apm/agents/go-agent
111123

112124

113125
## 3.22.1
114-
* Corrects an error in the release process for 3.22.0.
115-
116-
### Support statement
117-
118-
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.
119-
120-
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.
121-
122-
## 3.22.0
123-
124126
### Added
125127
* New Apache Kafka integration nrsarama that instruments the Sarama library https://github.com/Shopify/sarama
126128
* New logs in context integration logcontext-v2/nrzap that instruments the zap logging framework https://github.com/uber-go/zap
@@ -135,6 +137,16 @@ See the [Go agent EOL Policy](https://docs.newrelic.com/docs/apm/agents/go-agent
135137
* Bumped gin package to v1.9.0 in the nrgin integration
136138
* Bumped crypto package to v0.1.0 in the nrpgx integration
137139
* Fixed integration tests in nrnats package not correctly showing code coverage
140+
* Corrects an error in the release process for 3.22.0.
141+
142+
### Support statement
143+
144+
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.
145+
146+
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.
147+
148+
## 3.22.0 (retracted)
149+
This release has been retracted due to an error in the release process which caused it to be incorrectly created. Instead, release 3.22.1 was issued with the changes intended for 3.22.0.
138150

139151
### Support statement
140152

v3/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ require (
88
google.golang.org/grpc v1.54.0
99
)
1010

11+
1112
retract v3.22.0 // release process error corrected in v3.22.1
13+
1214
retract v3.25.0 // release process error corrected in v3.25.1

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

Lines changed: 1 addition & 1 deletion
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.24.1
6+
github.com/newrelic/go-agent/v3 v3.26.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: 1 addition & 1 deletion
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.24.1
6+
github.com/newrelic/go-agent/v3 v3.26.0
77
github.com/sirupsen/logrus v1.8.1
88
)
99

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

Lines changed: 1 addition & 1 deletion
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.24.1
5+
require github.com/newrelic/go-agent/v3 v3.26.0
66

77

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

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

Lines changed: 1 addition & 1 deletion
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.24.1
6+
github.com/newrelic/go-agent/v3 v3.26.0
77
go.uber.org/zap v1.24.0
88
)
99

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

Lines changed: 1 addition & 1 deletion
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.24.1
6+
github.com/newrelic/go-agent/v3 v3.26.0
77
github.com/rs/zerolog v1.26.1
88
)
99

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

Lines changed: 1 addition & 1 deletion
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.24.1
6+
github.com/newrelic/go-agent/v3 v3.26.0
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

Lines changed: 1 addition & 1 deletion
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.24.1
8+
github.com/newrelic/go-agent/v3 v3.26.0
99
// v1.4.0 is required for for the log.WithContext.
1010
github.com/sirupsen/logrus v1.4.0
1111
)

v3/integrations/nrawssdk-v1/go.mod

Lines changed: 1 addition & 1 deletion
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.24.1
11+
github.com/newrelic/go-agent/v3 v3.26.0
1212
)
1313

1414

0 commit comments

Comments
 (0)