Skip to content

Releases: jfcherng/php-diff

6.5.7

11 Mar 08:53
5217441
Compare
Choose a tag to compare
  • Add Json renderer option: jsonEncodeFlags.

6.5.6

08 Mar 08:57
924355a
Compare
Choose a tag to compare
  • Add Combined renderer option: mergeThreshold.

6.5.5

07 Mar 16:38
80a3384
Compare
Choose a tag to compare
  • Combined: do not merge blocks which change too much. (#20 (comment))
  • Fix CSS table text alignment for very long lines.

6.5.4

07 Mar 10:05
79fe91b
Compare
Choose a tag to compare

This release brings various fixes for Context and Unified mostly.

  • Fix DiffHelper::calculateFiles() for empty files.
  • Fix there are extra leading/trailing lines when context is set to 0.
  • Fix Unified line numbers when context is 0.
  • Fix all-equal hunk content should be omitted in Context output.
  • Fix Context/Unified output for EOL at EOF. (#23)

6.5.3

05 Mar 17:31
22c2f91
Compare
Choose a tag to compare

6.5.2

05 Mar 02:43
56b622a
Compare
Choose a tag to compare
  • Fix there should not be \n in the Combined renderer output.
  • Beautify the example demo.php for textual renderer outputs.

6.5.1

28 Feb 18:32
dbe1475
Compare
Choose a tag to compare
  • Allow overriding SCSS variables.
  • Combine: Prefer the new if we can only show either the old or the new.

6.5.0

28 Feb 15:02
062b5ed
Compare
Choose a tag to compare
  • Add new HTML renderer: Combined (#22)

    This renderer is suitable for articles and always has no line number.

    image

6.4.7

24 Feb 20:25
3c58d62
Compare
Choose a tag to compare
  • CSS: SideBySide stripe background uses background-attachement: fixed;.
    (So I give up, non-fixed stripes always may be misaligned.)

    previous:
    p

    current:
    image

6.4.6

24 Feb 11:05
4c281b1
Compare
Choose a tag to compare
  • CSS: Make SideBySide stripe background better aligned across line.

    background-attachment: fixed; should fix this perfectly but it will make you feel stripes are scrolling when you scroll.