Releases: form-data/form-data
Releases · form-data/form-data
Added `hasKnownLength` method
- To improve node-fetch integration
Replaced async with asynckit. Modernized
- Dropped support for node@0.10
- Cleaned up code and tools.
It Happened
v1.0.0 1.0.0
Last one before 1.0
- Avoid undefined variable reference in older browsers #176
- Refreshed dependencies
- Housecleaning
Decouple Options and Better Defaults
- Content-Type can now be set independently of filename.
- Content-Type will now default to "application/octet-stream" for buffers.
- #append now accepts a filename as the third option, similar to the browser.
Browser support
- Added proper line-endings to the last boundary.
- Returning browser-native FormData when used with browserify or webpack.
Small step for the build
- Updated dependencies
- Dropped 0.8 support (modernized tests)
Browserify-friendly mime package
Replaced mime
module with mime-types
for better Browserify support.