Skip to content

chore(deps): update dependency apple/swift-log to from: "1.10.1"#25

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/apple-swift-log-1.x
Open

chore(deps): update dependency apple/swift-log to from: "1.10.1"#25
renovate[bot] wants to merge 1 commit intomainfrom
renovate/apple-swift-log-1.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Sep 25, 2022

This PR contains the following updates:

Package Update Change
apple/swift-log minor from: "1.4.2"from: "1.10.1"

Release Notes

apple/swift-log (apple/swift-log)

v1.10.1

Compare Source

What's Changed
SemVer Minor

Full Changelog: apple/swift-log@1.10.0...1.10.1

v1.10.0

Compare Source

What's Changed
SemVer Minor
SemVer Patch
Other Changes
New Contributors

Full Changelog: apple/swift-log@1.9.1...1.10.0

v1.9.1

Compare Source

What's Changed

SemVer Patch
Other Changes
  • Change document title to 'SLG-0001: Metadata Providers' by @​ktoso in #​400

New Contributors

Full Changelog: apple/swift-log@1.9.0...1.9.1

v1.9.0

Compare Source

What's Changed

SemVer Minor
Other Changes

New Contributors

Full Changelog: apple/swift-log@1.8.0...1.9.0

v1.8.0

Compare Source

What's Changed

SemVer Minor
  • Conform Logger.Level to CustomStringConvertible and LosslessStringConvertible by @​fpseverino in #​395
Other Changes

New Contributors

Full Changelog: apple/swift-log@1.7.1...1.8.0

v1.7.1

Compare Source

What's Changed

SemVer Patch
Other Changes

Full Changelog: apple/swift-log@1.7.0...1.7.1

v1.7.0

Compare Source

What's Changed

SemVer Minor
SemVer Patch
Other Changes

New Contributors

Full Changelog: apple/swift-log@1.6.4...1.7.0

v1.6.4

Compare Source

What's Changed

SemVer Patch
Other Changes

New Contributors

Full Changelog: apple/swift-log@1.6.3...1.6.4

v1.6.3

Compare Source

What's Changed

SemVer Patch
Other Changes

New Contributors

Full Changelog: apple/swift-log@1.6.2...1.6.3

v1.6.2

Compare Source

What's Changed

SemVer Patch
Other Changes

New Contributors

Full Changelog: apple/swift-log@1.6.1...1.6.2

v1.6.1: Swift Log 1.6.1

Compare Source

