Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Releases: hhvm/difflib

v1.3.0

17 Nov 21:41
Compare
Choose a tag to compare
  • Add sections to support string separated by comma (026c091)
  • Trivial fixes to support the latest Hack compiler

Full Changelog: v1.2.0...v1.3.0

1.2: support more .hhconfig options

23 Jul 15:33
Compare
Choose a tag to compare

This release is compatible with more hhconfig options, and requires HHVM 4.8 or above.

Performance improvements, expose hunks of string diffs

02 May 17:43
Compare
Choose a tag to compare

This release:

  • improves performance of StringDiff::getUnifiedDiff() when not running in repo-authoritative mode
  • add StringDiff::getHunks()

Support current nightly builds

26 Mar 20:52
Compare
Choose a tag to compare

This release supports 4.0, current nightly builds, and should support the upcoming HHVM 4.1 release

Support HHVM 4.0

11 Feb 19:35
Compare
Choose a tag to compare
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

25 Sep 15:57
Compare
Choose a tag to compare

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

06 Sep 17:20
Compare
Choose a tag to compare
Pre-release
  • configure the autoloader correctly rather than depending on the hh_client fallback
  • don't include .hhconfig in release tarballs

Initial release

06 Sep 15:59
Compare
Choose a tag to compare
Initial release Pre-release
Pre-release

This release contains the diff creation code that was previously in HHAST.