Skip to content

Commit

Permalink
release: v2.4.7 and properly sync module versions (#1546)
Browse files Browse the repository at this point in the history
  • Loading branch information
kruskall committed Nov 23, 2023
1 parent 2632a96 commit 9f7d62d
Show file tree
Hide file tree
Showing 48 changed files with 87 additions and 81 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,16 @@ endif::[]
[[unreleased]]
=== Unreleased
https://github.com/elastic/apm-agent-go/compare/v2.4.6...main[View commits]
https://github.com/elastic/apm-agent-go/compare/v2.4.7...main[View commits]
[[release-notes-2.x]]
=== Go Agent version 2.x
[[release-notes-2.4.7]]
==== 2.4.7 - 2023/11/23
- Bump submodule dependency version {pull}1546[#1546]
[[release-notes-2.4.6]]
==== 2.4.6 - 2023/11/22
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ For example, APM Server version `7.15.0` corresponds with the Go APM Agent versi

1. Update `version.go` and `internal/apmversion/version.go`, and then run `make update-modules`
2. Update [`CHANGELOG.asciidoc`](changelog.asciidoc), by adding a new version heading (`==== 1.x.x - yyyy/MM/dd`) and changing the base tag of the Unreleased comparison URL
3. Run `make update-modules` to sync the dependencies version
4. Merge changes into github.com/elastic/apm-agent-go@main
5. Create tags: vN.N.N, and module/$MODULE/vN.N.N for each instrumentation module with the script `scripts/tagversion.sh`. Execute the output manually in your terminal. Note: The output assumes `upstream` is the name of the upstream remote.
6. Create release on GitHub: `gh release create vN.N.N`
Expand Down
6 changes: 3 additions & 3 deletions internal/apmgodog/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.19

require (
github.com/cucumber/godog v0.12.2
go.elastic.co/apm/module/apmgrpc/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmgrpc/v2 v2.4.7
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
go.elastic.co/fastjson v1.1.0
google.golang.org/grpc v1.57.1
google.golang.org/grpc/examples v0.0.0-20230831183909-e498bbc9bd37
Expand Down
2 changes: 1 addition & 1 deletion internal/apmschema/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/santhosh-tekuri/jsonschema v1.2.4
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
2 changes: 1 addition & 1 deletion internal/apmversion/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ package apmversion

const (
// AgentVersion is the Elastic APM Go Agent version.
AgentVersion = "2.4.6"
AgentVersion = "2.4.7"
)
4 changes: 2 additions & 2 deletions internal/tracecontexttest/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module tracecontexttest/v2

require go.elastic.co/apm/module/apmhttp/v2 v2.4.5
require go.elastic.co/apm/module/apmhttp/v2 v2.4.7

require (
github.com/armon/go-radix v1.0.0 // indirect
Expand All @@ -9,7 +9,7 @@ require (
github.com/joeshaw/multierror v0.0.0-20140124173710-69b34d4ec901 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/procfs v0.0.0-20190425082905-87a4384529e0 // indirect
go.elastic.co/apm/v2 v2.4.5 // indirect
go.elastic.co/apm/v2 v2.4.7 // indirect
go.elastic.co/fastjson v1.1.0 // indirect
golang.org/x/sys v0.8.0 // indirect
howett.net/plist v0.0.0-20181124034731-591f970eefbb // indirect
Expand Down
4 changes: 2 additions & 2 deletions module/apmawssdkgo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ go 1.19
require (
github.com/aws/aws-sdk-go v1.38.14
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmazure/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ require (
github.com/Azure/azure-storage-file-go v0.8.0
github.com/Azure/azure-storage-queue-go v0.0.0-20191125232315-636801874cdd
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
6 changes: 3 additions & 3 deletions module/apmbeego/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module go.elastic.co/apm/module/apmbeego/v2
require (
github.com/astaxie/beego v1.12.3
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/module/apmsql/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/module/apmsql/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmchi/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module go.elastic.co/apm/module/apmchi/v2
require (
github.com/go-chi/chi v1.5.1
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmchiv5/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module go.elastic.co/apm/module/apmchiv5/v2
require (
github.com/go-chi/chi/v5 v5.0.2
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmecho/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ require (
github.com/labstack/echo v3.3.10+incompatible
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmechov4/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ require (
github.com/labstack/echo/v4 v4.9.0
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmelasticsearch/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module go.elastic.co/apm/module/apmelasticsearch/v2

require (
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
6 changes: 3 additions & 3 deletions module/apmelasticsearch/internal/integration/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ require (
github.com/elastic/go-elasticsearch/v7 v7.5.0
github.com/olivere/elastic v6.2.16+incompatible
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmelasticsearch/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmelasticsearch/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand All @@ -20,7 +20,7 @@ require (
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/procfs v0.0.0-20190425082905-87a4384529e0 // indirect
go.elastic.co/apm/module/apmhttp/v2 v2.4.5 // indirect
go.elastic.co/apm/module/apmhttp/v2 v2.4.7 // indirect
go.elastic.co/fastjson v1.1.0 // indirect
golang.org/x/sys v0.8.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions module/apmfasthttp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ require (
github.com/stretchr/testify v1.8.4
github.com/valyala/bytebufferpool v1.0.0
github.com/valyala/fasthttp v1.34.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
6 changes: 3 additions & 3 deletions module/apmfiber/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ require (
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.8.4
github.com/valyala/fasthttp v1.50.0
go.elastic.co/apm/module/apmfasthttp/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmfasthttp/v2 v2.4.7
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmgin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ require (
github.com/gin-gonic/gin v1.8.2
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
2 changes: 1 addition & 1 deletion module/apmgocql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module go.elastic.co/apm/module/apmgocql/v2
require (
github.com/gocql/gocql v0.0.0-20181124151448-70385f88b28b
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
6 changes: 3 additions & 3 deletions module/apmgokit/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ require (
github.com/go-kit/kit v0.8.0
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmgrpc/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmgrpc/v2 v2.4.7
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
google.golang.org/grpc v1.57.1
google.golang.org/grpc/examples v0.0.0-20230831183909-e498bbc9bd37
)
Expand Down
2 changes: 1 addition & 1 deletion module/apmgometrics/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module go.elastic.co/apm/module/apmgometrics/v2
require (
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmgopg/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module go.elastic.co/apm/module/apmgopg/v2
require (
github.com/go-pg/pg v8.0.7+incompatible
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmsql/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmsql/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmgopgv10/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ require (
github.com/go-pg/pg/v10 v10.7.3
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmsql/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmsql/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
2 changes: 1 addition & 1 deletion module/apmgoredis/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
github.com/go-redis/redis v6.15.9+incompatible
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
2 changes: 1 addition & 1 deletion module/apmgoredisv8/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
github.com/go-redis/redis/v8 v8.11.4
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmgorilla/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module go.elastic.co/apm/module/apmgorilla/v2
require (
github.com/gorilla/mux v1.6.2
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmgorm/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ require (
github.com/jinzhu/gorm v1.9.10
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmsql/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmsql/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmgormv2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module go.elastic.co/apm/module/apmgormv2/v2

require (
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmsql/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmsql/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
gorm.io/driver/mysql v1.0.2
gorm.io/driver/postgres v1.3.4
gorm.io/driver/sqlite v1.3.1
Expand Down
4 changes: 2 additions & 2 deletions module/apmgrpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ require (
github.com/google/go-cmp v0.5.9
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
google.golang.org/grpc v1.57.1
google.golang.org/grpc/examples v0.0.0-20230831183909-e498bbc9bd37
google.golang.org/protobuf v1.31.0
Expand Down
2 changes: 1 addition & 1 deletion module/apmhttp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module go.elastic.co/apm/module/apmhttp/v2
require (
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions module/apmhttprouter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module go.elastic.co/apm/module/apmhttprouter/v2
require (
github.com/julienschmidt/httprouter v1.2.0
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
2 changes: 1 addition & 1 deletion module/apmlambda/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module go.elastic.co/apm/module/apmlambda/v2

require (
github.com/aws/aws-lambda-go v1.8.0
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
2 changes: 1 addition & 1 deletion module/apmlogrus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.2.0
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
2 changes: 1 addition & 1 deletion module/apmmongo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module go.elastic.co/apm/module/apmmongo/v2

require (
github.com/stretchr/testify v1.8.4
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.7
go.mongodb.org/mongo-driver v1.5.1
)

Expand Down
4 changes: 2 additions & 2 deletions module/apmnegroni/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ go 1.19
require (
github.com/stretchr/testify v1.8.4
github.com/urfave/negroni v1.0.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.5
go.elastic.co/apm/v2 v2.4.5
go.elastic.co/apm/module/apmhttp/v2 v2.4.7
go.elastic.co/apm/v2 v2.4.7
)

require (
Expand Down
Loading

0 comments on commit 9f7d62d

Please sign in to comment.