Skip to content

Commit

Permalink
Release v1.0.0 (#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb authored Sep 20, 2021
1 parent 43d8fe4 commit 74d4be4
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 20 deletions.
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<PackageName>_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))
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

Expand All @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions api/include/opentelemetry/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/public/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
# -----------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion ext/test/zpages/tracez_data_aggregator_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
15 changes: 1 addition & 14 deletions sdk/include/opentelemetry/sdk/version/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion sdk/src/version/version.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
Expand Down

0 comments on commit 74d4be4

Please sign in to comment.