Skip to content

Releases: brainfoolong/form-data-json

3.0.1 - bugfix for non-numeric field names

26 Mar 15:11

Choose a tag to compare

bugfix for non-numeric field names starting with 0 and arrayify enabled
the check if a key is equally numeric to the internal counter fall through some edge cases
parseInt() for string that starts with a number just silently ignores non-numeric chars
an additional regex check is added in to verify if the key is an integer number
also adding bun as alternative build script
added tests for this issue case

Full Changelog: 3.0.0...3.0.1

v3 with typescript and many optimizations

15 Mar 17:20

Choose a tag to compare

  • added typescript version
  • dropped IE11 support
  • added support for "form" attributes #44
  • optimizations in code base regarding old code and typescript updates (#47 #46 #45)

optimized change trigger for selects

19 Jan 14:51

Choose a tag to compare

optimized change trigger for selects (fired to often) #43

form-data-json.d.ts for better typescript autocompletion support

12 Apr 06:26

Choose a tag to compare

  • added form-data-json.d.ts for better typescript autocompletion support (thx to @kurybr - #36)

Fix for checkbox fromjson edge case

14 Aug 07:52

Choose a tag to compare

fixed set checkbox checked with array values on implicit names #35

Added ES6 module support

03 Aug 11:25

Choose a tag to compare

2.2.0

added es6 module support

2.1.4

02 Dec 12:10

Choose a tag to compare

  • fixed bug with option skipEmpty in select fields (#31)

2.1.3

09 Feb 13:14

Choose a tag to compare

  • fixed issue with callback is empty in case of file input

2.1.2

09 Feb 13:00

Choose a tag to compare

  • fixed issue with skipEmpty and nested input value #25

2.1.1

06 Dec 11:13

Choose a tag to compare

  • accept a $ instance also as html element in toJson/fromJson, which is used by many libraries that memic jquery behaviour - previously only explicitly jQuery was supported