This release is comprised mainly of internal re-factorings, but a few minor behavioral things changed. Most users will not be broken with this release:
- fastMode is automatically enabled if no quotes (
"
) are found in the input. Fast mode can be forced on or off by explicitly setting it totrue
orfalse
, respectively. - The config object used to be checked for validity across all its fields, but this was a watering hole for bugs and no exceptions were thrown. We removed that logic and now expect the user to pass in valid config settings. Passing in bad values will probably result in errors during parsing.
The internal refactoring that took place should help prepare Papa Parse for a possible direct Node.js port in the future. The overall number of lines of code was reduced by about 10%.