diff --git a/.changeset/curly-buttons-work.md b/.changeset/curly-buttons-work.md deleted file mode 100644 index 84a8d15..0000000 --- a/.changeset/curly-buttons-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@octetstream/object-to-form-data": major ---- - -Add normalizeValue option. It allows to apply custom transformation per entry value diff --git a/.changeset/eighty-toes-dream.md b/.changeset/eighty-toes-dream.md deleted file mode 100644 index 1ac52cf..0000000 --- a/.changeset/eighty-toes-dream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@octetstream/object-to-form-data": major ---- - -Deprecate `serialize.strict` member. Use objectToFormData function directly diff --git a/.changeset/little-apes-fail.md b/.changeset/little-apes-fail.md deleted file mode 100644 index 84b13e4..0000000 --- a/.changeset/little-apes-fail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@octetstream/object-to-form-data": major ---- - -Add [`FormData`](https://developer.mozilla.org/en-US/docs/Web/API/FormData) option allowing to pass custom FormData implementation diff --git a/.changeset/mean-weeks-chew.md b/.changeset/mean-weeks-chew.md deleted file mode 100644 index 1af9618..0000000 --- a/.changeset/mean-weeks-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@octetstream/object-to-form-data": major ---- - -Rewrite project with TypeScript diff --git a/.changeset/odd-cats-hug.md b/.changeset/odd-cats-hug.md deleted file mode 100644 index d1c245f..0000000 --- a/.changeset/odd-cats-hug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@octetstream/object-to-form-data": major ---- - -Drop [`formdata-node`](https://npmjs.com/package/formdata-node) in Node.js environment and rely on globalThis.FormData by default diff --git a/.changeset/tidy-steaks-press.md b/.changeset/tidy-steaks-press.md deleted file mode 100644 index cfa24c5..0000000 --- a/.changeset/tidy-steaks-press.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@octetstream/object-to-form-data": major ---- - -Add notation option and support dot notation in addition to bracket notation diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b07ee1b --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,17 @@ +# @octetstream/object-to-form-data + +## 3.0.0 + +### Major Changes + +- [`a08f935`](https://github.com/octet-stream/object-to-form-data/commit/a08f9355efd4bb526e304d7cc59598fc1cd9c655) Thanks [@octet-stream](https://github.com/octet-stream)! - Add normalizeValue option. It allows to apply custom transformation per entry value + +- [`a08f935`](https://github.com/octet-stream/object-to-form-data/commit/a08f9355efd4bb526e304d7cc59598fc1cd9c655) Thanks [@octet-stream](https://github.com/octet-stream)! - Deprecate `serialize.strict` member. Use objectToFormData function directly + +- [`a08f935`](https://github.com/octet-stream/object-to-form-data/commit/a08f9355efd4bb526e304d7cc59598fc1cd9c655) Thanks [@octet-stream](https://github.com/octet-stream)! - Add [`FormData`](https://developer.mozilla.org/en-US/docs/Web/API/FormData) option allowing to pass custom FormData implementation + +- [`a08f935`](https://github.com/octet-stream/object-to-form-data/commit/a08f9355efd4bb526e304d7cc59598fc1cd9c655) Thanks [@octet-stream](https://github.com/octet-stream)! - Rewrite project with TypeScript + +- [`a08f935`](https://github.com/octet-stream/object-to-form-data/commit/a08f9355efd4bb526e304d7cc59598fc1cd9c655) Thanks [@octet-stream](https://github.com/octet-stream)! - Drop [`formdata-node`](https://npmjs.com/package/formdata-node) in Node.js environment and rely on globalThis.FormData by default + +- [`a08f935`](https://github.com/octet-stream/object-to-form-data/commit/a08f9355efd4bb526e304d7cc59598fc1cd9c655) Thanks [@octet-stream](https://github.com/octet-stream)! - Add notation option and support dot notation in addition to bracket notation diff --git a/package.json b/package.json index 38f1f0e..5491540 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "@octetstream/object-to-form-data", - "version": "2.0.0", + "version": "3.0.0", "description": "Serialize given object/collection to a FormData.", "repository": { "type": "git",