Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to get the diff summary or delta of line changes? #22

Closed
ghost opened this issue Apr 22, 2023 · 1 comment
Closed

Possible to get the diff summary or delta of line changes? #22

ghost opened this issue Apr 22, 2023 · 1 comment
Labels
enhancement New feature or request released on @next

Comments

@ghost
Copy link

ghost commented Apr 22, 2023

Would there be any way to get the delta of changes that we could display above or within the diff viewer? Such as number of deletions and number of insertions. We don't want to have to use a separate algorithm to calculate that and get out of sync with what the diff viewer is showing.

@Aeolun Aeolun added the enhancement New feature or request label Jun 19, 2023
github-actions bot pushed a commit that referenced this issue Oct 19, 2023
# [4.0.0](v3.3.0...v4.0.0) (2023-10-19)

### Bug Fixes

* do not trim trailing newlines (fixes [#27](#27)) ([ee4d53f](ee4d53f))
* use semantic elements for diff elements (fixes [#23](#23)) ([a6222c7](a6222c7))

* feat!: diff/flexbox based layout, text selectable per side (fixes #15) ([9f6c4d5](9f6c4d5)), closes [#15](#15)

### Features

* add summary element and fold expansion/folding (fixes [#22](#22), [#21](#21)) ([e47cbe1](e47cbe1))

### BREAKING CHANGES

* This completely modifies the way react-diff-viewer-continued is rendered. The overall
layout should be more or less the same, but with the new layout probably come new bugs.
@Aeolun
Copy link
Owner

Aeolun commented Oct 19, 2023

🎉 This issue has been resolved in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released on @next
Projects
None yet
Development

No branches or pull requests

1 participant