Skip to content

Releases: therealparmesh/object-to-formdata

v5.0.0

Choose a tag to compare

@therealparmesh therealparmesh released this 11 Jul 17:07

Version 5 modernizes object-to-formdata while preserving the documented serialization API.

Highlights:

  • Adds native ESM and CommonJS package entry points.
  • Moves development, testing, and packaging to Bun.
  • Improves Date, Blob, File, symbol, and circular-reference handling.
  • Corrects file-array notation behavior for nested arrays and related options.
  • Expands regression coverage and refreshes the npm documentation.

Breaking changes:

  • The package export map blocks undocumented deep imports.
  • File-array keys now follow the documented noAttributesWithArrayNotation and noFilesWithArrayNotation behavior.
  • Structural Blob-like plain objects are traversed unless they pass native Blob brand checks.

Validation: 44 tests pass with 100% reported line and function coverage. The packed CommonJS and ESM entry points were verified under Node.js 22, 24, and 26.

v4.5.1

Choose a tag to compare

@therealparmesh therealparmesh released this 10 Jul 01:45

Adds coverage for using allowEmptyArrays with noAttributesWithArrayNotation. No runtime code changed from v4.5.0. Originally published to npm on May 12, 2023.

v4.5.0

Choose a tag to compare

@therealparmesh therealparmesh released this 10 Jul 01:45

Adds the noAttributesWithArrayNotation option and makes the package entry point explicit. Originally published to npm on May 12, 2023.

v4.4.2

Choose a tag to compare

@therealparmesh therealparmesh released this 10 Jul 01:45

Fixes serialization in environments without a global FormData when an existing FormData instance is supplied. Originally published to npm on February 12, 2022.