diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c1c31f27c..bb17c1697f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,51 @@ Increment the: ## [Unreleased] +## [1.0.0] 2021-09-16 + +### API + +* Document DefaultSpan, remove DefaultTracer ([#959](https://github.com/open-telemetry/opentelemetry-cpp/pull/959)) +* Separate baggage<->Context api from Baggage Propagator ([#963](https://github.com/open-telemetry/opentelemetry-cpp/pull/963)) +* Remove unused public API to_span_ptr ([#964](https://github.com/open-telemetry/opentelemetry-cpp/pull/964)) +* :collision: Make span context management public ([#967](https://github.com/open-telemetry/opentelemetry-cpp/pull/967)) +* Support determining parent span from Context while creating new Span ([#969](https://github.com/open-telemetry/opentelemetry-cpp/pull/969)) +* :collision: Traces: Add note on experimental semantic convention implementation, prefix semantics headers with experimental tag ([#970](https://github.com/open-telemetry/opentelemetry-cpp/pull/970)) +* Increment OPENTELEMETRY_ABI_VERSION_NO to 1 ([#980](https://github.com/open-telemetry/opentelemetry-cpp/pull/980)) + +### SDK + +* Clean up `GetEnvironmentVariable` and remove unused variable under `NO_GETENV` ([#976](https://github.com/open-telemetry/opentelemetry-cpp/pull/976)) +* :collision: Resources: Add note on experimental semantic convention implementation, prefix semantics headers with experimental tag ([#970](https://github.com/open-telemetry/opentelemetry-cpp/pull/970)) + +### OTLP Exporter + +* :bug: Ignore status description if status code is not Error ([#962](https://github.com/open-telemetry/opentelemetry-cpp/pull/962)) +* :collision: Make Otlp exporter configuration environment variables specs-compliant ([#974](https://github.com/open-telemetry/opentelemetry-cpp/pull/974)) + +### Zipkin Exporter + +* :bug: Don't set parentId in case parentId is empty ([#943](https://github.com/open-telemetry/opentelemetry-cpp/pull/943)) +* :rocket: Extend zipkin exporter with ability to provide headers ([#951](https://github.com/open-telemetry/opentelemetry-cpp/pull/951)) + +### DOCS + +* :book: Add getting-started documentation for SDK: ([#942](https://github.com/open-telemetry/opentelemetry-cpp/pull/942)) +* :book: Remove unnecessary spaces and spelling of gRPC in README ([#965](https://github.com/open-telemetry/opentelemetry-cpp/pull/965)) + +### BUILD + +* Disable bazel build for gcc 4.8, upgrade versions for grpc(v1.39.1) and bazel(4.2.0), document bazel support ([#953](https://github.com/open-telemetry/opentelemetry-cpp/pull/953)) +* Move CMake config template to cmake folder ([#958](https://github.com/open-telemetry/opentelemetry-cpp/pull/958)) +* Enable CMake to search the new package variable `_ROOT` ([#975](https://github.com/open-telemetry/opentelemetry-cpp/pull/975)) +* :bug: Do not override CMAKE_CXX_STANDARD ([#977](https://github.com/open-telemetry/opentelemetry-cpp/pull/977)) + +### :construction: Experiemental Features (Will change in future) + +* Semantic Conventions for traces - As the specs is still experimental, the implementation will change in future. +* Semantic Convention for resource - As the specs is still experimental, the implementation will change in future. +* Logs and Metrics API & SDK - These are not compliant, and are behind feature flag. Not recommended to use for now. + ## [1.0.0-rc4] 2021-08-04 * [EXPORTER] `BREAKING CHANGE` Fix default HTTP port for OTLP HTTP Exporter ([#939](https://github.com/open-telemetry/opentelemetry-cpp/pull/939)) diff --git a/README.md b/README.md index ad7e4f1fe8..33e52a68bc 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The C++ [OpenTelemetry](https://opentelemetry.io/) client. | Signal | Status | Project | | ------- | ---------------------- | ------------------------------------------------------------------------ | -| Traces | Release Candidate | [1.0.0](https://github.com/open-telemetry/opentelemetry-cpp/milestone/9) | +| Traces | Public Release | N/A | | Metrics | Development paused [1] | N/A | | Logs | Experimental [2] | N/A | @@ -24,6 +24,7 @@ The C++ [OpenTelemetry](https://opentelemetry.io/) client. | API Version | Core version | Contrib Version | | ----------- |--------------|-------------------------| | 1.0.0 | 1.0.0-rc4 | N/A [1] | +| 1.0.0 | 1.0.0 | N/A | * [1]: We don't have releases for opentelemetry-cpp contrib repo. This may change in future. diff --git a/api/include/opentelemetry/version.h b/api/include/opentelemetry/version.h index d5e80a799c..2c1d40c0c2 100644 --- a/api/include/opentelemetry/version.h +++ b/api/include/opentelemetry/version.h @@ -5,8 +5,8 @@ #include "opentelemetry/detail/preprocessor.h" -#define OPENTELEMETRY_ABI_VERSION_NO 0 -#define OPENTELEMETRY_VERSION "1.0.0-rc4" +#define OPENTELEMETRY_ABI_VERSION_NO 1 +#define OPENTELEMETRY_VERSION "1.0.0" #define OPENTELEMETRY_ABI_VERSION OPENTELEMETRY_STRINGIFY(OPENTELEMETRY_ABI_VERSION_NO) // clang-format off diff --git a/docs/public/conf.py b/docs/public/conf.py index ca31a83306..d4bb4b5714 100644 --- a/docs/public/conf.py +++ b/docs/public/conf.py @@ -21,7 +21,7 @@ author = 'OpenTelemetry authors' # The full version, including alpha/beta/rc tags -release = '1.0.0-rc4' +release = '1.0.0' # Run sphinx on subprojects and copy output # ----------------------------------------- diff --git a/ext/test/zpages/tracez_data_aggregator_test.cc b/ext/test/zpages/tracez_data_aggregator_test.cc index 26ae46ecf5..5139c9e914 100644 --- a/ext/test/zpages/tracez_data_aggregator_test.cc +++ b/ext/test/zpages/tracez_data_aggregator_test.cc @@ -15,7 +15,7 @@ using namespace opentelemetry::ext::zpages; namespace nostd = opentelemetry::nostd; namespace common = opentelemetry::common; using opentelemetry::common::SteadyTimestamp; -using opentelemetry::v0::trace::Span; +using opentelemetry::trace::Span; const std::string span_name1 = "span 1"; const std::string span_name2 = "span 2"; diff --git a/sdk/include/opentelemetry/sdk/version/version.h b/sdk/include/opentelemetry/sdk/version/version.h index a989cbbc5c..89a43a2b79 100644 --- a/sdk/include/opentelemetry/sdk/version/version.h +++ b/sdk/include/opentelemetry/sdk/version/version.h @@ -5,20 +5,7 @@ #include "opentelemetry/detail/preprocessor.h" -#define OPENTELEMETRY_SDK_ABI_VERSION_NO 0 -#define OPENTELEMETRY_SDK_VERSION "1.0.0-rc4" -#define OPENTELEMETRY_SDK_ABI_VERSION OPENTELEMETRY_STRINGIFY(OPENTELEMETRY_SDK_ABI_VERSION_NO) - -// clang-format off -#define OPENTELEMETRY_SDK_BEGIN_NAMESPACE \ - namespace opentelemetry { namespace sdk { inline namespace OPENTELEMETRY_CONCAT(v, OPENTELEMETRY_SDK_ABI_VERSION_NO) { - -#define OPENTELEMETRY_SDK_END_NAMESPACE \ - }}} - -#define OPENTELEMETRY_SDK_NAMESPACE opentelemetry :: sdk :: OPENTELEMETRY_CONCAT(v, OPENTELEMETRY_SDK_ABI_VERSION_NO) - -// clang-format on +#define OPENTELEMETRY_SDK_VERSION "1.0.0" #include "opentelemetry/version.h" diff --git a/sdk/src/version/version.cc b/sdk/src/version/version.cc index ddabd58066..0978f43eea 100644 --- a/sdk/src/version/version.cc +++ b/sdk/src/version/version.cc @@ -11,7 +11,7 @@ namespace version const int MAJOR_VERSION = 1; const int MINOR_VERSION = 0; const int PATCH_VERSION = 0; -const char *PRE_RELEASE = "rc4"; +const char *PRE_RELEASE = ""; const char *BUILD_METADATA = ""; const int COUNT_NEW_COMMITS = 0; const char *BRANCH = "";