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
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
Bug fix:
- separate optional comma flag between closure
Feature:
- initial release