Tags: vapor/console-kit
Tags
Make logged metadata a little more readable (#201) * The usual package updates. Bump Swift min to 5.8 * Fix a couple Sendable warnings * Make the "without quotes" part of metadata logging more true than before by descending recursively into dictionary and array metadata. * Fix logging tests so that the logged line number is deterministic despite changes to the file. * Fix typo, thanks @weissi!
Support compiling against Musl (#198) In order to compile this package against Musl libc, we need to not conflate `#if os(Linux)` with the ability to `import Glibc`. The common pattern for this is to use the `#if canImport` directive. This patch adds support for Musl by replacing the `Glibc` import conditional alongside a new conditional import of `Musl`. It also updates the `linux_readpassphrase` implementation to use the appropriate `sigaction` handler field for Musl.
Revise async commands support (#196) * Bump NIO version requirement * Deprecate unneeded and functionally incorrect APIs * Simplify and correct sync command adapters. * Remove excess imports, avoid concurrency warnings about fflush(), and a bit of code style
Split ConsoleKit into two functional targets (#192) * Split ConsoleKit into two functional targets - one for terminal interaction, one for command handling, plus an umbrella for compatibility. Also update README, and docs images. Clean up several bits of code. * Apply some of the lessons learned from apple/swift-argument-parser#590, pretty much just for the hell of it. Deprecate `ConsoleErrror`. * Readme cleanup * Make the levenshteinDistance method noticeably more efficient. --------- Co-authored-by: Mahdi Bahrami <github@mahdibm.com> Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
PreviousNext