SemVer Patch
  • Disable existential any build setting (#​312)

v1.6.0

Compare Source

SemVer Minor

  • Add Sendability annotations in #​308
  • Fix deprecation warnings around default log implementations on handlers in #​310
  • Drop Swift versions earlier than 5.8 in #​299
  • Implement Copy-On-Write (CoW) behavior for Logger struct by @​ayushi2103 in #​297
SemVer Patch
  • Replace standardOutput to standardError by @​ayushi2103 in #​295
  • Use Set to spot duplicated log handler warnings in #​306
  • Make protocol usage obvious using any and some keywords in #​307
  • Remove documentation for non-existent arguments by @​b1ackturtle in #​309
  • Remove Docc plugin which is no longer required in #​311
Other Changes

v1.5.4

Compare Source

What's Changed

Cleanups & minor compatibility improvements
Non code changes

New Contributors

Full Changelog: apple/swift-log@1.5.3...1.5.4

v1.5.3

Compare Source

What's Changed

Cleanups & minor compatibility improvements
Non code changes

New Contributors

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

v1.5.2

Compare Source

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

  • Avoid logging warnings when handler does not support metadataproviders by @​ktoso in #​252
  • Handle providers properly in multiplex log handler by @​ktoso in #​254
  • Add CI for Swift 5.8 and update nightly to Ubuntu 22.04 by @​yim-lee in #​255

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

v1.5.1

Compare Source

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

v1.5.0

Compare Source

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

enum Namespace { 
  @​TaskLocal static var simpleTraceID: String?
}

let simpleTraceIDMetadataProvider = Logger.MetadataProvider { 
    guard let traceID = Namespace.simpleTraceID else {
        return [:]
    }
    return ["simple-trace-id": .string(traceID)]
 }

LoggingSystem.bootstrap({ label, metadataProvider in
    myCoolLogHandler(label: label, metadataProvider: metadataProvider)
}, metadataProvider: simpleTraceIDMetadataProvider)

which in turn makes every Logger on this LoggingSystem add this contextual metadata to log statements automatically:

let log = Logger(label: "hello")

Namespace.$simpleTraceID.withValue("1234-5678") {
  test()
}

func test() {
  log.info("test log statement")
}

// [info] [simple-trace-id: 1234-5678] test log statement
Adoption in LogHandlers

In order to support this new feature in your log handlers, please make it accept a MetadataProvider? at creation, and store it as:

struct MyHandler: LogHandler {
    // ... 
    public var metadataProvider: Logger.MetadataProvider?
    // ...
}

What's Changed

Highlight
  • Metadata Providers (e.g. for Distributed Tracing) in LogHandlers by @​ktoso in #​238
Other changes

New Contributors

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

v1.4.4

Compare Source

Sendable fixup for 1.4.3

The 1.4.3 release carefully introduced Sendable across the library; sadly we missed that 5.6.x Swift series treat a "missing marker protocol conformance for Sendable" as an error while it is intended to be a warning as which it is correctly reported in Swift 5.7.

This release fixes this by not requiring that values stored in Logger.MetadataValue.stringConvertible must be Sendable, however practically speaking they should be thread-safe in any case, as it is not guaranteed in any way when/where this string convertible value will be invoked from.

This release contains no other changes from 1.4.3.

What's Changed

  • [sendable] Sendable conformance checks cause errors on 5.6 but warnings on 5.7 by @​ktoso in #​229

Full Changelog: apple/swift-log@1.4.3...1.4.4

v1.4.3

Compare Source

Highlights

Loggers and all related types are now Sendable, including metadata values which have to be Sendable as well.

When using from Swift that is concurrency aware, you may be getting warnings where you didn't before, these are all correct though - you need to be ready for e.g. logger metadata to be accessed from another thread. Thankfully values logged this way should usually be sendable to begin with, preferably value types.

For more details see: #​218

What's Changed

New Contributors

Full Changelog: apple/swift-log@1.4.2...1.4.3


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch from d36197e to c9af319 Compare March 16, 2023 07:09
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.4.4" chore(deps): update dependency apple/swift-log to from: "1.5.2" Mar 16, 2023
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.5.2" chore(deps): update dependency apple/swift-log to from: "1.5.3" Aug 11, 2023
@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch from c9af319 to 57a7e5d Compare August 11, 2023 07:56
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.5.3" chore(deps): update dependency apple/swift-log to from: "1.5.4" Jan 22, 2024
@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch from 57a7e5d to 6cbb0c1 Compare January 22, 2024 13:51
@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch from 6cbb0c1 to 90686fa Compare June 24, 2024 08:57
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.5.4" chore(deps): update dependency apple/swift-log to from: "1.6.0" Jun 24, 2024
@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch from 90686fa to f23e5f3 Compare June 24, 2024 18:12
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.6.0" chore(deps): update dependency apple/swift-log to from: "1.6.1" Jun 24, 2024
@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch from f23e5f3 to bcddce0 Compare November 26, 2024 16:19
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.6.1" chore(deps): update dependency apple/swift-log to from: "1.6.2" Nov 26, 2024
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.6.2" chore(deps): update dependency apple/swift-log to from: "1.6.3" Mar 13, 2025
@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch from bcddce0 to d8f524a Compare March 13, 2025 11:04
@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch from d8f524a to d1fe341 Compare July 25, 2025 15:46
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.6.3" chore(deps): update dependency apple/swift-log to from: "1.6.4" Jul 25, 2025
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.6.4" chore(deps): update dependency apple/swift-log to from: "1.7.0" Dec 3, 2025
@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch 2 times, most recently from e134b2a to dd55cf3 Compare December 4, 2025 14:13
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.7.0" chore(deps): update dependency apple/swift-log to from: "1.7.1" Dec 4, 2025
@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch from dd55cf3 to 9b0de42 Compare December 12, 2025 14:44
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.7.1" chore(deps): update dependency apple/swift-log to from: "1.8.0" Dec 12, 2025
@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch from 9b0de42 to 516c2b2 Compare January 14, 2026 14:39
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.8.0" chore(deps): update dependency apple/swift-log to from: "1.9.0" Jan 14, 2026
@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch from 516c2b2 to e683299 Compare January 19, 2026 11:27
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.9.0" chore(deps): update dependency apple/swift-log to from: "1.9.1" Jan 19, 2026
@renovate renovate bot force-pushed the renovate/apple-swift-log-1.x branch from e683299 to ac3acb6 Compare February 16, 2026 17:51
@renovate renovate bot changed the title chore(deps): update dependency apple/swift-log to from: "1.9.1" chore(deps): update dependency apple/swift-log to from: "1.10.1" Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants