Version 4.0.0-alpha.1
Pre-release
Pre-release
·
670 commits
to master
since this release
Major
- New API to support the GraphQL multipart request spec v2.0.0-alpha.2. Files no longer upload to the filesystem; readable streams are used in resolvers instead. Fixes #13 via #22.
- Export a new
Uploadscalar type to use in place of the oldUploadinput type. It represents a file upload promise that resolves an object containingstream,filename,mimetypeandencoding. - Deprecated the
uploadDirmiddleware option. graphqlis now a peer dependency.
Minor
- Added new
maxFieldSize,maxFileSizeandmaxFilesmiddleware options.
Patch
- Middleware are now arrow functions.