Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Releases: vapor/core

3.10.1

22 Sep 21:09
89c6989
Compare
Choose a tag to compare

Fix a compilation error when building in Xcode 13

Conform File to ReflectionDecodable

26 Mar 18:38
1782c55
Compare
Choose a tag to compare

File now conforms to ReflectionDecodable.

Core 3.9.3

23 Nov 12:58
Compare
Choose a tag to compare

Updated:

  • Use NIO's primitive functions for flatMap and its siblings (#211, @MrMage).

Core 3.9.2

19 Sep 14:17
18f2436
Compare
Choose a tag to compare
  • Fixed an issue with DirectoryConfig.detect() in Xcode 11 when using native SPM integration. (#208)

Working directory detection methods used in Xcode projects created with swift package generate-xcodeproj no longer work in Xcode 11 when using native SPM integration. The Xcode team has indicated to us that they are not planning on providing any workarounds to allow for this automatic directory detection to work in Xcode 11. Because of this, DirectoryConfig.detect() will no longer attempt to automatically determine the current working directory if it detects Xcode >= 11 using native SPM integration. Instead, it will always return the current working directory.

By default, this current working directory will be a temporary folder used by Xcode. To change this, you must enable Use custom working directory in the scheme editor for your Run scheme:

59303398-2365c080-8c64-11e9-87ad-dfcb239fa99f

You should set the custom working directory to the folder that contains the Package.swift file for your project. Once you have set a custom working directory for your scheme, DirectoryConfig.detect() will correctly detect and return that path to your application. This change should only need to be made once since Xcode project settings are persisted in the .swiftpm folder.

Note that this change should only affect projects using Xcode >= 11 with native SPM integration. Projects using swift package generate-xcodeproj should continue to work without needing to make changes to the Run scheme.

Core 3.9.1

08 Jun 17:58
Compare
Choose a tag to compare

New:

  • Allows integration with iOS through SPM and Xcode 11 beta 1 (#206)

Core 3.9.0

23 Apr 18:34
Compare
Choose a tag to compare

New:

  • Array.flatten now uses NIO's whenAll method under the hood. This change improves performance of future flattening by ~3x. (#203)

Core 3.8.1

10 Apr 18:41
Compare
Choose a tag to compare

Fixed:

  • File.ext now returns nil if the file does not have an extension. (#198)

Core 3.8.0

03 Apr 23:03
Compare
Choose a tag to compare

New:

  • Add MediaType.jsonAPI. (#202)

Fixed:

  • Improve performance of Future.flatten. (#199)

Core 3.7.3

26 Mar 19:50
727ae29
Compare
Choose a tag to compare

Fixed:

  • Got rid of the last two pesky warnings for Swift 5. (#197, #196)

Core 3.7.2

26 Mar 16:29
cbe3824
Compare
Choose a tag to compare

Fixed:

  • Fixed some Swift 5 warnings.