Releases: form-data/form-data
Releases · form-data/form-data
v4.0.0
v3.0.1
Dev Improvements
- Fixed error in the documentations as indicated in #439
- Added remaining combined-stream options to typedef
- Bumped rimraf to 2.7.1 (dev-dep)
- Added constructor options to TypeScript defs
- Fixed error in callback signatures
Added Types
- Added TS types
- Improved documentation
Added getBuffer method
Updated test builds to support node10 and 12.
Added `filepath` option
The filepath
property overrides filename
and may contain a relative path. This is typically used when uploading multiple files from a directory.
Thanks to @sebdeckers
Proper toString
- toString will output '[object FormData]'
Thanks to @m59peacemaker
Broken version
Merge pull request #346 from m59peacemaker/master toString should output '[object FormData]'
Fixed self/window reference (for React-Native)
Checks for self
object, if not found, falls back to window
object.
Fixed browserify shim
& updated dependencies