1.4.3
版本发布时间: 2022-08-10 16:46:20
apple/swift-log最新发布版本:1.6.1(2024-06-25 01:37:08)
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: https://github.com/apple/swift-log/pull/218
What's Changed
- Remove references to Swift 4 by @steipete in https://github.com/apple/swift-log/pull/186
- Include source in StreamLogHandler output by @slashmo in https://github.com/apple/swift-log/pull/189
- Improve StdioOutputStream with fwrite (#180) by @felipejinli in https://github.com/apple/swift-log/pull/188
- use #fileID for Swift 5.3+ by @weissi in https://github.com/apple/swift-log/pull/187
- Add
SwiftLogNoOpLogHandler.init(_: String)
by @glbrntt in https://github.com/apple/swift-log/pull/194 - update 5.4 to release docker image by @tomerd in https://github.com/apple/swift-log/pull/196
- adopt security guidelines by @weissi in https://github.com/apple/swift-log/pull/197
- Logging: avoid a deprecation warning on Windows by @compnerd in https://github.com/apple/swift-log/pull/199
- Tests: enable tests on Windows by @compnerd in https://github.com/apple/swift-log/pull/198
- Add swift-log-elk as a new logging backend to the Readme by @philippzagar in https://github.com/apple/swift-log/pull/201
- Add swift-log-SwiftyBeaver as a new logging backend to README.md by @ShivaHuang in https://github.com/apple/swift-log/pull/203
- fix jazzy issues on older versions of ubuntu by @tomerd in https://github.com/apple/swift-log/pull/210
- add docker setup for 5.5 by @tomerd in https://github.com/apple/swift-log/pull/211
- Android support by @andriydruk in https://github.com/apple/swift-log/pull/209
- update doc generation script by @tomerd in https://github.com/apple/swift-log/pull/213
- Add 5.6 nightly CI by @Lukasa in https://github.com/apple/swift-log/pull/214
- ci update by @tomerd in https://github.com/apple/swift-log/pull/219
- Add binaryscraping/swift-log-supabase to README by @grsouza in https://github.com/apple/swift-log/pull/221
- better abstration for LoggingSystem state by @tomerd in https://github.com/apple/swift-log/pull/222
- adopt sendable by @tomerd in https://github.com/apple/swift-log/pull/218
- minimal DocC markdown to order Logger.Levels by @heckj in https://github.com/apple/swift-log/pull/225
New Contributors
- @steipete made their first contribution in https://github.com/apple/swift-log/pull/186
- @slashmo made their first contribution in https://github.com/apple/swift-log/pull/189
- @felipejinli made their first contribution in https://github.com/apple/swift-log/pull/188
- @philippzagar made their first contribution in https://github.com/apple/swift-log/pull/201
- @andriydruk made their first contribution in https://github.com/apple/swift-log/pull/209
- @Lukasa made their first contribution in https://github.com/apple/swift-log/pull/214
- @grsouza made their first contribution in https://github.com/apple/swift-log/pull/221
- @heckj made their first contribution in https://github.com/apple/swift-log/pull/225
Full Changelog: https://github.com/apple/swift-log/compare/1.4.2...1.4.3