Skip to content

Releases: afnanenayet/diffsitter

v0.6.9

21 Jan 06:31
66c0bb5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.8...v0.6.9

v0.6.8

07 Dec 05:58
dbe30c3
Compare
Choose a tag to compare

This release contains a hot fix for #255 and updated grammars.

v0.6.7

28 Nov 18:53
74dc24e
Compare
Choose a tag to compare

Note: these release notes are not a comprehensive list of changes, just some that we thought are notable.

Performance

This release implements some performance improvements since we switched to using the Myers diff algorithm rather than the more naive DP-table approach (#192). This significantly reduces memory usage and allows you to run diffs on much larger files that would previously cause diffsitter to OOM. Profiling had shown that the biggest bottleneck in diffsitter was allocating memory in the previous release.

Features

We've also implemented support for dynamically loading grammars (#177), which should make this easier to package if you don't want to build diffsitter with the bundled grammars. Now you can build the tree-sitter grammars and have diffsitter load the shared library objects.

We also support a new fallback mode that allows you to set a command that will be invoked if diffsitter is called on an unsupported filetype, so you could invoke diff for a regular text diff if diffsitter can't parse the given files, for example (#212). This allows you to use diffsitter as a git diff handler.

Testing

We have more robust testing set up with cargo insta so it should be easier to add new tests and also test for regressions. We've also added more tests since the last release.

ci-test

25 Dec 07:31
7043143
Compare
Choose a tag to compare
chore: Upgrade deps (#240)

v0.6.6

02 May 01:13
v0.6.6
7901b43
Compare
Choose a tag to compare
(cargo-release) diffsitter version 0.6.6

v0.6.5

03 Apr 05:09
v0.6.5
4a1d454
Compare
Choose a tag to compare
(cargo-release) diffsitter version 0.6.5

v0.6.4

07 Mar 18:41
v0.6.4
3588d17
Compare
Choose a tag to compare
(cargo-release) diffsitter version 0.6.4

v0.6.3

02 Mar 03:18
v0.6.3
4c4a2d5
Compare
Choose a tag to compare
(cargo-release) diffsitter version 0.6.3

v0.6.2

02 Mar 03:07
v0.6.2
5694fc3
Compare
Choose a tag to compare
(cargo-release) diffsitter version 0.6.2

v0.6.1

07 Feb 21:17
7ce5110
Compare
Choose a tag to compare
(cargo-release) version 0.6.1