Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/apple/swift-log from 1.4.2 to 1.5.2 #8

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 9, 2023

Bumps github.com/apple/swift-log from 1.4.2 to 1.5.2.

Release notes

Sourced from github.com/apple/swift-log's releases.

1.5.2

Primary change

Address too aggressive warning logging on LogHandlers that do not support MetadataProvider. The warning would be emitted too frequently, resulting in flooding logs with warnings. Instead, the warning is now emitted once per log handler type.

What's Changed

Full Changelog: apple/swift-log@1.5.1...1.5.2

1.5.1

Summary

This patch release focuses on minor cleanups to ergonomics of setting metadata providers with the default stream log handlers, and fixes a bug in the default handler not printing the provided extra metadata by default (it does now).

Thank you to @​slashmo for quickly noticing and providing a patch for the latter!

What's Changed

Full Changelog: apple/swift-log@1.5.0...1.5.1

1.5.0

Changes

Swift version support

This release drops support for Swift 5.0.

Swift 5.1+ remain supported for the time being.

Logger.MetadataProvider

This release introduces metadata providers!

They are an additional way to add metadata to your log statements automatically whenever a log statement is about to be made. This works extremely well with systems like distributed tracing, that may pick up trace identifiers and other information from the task-local context from where the log statement is being made.

The feature came with a swift evolution style proposal introduction to the "why?" and "how?" of this feature you may find interesting.

Metadata providers are used like this:

import Logging
</tr></table>

... (truncated)

Commits
  • 32e8d72 Add CI for Swift 5.8 and update nightly to Ubuntu 22.04 (#255)
  • b2eff1c Handle providers properly in multiplex log handler (#254)
  • ba2a9f5 Avoid logging warnings when handler does not support metadataproviders (#252)
  • 3e3ef75 Emit correct metadata from StreamLogHandler (#251)
  • bd4519f Allow passing explicit provider into the stream handlers (#250)
  • e6ca651 Metadata Providers (e.g. for Distributed Tracing) in LogHandlers (#238)
  • dc77805 Fixes link to Supabase repository (#245)
  • e979c69 Add .spi.yml for Swift Package Index DocC support (#240)
  • d868037 Fix build for wasm (#236)
  • f7b7977 Update README.md (#233)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 9, 2023
Bumps [github.com/apple/swift-log](https://github.com/apple/swift-log) from 1.4.2 to 1.5.2.
- [Release notes](https://github.com/apple/swift-log/releases)
- [Commits](apple/swift-log@1.4.2...1.5.2)

---
updated-dependencies:
- dependency-name: github.com/apple/swift-log
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@sethonyango sethonyango force-pushed the dependabot/swift/github.com/apple/swift-log-1.5.2 branch from aff7d21 to 43ef12b Compare August 10, 2023 05:51
@sethonyango sethonyango merged commit 5481ff5 into master Aug 10, 2023
@dependabot dependabot bot deleted the dependabot/swift/github.com/apple/swift-log-1.5.2 branch August 10, 2023 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant