Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

chore(deps): bump OpenTelemetry.Extensions.Hosting from 1.0.0-rc7 to 1.5.1 #684

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 29, 2023

Bumps OpenTelemetry.Extensions.Hosting from 1.0.0-rc7 to 1.5.1.

Release notes

Sourced from OpenTelemetry.Extensions.Hosting's releases.

1.5.1

OpenTelemetry

  • Fixed a breaking change causing LogRecord.State to be null where it was previously set to a valid value when OpenTelemetryLoggerOptions.ParseStateValues is false and states implement IReadOnlyList or IEnumerable of KeyValuePair<string, object>s. (#4609)

  • Breaking Change Removed the support for parsing TState types passed to the ILogger.Log<TState> API when ParseStateValues is true and TState does not implement either IReadOnlyList<KeyValuePair<string, object>> or IEnumerable<KeyValuePair<string, object>>. This feature was first introduced in the 1.5.0 stable release with #4334 and has been removed because it makes the OpenTelemetry .NET SDK incompatible with native AOT. (#4614)

1.5.0-rc.1

OpenTelemetry

  • The default resource provided by ResourceBuilder.CreateDefault() now adds the telemetry.sdk.* attributes defined in the specification. (#4369)

  • Fixed an issue with HashCode computations throwing exceptions on .NET Standard 2.1 targets. (#4362)

  • Update value of the resource attribute telemetry.sdk.version to show the tag name which resembles the package version of the SDK. (#4375)

  • Obsoleted State and StateValues properties and added Body and Attributes properties on LogRecord. Note: LogRecord.Attributes and LogRecord.StateValues point to the same data. "Attributes" is what the OpenTelemetry Specification defines so this was changed for clarity & consistency with the specification. (#4334)

  • Tweaked the behavior of the OpenTelemetryLoggerOptions.ParseStateValues flag:

    • LogRecord.Attributes (aka LogRecord.StateValues) are now automatically included for all log messages with states implementing IReadOnlyList or IEnumerable.

    • OpenTelemetryLoggerOptions.ParseStateValues is now used to tell the SDK to parse (using reflection) attributes for custom states which do not implement IReadOnlyList or IEnumerable. Only top-level properties are included.

    • LogRecord.State will only be set to the raw state object if no attributes are found.

    See #4334 for details.

  • If a template ({OriginalFormat} attribute) cannot be found on log messages a formatted message will now automatically be generated (even if OpenTelemetryLoggerOptions.IncludeFormattedMessage is set to false).

... (truncated)

Commits
  • 8d61691 [sdk-1.5.0-hotfix] Update CHANGELOG for release (#4615)
  • b03e031 [sdk-1.5.0-hotfix] Removed support for parsing custom log states using reflec...
  • ae03840 [sdk-1.5.0-hotfix] Fix LogRecord.State being null when TState matches known i...
  • 494323b Update CHANGELOG for 1.5.0 (core)/ 1.5.0-beta.1 (non-core) release (#4545)
  • b9a0138 [inmemory-exporter] Add extension on LoggerProviderBuilder (#4541)
  • e67d44e [AOT] Resolve ConfigurationExtensions and EventSource warnings (#4534)
  • e787019 Update ExponentialHistogram Benchmarks (#4539)
  • 1e60488 Add CHANGELOG entry for removing Exemplars (#4536)
  • 9b5c483 [hosting-logs] Don't register ILogger when calling WithLogging (#4535)
  • ccfbcc6 Mark Exemplars internal (#4533)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [OpenTelemetry.Extensions.Hosting](https://github.com/open-telemetry/opentelemetry-dotnet) from 1.0.0-rc7 to 1.5.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Commits](open-telemetry/opentelemetry-dotnet@1.0.0-rc7...core-1.5.1)

---
updated-dependencies:
- dependency-name: OpenTelemetry.Extensions.Hosting
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested review from ratanparai and mahedee as code owners June 29, 2023 23:38
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants