Skip to content

Releases: elysiajs/json-accelerator

0.1.4

27 Mar 13:17
193eb7f
Compare
Choose a tag to compare

What's new

Improvement:

  • Improve array performance by avoiding unnecessary closure reference

Full Changelog: 0.1.3...0.1.4

0.1.3

14 Mar 10:12
15f6a43
Compare
Choose a tag to compare

What's new

Bug fix:

  • support t.Module, t.Ref

Full Changelog: 0.1.2...0.1.3

0.1.2

04 Mar 12:23
0d1bd0d
Compare
Choose a tag to compare

What's new

Bug fix:

  • handle primitive type when array is root

Full Changelog: 0.1.1...0.1.2

0.1.1

04 Mar 11:52
47d4795
Compare
Choose a tag to compare

What's new

Feature:

  • support Record

Full Changelog: 0.1.0...0.1.1

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