Releases: octet-stream/then-busboy
Releases · octet-stream/then-busboy
5.0.0-beta.3
Add
- TypeScript typings (experimental!)
Update
- Rewrite and refactor internal helpers
Remove
- Drop babel usage since it is not necessary anymore
- Drop ESM in favour of CJS. I'll bring them back once then-busboy will drop older version of node due to release schedule.
All changes: v5.0.0-beta.2...v5.0.0-beta.3
5.0.0-beta.2
Update
- Mimimal supported Node.js version is 10.
- Remove File#{read,write}() methods in favour of File#stream()
- Remove File.contents property and expose File properties as-is (instead of unnecessary accessors)
- Add File#originalFilename property that represents the file's original name
- Update dependencies and fix the tests
All changes: v4.3.1...v5.0.0-beta.2
4.3.1
4.3.0
Add:
- Native ESM support (.mjs files included in package)
Remove:
- readListeners helper
Update:
- Bump dependencies
- Move to AVA 1.x
All changes: fb6c6c9...29df875
4.2.0
Add:
- Handle file and filed size limit options
- File class is now a part of public API
Update:
- Bump dependencies
- Improve documentation
All changes: faa6587...fb6c6c9
4.1.0
Add:
- Fix regression since 2.x: Handle
partsLimit
,fieldsLimit
andfilesLimit
events
Now then-busboy will reject withFieldsLimitError
,PartsLimitError
orFilesLimitError
when limit was reached. These classes also exposed in package entry point, so you can use them in errors checks:
Update:
- Fix content checking in File class
- Bump deps:
busboy@0.3.0
All changes: e0bc6dd...faa6587
4.0.0
Add:
- Body class that allows to work with the date produces by
then-busboy
function: See Body class reference in API section - formdata-node to produce FormData using Body#formData or Body.formData methods
Update:
- Use babel 7.x
- Main function now returns a Body object instead of raw data
All changes: 78e47e4...e0bc6dd
3.0.0
Add:
- Dot notation in object properties path.
Remove:
- Node.js 7 support.
Update:
- Use Babel 7 RC1
- Improve docs
- Improve bracket notation support.
- Use
.once()
instead of.on()
on busboy instance to handlefinish
anderror
events.
All changes: cf8f42f...78e47e4