From b094dbd3cdc5708d4c4d6ec5f09534da838bd87a Mon Sep 17 00:00:00 2001 From: Anthony Mirabella Date: Wed, 22 Jun 2022 13:35:17 -0400 Subject: [PATCH] Release Prep v0.54.0 (#5576) * Update CHANGELOG and versions.yaml to prepare for 0.54 release Signed-off-by: Anthony J Mirabella * Prepare collector-core for version v0.54.0 * Update collector versions Signed-off-by: Anthony J Mirabella * gotidy Signed-off-by: Anthony J Mirabella * make genotelcorecol Signed-off-by: Anthony J Mirabella --- CHANGELOG.md | 8 +++++--- cmd/builder/internal/builder/config.go | 2 +- cmd/otelcorecol/builder-config.yaml | 20 ++++++++++---------- cmd/otelcorecol/go.mod | 6 +++--- cmd/otelcorecol/main.go | 2 +- examples/k8s/otel-config.yaml | 4 ++-- go.mod | 4 ++-- versions.yaml | 2 +- 8 files changed, 25 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d913e63c1a..d4256ef9533 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## v0.54.0 Beta + ### 🛑 Breaking changes 🛑 - Remove deprecated `GetLogger`. (#5504) @@ -11,13 +13,12 @@ - Remove deprecated `config.MapConverter` (#5505) - Remove deprecated `config.Received` (#5505) - Remove deprecated `config.CloseFunc` (#5505) -- Deprecated `pcommon.Value.NewValueBytes` is brought back taking `pcommon.ImmutableByteSlice` as an argument instead - of `[]byte` (#5299) +- Deprecated `pcommon.Value.NewValueBytes` is brought back taking `pcommon.ImmutableByteSlice` as an argument instead of `[]byte` (#5299) ### 🚩 Deprecations 🚩 - Use immutable slices for primitive types slices to restrict mutations. (#5299) - - `Value.NewValueMBytes` func is deprecated in favor of Value.NewValueMBytes func that takes + - `Value.NewValueMBytes` func is deprecated in favor of `Value.NewValueBytes` func that takes `ImmutableByteSlice` instead of `[]byte` - `Value.SetMBytesVal` func is deprecated in favor of `Value.SetBytesVal` func that takes `pcommon.ImmutableByteSlice` instead of []byte. @@ -46,6 +47,7 @@ - Unconfigured receivers are not identified, this was not a real problem in final binaries since the validation of the config catch this. - Allow configurations to contain "unused" receivers. Receivers that are configured but not used in any pipeline, this was possible already for exporters and processors. - Remove the enforcement/check that Receiver factories create the same instance for the same config. + ## v0.53.0 Beta ### 🛑 Breaking changes 🛑 diff --git a/cmd/builder/internal/builder/config.go b/cmd/builder/internal/builder/config.go index ee2a47b19ac..2cac5e4bf85 100644 --- a/cmd/builder/internal/builder/config.go +++ b/cmd/builder/internal/builder/config.go @@ -25,7 +25,7 @@ import ( "go.uber.org/zap" ) -const defaultOtelColVersion = "0.53.0" +const defaultOtelColVersion = "0.54.0" // ErrInvalidGoMod indicates an invalid gomod var ErrInvalidGoMod = errors.New("invalid gomod specification for module") diff --git a/cmd/otelcorecol/builder-config.yaml b/cmd/otelcorecol/builder-config.yaml index 3cecccca32c..eeecb87bb75 100644 --- a/cmd/otelcorecol/builder-config.yaml +++ b/cmd/otelcorecol/builder-config.yaml @@ -2,29 +2,29 @@ dist: module: go.opentelemetry.io/collector/cmd/otelcorecol name: otelcorecol description: Local OpenTelemetry Collector binary, testing only. - version: 0.53.0-dev - otelcol_version: 0.53.0 + version: 0.54.0-dev + otelcol_version: 0.54.0 receivers: - import: go.opentelemetry.io/collector/receiver/otlpreceiver - gomod: go.opentelemetry.io/collector v0.53.0 + gomod: go.opentelemetry.io/collector v0.54.0 exporters: - import: go.opentelemetry.io/collector/exporter/loggingexporter - gomod: go.opentelemetry.io/collector v0.53.0 + gomod: go.opentelemetry.io/collector v0.54.0 - import: go.opentelemetry.io/collector/exporter/otlpexporter - gomod: go.opentelemetry.io/collector v0.53.0 + gomod: go.opentelemetry.io/collector v0.54.0 - import: go.opentelemetry.io/collector/exporter/otlphttpexporter - gomod: go.opentelemetry.io/collector v0.53.0 + gomod: go.opentelemetry.io/collector v0.54.0 extensions: - import: go.opentelemetry.io/collector/extension/ballastextension - gomod: go.opentelemetry.io/collector v0.53.0 + gomod: go.opentelemetry.io/collector v0.54.0 - import: go.opentelemetry.io/collector/extension/zpagesextension - gomod: go.opentelemetry.io/collector v0.53.0 + gomod: go.opentelemetry.io/collector v0.54.0 processors: - import: go.opentelemetry.io/collector/processor/batchprocessor - gomod: go.opentelemetry.io/collector v0.53.0 + gomod: go.opentelemetry.io/collector v0.54.0 - import: go.opentelemetry.io/collector/processor/memorylimiterprocessor - gomod: go.opentelemetry.io/collector v0.53.0 + gomod: go.opentelemetry.io/collector v0.54.0 replaces: - go.opentelemetry.io/collector => ../../ diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod index ec5710ffde0..3dba093d6f9 100644 --- a/cmd/otelcorecol/go.mod +++ b/cmd/otelcorecol/go.mod @@ -6,7 +6,7 @@ go 1.17 require ( github.com/stretchr/testify v1.7.4 - go.opentelemetry.io/collector v0.53.0 + go.opentelemetry.io/collector v0.54.0 golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27 ) @@ -55,8 +55,8 @@ require ( github.com/tklauser/numcpus v0.4.0 // indirect github.com/yusufpapurcu/wmi v1.2.2 // indirect go.opencensus.io v0.23.0 // indirect - go.opentelemetry.io/collector/pdata v0.53.0 // indirect - go.opentelemetry.io/collector/semconv v0.53.0 // indirect + go.opentelemetry.io/collector/pdata v0.54.0 // indirect + go.opentelemetry.io/collector/semconv v0.54.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.32.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0 // indirect go.opentelemetry.io/contrib/zpages v0.32.0 // indirect diff --git a/cmd/otelcorecol/main.go b/cmd/otelcorecol/main.go index dd4005619b4..d4109280384 100644 --- a/cmd/otelcorecol/main.go +++ b/cmd/otelcorecol/main.go @@ -19,7 +19,7 @@ func main() { info := component.BuildInfo{ Command: "otelcorecol", Description: "Local OpenTelemetry Collector binary, testing only.", - Version: "0.53.0-dev", + Version: "0.54.0-dev", } if err := run(service.CollectorSettings{BuildInfo: info, Factories: factories}); err != nil { diff --git a/examples/k8s/otel-config.yaml b/examples/k8s/otel-config.yaml index 245e70bf8e5..92836475b3e 100644 --- a/examples/k8s/otel-config.yaml +++ b/examples/k8s/otel-config.yaml @@ -66,7 +66,7 @@ spec: - command: - "/otelcol" - "--config=/conf/otel-agent-config.yaml" - image: otel/opentelemetry-collector:0.53.0 + image: otel/opentelemetry-collector:0.54.0 name: otel-agent resources: limits: @@ -177,7 +177,7 @@ spec: - command: - "/otelcol" - "--config=/conf/otel-collector-config.yaml" - image: otel/opentelemetry-collector:0.53.0 + image: otel/opentelemetry-collector:0.54.0 name: otel-collector resources: limits: diff --git a/go.mod b/go.mod index 1793d5c4533..d4af258103f 100644 --- a/go.mod +++ b/go.mod @@ -20,8 +20,8 @@ require ( github.com/spf13/cobra v1.4.0 github.com/stretchr/testify v1.7.4 go.opencensus.io v0.23.0 - go.opentelemetry.io/collector/pdata v0.53.0 - go.opentelemetry.io/collector/semconv v0.53.0 + go.opentelemetry.io/collector/pdata v0.54.0 + go.opentelemetry.io/collector/semconv v0.54.0 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.32.0 go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0 go.opentelemetry.io/contrib/zpages v0.32.0 diff --git a/versions.yaml b/versions.yaml index 3acf8e71ba3..e640d56ea44 100644 --- a/versions.yaml +++ b/versions.yaml @@ -14,7 +14,7 @@ module-sets: collector-core: - version: v0.53.0 + version: v0.54.0 modules: - go.opentelemetry.io/collector - go.opentelemetry.io/collector/cmd/builder