Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@dongyeop-youha dongyeop-youha released this 16 Nov 07:19

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

Tests

Chore

Full Changelog: v0.0.6...v1.0.0

https://www.npmjs.com/package/next-query-state/v/1.0.0