Skip to content

Releases: JBlond/php-diff

Release 2.5.0

06 Oct 17:57
v2.5.0
6e70d71
Compare
Choose a tag to compare

2.5.0 (2025-10-06)

  • Add: A test the DIFF_IGNORE_LINE_BLANK option ([b794e3d][186])
  • Add: Docker compose dev environment. ([06d1b8f][185])
  • Add: Json renderer ([46528f2][184])
  • Add: Json renderer Options ([94460ef][183], [8bee18d][182])
  • Add: More test cases ([33cbfa3][181])
  • Add: More tests ([1cf2193][180])
  • Add: Test for color output ([2ce76ac][178])
  • Add: Test for no changes ([bbf90b5][177])
  • Add TupleSort test ([a0323ed][176])
  • Add composer test command ([c07c8ac][175])
  • Add coverage test ([d039186][174])
  • Add local variable ([f09e779][173])
  • Add more tests ([1f77317][172], [609c934][171], [e27241d][170], [a65ec6b][169], [5b91f82][168], [f25347a][167], [69a76ca][166], [ff31bb8][165])
  • Add statistics function for #97 ([ed1f204][164])
  • Add statistics function for #97 "equal" in the switch rather than "notModified" ([188f258][163])
  • Bump PHPUnit xml schema to version 9.5 ([cfa3033][162])
  • Cut redundant suppression ([073a478][161])
  • Fix "Opening brace must not be followed by a blank" ([54124a6][160])
  • Fix #125 - Make str_split multibyte save ([7f64374][159])
  • Fix: #112 Call to function unset() contains undefined variable $line.([0d45b03][158])
  • Fix: Commit URL in changelog ([2ec33c9][157])
  • Fix: Formatting ([6ab28a3][156])
  • Fix: Line length and CLI test ([bd5d3d3][155])
  • Fix: This is impossible due that the start parameter has to be "$start < 0 || $end < 0 || $end < $start" ([b680f9e][154])
  • Fix: Title, check if ext-json is loaded ([104e77f][153])
  • Fix: Update docs ([69bb28f][152])
  • Fix: ignore in coverage test ([b8993e0][151])
  • Fix: ignore interface ([975f50e][150])
  • Fix PHPMD warnings ([839b0f0][149], [d62afcf][148])
  • Fix Readme Typo ([ff0bb29][147])
  • Fix docblock ([a9635be][146])
  • Fix grammar ([40f418f][145])
  • Fix phpdoc and return type ([962623d][144])
  • Fix potentially polymorphic call ([160a3ae][143])
  • Fix test function length ([7b9bce9][142])
  • Optimize: Code clean up ([a947cc7][141])
  • Optimize: Only one argument is allowed per line in a multi-line function call ([56bd9c8][140])
  • Optimize Remove unused tupleSort function ([42ea73b][139])
  • Optimize SequenceMatcher.php sort. The native PHP sort function is sufficient. There is no need for a callback function tupleSort. ([56ed81d][138])
  • Optimize code base #103 ([550312a][137])

Release 2.4.0

26 Oct 18:13
Compare
Choose a tag to compare

2.4.0 (2021-08-23)

Release 2.3.3

23 Aug 13:47
Compare
Choose a tag to compare

2.3.3 (2021-08-23)

  • Fix Autoload test classes only in development (31b4222)

Release 2.3.2

27 Mar 13:45
c09edb2
Compare
Choose a tag to compare

2.3.2 (2021-03-27)

  • Bump library version (6e42d96)
  • Fix #90 - Merged Diff shows result only partially (acbfd7d)
  • Fix colors (7eba340)
  • Fix repeating class assignment of line header (fb32453)
  • Fix title attribute values (533a6bf)

2.3.1

03 Feb 12:10
9830fe0
Compare
Choose a tag to compare

2.3.1 (2021-02-03)

  • Add DigiLive/gitChangelog for change log generation (0a6a84f)
  • Bump library version (013f862)
  • Cut HTML Unified Renderer (1ba255f)
  • Document PhpUnit Similarity Test (7ec484c)
  • Document Update Changelog (7d6c8bb, c9881d3)
  • Document disabled inspection (909e195)
  • Document generateLinesEqual() (8a193c9)
  • Document methods (94c8bd5)
  • Fix #83 - Lines not properly marked (6fcafe1)
  • Fix HTML Merged Renderer (07da484)
  • Fix constructor DocBlocks (b13ff84)
  • Fix html syntax error (11ec623)
  • Fix namespace and unused code (77a7b59)
  • Fix probably undefined variable (3954a2b)
  • Fix property visibility and method docBlocks (3bc0839)
  • Fix property visibility and unused code (34a032f)
  • Fix redundant and unused code. (73f6776)
  • add phpunit config file (7382ee8)

2.3.0

19 Nov 13:10
Compare
Choose a tag to compare
  • Add: Change log.
  • Fix: Html SideBySide renders equal lines of version 1 at both sides (Option ignoreCase).
  • Fix: Second parameter of string repeat function minimizes to 0.
  • Fix: #60 - Unified Cli renderer options incompatible with Main renderer options
  • Fix: #64 - Calculation of maxLineMarkerWidth independent of input format.
  • Add: Similarity calculation
  • Add: New marking levels for inline differences
  • Add: Html merged renderer

v2.2.1 Release

06 Aug 12:28
Compare
Choose a tag to compare

This release fixed #58 - Side by side diff shows empty diff

Release v2.2.0

23 Jul 07:29
Compare
Choose a tag to compare

This release v2.2.0

  • adds an option for a custom override renderer. #53
  • add the feature to not have an output when there are not changes between the compared strings / files. #52 #54

Release 2.1.1

17 Jul 07:29
Compare
Choose a tag to compare

This release fixes #50 that equal text files produced an output, but shouldn't.

Release 2.1.0

13 Jul 09:52
ec897dd
Compare
Choose a tag to compare

Release 2.1.0

This release adds cli non colored output. This allows it to be piped.