Skip to content

Releases: octet-stream/form-data-encoder

1.5.3

10 Sep 17:29
Compare
Choose a tag to compare

Update

  • Improvements for typings and documentation.

All changes: v1.5.2...v1.5.3

1.5.2

10 Sep 15:45
Compare
Choose a tag to compare

Update

  • Fix typings for FileLike type.

All changes: v1.5.1...v1.5.2

1.5.1

26 Aug 18:18
Compare
Choose a tag to compare

Update

  • Fix documentation to match API changes.

All changes: v1.5.0...v1.5.1

1.5.0

25 Aug 17:28
Compare
Choose a tag to compare

Add

  • Introduce FormDataEncoder.contentLength property.

Update

  • Make sure readonly properties actually read-only in runtime.

All changes: v1.4.4...v1.5.0

1.4.4

22 Aug 18:08
Compare
Choose a tag to compare

Update

  • Internal improvements: Use fixed size for boundary because createBoundary function is private.

All changes: v1.4.3...v1.4.4

1.4.2

11 Aug 15:36
Compare
Choose a tag to compare

Update

  • Use less ambiguous name for form data encoder class and exports: Encoder -> FormDataEncoder;
  • Add separate tsconfig file for AVA;

All changes: v1.4.1...v1.4.2

1.4.3

11 Aug 16:33
Compare
Choose a tag to compare

Update

  • Add normalization for non-File field's value following the spec.

All changes: v1.4.2...v1.4.3

1.4.1

07 Aug 13:45
Compare
Choose a tag to compare

Update

  • Fixes for readme.md;
  • Cast Content-Length header to string.

All changes: v1.4.0...v1.4.1

1.4.0

03 Aug 21:37
Compare
Choose a tag to compare

Update

  • Slightly optimize createBoundary using bitwise A << 0 instead of Math.floor();
  • Reduce package size by removing comments for JS output (but keep comments for .d.ts output).

All changes: v1.3.0...v1.4.0

1.3.0

01 Aug 06:12
Compare
Choose a tag to compare

Update

  • (internals) Simplify createBoundary string random generator.

All changes: v1.2.0...v1.3.0