Skip to content

v1.7.0

Choose a tag to compare

@cyyynthia cyyynthia released this 21 Jun 23:05
Immutable release. Only release title and notes can be modified.
v1.7.0
a62f06f

This version slightly changes the behaviour of stringify: integers beyond the safe range are always emitted as float numbers.

String decode logic has been rewritten, it is a bit faster now and uses a single-pass approach instead of a dual-pass approach as it did previously. The code should be a bit smaller too, though I didn't actually measure that.

The package is now published with source-maps, declaration-maps, and a copy of the original TypeScript source files. This will improve your DX if you're like me and like Ctrl+Click'ing things a lot. ;)

What's Changed

  • improve performance of the string decode logic by @cyyynthia
  • fix(stringify): emit integer-valued numbers beyond the safe-integer range as floats by @spokodev in #56
  • publish source-maps, declaration-maps, and original source files by @cyyynthia
  • miscellaneous repository maintenance tasks by @cyyynthia

New Contributors

Full Changelog: v1.6.1...v1.7.0