diff2html

Pretty diff to html javascript library (diff2html)

MIT License

Downloads
827.7K
Stars
2.9K
Committers
45
diff2html - Improved Line Height

Published by rtfpessoa almost 6 years ago

diff2html - Improve side by side empty blocks

Published by rtfpessoa almost 6 years ago

Contributor:

  • @stockmind
diff2html - Update dependencies

Published by rtfpessoa over 6 years ago

diff2html - Reduce binaries size

Published by rtfpessoa almost 7 years ago

Improvements:

  • Reduce binaries size

Contributor:

  • @wesssel
diff2html - Fix for long lines

Published by rtfpessoa about 7 years ago

Fixes:

  • Limit line length to highlight changes between lines, customizable with option maxLineLengthHighlight
diff2html - Minor version updates to dependencies

Published by rtfpessoa about 7 years ago

Minor version updates to dependencies

diff2html - [SECURITY] Fix escaping in headers

Published by rtfpessoa over 7 years ago

Fixes:

  • Fix escaping in file headers
diff2html - Fix binary diff

Published by rtfpessoa almost 8 years ago

Fixes:

  • Fix binary diff parsing
diff2html - Release 2.0.8

Published by rtfpessoa about 8 years ago

Features:

  • Adding support for overriding templates. Accepts either raw html mustache compatible templates or pre-compiled hogan.js templates.
  • Add customizable online diff for any url compatible with unified or git diffs. Has first class support for GitHub, Bitbucket and Gitlab urls. (If you paste a commit url we will get the diff for you)
diff2html - Add new binary patter in git diffs parsing

Published by rtfpessoa about 8 years ago

Features:

  • Add new binary patter in git diffs parsing Binary files ... and ... differ
diff2html - Fix line height different from right to left side

Published by rtfpessoa about 8 years ago

Fixes:

  • Fix line height different from right to left side
diff2html - Replace   with proper word-wrap

Published by rtfpessoa about 8 years ago

Fixes:

  • Create proper css with word-wrap instead of  
diff2html - Hide error log in binary files

Published by rtfpessoa over 8 years ago

Fixes:

  • Hide error log in binary files, if the git diff does not contain @@ we do not log any errors.
diff2html - Major refactor of the parser and html generation

Published by rtfpessoa over 8 years ago

Changes

  • Improve diff parser to fully support git diffs and unified diffs
  • Improve code highlight (if sufficient context the highlight is perfect)
  • Use hogan.js to generate html
  • Use ESLint to check code style
diff2html - Fix parsing of binary files

Published by rtfpessoa over 8 years ago

Fixes:

  • Fix parsing of binary files
diff2html - Fix parsing

Published by rtfpessoa over 8 years ago

Fixes:

  • Fix parsing of body lines starting with --- or +++
diff2html - Improve file list summary

Published by rtfpessoa over 8 years ago

Improvements:

  • Improved file list summary with better file types identification (added, deleted, renamed, changed)
diff2html - Improve file paths and colors

Published by rtfpessoa over 8 years ago

Improvements:

  • Identify smallest different sub path of the changed file paths and highlight the changed part
  • Change removed changed lines background color to make diff more readable
diff2html - Improve code highlight

Published by rtfpessoa over 8 years ago

Improvements:

  • Improve code highlight by parsing each line with previous context
  • Separate highlight in two code bases, the old and the new
diff2html - Fix version identifiers

Published by rtfpessoa over 8 years ago

Fixes:

  • Beta releases were not being properly ordered due to wrong usage of semver. This release starts using it correctly.
    All beta versions are going to be deprecated.