What's Changed
Features
- Integer serializer preset changes by @dongyeop-youha
- When value is not integer, use floored value instead of rounded value.
- Can parse and serialize Infinity value.
- Can only parse decimal values, not hex or octal values.
- Boolean serializer preset now ignores casing by @dongyeop-youha
Bugfix
- Fixed handling of NaN and undefined values in timestamp, isoDateTime serializer presets by @dongyeop-youha
- Fixed serialization of empty array becoming array with empty string in delemitedArray by @dongyeop-youha
- Added json preset in nullableQueryTypes by @dongyeop-youha
- Fixed
%00
character not being handled when param exists multiple times in the URL by @dongyeop-youha - Fixed nullableQueryTypes.float returning default value instead of null by @dongyeop-youha
Docs
- Fixed import route from 'src/..' to 'next-query-state' in example code by @dongyeop-youha
- Fixed comment typo by @dongyeop-youha
- Improved readme and function jsdoc by @dongyeop-youha
- Added description about single parameter appearing multiple times by @dongyeop-youha
- Edited array, delimitedArray's description about URI-encoding in jsdoc by @dongyeop-youha
- Added badges to readme by @dongyeop-youha
- Moved to-do part in readme to github issues by @dongyeop-youha
Tests
- Add unit, e2e test by @dongyeop-youha
Chore
- Recovered type attribute in package.json by @dongyeop-youha
- Add
sideEffects: false
to package.json by @dongyeop-youha
Full Changelog: v0.0.6...v1.0.0