This repository was archived by the owner on Jun 27, 2023. It is now read-only.
Releases: vapor/core
Releases · vapor/core
Core 3.1.1
Fixed:
- Updated
MediaType.multipart
to reference correct media type. AddedMediaType.formData
. - Added
convert(to:)
method toData
.
Core 3.1.0
New:
- Added
MediaType
type for parsing/serializingContent-Type
headers and file extensions. - Added
HeaderValue
type for parsing HTTP header attributes. - Added
CaseInsensitiveString
, a wrapper aroundString
that allows case-insensitive comparison. - Added
File
, a simple struct that represents a file with name and extension.
Fixed:
LosslessDataConvertible
methods are no longer throwing.
API Docs:
https://api.vapor.codes/core/latest/Core
Milestone:
3.1.0
Core 3.0.3
New:
- Added
NestedData
protocol: A data structure containing arbitrarily nested arrays and dictionaries (#126).
Fixed:
Bits
module now properly depends onDebugging
(#125).Process.execute
throws a more helpful error if the executable path cannot be resolved (#124).
API Docs:
https://api.vapor.codes/core/latest/Core
Milestone:
3.0.3.
Core 3.0.2
New:
- Added
Thread.async(_:)
convenience for performing work on a new thread.
Fixed:
- Fixed an issue where reflecting a type's properties could result in duplicates (#122, #119)
- Fixed a synchronization issue in
QueueHandler
(#120, #118) - Converted
QueueHandler.writeOutputIfEnqueued(...)
from recursive to iterative. (#123, #105)
API Docs:
https://api.vapor.codes/core/latest/Core
Milestone:
3.0.2
Core 3.0.1
Fixed:
- Variadic
Future.map
andFuture.flatMap
static methods were unable to be called in some situations do to a Swift bug. The global versionsmap
andflatMap
have been un-deprecated and will be the preferred functions going forward.
API Docs:
https://api.vapor.codes/core/3.0.1/Async
Milestone:
3.0.1
Core 3.0.0
🎉 3.0 has finally arrived!
New:
- The global variadic map/flatMap functions have been deprecated and are now static methods on
Future
. They also support up to five generic parameters now. chain(to:)
is now deprecated in favor of the NIO-providedcascade(promise:)
Make sure to check the API docs out:
https://api.vapor.codes/core/3.0.0/Async/
https://api.vapor.codes/core/3.0.0/Bits/
https://api.vapor.codes/core/3.0.0/Core/
https://api.vapor.codes/core/3.0.0/Debugging/
Core 3.0.0 RC 2.5.2
Fixed:
KeyStringDecodable
has been renamed toReflectionDecodable
and the protocol requirements have been simplified.- Default
ReflectionDecodable
implementation will now be provided forRawRepresentable
enums where theRawValue
is a fixed width integer. - The result of decoding a single property using
Reflectable
is now cached to improve performance.
API Docs:
https://api.vapor.codes/core/3.0.0-rc.2.5.2/Core/index.html
Milestone:
3.0.0-rc.2.5.2
Core 3.0.0 RC 2.5.1
3.0.0-rc.2.5.1 conform uuid to losslessstringconvertible
Core 3.0.0 RC 2.5
Merge pull request #113 from vapor/reimpl-codablereflection Reimpl codablereflection
Core 3.0.0 RC 2.4
Fixed
- Remove
KeyStringDecodable
in favor of ABI-based reflection as a workaround for the inability to query conditional conformance.