json-diff-kit icon indicating copy to clipboard operation
json-diff-kit copied to clipboard

Plans for v2

Open RexSkz opened this issue 11 months ago • 1 comments

It's been three years since I first released this library. At first, I just treated it as a fun project, but it seems to provide more value than I thought. So, let's make it more modern and functional!

Main change

Although "v2" looks like a breaking change, there is no prop change. The only reason to bump the major version is that I will use monorepo to manage all related packages (whether it's officially published or not), such as:

  • The differ (published).
  • The React viewer (published).
  • The CLI tool (published).
  • The Vue viewer (experimental published).
  • The HTML marshaller (not published yet).

And all packages will be under @json-diff-kit namespace, so you are expected to change imports in your project.

Other notable changes

  • Deprecate some props (but you can still use them).
  • Improve rendering speed (maybe diff speed also, but no promise since the algorithm is already fast enough).
  • Add more test cases.
  • Provide more syntax highlight themes.
  • Switch to more modern frontend toolchains and use GitHub actions better.

RexSkz avatar Feb 10 '25 13:02 RexSkz