Releases: elysiajs/json-accelerator
Releases · elysiajs/json-accelerator
0.1.0
What's new
Feature:
- replace
arrayItems.join('",\"')
in favour of inlinejoinStringArray
to improve performance - add
sanitize
option for handling unsafe character- new behavior is
sanitize
, previously is equivalent tomanual
- new behavior is
- support inline a literal value
Full Changelog: 0.0.2...0.1.0
0.0.2
What's new
Feature:
- support integer, bigint, date, datetime
- support
default
value for optional, and nullable on primitive type
Improvement:
- refactor properties instruction generation
- flatten optional properties to speed up runtime performance in Bun
- remove negate where possible in runtime
- use stringified null to prevent
toString()
call
Bug fix:
integer
is usingJSON.stringify
Full Changelog: 0.0.1...0.0.2