Swiftpack.co - Package - vapor/multipart-kit

Github

link
Stars: 34
Help us keep the lights on

Dependencies

Used By

Total: 1

Releases

3.1.1 - Oct 29, 2019

Makes Date.useISO8601ForMultipart public so the behaviour can be changed.

4.0.0-beta.1 - Oct 24, 2019

This library has been renamed to MultipartKit and rewritten on top of Fran├žois Colas's streaming C multipart parser. This means its now possible to stream in large, multipart-encoded file uploads using very little system memory. Note that the form-data variant Encoder and Decoder still require the entire multipart payload to be in memory.

For some usage examples, check out the tests folder: https://github.com/vapor/multipart-kit/blob/master/Tests/MultipartKitTests/MultipartKitTests.swift

3.1.0 - Oct 23, 2019

  • Date now serializes as ISO8601 to multipart data. (#38)

If you rely on the old behavior of Date serializing as Double, you can disable this adding this line to your configure.swift file.

Date.useISO8601ForMultipart = false

3.0.4 - Apr 10, 2019

Fixed:

  • Fixed an issue that could cause crashes in Swift 5. (#34)

3.0.3 - Jan 30, 2019

Fixed:

  • Adds multipart convertible support to Bool. (#32)