Skip to content

Support Swift 5#41

Merged
djones6 merged 2 commits intomasterfrom
issue.swift5
Nov 26, 2018
Merged

Support Swift 5#41
djones6 merged 2 commits intomasterfrom
issue.swift5

Conversation

@djones6
Copy link
Contributor

@djones6 djones6 commented Nov 23, 2018

This PR adds support for Swift 5, and also removes support for Swift 3:

  • Removes the Swift 3 format Package.swift and Package.pins,
  • Removes Travis builds for Swift 3.1.1,
  • Renames the Swift 4 format Package@swift-4.swift -> Package.swift,
  • Adds Travis builds using the latest Swift 5 development snapshot (currently swift-DEVELOPMENT-SNAPSHOT-2018-11-22-a)

The swift development snapshot is defined as a Travis environment variable SWIFT_DEVELOPMENT_SNAPSHOT, rather than being hard-coded into the .travis.yml, so that we can automate updates to the snapshot via the Travis API rather than having to push new commits.

I am proposing that we drop Swift 3 support as we are otherwise required to maintain additional Package@swift-n.swift files, and Travis configuration that is out of line with the rest of the Kitura repos. We should tag this as a new minor release, to provide anyone who really does need to remain on Swift 3 a means to continue pulling LoggerAPI at the current (1.7) release with standard SPM syntax.

@djones6 djones6 merged commit d0ccb41 into master Nov 26, 2018
@djones6 djones6 deleted the issue.swift5 branch November 26, 2018 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants