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

Releases: vapor/core

Core 3.1.1

12 Apr 23:43

Choose a tag to compare

Fixed:

  • Updated MediaType.multipart to reference correct media type. Added MediaType.formData.
  • Added convert(to:) method to Data.

Core 3.1.0

12 Apr 22:25
e29453d

Choose a tag to compare

New:

  • Added MediaType type for parsing/serializing Content-Type headers and file extensions.
  • Added HeaderValue type for parsing HTTP header attributes.
  • Added CaseInsensitiveString, a wrapper around String 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

09 Apr 23:05

Choose a tag to compare

New:

  • Added NestedData protocol: A data structure containing arbitrarily nested arrays and dictionaries (#126).

Fixed:

  • Bits module now properly depends on Debugging (#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

05 Apr 02:18
5383e40

Choose a tag to compare

New:

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

31 Mar 00:13
225aff2

Choose a tag to compare

Fixed:

  • VariadicFuture.map and Future.flatMap static methods were unable to be called in some situations do to a Swift bug. The global versions map and flatMap 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

30 Mar 03:42

Choose a tag to compare

🎉 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-provided cascade(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

28 Mar 22:33

Choose a tag to compare

Core 3.0.0 RC 2.5.2 Pre-release
Pre-release

Fixed:

  • KeyStringDecodable has been renamed to ReflectionDecodable and the protocol requirements have been simplified.
  • Default ReflectionDecodable implementation will now be provided for RawRepresentable enums where the RawValue 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

28 Mar 22:30

Choose a tag to compare

Core 3.0.0 RC 2.5.1 Pre-release
Pre-release
3.0.0-rc.2.5.1

conform uuid to losslessstringconvertible

Core 3.0.0 RC 2.5

28 Mar 22:30
c2a52d2

Choose a tag to compare

Core 3.0.0 RC 2.5 Pre-release
Pre-release
Merge pull request #113 from vapor/reimpl-codablereflection

Reimpl codablereflection

Core 3.0.0 RC 2.4

27 Mar 22:50
6d3da8d

Choose a tag to compare

Core 3.0.0 RC 2.4 Pre-release
Pre-release

Fixed

  • Remove KeyStringDecodable in favor of ABI-based reflection as a workaround for the inability to query conditional conformance.
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载