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

Releases: vapor/core

Core 3.2.2

31 May 03:29
174f909
Compare
Choose a tag to compare

New:

  • Added CaseIterable support for reflecting enums (#152, #148).

Fixed:

  • Fixed an issue with QueueHandler related to enqueuing data on multiple threads (#153).
  • Fixed an issue with Process.asyncExecute(...) on High Sierra (#155).

Core 3.2.1

24 May 21:42
Compare
Choose a tag to compare

Fixed:

  • Addendum to 3.2.0, publicizes newly added methods.

Core 3.2.0

24 May 16:53
2dfc2bd
Compare
Choose a tag to compare

New:

  • New AnyReflectable protocol allows for reflection using AnyKeyPath. (#150, #141)
  • Added new convenience methods on Worker for generating pre-completed futures. (#147)
let a: Future<String> = req.future("foo")
let b: Future<String> = req.future(error: Abort(...))
  • Added an asynchronous process execute method. (#151)
let status = try Process.asyncExecute("echo", "hi", on: ...) { output in
    print(output) // ProcessOutput (stderr or stdout)
}.wait()
print(result) // 0
  • Added a method for filtering out optional reflected properties. (#149)

Fixed:

  • Foundation.Process is no longer compiled on iOS (where it is not available). (#145)

Core 2.2.1

24 May 15:44
aa15871
Compare
Choose a tag to compare

Fixed:

  • Eliminated warnings for Swift 4.1

Core 3.1.7

11 May 23:39
Compare
Choose a tag to compare

Fixed:

  • LazyFuture can now throw errors. (#143)
  • HeaderValue serialization now includes quotes. (#144)

Milestone:
3.1.7

Core 3.1.6

04 May 02:10
Compare
Choose a tag to compare

Fixed:

  • Removed a warning that could appear in release builds.

Core 3.1.5

01 May 23:30
ec746dd
Compare
Choose a tag to compare

Fixed:

  • flatten(on:) is now iterative instead of recursive (#140).

Milestone:
3.1.5

Core 3.1.4

30 Apr 19:38
f1c24ab
Compare
Choose a tag to compare

New:

  • map and flatMap can now have their return type omitted (#137).
// now possible
let futureString = futureInt.map { $0.description } 
// optional (required previously)
let futureString = futureInt.map(to: String.self) { $0.description } 

Fixed:

  • Data now conforms to ReflectionDecodable (#135, #139).
  • Collection.flatten(on:) now correctly maintains array order (#138, #136).

API Docs:
https://api.vapor.codes/core/latest/Core

Milestone:
3.1.4

Core 3.1.3

21 Apr 17:41
71722db
Compare
Choose a tag to compare

New:

  • Add caret and backtick conveniences to Byte. (#133)

Fixed:

  • Fixed a potential reference cycle in QueueHandler. (#134)

Milestone:
3.1.3

Core 3.1.2

17 Apr 02:49
Compare
Choose a tag to compare

New:

  • Added support to HeaderValue for parsing attributes with no =(#131)
    Fixed:
  • Byte.tilda has been renamed to Byte.tilde (#130, #129)

Milestone:
3.1.2