Releases: elysiajs/json-accelerator
Releases · elysiajs/json-accelerator
0.1.7
0.1.6
What's new
Improvement:
- reduce instruction for string placement
- inline regex test to each string
Full Changelog: 0.1.4...0.1.6
0.1.4
What's new
Improvement:
- Improve array performance by avoiding unnecessary closure reference
Full Changelog: 0.1.3...0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
What's new
Feature:
- replace
arrayItems.join('",\"')in favour of inlinejoinStringArrayto improve performance - add
sanitizeoption 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
defaultvalue 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:
integeris usingJSON.stringify
Full Changelog: 0.0.1...0.0.2