This repository has been archived by the owner on Jul 1, 2023. It is now read-only.
Releases: hhvm/difflib
Releases · hhvm/difflib
v1.3.0
1.2: support more .hhconfig options
This release is compatible with more hhconfig options, and requires HHVM 4.8 or above.
Performance improvements, expose hunks of string diffs
This release:
- improves performance of
StringDiff::getUnifiedDiff()
when not running in repo-authoritative mode - add
StringDiff::getHunks()
Support current nightly builds
This release supports 4.0, current nightly builds, and should support the upcoming HHVM 4.1 release
Support HHVM 4.0
Depend on HHVM 4 Summary: Pull Request resolved: https://github.com/hhvm/difflib/pull/10 Differential Revision: D14013203 fbshipit-source-id: b981de58b7c819efd4fda43f2f4ca40bf2e830cf
Version 1.0
This release:
- fixes a bug in colored diffs with intra-line edits where the first content character could be stripped
- makes unified diffs more closely match
diff
output - switches intraline colored diffs to be word-based instead of character-based, as this usually seems better for readability.
We aim to introduce support for parsing diffs created by tools such as diff, git, and hg in a future release.
Intraline-diffs: character vs words
This is a standard line diff:
- Foo Framework Bar
+ Foo Facebook Bar
as a character diff:
F
o
o
F
-r
a
-m
+c
e
-w
+b
o
-r
+o
k
B
a
r
as a word diff:
Foo
-Framework
+Facebook
Bar
Better project configuration
- configure the autoloader correctly rather than depending on the hh_client fallback
- don't include .hhconfig in release tarballs
Initial release
This release contains the diff creation code that was previously in HHAST.