Skip to content

Commit 0cbcd06

Browse files
committed
update changelog
1 parent e21a45f commit 0cbcd06

File tree

2 files changed

+6
-248
lines changed

2 files changed

+6
-248
lines changed

CHANGELOG.md

Lines changed: 6 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -1,127 +1,12 @@
11
History of changes
22
==================
33

4-
1.3.4
4+
2.0.0
55
-----
66

7-
* Fixed option [compareAttributesAsJSON](https://github.com/bem/html-differ/tree/v1.3.4#compareattributesasjson-array) (see [#142]).
7+
* Forked from https://github.com/bem/html-differ
8+
* Added option [ignoreSelfClosingSlash](https://github.com/markedjs/html-differ/tree/v2.0.0#ignoreSelfClosingSlash-boolean) (see [#2](https://github.com/markedjs/html-differ/pull/2)).
9+
* Fixed newline inside tags (see [#3](https://github.com/markedjs/html-differ/pull/3)).
10+
* **BREAKING:** Only support Node latest and LTS
811

9-
1.3.3
10-
-----
11-
12-
* Fixed the bug with comparison of duplicate `css` classes (see [#138]).
13-
* Added supporting of `[email protected]` and `[email protected]`.
14-
15-
1.3.2
16-
-----
17-
18-
* Fixed the bug with comparison of screened text (see [#131]).
19-
20-
1.3.1
21-
-----
22-
23-
* Improved tokenization of input for better logging of differences.
24-
25-
1.3.0
26-
-----
27-
28-
* **bem** option was declared as _deprecated_. **preset** option should be used instead.
29-
* Added the ability of redefinition of _presets_.
30-
* Fixed bug in handling of _masks_ in HTML.
31-
32-
1.2.0
33-
-----
34-
35-
* BROKEN.
36-
37-
1.1.0
38-
-----
39-
40-
* Added supporting of [masks](https://github.com/bem/html-differ#masks) in HTML.
41-
42-
1.0.8
43-
-----
44-
45-
* _Сonditional comments_ are not ignored regardless of the value of option **ignoreComments** (see [#116]).
46-
* Changed _BEM preset_, set option **ignoreComments** to `true`.
47-
48-
1.0.7
49-
-----
50-
51-
* Updated `keywords` in `package.json`.
52-
* Added file `.npmignore`.
53-
54-
1.0.6
55-
-----
56-
57-
* Fixed _BEM preset_, set option **ignoreComments** to `false`.
58-
59-
1.0.5
60-
-----
61-
62-
* Removed unnecessary files from `npm`.
63-
64-
1.0.4
65-
-----
66-
67-
* Improved tokenization of input for better logging of differences (see [#111]).
68-
69-
1.0.3
70-
-----
71-
72-
* Improved tokenization of input and serialization of attributes' values (see [#110]).
73-
74-
1.0.2
75-
-----
76-
77-
* _BEM preset_ was changed. Attributes `aria-labelledby` and `aria-describedby` were added to option **ignoreAttributes**.
78-
79-
1.0.1
80-
-----
81-
82-
* Fixed crash with option `compareAttributesAsJSON` concerning the invalid input (see [#106]).
83-
84-
1.0.0
85-
-----
86-
87-
* Added options:
88-
* **ignoreEndTags**
89-
* **ignoreDuplicateAttributes**
90-
* Renamed options:
91-
* **ignoreHtmlAttrs** --> **ignoreAttributes**
92-
* **compareHtmlAttrsAsJSON** --> **compareAttributesAsJSON**
93-
* **ignoreHtmlComments** --> **ignoreComments**
94-
* Changed the way of setting attributes in option **compareAttributesAsJSON**.
95-
* Changed the way of setting predefined options for [BEM](http://bem.info/).
96-
* Renamed method **log** to **logDiffText**.
97-
* Moved to parser [parse5](https://github.com/inikulin/parse5).
98-
* Add more tests.
99-
* Fixed bugs.
100-
101-
0.5.0
102-
-----
103-
104-
* Added **ignoreHtmlComments** option.
105-
* Added [Russian documentation](https://github.com/bem/html-differ/blob/master/README.ru.md).
106-
* Renamed **ignoreWhitespace** option to **ignoreWhitespaces**.
107-
* Set the default value of **charsAroundDiff** option to `40`.
108-
* Removed **verbose** option.
109-
* Added logging of differences similar to [mocha](https://github.com/visionmedia/mocha).
110-
* Moved to parser [htmlparser2](https://github.com/fb55/htmlparser2).
111-
112-
0.4.0
113-
-----
114-
115-
* Added the handling of **onclick** and **ondblclick** attributes for **compareHtmlAttrsAsJSON** option.
116-
* Added [BEM](http://bem.info/) preset.
117-
* Added **getDiffText** method to **logger**.
118-
* Added testing of code coverage and dependencies status.
119-
* Added JSDocs.
120-
121-
[#142]: https://github.com/bem/html-differ/pull/142
122-
[#138]: https://github.com/bem/html-differ/issues/138
123-
[#131]: https://github.com/bem/html-differ/issues/131
124-
[#106]: https://github.com/bem/html-differ/issues/106
125-
[#110]: https://github.com/bem/html-differ/pull/110
126-
[#111]: https://github.com/bem/html-differ/pull/111
127-
[#116]: https://github.com/bem/html-differ/issues/116
12+
**See older changelog at:** [bem/html-differ](https://github.com/bem/html-differ/blob/master/CHANGELOG.md)

CHANGELOG.ru.md

Lines changed: 0 additions & 127 deletions
This file was deleted.

0 commit comments

Comments
 (0)