Debian Codegraph @

vendor/jfcherng/php-diff/CHANGELOG/CHANGELOG_v6.md

raw
1
2 ## VERSION 6 UNIFIED
3
4 * Version **6.16** - new differ option: fullContextIfIdentical
5 * 2024-03-11 01:40 **6.16.2** remove debug msg
6 * 8bafc7b fix: remove debug print
7 * 2024-03-08 01:59 **6.16.1** fix Differ::getStatistics()
8 * e6d485d fix: Differ::getStatistics() not working when no difference
9 * 26f93d7 chore: update deps
10 * 2024-03-05 16:44 **6.16.0** initial release
11 * 809088e chore: $ composer fix
12 * d07f241 chore: fix deprecated php-cs-fixer options
13 * 00c7a38 chore: update deps
14 * 5d094e4 feat: add new differ option: fullContextIfIdentical (#79)
15 * bf2ddb8 chore: tidy codes
16 * e0da986 style: $ composer fix
17 * 5b70504 chore: ignore example/demo_web.php from php-cs-fixer
18 * e1575a2 chore: update deps
19 * 73069e7 chore: fix typos (#75)
20
21 * Version **6.15** - max sequence length
22 * 2023-06-15 20:29 **6.15.3** add translation: cze
23 * 2335d9e docs: update translation readme
24 * d50beb0 chore: add traslation Czech (#74)
25 * 2023-06-05 19:41 **6.15.2** add translation: nob
26 * 9d55d2f chore: Norwegian translation (#73)
27 * 2023-05-26 00:23 **6.15.1** update deps
28 * b73d9e8 chore: update deps
29 * 2023-05-21 16:04 **6.15.0** initial release
30 * 5089d99 feat: add new differOption: lengthLimit
31 * 9182995 chore: update deps
32
33 * Version **6.14** - add differ option: ignoreLineEnding
34 * 2023-03-16 03:26 **6.14.2** (Combined) fix unmerge-able block
35 * aeb1c3c fix: (Combined) unmerge-able block shouldn't be repeated
36 * 341f943 Release of new version 6.14.1
37 * 2023-03-11 15:24 **6.14.1** tidy codes
38 * 71f0b0e refactor: move "ignoreLineEnding" implementation to sequence matcher
39 * 77d4dbb test: tidy codes
40 * 25d344b chore: update deps
41 * df6db81 chore: fix typos
42 * 2023-03-10 20:33 **6.14.0** initial release
43 * 3b1e344 feat: add differ option: ignoreLineEnding
44 * b194161 chore: move test files
45 * 882ea1a chore: update deps
46
47 * Version **6.13** - override language
48 * 2023-02-27 19:28 **6.13.1** another way to fix #34
49 * 7b89fd7 fix: another way to fix \r shouldn't be visualized like a newline in Combined renderer
50 * c069031 chore: add missing type hint
51 * 2023-01-19 00:29 **6.13.0** initial release
52 * bfb89b6 feat: provide a way to override an existing language
53 * 775a043 chore: update deps
54 * c1638b3 style: format readme with prettier
55 * 5eb2dab docs: fix build status badge in readme
56 * 33b5bf5 chore: update deps
57 * 8063d63 style: reduce indentation for the demo codes
58 * 815eb0f test: test against PHP 8.2
59
60 * Version **6.12** - new rendererOption: spaceToHtmlTag
61 * 2022-09-26 22:33 **6.12.1** fix: side-by-side column too narrow
62 * e12a477 style: make CI happy
63 * 2022-09-25 21:58 **6.12.0** initial release
64 * 97791ea feat: new rendererOption: spaceToHtmlTag (#60)
65 * 47f9e74 revert: partially revert ef08158
66 * df88798 fix: select the code only (#59)
67 * ef08158 fix: wrong visual tabSize on browser
68 * 397fb17 chore: fix typo/spelling (#57)
69 * 7da0452 chore: update deps
70 * e579d7e chore: update CI deps
71
72 * Version **6.11** - Bump PHP version to 7.4
73 * 2022-06-26 13:42 **6.11.6** fix Combined::renderArray
74 * 710be7f test: update tests
75 * fea80b0 fix: Combined::renderArray isn't working properly
76 * a8eabe3 chore: update deps
77 * 2022-04-03 00:35 **6.11.5** Update upstream
78 * 52551c6 chore: update deps
79 * 4b08ef2 chore: change rules for php-cs-fixer 3.8
80 * ba4dc50 chore: update deps
81 * fc6613b chore: update deps
82 * 2022-03-07 19:24 **6.11.4** add Italian translation
83 * 6d4b53e feat: add Italian translation (#53)
84 * f94c48f refactor: tidy codes
85 * 2022-03-01 00:23 **6.11.3** PHP 7.4 refactoring
86 * 27a92e4 refactor: utilize PHP 7.4 typed properties
87 * 8ec5d02 refactor: utilize PHP 7.4 array spread operator
88 * 7372b0a refactor: utilize PHP 7.4 arrow funciton
89 * 74db0b4 refactor: utilize PHP 7.4 null coalescing assignment
90 * 02c14b8 chore: update deps
91 * fafa8a8 chore: remove "todo" from test data
92 * 2022-02-21 13:54 **6.11.2** Fix PHP alpine
93 * a589955 chore: update deps
94 * 1b537d5 chore: license year +1
95 * 2021-11-25 10:15 **6.11.0** initial release
96 * 65610ae style: reformat with php-cs-fixer
97 * 664ff0f chore: update php-cs-fixer rules for v3
98 * 84abe9f chore: bump min PHP to 7.4.0 and update other deps
99 * d55fd28 chore: remove "@todo" in readme
100 * 8130948 docs: revise instructions for running demo
101
102 * Version **6.10** - feat: add methods to get diff statistics
103 * 2021-09-02 12:03 **6.10.2** Bump deps
104 * bf18634 chore: bump "jfcherng/php-sequence-matcher" 3.2.8
105 * 2021-09-02 11:58 **6.10.1** Bump deps
106 * 795555c chore: bump "jfcherng/php-sequence-matcher" 3.2.7
107 * 814782b chore: add RMT into ignore-export
108 * 98fbe77 chore: update demo js/css URLs
109 * 809ea0f docs: update badegs
110 * 17d912e style: fix some long lines
111 * 7e9a001 style: add visibility to public consts
112 * 2a28fe1 chore: update deps
113 * 2021-03-19 17:20 **6.10.0** initial release
114 * 56eee87 chore: add liip/rmt as a dev dependency
115 * 4b170cd feat: add methods to get diff statistics
116 * d95e0b8 chore: update deps
117 * 4c6e2ab chore: update license year
118 * f40467c chore: allow phan/phan ^4
119 * bd322af fix: deprecated method in .php_cs
120 * ab25d01 chore(ci): fix php-cs-fixer rule as of 2.17.0
121 * c0d13c5 chore: update deps
122
123 * Version **6.9** - add option: showHeader
124 * 2020-12-08 07:55 **6.9.0** initial release
125 * 9d98db2 chore: exclude "tests/IgnoreWhitespaceTest.php" from formatting
126 * 8f33ca2 style: php-cs-fix
127 * 5e5f038 fix: undefined index 'showHeader'
128 * 5f0dd2d feat: add option: showHeader
129 * 863fbe1 chore(ci): real test against PHP 8.0
130 * 7e830bf chore: update deps
131 * 4576720 chore: update php-cs-fixer 2.17.0
132 * 3fede5b chore(ci): test against PHP 8.0 as well
133 * a342715 docs: fix typo
134 * 6ec0dd7 docs: add description links for Unified/Context diff formats
135
136 * Version **6.8** - new renderer: JsonText
137 * 2020-10-29 18:49 **6.8.0** initial release
138 * 33339b8 chore: update deps
139 * efa7217 feat: add renderer: JsonText
140 * f7dac30 chore: update frontend Prism 1.22.0
141 * 3494b40 docs: update permanent link
142 * fceef80 docs: fix typos
143 * 2cdcb6b chore: nits
144 * ef66d12 chore: udpate deps
145 * 8f765ec chore: Composer 2 no longer needs hirak/prestissimo
146 * 14fe79b chore: update deps
147
148 * Version **6.7** - feat: support colorized CLI output for text renderers
149 * 2020-08-23 18:52 **6.7.7** fix a regression about the last diff block
150 * 2ce0540 refactor: migrate to jfcherng/php-sequence-matcher 3.2.5
151 * 29115e2 chore: update deps
152 * f7f6e4d style: run php-cs-fix
153 * ba2fc9d chore: do not check/fix coding style for tests/data/
154 * 8d4c888 fix: sytnax error for PHP 7.1
155 * aa34ce3 test: add failing test (#36)
156 * 2020-08-22 19:08 **6.7.6** fix "ignoreWhitespaces" not working
157 * dd6a211 fix: "ignoreWhitespaces" doesn't produce the same result with GNU diff's
158 * dd96f78 chore: update deps
159 * 0fd52fb test: fixup: follow GNU's diff output
160 * f8c08d0 Failing test for ignoreWhitespace
161 * f0ed073 fix: use "static" to call non-static methods
162 * 2020-08-10 23:39 **6.7.5** fix \r visualization in Combined renderer
163 * 35a2502 fix: \r shouldn't be visualized like a newline in Combined renderer
164 * cb2bed2 chore: update deps
165 * 2020-07-06 11:10 **6.7.4** fix HTML escape for Combined renderer
166 * 762238b chore: update deps
167 * d32c7b6 fix: OP_EQ lines are not escaped in Combined renderer
168 * ef6dcb4 test: make phan happy
169 * dc2db03 chore: update readme badge
170 * d143c26 chore(ci): migrate CI from Travis to GitHub Actions
171 * 2020-05-28 03:22 **6.7.3** allow PHP 8
172 * 3ab8a9e chore: update deps
173 * 1b931eb chore: Composer PHP constrain >=7.1.3
174 * 37036c2 chore: add some comments
175 * 2020-04-27 01:49 **6.7.2** fix Combined internal HTML formatting
176 * 8f8d919 chore: update deps
177 * e172e4a fix: unexpected Combined output due to HTML formatting
178 * 8011802 chore: rename example/demo.php -> example/demo_web.php
179 * 444342d refactor: tidy codes
180 * 2020-04-07 02:18 **6.7.1** refactor: colorization with jfcherng/php-color-output
181 * 9c3da80 refactor: colorization with jfcherng/php-color-output
182 * ea2d43d docs: adjust demo colors
183 * 2020-04-06 20:29 **6.7.0** initial release
184 * 40f0e74 test: fix test for CLI color output
185 * ba9dd9e chore: update deps
186 * 857f4b0 fix: make phan happy
187 * 129d51e docs: add example/demo_cli.php
188 * dbec4b8 feat: support colorized CLI output for text renderers
189 * 007abaf chore: update deps
190
191 * Version **6.6** - Add new renderer option: wordGlues
192 * 2020-03-31 23:53 **6.6.4** add Spanish translation
193 * 842b4af feat: add Spanish translation (#26)
194 * 2020-03-30 14:22 **6.6.3** Just a few refactoring
195 * 29dca67 test: add tests for Word line renderer
196 * 355952f refactor: Word line renderer uses PREG_SPLIT_NO_EMPTY
197 * 68b530e refactor: tidy codes
198 * 492f53c chore: add some comments
199 * 2020-03-30 00:45 **6.6.2** Fix wordGlues
200 * 7ddbb79 fix: "wordGlues" works wrongly under some circumstances (#25)
201 * 16780d3 fix(CSS): better strip alignment effect
202 * 2020-03-20 06:41 **6.6.1** Add new language: German (deu)
203 * 00b9a03 German language file
204 * 9f1ae6b chore: update deps
205 * 92e8f25 docs: update readme badges to fit markdown style
206 * 0615509 refactor: tidy codes
207 * 2020-03-12 19:53 **6.6.0** initial release
208 * 05a118a Update deps
209 * 2b68ddc Update screenshots
210 * d227113 Add new renderer option: wordGlues
211 * d24c6ae Tidy codes
212
213 * Version **6.5** - New renderer: Combined
214 * 2020-03-11 16:52 **6.5.7** Add Json renderer option: jsonEncodeFlags
215 * 9a00a55 Add Json renderer option: jsonEncodeFlags
216 * cb54261 Tidy codes
217 * 2020-03-09 16:08 **6.5.6** Add Combined renderer option: mergeThreshold
218 * 2f85968 Tidy codes (Inline/SideBySide/Combined)
219 * e39d674 Tidy codes
220 * d643094 Add Combined renderer option: mergeThreshold
221 * 92af433 Add more test cases
222 * 570fd51 Update deps
223 * 2020-03-08 00:42 **6.5.5** Combined: do not merge blocks which change too much
224 * f4f8b25 Tidy codes
225 * 273d1b4 Combined: do not merge blocks which change too much
226 * ac5e1b1 Fix CSS table text alignment for very long lines
227 * 5046910 Tidy codes
228 * 45c0b24 Do not trim trailing whitespaces for .txt files
229 * 2020-03-07 18:02 **6.5.4** Various Context/Unified fixes
230 * 4484193 Tidy codes
231 * 0a91891 Add some textual renderer tests
232 * 3fdad9c Fix Context/Unified output for EOL at EOF
233 * 8ab502f Fix Unified line numbers when context is 0
234 * 795628f Fix all-equal hunk content should be omitted in Context output
235 * 0f2e39a Fix there are extra leading/trailing lines when context is set to 0
236 * 973fecb Add some textual renderer tests
237 * 232356f Fix DiffHelper::calculateFiles() for empty file
238 * 899600c Tidy codes
239 * a81078f Add some comments
240 * 2020-03-06 01:29 **6.5.3** Improve Combined renderer output for newlines
241 * 745199a Update deps
242 * e531cdc Combined: better boundary newline chars visualization
243 * bf09969 Tidy codes
244 * 42366b1 Add "run-script" to custom composer commands
245 * 2020-03-05 14:14 **6.5.2** Fix multiline replaced lines in the Combined renderer
246 * 5c93db2 Stripe background should only work in SideBySide
247 * ea45be3 Fix "\n" should be "<br>" in Combined renderer output
248 * d65c878 Use Prism.js to highlight diff example demos
249 * c4e7d7b Tidy codes
250 * 2020-02-29 02:30 **6.5.1** Allow overriding SCSS variables
251 * ec4583c Allow overriding SCSS variables
252 * bb5203b Simplify codes for merging lines in Combined renderer
253 * 6da9215 Update example readme
254 * a0b906b Prefer the new if we can only show either old or new
255 * 2020-02-28 22:56 **6.5.0** initial release
256 * 98fe251 Update deps
257 * 2de0300 Update readme
258 * a6ff11a Finish the HTML Combined renderer
259 * 2cf8e84 New Renderer (#22)
260 * 2277a98 Improve type docs and variable naming
261 * d212f41 Update docs
262 * 7a45667 Tidy codes
263 * e96e971 Rename some "tag" to "op"
264 * 2dd547c Update deps
265
266 * Version **6.4** - Add renderer option: lineNumbers
267 * 2020-02-25 04:22 **6.4.7** Fixed SideBySide stripe background
268 * f395759 SideBySide stripes use "background-attachment: fixed;"
269 * a93f7fb Update SideBySide screenshot
270 * 2020-02-24 18:52 **6.4.6** Align stripes
271 * bdc3036 Make SideBySide stripe background aligned across lines
272 * 2020-02-24 14:47 **6.4.5** CSS tweaks
273 * 36799b9 SideBySide shows a stripe for nonexistent lines
274 * 6b7e36b Update readme
275 * 8b89bbc Add a const for indicating showing all contexts
276 * bd2c868 Make empty cells have height via CSS
277 * 3ae6da1 Make coding thoughts more clear
278 * 0394a74 Tidy Codes
279 * 7093932 Update SideBySide screenshot
280 * abb8955 Improve SideBySide CSS for nonexistent blocks
281 * 8cb05e8 Add keywords to composer.json
282 * f061297 Update example/README.md
283 * f861a3f Add more cases to example text sources
284 * 34786fa Update example/README.md
285 * 2020-02-13 14:16 **6.4.4** Fix SideBySide wrong new line number
286 * 7397cbe Tidy codes
287 * 215209d Fix SideBySide wrong new line number
288 * d91221d Fix documentation for outputTagAsString
289 * a7c3222 Add example image for SideBySide without line numbers
290 * 2020-02-10 05:40 **6.4.3** Better SideBySide output without line numbers
291 * 067c715 Merge SideBySide insert/delete columns when lineNumbers is false
292 * 2020-02-09 18:27 **6.4.2** Fix SidebySide fatal error
293 * 4e74cc5 Fix SideBySide renderer fatal error
294 * 2020-02-09 17:43 **6.4.1** Fix typo
295 * f2afe14 Fix typo: Woker -> Worker
296 * 2020-02-07 17:51 **6.4.0** initial release
297 * 802a7cb Tidy codes
298 * 52045f3 Update documents
299 * 69f42a1 lineNumber option (#19)
300 * 1140ec2 Fix phan errors
301 * 10cc545 Fix documentation about rendering from JSON diff
302 * 4072992 Update deps
303 * 90a86e0 ++year
304
305 * Version **6.3** - Render HTML with JSON result
306 * 2020-01-16 13:00 **6.3.2** Add French (fra) translation
307 * 41d571f Add French language file
308 * 2020-01-12 01:08 **6.3.1** Remove dep: nicmart/string-template
309 * 82259d0 Update dev require
310 * d83f3ac Update readme [skip ci]
311 * b36aeec Revert "Use string template engine to render language translations"
312 * 0a991e7 Update tests
313 * 2020-01-05 16:21 **6.3.0** initial release
314 * 91a6180 Update deps
315 * c713a0a Update examples and README
316 * 3c6d9a3 Variables renaming (example/demo.php)
317 * ce71a93 Add tests for \Jfcherng\Diff\Renderer\AbstractRenderer::renderArray
318 * f497539 Tidy codes
319 * caec927 Require jfcherng/php-sequence-matcher ^3.2
320 * 3111605 Let text renderers throw exception for renderArray()
321 * 8235504 Ability to render HTML from JSON (#17)
322
323 * Version **6.2** - Add renderer option: resultForIdenticals
324 * 2020-01-05 01:19 **6.2.1** Add Turkish translation
325 * f86585a Update deps
326 * 858625f Create tur.json
327 * eae8262 Add some @return static
328 * caaaba7 Add .phpstorm.meta.php
329 * 1067679 Update .travis.yml to PHP 7.4 stable
330 * 6a5cd7b $ composer fix
331 * d69a153 Update deps
332 * 3e1b965 Use string template engine to render language translations
333 * 2019-10-12 05:33 **6.2.0** initial release
334 * f7aba88 Optimize RendererFactory::resolveRenderer()
335 * 288adb2 Fix typos
336 * 601cf86 Throw an exception for invalid "resultForIdenticals"
337 * 9a71712 Add renderer option: resultForIdenticals
338 * 53ac441 nits: tests
339 * d1a7479 Update deps
340 * 31b4916 Remove unnecessary CSS
341 * f05f4a3 Tidy files
342
343 * Version **6.1** - Resolve CSS conflict
344 * 2019-10-11 06:34 **6.1.2** Add Portuguese translation
345 * a07dea9 Rename pt_BR.json -> por.json
346 * d89a7b3 Replace "switch" statements with callback function tables
347 * 5b9a828 Create pt_BR.json
348 * 896df76 Follow PSR-12
349 * 6d3ae95 Move FUNDING.yml to .github/
350 * cf9032a Add test for renderer custom language array
351 * 2019-09-11 00:19 **6.1.1** Fix "language" cannot be an array
352 * 98085b6 Fix renderer option "language" cannot be an array
353 * 3518068 Update .gitattributes
354 * 2019-09-10 17:24 **6.1.0** initial release
355 * f9400d3 Add renderer option: wrapperClasses
356 * f2f613c Update readme (nits)
357 * fdead6f Update readme (flat-square style badges)
358
359 * Version **6.0** - Unified
360 * 2019-09-10 14:30 **6.0.1** Fix jpn wording
361 * 00b59ef Fix jpn wording
362 * d04814e Sass: replace compass/css3 functions with dart-sass built-in
363 * a3b05d9 Update readme to use badges from shields.io
364 * 5dbdf21 Update readme: nits
365 * db4439c Slightly improve code readability
366 * 682fb39 nits
367 * 2b13e8e Update deps
368 * 0c9b79b Add .gitattributes
369 * fa9f3a6 Create FUNDING.yml
370 * f81b823 Move documentation assets to the current branch
371 * 4c2c11d Release of new version 5.2.2
372 * 2bd27d4 Update deps
373 * fa189fa Update deps
374 * 6b30019 Update deps
375 * abc0d8a $ composer fix
376 * 7cb5a75 Update deps
377 * 70f66a2 Update .travis.yml for 7.4snapshot
378 * e7e1839 Update deps
379 * 1cee802 Update readme
380 * bf14c89 Update deps
381 * c52f66b Fix typo in UPGRADING_v6.md
382 * 756970a Add .editorconfig
383 * e6350bc Change screenshot size
384 * 55748a5 Update deps
385 * d8644db Update deps
386 * 03b0c55 Freeze documentation assets for v5
387 * bd61843 Freeze documentation assets for v4
388 * 2019-03-20 11:31 **6.0.0** initial release
389 * 46d8e1b Update .rmt.yml
390 * f3f209c Fix tests
391 * c625cb3 Revise UPGRADING_v6.md
392 * 6807e65 Let Differ manages its own state, i.e., finalize()
393 * ae309c5 Fix some grammar problems in UPGRADING_v6.md
394 * 9fa89dd Add RendererInterface::getResultForIdenticals()
395 * b781125 Release of new version 5.2.0
396 * 57fa3cd nits
397 * 926f19f $ php-cs-fixer fix
398 * 89ec714 [php-cs-fixer] Add new rules: @PhpCsFixer, @PhpCsFixer:risky
399 * 83830c7 Improve JSON decoding in Language::getTranslationsByLanguage()
400 * 3b40e42 Release of new version 4.2.3
401 * b39f29a Make Language::getTranslationsByLanguage() safer
402 * 846d0ca Rename the term "template" to "renderer"
403 * 8439977 Use native class name
404 * 5330a8e Release of new version 4.2.2
405 * 4979a53 nits
406 * ffaefef Fix phan error
407 * dc26604 Rename Differ::groupedCodes to Differ::groupedOpcodes
408 * ba570f8 Make Differ work in a DI way in Renderer internally
409 * 177146e Rename Diff to Differ
410 * 0a30b27 Renderer::render() rather than Diff::render()
411 * deb9ed3 Revise phpdoc
412 * d8606b7 Release of new version 5.1.0