Skip to content

Releases: octet-stream/then-busboy

5.0.0-beta.3

08 Mar 23:31
Compare
Choose a tag to compare
5.0.0-beta.3 Pre-release
Pre-release

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

15 Jun 23:15
Compare
Choose a tag to compare
5.0.0-beta.2 Pre-release
Pre-release

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

23 Jun 22:58
Compare
Choose a tag to compare

Update:

  • Bump dependencies;
  • Improve documentation and code examples;

All changes: v4.3.0...v4.3.1

4.3.0

12 Apr 19:31
Compare
Choose a tag to compare

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

22 Jan 09:59
Compare
Choose a tag to compare

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

11 Jan 19:20
Compare
Choose a tag to compare

Add:

  • Fix regression since 2.x: Handle partsLimit, fieldsLimit and filesLimit events
    Now then-busboy will reject with FieldsLimitError, PartsLimitError or FilesLimitError when limit was reached. These classes also exposed in package entry point, so you can use them in errors checks:

Update:

All changes: e0bc6dd...faa6587

4.0.0

30 Dec 17:01
Compare
Choose a tag to compare

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

21 Aug 23:15
Compare
Choose a tag to compare

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 handle finish and error events.

All changes: cf8f42f...78e47e4