Skip to content

Releases: kareman/SwiftShell

5.1.0

25 Sep 20:54
99680b2
Compare
Choose a tag to compare
  • Test with Swift 5.3 and Xcode 12 (#93)

    Use xcpretty-actions-formatter

  • Update Xcode project. (#94)

    As suggested by Xcode 12. Also update Swift version.

  • Release 5.1 (#95)

    • Update README.md

    • Update podspec.

5.1.0-beta.1

13 Jul 15:44
a6014fe
Compare
Choose a tag to compare
5.1.0-beta.1 Pre-release
Pre-release
  • Compile on Swift 5.3

  • Remove "support" for iOS.
    Running shell commands has never worked on iOS, it was just a hack to enable kareman/FileSmith (which does work on iOS) and SwiftShell to use the same *Stream protocols.

  • Readme: Remove mentions of FileSmith.
    FileSmith and SwiftShell no longer cooperate specifically.

  • Add GitHub CI tests (#85)

  • Set Swift version to 5.2.4.

  • Remove custom nullDevice.
    Turns out my implementation of nullDevice in SwiftFoundation was merged four years ago and I forgot about it.

  • Remove Tests/LinuxMain.swift, use '--enable-test-discovery' on Linux instead.

  • Use built-in XCTest error testing.

  • Remove Process extensions for Linux.
    It seems they have been added to Swift Foundation.

  • Remove missing files from Xcode project.

  • Reformat code using swiftformat 0.40.14
    Because it is the last version of swiftformat that does indentation and alignment correctly (tabs for indentation, spaces for alignment).

  • Test on Swift 5.1 too. (#86)

  • Readme: supports Swift 5.1 - 5.3

  • Readme: remove Travis badge

  • Xcode project: set deployment target, remove unused iOS stuff. (#89)

  • CI: Separate out Xcode and cocapods tests (#88)

5.0.1

03 Oct 13:47
Compare
Choose a tag to compare
  • fix framework build setting from corrupting xcode archive type.
  • support older macOS versions (10.11)

Swift 5

27 Mar 22:32
Compare
Choose a tag to compare
  • Update to Swift 5
  • Set minimum macOS version to 10.13, because of deprecated methods in Foundation.Process.
  • swiftshell-init uses Swift 5 in it's generated Package.swift.
  • The 'exit' functions now only print filename and line number in debug builds.

4.1.2

03 Oct 19:51
Compare
Choose a tag to compare
  • set Swift version to 4.2.
  • fix multi threading issue raised by Xcode's tread sanitiser when using the 'run(...)' commands. (#69)

4.1.1

31 Jul 16:25
Compare
Choose a tag to compare

Remove swiftlint build phase, as it was inactive and led to Carthage build errors on Xcode 10 beta 3.

4.1.0

18 Apr 01:00
Compare
Choose a tag to compare
  • Update to Swift 4.1.
  • Add AsyncCommand.stop, interrupt, suspend and resume. Also for Linux (#59, #60).
  • Add runAsyncAndPrint command (#61).
  • Improve documentation and formatting.
    Use present tense in documentation.
    Add missing documentation.

Bug fixes

  • Make main.stdout.encoding default to main.encoding.
  • run: do not read both standard output and standard error if they are the same.

Miscellaneous

  • Mark stream's readData() with @discardableResult
  • Make testIntsLazySplit_NoEmptySlices actually do something.
  • Xcode 9.3: update to recommended project settings.
  • Readme: update with new functionality.
    Also fix some other stuff.

4.0.2

04 Mar 16:43
Compare
Choose a tag to compare
  • Fix #52: 'run' hangs on large output.
  • Update Swift to version 4.0.3.

4.0.1

30 Jan 02:10
Compare
Choose a tag to compare
  • Remove deprecated uses of .characters, and thereby get rid of all the warnings.
  • Get swiftshell-init to work with new Package.swift layout.
  • Add missing Linux unit test.
  • Fix bug in ReadableStream.onOutput where the callback would crash if the ReadableStream instance had ceased to exist (#45)

Swift 4

30 Jan 02:04
Compare
Choose a tag to compare

Update to Swift 4.