Skip to content

Commit 3f8ee7e

Browse files
committed
Updated changelog for upcomming version 0.1.14
1 parent 5b9bff2 commit 3f8ee7e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Diff for: CHANGELOG.md

+21
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Change Log
22

3+
## [v0.1.14](https://github.com/caxy/php-htmldiff/tree/v0.1.13) (2022-01-19)
4+
[Full Changelog](https://github.com/caxy/php-htmldiff/compare/v0.1.13...v0.1.14)
5+
6+
### Changes:
7+
8+
This release mainly removed everything that is related to the concept of special-case-tags. This was adopted from the
9+
original library by rashid2538 that this fork is based on.
10+
11+
The feature tried to wrap the special tags in an extra `<ins / del class='mod'>` tag.
12+
However, this never really worked properly (the closing tag was not always added to the diff output) and usually ended up crippling the HTML.
13+
14+
Given the feature never really worked, and there is no clear use-case for it, I decided to remove it and fix
15+
issue 106 and issue 69 in the process where it was sometimes impossible to diff html that contained these special tags or unexpected extra tags got added to the output.
16+
17+
In case you really needed this feature, please open an issue explaining your use-case, in that case this decision can be revisited.
18+
19+
- Deprecated all setSpecialCaseTags() config calls. There is no replacement, but the current expectation is that nobody ever used these calls anyway.
20+
- Fixed Issue 106 / 69 by removing special-case-tags from the codebase
21+
- Reduced the CRAP score of insertTag() by allot
22+
23+
324
## [v0.1.13](https://github.com/caxy/php-htmldiff/tree/v0.1.13) (2021-09-27)
425
[Full Changelog](https://github.com/caxy/php-htmldiff/compare/v0.1.12...v0.1.13)
526

0 commit comments

Comments
 (0)