Releases: vapor/multipart-kit
BUG FIX: Multipart/form-data crashed if data was missing
This patch was authored by @JaapWijnen and released by @siemensikkema.
Fix a crash in FormDataDecoderContext when the offset doesn't exist when parsing multipart form data ( vapor/vapor#2548 )
Fix date formatter availability in iOS
Adds iOS 10.0
to availability check for using ISO8601DateFormatter
(#48).
Fix MultipartParser off-by-one error
MultipartKit 4.0.0 Beta 2
- Enabled test discovery on Linux (#42)
Multipart 3.1.1
Makes Date.useISO8601ForMultipart
public so the behaviour can be changed.
Multipart 3.1.0
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
MultipartKit 4.0.0 Beta 1
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
Multipart 3.0.4
Fixed:
- Fixed an issue that could cause crashes in Swift 5. (#34)
Multipart 3.0.3
Fixed:
- Adds multipart convertible support to
Bool
. (#32)
Multipart 3.0.2
Fixed:
- Encoding
[File]
was not supported. #28