The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Add MetadataProvider support
19 weeks ago
###### _This patch was authored by @MahdiBM and released by @0xTim._
This PR:
* Adds `MetadataProvider` support to `ConsoleLogger`.
* Makes it so the the package requires `swift-log` `1.5.1`+.
* Fixes these warnings:
```
[ WARNING ] Attempted to set metadataProvider on ConsoleLogger that did not implement support for them. Please contact the log handler maintainer to implement metadata provider support.
```
Update Supported Swift Versions
43 weeks ago
###### _This patch was authored and released by @0xTim._
This removes support for Swift 5.2 and Swift 5.3, making Swift 5.4 the earliest supported version [as announced](https://blog.vapor.codes/posts/vapor-swift-versions-update/)
Fix compilation on older OSes
51 weeks ago
###### _This patch was authored and released by @0xTim._
Fixes an issue where compilation would fail on older versions of macOS when using Swift 5.5
Add experimental support for iOS
1 year ago
###### _This patch was authored and released by @0xTim._
This adds experimental support for iOS and fixes up the concurrency stuff by making sure concurrency is available.
Resolves #172
Add support for async `Command`s
1 year ago
###### _This patch was authored by @BennyDeBock and released by @0xTim._
Adds support for async commands with a new `AsyncCommand` type
[android] support `Android` platform.
1 year ago
###### _This patch was authored by @Guang1234567 and released by @gwynne._
Hello dev:
Just support android, thanks.
**Usage:**
```ruby
#!/usr/bin/env bash
export ANDROID_HOME=$HOME/dev_kit/sdk/android_sdk
export ANDROID_SDK=$ANDROID_HOME
export ANDROID_SDK_ROOT=$ANDROID_HOME
export ANDROID_NDK_HOME=$ANDROID_HOME/ndk/21.4.7075529
export ANDROID_NDK=$ANDROID_NDK_HOME
export NDK_ROOT=$ANDROID_NDK_HOME
export ANDROID_NDK_ROOT=$ANDROID_NDK_HOME
export ANDROID_NDK_PATH=$ANDROID_NDK_HOME
export NDK_TOOLCHAINS=$HOME/dev_kit/sdk/toolchain-wrapper
ALL_IN_ONE_FOLDER=$(dirname $(pwd))
export SWIFT_ANDROID_HOME=$ALL_IN_ONE_FOLDER/swift-android-5.4.2-release-ndk21
export SWIFT_ANDROID_ARCH=aarch64
#export SWIFT_ANDROID_ARCH=armv7
#export SWIFT_ANDROID_ARCH=x86_64
export SWIFT_ANDROID_API=23
cd console-kit
#echo -e "\n\n\nRunning on macOS:\n=======================================\n"
#swift build
#.build/x86_64-apple-macosx/debug/ConsoleKitExample demo --color --frames "β ,β ,β Ή,β Έ,β Ό,β ΄,β ¦,β §,β ,β "
echo -e "\n\n\nRunning on androidOS:\n=======================================\n"
${SWIFT_ANDROID_HOME}/build-tools/1.9.7-swift5.4/swift-build --configuration debug -Xswiftc -DDEBUG -Xswiftc -g
echo -e "\n\n\nCopy ELF to real android device :\n_______________________________________\n"
adb push .build/aarch64-unknown-linux-android/debug/ConsoleKitExample /data/local/tmp
echo -e "\n\n\nCopy swift runtime SO to real android device :\n_______________________________________\n"
adb push ${SWIFT_ANDROID_HOME}/toolchain/usr/lib/swift/android/aarch64/*.so /data/local/tmp
echo -e "\n\n\nRunning on real android device :\n_______________________________________\n"
adb shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/ConsoleKitExample demo --color --frames "β ,β ,β Ή,β Έ,β Ό,β ΄,β ¦,β §,β ,β "
cd ..
```
Fix warnings from Swift 5.4 compiler
2 years ago
###### _This patch was authored by @kemchenj and released by @0xTim._
Fixes the following warnings now produced by the Swift 5.4 compiler:
```
warning: using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
public protocol Console: class {
^~~~~
AnyObject
```
Fixed compilation error when not building for MacOS, Linux or Windows
2 years ago
###### _This patch was authored by @cgrindel and released by @0xTim._
Moved the declaration of the `pass` variable in `Terminal.input(isSecure:)` function so that it will compile for all OS targets.
<!-- π Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
Modernization of secure input using Console - take two
2 years ago
###### _This patch was authored and released by @gwynne._
This is a rehash of #153 with improved compatibility and a better testing matrix.
`getpass()` is very, very old, and deprecated everywhere it exists. This PR switches to `readpassphrase()` on macOS, provides a (incomplete but sufficient) re-implementation of `readpassphrase()` based on that of `libbsd` for Linux, and adds an implementation for Windows using the `conio` interface.
Revert "Modernization of secure input using Console"
2 years ago
###### _This patch was authored and released by @MrLotU._
Reverts vapor/console-kit#153 to fix build errors introduced in 4.2.2