diff --git a/CHANGELOG.md b/CHANGELOG.md index eb8754dc5..b892f8b21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,13 +8,15 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [0.14.0] - 2020-11-19 + ### Added -- `EventOption` and the related `NewEventConfig` function are added to the `go.opentelemetry.io/otel` package to configure Span events. (#1254) -- A `TextMapPropagator` and associated `TextMapCarrier` are added to the `go.opentelemetry.io/otel/oteltest` package to test TextMap type propagators and their use. (#1259) +- An `EventOption` and the related `NewEventConfig` function are added to the `go.opentelemetry.io/otel` package to configure Span events. (#1254) +- A `TextMapPropagator` and associated `TextMapCarrier` are added to the `go.opentelemetry.io/otel/oteltest` package to test `TextMap` type propagators and their use. (#1259) - `SpanContextFromContext` returns `SpanContext` from context. (#1255) - `DeploymentEnvironmentKey` added to `go.opentelemetry.io/otel/semconv` package. (#1323) -- Add an opencensus to opentelemetry tracing bridge. (#1305) +- Add an OpenCensus to OpenTelemetry tracing bridge. (#1305) - Add a parent context argument to `SpanProcessor.OnStart` to follow the specification. (#1333) - Add missing tests for `sdk/trace/attributes_map.go`. (#1337) @@ -23,7 +25,6 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Move the `go.opentelemetry.io/otel/api/trace` package into `go.opentelemetry.io/otel/trace` with the following changes. (#1229) (#1307) - `ID` has been renamed to `TraceID`. - `IDFromHex` has been renamed to `TraceIDFromHex`. - - `ErrorOption` has been changed to an interface to conform with project design standards which included adding a `NewErrorConfig` function. - `EmptySpanContext` is removed. - Move the `go.opentelemetry.io/otel/api/trace/tracetest` package into `go.opentelemetry.io/otel/oteltest`. (#1229) - OTLP Exporter updates: @@ -34,7 +35,6 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - The `MetricKind` method of the `Descriptor` type in the `go.opentelemetry.io/otel/api/metric` package was renamed to `Descriptor.InstrumentKind`. This matches the returned type and fixes misuse of the term metric. (#1240) - Move test harness from the `go.opentelemetry.io/otel/api/apitest` package into `go.opentelemetry.io/otel/oteltest`. (#1241) -- Rename `MergeItererator` to `MergeIterator` in the `go.opentelemetry.io/otel/label` package. (#1244) - Move the `go.opentelemetry.io/otel/api/metric/metrictest` package into `go.opentelemetry.io/oteltest` as part of #964. (#1252) - Move the `go.opentelemetry.io/otel/api/metric` package into `go.opentelemetry.io/otel/metric` as part of #1303. (#1321) - Move the `go.opentelemetry.io/otel/api/metric/registry` package into `go.opentelemetry.io/otel/metric/registry` as a part of #1303. (#1316) @@ -44,10 +44,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Move the `go.opentelemetry.io/otel/api/global` package to `go.opentelemetry.io/otel`. (#1262) (#1330) - Move the `Version` function from `go.opentelemetry.io/otel/sdk` to `go.opentelemetry.io/otel`. (#1330) - Rename correlation context header from `"otcorrelations"` to `"baggage"` to match the OpenTelemetry specification. (#1267) -- Fix `Code.UnmarshalJSON` to work with valid json only. (#1276) +- Fix `Code.UnmarshalJSON` to work with valid JSON only. (#1276) - The `resource.New()` method changes signature to support builtin attributes and functional options, including `telemetry.sdk.*` and `host.name` semantic conventions; the former method is renamed `resource.NewWithAttributes`. (#1235) -- The prometheus exporter now exports non-monotonic counters (i.e. `UpDownCounter`s) as gauges. (#1210) +- The Prometheus exporter now exports non-monotonic counters (i.e. `UpDownCounter`s) as gauges. (#1210) - Correct the `Span.End` method documentation in the `otel` API to state updates are not allowed on a span after it has ended. (#1310) - Updated span collection limits for attribute, event and link counts to 1000 (#1318) - Renamed `semconv.HTTPUrlKey` to `semconv.HTTPURLKey`. (#1338) @@ -56,12 +56,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - The `ErrInvalidHexID`, `ErrInvalidTraceIDLength`, `ErrInvalidSpanIDLength`, `ErrInvalidSpanIDLength`, or `ErrNilSpanID` from the `go.opentelemetry.io/otel` package are unexported now. (#1243) - The `AddEventWithTimestamp` method on the `Span` interface in `go.opentelemetry.io/otel` is removed due to its redundancy. - It is replaced by using the `AddEvent` method with a `WithTimestamp` option. (#1254) -- Structs `MockSpan` and `MockTracer` are removed from `go.opentelemetry.io/otel/oteltest`. `Tracer` and `Span` from the same module should be used in their place instead. (#1306) + It is replaced by using the `AddEvent` method with a `WithTimestamp` option. (#1254) +- The `MockSpan` and `MockTracer` types are removed from `go.opentelemetry.io/otel/oteltest`. + `Tracer` and `Span` from the same module should be used in their place instead. (#1306) - `WorkerCount` option is removed from `go.opentelemetry.io/otel/exporters/otlp`. (#1350) ### Fixed +- Rename `MergeItererator` to `MergeIterator` in the `go.opentelemetry.io/otel/label` package. (#1244) - The `go.opentelemetry.io/otel/api/global` packages global TextMapPropagator now delegates functionality to a globally set delegate for all previously returned propagators. (#1258) - Fix condition in `label.Any`. (#1299) - Fix global `TracerProvider` to pass options to its configured provider. (#1329) @@ -958,7 +960,8 @@ It contains api and sdk for trace and meter. - CODEOWNERS file to track owners of this project. -[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v0.13.0...HEAD +[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v0.14.0...HEAD +[0.14.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.14.0 [0.13.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.13.0 [0.12.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.12.0 [0.11.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.11.0 diff --git a/bridge/opencensus/examples/bridge/go.mod b/bridge/opencensus/examples/bridge/go.mod index f9aa6cd23..da49395da 100644 --- a/bridge/opencensus/examples/bridge/go.mod +++ b/bridge/opencensus/examples/bridge/go.mod @@ -11,8 +11,8 @@ replace ( require ( go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f - go.opentelemetry.io/otel v0.13.0 - go.opentelemetry.io/otel/bridge/opencensus v0.0.0-20201117180221-c857a3da18cb - go.opentelemetry.io/otel/exporters/stdout v0.13.0 - go.opentelemetry.io/otel/sdk v0.13.0 + go.opentelemetry.io/otel v0.14.0 + go.opentelemetry.io/otel/bridge/opencensus v0.14.0 + go.opentelemetry.io/otel/exporters/stdout v0.14.0 + go.opentelemetry.io/otel/sdk v0.14.0 ) diff --git a/bridge/opencensus/go.mod b/bridge/opencensus/go.mod index f16ef4d01..f28b0ae27 100644 --- a/bridge/opencensus/go.mod +++ b/bridge/opencensus/go.mod @@ -4,7 +4,7 @@ go 1.14 require ( go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f - go.opentelemetry.io/otel v0.13.0 + go.opentelemetry.io/otel v0.14.0 ) replace go.opentelemetry.io/otel => ../.. diff --git a/bridge/opentracing/go.mod b/bridge/opentracing/go.mod index 5b01357b2..3b935410b 100644 --- a/bridge/opentracing/go.mod +++ b/bridge/opentracing/go.mod @@ -6,5 +6,5 @@ replace go.opentelemetry.io/otel => ../.. require ( github.com/opentracing/opentracing-go v1.2.0 - go.opentelemetry.io/otel v0.13.0 + go.opentelemetry.io/otel v0.14.0 ) diff --git a/example/basic/go.mod b/example/basic/go.mod index c23043b7e..d62c99663 100644 --- a/example/basic/go.mod +++ b/example/basic/go.mod @@ -9,7 +9,7 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.13.0 - go.opentelemetry.io/otel/exporters/stdout v0.13.0 - go.opentelemetry.io/otel/sdk v0.13.0 + go.opentelemetry.io/otel v0.14.0 + go.opentelemetry.io/otel/exporters/stdout v0.14.0 + go.opentelemetry.io/otel/sdk v0.14.0 ) diff --git a/example/jaeger/go.mod b/example/jaeger/go.mod index bd1425380..657108ebc 100644 --- a/example/jaeger/go.mod +++ b/example/jaeger/go.mod @@ -9,7 +9,7 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.13.0 - go.opentelemetry.io/otel/exporters/trace/jaeger v0.13.0 - go.opentelemetry.io/otel/sdk v0.13.0 + go.opentelemetry.io/otel v0.14.0 + go.opentelemetry.io/otel/exporters/trace/jaeger v0.14.0 + go.opentelemetry.io/otel/sdk v0.14.0 ) diff --git a/example/namedtracer/go.mod b/example/namedtracer/go.mod index ddd0f90ba..bfa0137e9 100644 --- a/example/namedtracer/go.mod +++ b/example/namedtracer/go.mod @@ -9,7 +9,7 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.13.0 - go.opentelemetry.io/otel/exporters/stdout v0.13.0 - go.opentelemetry.io/otel/sdk v0.13.0 + go.opentelemetry.io/otel v0.14.0 + go.opentelemetry.io/otel/exporters/stdout v0.14.0 + go.opentelemetry.io/otel/sdk v0.14.0 ) diff --git a/example/otel-collector/go.mod b/example/otel-collector/go.mod index d73becfe3..e3356aff7 100644 --- a/example/otel-collector/go.mod +++ b/example/otel-collector/go.mod @@ -9,8 +9,8 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.13.0 - go.opentelemetry.io/otel/exporters/otlp v0.13.0 - go.opentelemetry.io/otel/sdk v0.13.0 + go.opentelemetry.io/otel v0.14.0 + go.opentelemetry.io/otel/exporters/otlp v0.14.0 + go.opentelemetry.io/otel/sdk v0.14.0 google.golang.org/grpc v1.32.0 ) diff --git a/example/prometheus/go.mod b/example/prometheus/go.mod index 4fc56c66b..ab567769a 100644 --- a/example/prometheus/go.mod +++ b/example/prometheus/go.mod @@ -9,6 +9,6 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.13.0 - go.opentelemetry.io/otel/exporters/metric/prometheus v0.13.0 + go.opentelemetry.io/otel v0.14.0 + go.opentelemetry.io/otel/exporters/metric/prometheus v0.14.0 ) diff --git a/example/zipkin/go.mod b/example/zipkin/go.mod index a0ee3cc5d..b628b2e00 100644 --- a/example/zipkin/go.mod +++ b/example/zipkin/go.mod @@ -9,7 +9,7 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.13.0 - go.opentelemetry.io/otel/exporters/trace/zipkin v0.13.0 - go.opentelemetry.io/otel/sdk v0.13.0 + go.opentelemetry.io/otel v0.14.0 + go.opentelemetry.io/otel/exporters/trace/zipkin v0.14.0 + go.opentelemetry.io/otel/sdk v0.14.0 ) diff --git a/exporters/metric/prometheus/go.mod b/exporters/metric/prometheus/go.mod index 86e510417..3f3ef475a 100644 --- a/exporters/metric/prometheus/go.mod +++ b/exporters/metric/prometheus/go.mod @@ -10,6 +10,6 @@ replace ( require ( github.com/prometheus/client_golang v1.7.1 github.com/stretchr/testify v1.6.1 - go.opentelemetry.io/otel v0.13.0 - go.opentelemetry.io/otel/sdk v0.13.0 + go.opentelemetry.io/otel v0.14.0 + go.opentelemetry.io/otel/sdk v0.14.0 ) diff --git a/exporters/otlp/go.mod b/exporters/otlp/go.mod index ac06ab12b..dcd433d2d 100644 --- a/exporters/otlp/go.mod +++ b/exporters/otlp/go.mod @@ -12,8 +12,8 @@ require ( github.com/golang/protobuf v1.4.2 // indirect github.com/google/go-cmp v0.5.3 github.com/stretchr/testify v1.6.1 - go.opentelemetry.io/otel v0.13.0 - go.opentelemetry.io/otel/sdk v0.13.0 + go.opentelemetry.io/otel v0.14.0 + go.opentelemetry.io/otel/sdk v0.14.0 golang.org/x/net v0.0.0-20191002035440-2ec189313ef0 // indirect google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884 // indirect google.golang.org/grpc v1.32.0 diff --git a/exporters/stdout/go.mod b/exporters/stdout/go.mod index 9bf96e406..6e73566f8 100644 --- a/exporters/stdout/go.mod +++ b/exporters/stdout/go.mod @@ -9,6 +9,6 @@ replace ( require ( github.com/stretchr/testify v1.6.1 - go.opentelemetry.io/otel v0.13.0 - go.opentelemetry.io/otel/sdk v0.13.0 + go.opentelemetry.io/otel v0.14.0 + go.opentelemetry.io/otel/sdk v0.14.0 ) diff --git a/exporters/trace/jaeger/go.mod b/exporters/trace/jaeger/go.mod index 8bb5f5611..7c3539d8c 100644 --- a/exporters/trace/jaeger/go.mod +++ b/exporters/trace/jaeger/go.mod @@ -11,7 +11,7 @@ require ( github.com/apache/thrift v0.13.0 github.com/google/go-cmp v0.5.3 github.com/stretchr/testify v1.6.1 - go.opentelemetry.io/otel v0.13.0 - go.opentelemetry.io/otel/sdk v0.13.0 + go.opentelemetry.io/otel v0.14.0 + go.opentelemetry.io/otel/sdk v0.14.0 google.golang.org/api v0.32.0 ) diff --git a/exporters/trace/zipkin/go.mod b/exporters/trace/zipkin/go.mod index 4c3d884ca..6a87d9f33 100644 --- a/exporters/trace/zipkin/go.mod +++ b/exporters/trace/zipkin/go.mod @@ -11,6 +11,6 @@ require ( github.com/google/go-cmp v0.5.3 github.com/openzipkin/zipkin-go v0.2.5 github.com/stretchr/testify v1.6.1 - go.opentelemetry.io/otel v0.13.0 - go.opentelemetry.io/otel/sdk v0.13.0 + go.opentelemetry.io/otel v0.14.0 + go.opentelemetry.io/otel/sdk v0.14.0 ) diff --git a/sdk/go.mod b/sdk/go.mod index 428fa1dc0..bc05b947e 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -10,5 +10,5 @@ require ( github.com/google/go-cmp v0.5.3 github.com/google/gofuzz v1.1.0 // indirect github.com/stretchr/testify v1.6.1 - go.opentelemetry.io/otel v0.13.0 + go.opentelemetry.io/otel v0.14.0 ) diff --git a/version.go b/version.go index 7e084d2c5..0fc9c19aa 100644 --- a/version.go +++ b/version.go @@ -16,5 +16,5 @@ package otel // import "go.opentelemetry.io/otel" // Version is the current release version of OpenTelemetry in use. func Version() string { - return "0.13.0" + return "0.14.0" }