You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`$diffOptions` removes: `charLevelDiff` and `separateBlock`.
328
-
-`$templateOptions` adds: `detailLevel` (similar to `charLevelDiff`, read docs) and `separateBlock` (exact the same one in `$diffOptions`).
329
-
-`Jfcherng\Diff\Diff`'s `$a` (`$old`), `$b` (`$new`) are required in `__construct()`. (You may pass two empty arrays if you do not want to do anything at that moment.)
330
-
- The look of "skipped" block in HTML renderers (`SideBySide` and `Inline`) have been changed. (You may have to tweak your CSS.)
331
-
332
-
</details>
333
-
334
-
<details><summary>From v3 to v4</summary>
335
-
336
-
-`Jfcherng\Diff\Utility\SequenceMatcher` becomes [a new package](https://packagist.org/packages/jfcherng/php-sequence-matcher) by the namespace of `Jfcherng\Diff\SequenceMatcher`.
337
-
- Factories under `Jfcherng\Diff\Utility\` are moved to `Jfcherng\Diff\Factory\`. For example, `Jfcherng\Diff\Utility\RendererFactory` is now `Jfcherng\Diff\Factory\RendererFactory`.
338
-
- Non-abstract classes are no longer inheritable as they are added with `final` keywords. (This allows me to do more internal changes without causing possible BC breaks.)
339
-
340
-
</details>
341
-
342
-
<details><summary>From v4 to v5</summary>
343
-
344
-
- Names involving `a, b`, `from, to`, `base, changed` have been renamed to `old, new` for consistency.
345
-
Here's some examples:
346
-
347
-
-`Diff::setAB()` becomes `Diff::setOldNew()`.
348
-
-`Diff::setA()` becomes `Diff::setOld()`.
349
-
-`Diff::setB()` becomes `Diff::setNew()`.
350
-
-`Diff::getA()` becomes `Diff::getOld()`.
351
-
-`Diff::getB()` becomes `Diff::getNew()`.
352
-
-`base`, `changed` keys in the result of the `Json` renderer have become `old`, `new`.
353
-
354
-
- In the result of HTML renderers, classes of rows of line numbers has been changed.
355
-
You may have to change your CSS if you have some customized things depend on these.
-`$diffOptions` removes: `charLevelDiff` and `separateBlock`.
4
+
-`$templateOptions` adds: `detailLevel` (similar to `charLevelDiff`, read docs) and `separateBlock` (exact the same one in `$diffOptions`).
5
+
-`Jfcherng\Diff\Diff`'s `$a` (`$old`), `$b` (`$new`) are required in `__construct()`. (You may pass two empty arrays if you do not want to do anything at that moment.)
6
+
- The look of "skipped" block in HTML renderers (`SideBySide` and `Inline`) have been changed. (You may have to tweak your CSS.)
-`Jfcherng\Diff\Utility\SequenceMatcher` becomes [a new package](https://packagist.org/packages/jfcherng/php-sequence-matcher) by the namespace of `Jfcherng\Diff\SequenceMatcher`.
4
+
- Factories under `Jfcherng\Diff\Utility\` are moved to `Jfcherng\Diff\Factory\`. For example, `Jfcherng\Diff\Utility\RendererFactory` is now `Jfcherng\Diff\Factory\RendererFactory`.
5
+
- Non-abstract classes are no longer inheritable as they are added with `final` keywords. (This allows me to do more internal changes without causing possible BC breaks.)
0 commit comments