Skip to content

Releases: vapor/multipart-kit

Multipart 3.0.0

13 Apr 02:35
d7b641a
Compare
Choose a tag to compare

Multipart 3.0 is here, now with Codable support! 🏞 Use multipart to parse and serializes multipart-encoded data.

Docs:
https://docs.vapor.codes/3.0/multipart/getting-started/

API Docs:
https://api.vapor.codes/multipart/latest/Multipart

Milestone:
3.0.0


Changes since final release candidate.

⚠️ The old hacky way of using MultipartForm to parse requests is gone. Use Content just like JSON and form-urlencoded.

New:

Fixed:

  • API audit: Lots of APIs cleaned up and/or made internal. Lots of doc blocks added, too!

Multipart 2.2.0

22 Mar 00:44
17c2bf0
Compare
Choose a tag to compare

New:

  • Improved the multipart parsing performance.

Before

Time to parse a multipart message with the given size. Measured on a 4-core 2.6 GHz Intel Core i7, macOS 10.13.3, Swift 4.0.3:

Message Size Debug Build Release Build
100 KB 0.36 s 0.16 s
200 KB 1.24 s 0.58 s
400 KB 4.56 s 2.21 s

After

Message Size Debug Build Speedup Release Build Speedup
100 KB 0.09 s 0.027 s
200 KB 0.19 s 6.5× 0.06 s 10×
400 KB 0.37 s 12× 0.11 s 20×

Milestone

Multipart 2.1.1

17 Oct 18:02
Compare
Choose a tag to compare

Fixed:

  • Boundaries with " are now supported.

Multipart 2.1.0

10 Aug 17:36
Compare
Choose a tag to compare

New:

  • Swift 4 support.

Milestone

Multipart 2.0

17 May 16:47
Compare
Choose a tag to compare

🎉

Multipart 2.0 has been updated to be faster and easier to use with better support for edge cases in the multipart format.

Check out the full diff here

Multipart 2.0 Beta 2

05 Apr 13:40
Compare
Choose a tag to compare
Multipart 2.0 Beta 2 Pre-release
Pre-release

Fixed:

  • Multipart bodies containing -- are now parsed properly

Multipart 1.0.3

05 Apr 13:40
Compare
Choose a tag to compare

Fixed:

  • Multipart bodies containing -- are now parsed properly

Multipart 2.0 Alpha 1

27 Mar 15:31
Compare
Choose a tag to compare
Multipart 2.0 Alpha 1 Pre-release
Pre-release

Beta Candidate

Multipart 2.0 Alpha 3

19 Mar 11:47
Compare
Choose a tag to compare
Multipart 2.0 Alpha 3 Pre-release
Pre-release

Fixed:

  • Move to .makeString()

Multipart 2.0 Alpha 2

06 Mar 13:51
Compare
Choose a tag to compare
Multipart 2.0 Alpha 2 Pre-release
Pre-release

Fixed:

  • Off by one parser fix.