Releases: youha-info/next-query-state
Releases · youha-info/next-query-state
v1.0.0
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
v0.0.6
What's Changed
Bugfix
- Fixed type declarations of array serializers as below by @dongyeop-youha
- Items can't have nullish values(non existent)
- Nullable array itself can't be
null
. It can only havenull
as item, or beundefined
if empty.
- Fixed nullableQueryTypes not having correct types by @dongyeop-youha
- Fixed nullableQueryTypes not containing
undefined
in itsWT
type by @dongyeop-youha
Full Changelog: v0.0.5...v0.0.6
v0.0.5
What's Changed
Bugfix
- Fix nullableQueryTypes type definition not being found by @dongyeop-youha
Full Changelog: v0.0.4...v0.0.5
v0.0.4
What's Changed
Bugfix
- Fix types path not updated in package.json by @dongyeop-youha
Full Changelog: v0.0.3...v0.0.4
v0.0.3
What's Changed
Bugfix
- Update next-batch-router for bugfix by @dongyeop-youha
- Setup nullableQueryTypes subpath export correctly by @dongyeop-youha
Chore
- Remove duplication of built d.ts files by @dongyeop-youha
Full Changelog: v0.0.2...v0.0.3
v0.0.2
What's Changed
Features
- Presets return nullish value for invalid values by @dongyeop-youha
Bugfix
- useQueryStates update not working fixed by @dongyeop-youha
Refactor
- Removed unneeded dependencies by @dongyeop-youha
- Move update options type to defs by @dongyeop-youha
- Utils are bundled in separate file by @dongyeop-youha
Full Changelog: v0.0.1...v0.0.2
v0.0.1
Initial release.