Skip to content

Releases: AsyncBanana/microdiff

Added support for additional non-primitive types

05 Nov 22:01
30fcdf0
Compare
Choose a tag to compare

This release uses prototype checking, number coercion, and string coercion to support diffing non-primitive types. The new design also makes it much easier to add support for new types without a significant increase in size, as this is designed in a more modular way than earlier designs like v1.0.1's dates. In fact, Dates now use this design.

  • new String() is now supported
  • new Number() is now supported
  • new RegExp() and Regex literals are now supported

This release only adds 113 bytes of Terser compressed JavaScript (even less with Gzip or Brotli) and does not affect performance.
Thanks for all of your support!

Initial GitHub Release

04 Nov 00:49
1066a52
Compare
Choose a tag to compare

Initial release of Microdiff for GitHub Releases.