Skip to content

Releases: brainfoolong/form-data-json

3.0.1 - bugfix for non-numeric field names

Choose a tag to compare

@brainfoolong brainfoolong released this 26 Mar 15:11

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

Choose a tag to compare

@brainfoolong brainfoolong released this 15 Mar 17:20

optimized change trigger for selects

Choose a tag to compare

@brainfoolong brainfoolong released this 19 Jan 14:51

optimized change trigger for selects (fired to often) https://github.com/brainfoolong/form-data-json/issues/43

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

Choose a tag to compare

@brainfoolong brainfoolong released this 12 Apr 06:26

Fix for checkbox fromjson edge case

Choose a tag to compare

@brainfoolong brainfoolong released this 14 Aug 07:52

fixed set checkbox checked with array values on implicit names https://github.com/brainfoolong/form-data-json/issues/35

Added ES6 module support

Choose a tag to compare

@brainfoolong brainfoolong released this 03 Aug 11:25
2.2.0

added es6 module support

2.1.4

Choose a tag to compare

@brainfoolong brainfoolong released this 02 Dec 12:10

2.1.3

Choose a tag to compare

@brainfoolong brainfoolong released this 09 Feb 13:14
  • fixed issue with callback is empty in case of file input

2.1.2

Choose a tag to compare

@brainfoolong brainfoolong released this 09 Feb 13:00
  • fixed issue with skipEmpty and nested input value #25

2.1.1

Choose a tag to compare

@brainfoolong brainfoolong released this 06 Dec 11:13
  • 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