Skip to content

Releases: elysiajs/json-accelerator

0.1.0

15 Feb 15:38
65fdf8d
Compare
Choose a tag to compare

What's new

Feature:

  • replace arrayItems.join('",\"') in favour of inline joinStringArray to improve performance
  • add sanitize option for handling unsafe character
    • new behavior is sanitize, previously is equivalent to manual
  • support inline a literal value

Full Changelog: 0.0.2...0.1.0

0.0.2

04 Feb 12:38
4c661c1
Compare
Choose a tag to compare

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 using JSON.stringify

Full Changelog: 0.0.1...0.0.2

0.0.1

03 Feb 15:56
08deb9d
Compare
Choose a tag to compare

What's new

Bug fix:

  • Separate optional comma flag between closure

Full Changelog: 0.0.0...0.0.1

0.0.0

03 Feb 15:01
36a33fa
Compare
Choose a tag to compare

What's new

Feature:

  • Initial release