Debian Codegraph @

mixmark-io-domino/CHANGELOG.md

raw symbols SCIP
1 # domino x.x.x (not yet released)
2
3 # domino 2.1.6 (16 Jul 2020)
4 * Bumped version of lodash (#169)
5 * Performance improvement to DOMTokenList (#166)
6 * `mocha` dependency has been updated to 6.x. As a result, we are
7 no longer testing on node 4.
8
9 # domino 2.1.5 (30 Apr 2020)
10 * Bumped version of jquery dev dependency (#163)
11 * Omit tests/ directory from NPM package (#161)
12
13 # domino 2.1.4 (16 Dec 2019)
14 * Bug fix for `Element#closest` when selector doesn't match (#154)
15
16 # domino 2.1.3 (6 Mar 2019)
17 * Bug fix for CSS `$=` selector and for matches on root `<html>` element.
18 * Renamed CSS `:matches` to `:is`
19 ( https://github.com/w3c/csswg-drafts/issues/3258 )
20 * Bug fix for CSS matches with escape characters in tag name.
21
22 # domino 2.1.2 (14 Feb 2019)
23 * Allow writable Element constructors unless __domino_frozen__ is set to true (#138)
24 * Bug fix for CSS `$=` selector. (#135)
25 * Move `Node#_serializeOne()` to `NodeUtils.serializeOne()` to reduce pressure
26 on the megamorphic stub cache in V8, and thereby improve throughput (#142).
27 * Implemented `HTMLOptionElement#text` and `HTMLOptionElement#value` (#136)
28
29 # domino 2.1.1 (30 Nov 2018)
30 * Add `domino.createIncrementalHTMLParser` interface.
31
32 # domino 2.1.0 (13 Aug 2018)
33 * Fix `ContainerNode#removeChildren()` when there is more than one child (#129)
34 * Implement `Document#scrollingElement` (#107)
35 * Implement setter for `Element#outerHTML` (#102)
36 * Handle null/undefined in setter for `Node#textContent`
37 * Handle null/undefined/negative values in `CharacterData` interface methods
38 * Spec-correctness fixes for `DOMTokenList`, including handling of duplicate
39 keys.
40 * Fix `[src=...]` selectors in `Document#querySelector()` and similar
41 * Spec-correctness fixes for `Document#createElement()` and
42 `Document#createElementNS()`, including proper exception type and type
43 coercion.
44 * Implement `Attr#cloneNode()`, `Element#getAttributeNode()`,
45 `Element#getAttributeNodeNS()`, `Element#setAttributeNode()`,
46 `Element#setAttributeNodeNS()`, and `Element#removeAttributeNode()`
47 (DOM3 compatibility)
48 * Implement `Document#createAttribute()` and `Document#createAttributeNS()`
49 * Implement `Element#hasAttributes()`, `Element#toggleAttribute()`, and
50 `Element#getAttributeNames()`
51 * Implement `Text#wholeText`
52 * Implement `Document#cloneNode()` and `DocumentType#cloneNode()`
53 * Spec-correctness fixes for `Node#lookupPrefix()`,
54 `Node#lookupNamespaceURI()`, and `Node#isDefaultNamespace`, including
55 proper type coercion and reconciling DOM 3 and DOM 4 specifications.
56 * Ensure `Document#title` continues to use correct whitespace stripping
57 for node > 4, and properly set `<title>` when `undefined` is passed to
58 `DOMImplementation#createHTMLDocument()`
59 * Ensure `Element#attributes` implements `NamedNodeMap` and that indexed
60 properties of `Element#attributes` work (previously you needed to use
61 the `item()` accessor method)
62 * Improve stubs for `HTMLElement#style`, `Document#documentURI`, and
63 `Document#contentType`
64 * Implement proper accessors for `HTMLSelectElement#autocomplete`,
65 `HTMLTextAreaElement#type/value/defaultValue/textLength`, and
66 `HTMLInputElement#width/height/minLength`
67 * Implement `Element#insertAdjacentElement()`, `Element#insertAdjacentText()`,
68 and `Element#insertAdjacentHTML()` (#102)
69 * Spec-correctness fixes for `TreeWalker` and `NodeIterator`: read-only
70 properties, proper exception types, type coercion of `NodeFilter` results.
71 * Implement `NodeIterator` pre-removal steps. Note that in the absence
72 of weak references, be cautious about the number of `NodeIterator`s you
73 create on any single document, since domino does not artificially limit
74 these.
75 See https://github.com/tc39/proposal-weakrefs/issues/17 for details.
76 * Preserve prefix of SVG elements during parsing. (#102)
77
78 # domino 2.0.3 (12 Jul 2018)
79 * Define `blur()`, `focus()` and `forceSpellCheck()` on `HTMLElement` (#125)
80 * Stringify argument tokens for DOMTokenList methods (#126)
81 * Fix `HTMLAnchorElement#hash` when `href` attribute contains bare
82 fragment (#127)
83 * Implement case-insensitive CSS attribute matching (#128)
84 * Implement `DOMTokenList#replace()`, `DOMTokenList#toggle(token, force)`,
85 and `DOMTokenList#value`. Fix handling of non-space whitespace. (#111)
86
87 # domino 2.0.2 (28 Mar 2018)
88 * Add TypeScript definitions (#103)
89 * Add `flex` CSS styles (#119, #120)
90 * Fix Element#matches with ~= selectors (#121)
91
92 # domino 2.0.1 (14 Feb 2018)
93 * Allow attributes named 'xmlns' (#112)
94 * Make DOMTokenList add/remove variadic (#109)
95 * Make `Array.from` and for-of loops work on `Node#attributes`.
96
97 # domino 2.0.0 ( 8 Nov 2017)
98 * Fix potential O(N^2) slowdown in FilteredElementList#item.
99 * `mocha` dependency has been updated to 4.0.x. As a result, we are
100 no longer testing on node pre-v4.0.0; see:
101 https://boneskull.com/mocha-v4-nears-release/
102 * Domino now uses a linked list representation for children of Node,
103 unless/until the Node#childNodes accessor is used (which requires
104 an indexed array to be built). Inserting a removing nodes can be
105 much quicker using the linked list representation if care is
106 taken not to deoptimize the tree by using the #childNodes accessor.
107 This implementation strategy matches the one used by webkit and
108 other browser-based implementations, and thus ought to match
109 performance expectations of folks used to writing browser-based
110 DOM manipulation code.
111
112 # domino 1.0.30 (24 Oct 2017)
113 * Fix regexp capitalization in URLUtils (#101)
114 * Fix O(N^2) slowdown in initial tree traversal using nextSibling/prevSibling
115 * Update `mocha` dependency to 3.5.x and `should` to 13.1.x.
116
117 # domino 1.0.29 ( 7 Aug 2017)
118 * Fix "#id" optimization in querySelectorAll() when 0 or 2 matches for
119 `id`. (#99)
120 * Correct return value of CSSStyleDeclaration#getPropertyValue() when
121 style is not set. (#98)
122
123 # domino 1.0.28 (27 Jan 2017)
124 * Fix unescape mechanism in attribute values. (#95)
125 * Disable nonstandard "ignore case" version of attribute matching.
126 * Add `dom/nodes` tests from w3c/web-platform-tests. (#92, @pimterry)
127 * Make selected API methods writable to support polyfills. (#89, @pimterry)
128 * Fix `Element#hasAttribute`/`Element#hasAttributeNS` after
129 `Element#removeAttribute`/`Element#removeAttributeNS`. (#90, @clint-tseng)
130 * Fix deep `Document#importNode`. (#93)
131 * Ensure that `Node#parentNode` is `null` (not `undefined`) when removed.
132 * Tweak JavaScript properties which are DOM reflections of element
133 attributes in order to more closely match the DOM 4 spec.
134 * Implement `ChildNode#before()`, `ChildNode#after()`, and
135 `ChildNode#replaceWith()`.
136
137 # domino 1.0.27 (17 Oct 2016)
138 * Fix bug in AFE list replacement over existing bookmark.
139 * Update htmlwg test suite to latest w3c/web-platform-tests.
140 * Update html5lib test suite to latest.
141 * HTML5 spec update: <menuitem> is no longer an empty element.
142 * HTML5 spec update: tweaked HTML entity parsing in attributes.
143 * HTML5 spec update: dashes are allowed in HTML comments.
144 * HTML5 spec update: remove special handling of <isindex>.
145 * Improve handling of legacy elements: `<xmp>`, `<listing>`, `acronym`,
146 `basefont`, `big`, `center`, `nobr`, `noembed`, `noframes`, `plaintext`,
147 `rb`, `rtc`, `strike`, and `tt`.
148 * HTML5 spec update: Remove extra newline in serialization of `<pre>`,
149 `<listing>`, `<textarea>`. (#88)
150 * HTML5 spec update: Remove case normalization for defunct SVG attributes.
151 * Implement HTMLMenuItemElement#label.
152 * Basic SVG support. (#81, #82)
153
154 # domino 1.0.26 (15 Oct 2016)
155 * Implement Document#dir.
156 * Minor spec-compliance fixes to Document#title and classList#contains.
157 * Implement Element#closest(). (#84)
158 * Actually run the HTMLWG tests (#83)
159 * Expose the HTML5 tree builder implementation. (#87)
160 * Add workaround to W3C test harness for node >= 0.11.7.
161 * Update the form-associated element list to match HTML5.
162
163 # domino 1.0.25 (19 May 2016)
164 * Fix broken stopping of immediate propagation of Events. (#78)
165 * Properly set "scripting enabled" flag when parsing fragments.
166 * Fix handling of escaped or invalid CSS identifiers in
167 `querySelector` and friends. (#79)
168
169 # domino 1.0.24 (05 Apr 2016)
170 * Implement WindowTimers interface on Window. (#72)
171 * Factor out the NavigatorID interface and make more spec-compliant.
172 * Implement `HTMLTemplateElement` and parse `<template>` tags.
173 * Properly parse the `<main>` tag.
174 * Remove support for the non-standard `<command>` tag.
175 * Create `HTMLCanvasElement` when parsing `<canvas>` tags.
176 * Create `HTMLDialogElement` when parsing `<dialog>` tags.
177 * Fix parsing of `<ruby>` tags, especially `<rb>` and `<rtc>`.
178 * Create `HTMLMenuItemElement` when parsing `<menuitem>` tags.
179 * Create `HTMLSourceElement` when parsing `<source>` tags.
180 * Create `HTMLTrackElement` when parsing `<track>` tags.
181 * Improve parsing of `<svg>` elements.
182 * Fix parsing of `<isindex>` element in unusual contexts.
183 * Serialize `<!DOCTYPE>` according to latest HTML5 spec.
184 * Update adoption agency algorithm to match latest HTML5 spec.
185 * Add additional parameter to `domino.createDocument` to
186 allow creating a document from an empty string if desired.
187 * Add tree builder test cases from `html5lib-tests`.
188 * Implement `Document#location`. (#75)
189 * Stub out additional properties of `HTMLIFrameElement`. (#76)
190
191 # domino 1.0.23 (30 Jan 2016)
192 * Fix `CSSStyleDeclaration#setProperty`. (#71)
193 * Update bundled CSS parser to 0.2.5+domino1.
194
195 # domino 1.0.22 (27 Jan 2016)
196 * Prevent TypeError due to undefined property when parsing styles. (#68)
197 * Support legacy `Attr#nodeValue` and `Attr#textContent` aliases. (#70)
198
199 # domino 1.0.21 (23 Dec 2015)
200 * Improve performance when adding nodes with duplicate IDs. (#60)
201 * Be more careful about setting prototype to `null` when using
202 Objects as a Map. (#61)
203 * Fix a global leak in NodeIterator.
204 * Improve efficiency of `Node#replaceChild` and `Node#insert`. (#62)
205 * Bug fix for `Node#normalize` which could cause deletion of empty
206 `Comment` or `ProcessingInstruction` nodes. (#63)
207 * Don't lowercase non-ASCII tag and attribute names. (#65)
208 * Fix a number of minor bugs in rarely used code, discovered
209 during delinting. (#66)
210 * Implement `Node.contains`. (#67)
211
212 # domino 1.0.20 (20 Nov 2015)
213 * CharacterData implements the NonDocumentTypeChildNode
214 interface. (#57, #58)
215 * Fix CSS `[style]` selector. (#59)
216
217 # domino 1.0.19 (29 Jul 2015)
218 * Bug fixes for `TreeWalker` / `document.createTreeWalker` (filter
219 argument was ignored; various traversal issues)
220 * Implement `NodeIterator` / `document.createNodeIterator` (#54)
221 * Update `mocha` dependency to 2.2.x and `should` to 7.0.x.
222
223 # domino 1.0.18 (25 Sep 2014)
224 * HTMLAnchorElement now implements URLUtils. (#47)
225 * Be consistent with our handling of null/empty namespaces. (#48)
226 * Update `mocha` dependency to 1.21.x and `should` to 4.0.x.
227
228 # domino 1.0.17 (14 May 2014)
229 * Brown paper bag bug fix for an HTML parsing regression introduced in
230 domino 1.0.16. (#45)
231 * Update `mocha` dependency to 1.18.x and `should` to 3.3.x.
232
233 # domino 1.0.16 (13 May 2014)
234 **DO NOT USE:** contains parser regression, fixed in 1.0.17.
235 * Various performance improvements to the HTML5 parser. (#43, #44)
236 * Fix `Element#isHTML` for non-HTML elements. (#41)
237
238 # domino 1.0.15 (21 Jan 2014)
239 * Implement `Element#matches()`.
240 * Fix CSS `[lang]`, `[dir]`, etc selectors.
241 * Update `mocha` dependency to 1.17.x.
242
243 # domino 1.0.14 (21 Dec 2013)
244 * `Element#classList.length` should be 0 if there's no `class`
245 attribute.
246 * Add `height`/`width` attributes to `HTMLImageElement`.
247 * Fix node 0.11 incompatibility in the w3c test harness.
248 * Update `mocha` dependency to 1.16.x; update `should` dependency to 2.1.x.
249
250 # domino 1.0.13 (8 Oct 2013)
251 * Include `<th>` elements in `HTMLTableRowElement#cells`. (#38, #39)
252 * Fix old call to `toLowerCase()` function. (#37)
253 * Update `mocha` and `should` dependencies.
254
255 # domino 1.0.12 (9 Jul 2013)
256 * Fix bug in formatting element adoption agency algorithm. (#36)
257 * Coerce `document.createTextNode` argument to a string. (#34, #35)
258 * Work around performance regression in node <= 0.6.
259
260 # domino 1.0.11 (1 May 2013)
261 * Fix rooted element traversal (`Element#nextElement`,
262 `Element#getElementsByTagName`). (#31, #32)
263 * Update zest to fix bugs in `+` and `>` combinators.
264 * Don't overflow the stack if attribute values are very large (>64k).
265
266 # domino 1.0.10 (12 Apr 2013)
267 * Document issues with `Element#attributes`. (#27)
268 * Fix `Document#title` to match DOM spec. (#29)
269 * Add missing `require('utils')` for `handleErrors`. (#28)
270 * Implement `DocumentFragment#querySelector` and
271 `DocumentFragment#querySelectorAll`. (#20, #26)
272 * Fix `querySelectorAll` on unparented `Element`s. (#23)
273 * Move `outerHTML`/`innerHTML` properties from `HTMLElement` to
274 `Element` to match dom parsing spec. (#21)
275 * Update zest selector library to 0.0.4. (#25)
276 * Fix regression in node 0.10. (#22, #24)
277 * Update `mocha` and `should` dependencies.
278
279 # domino 1.0.9 (11 Mar 2013)
280 * Support jQuery 1.9.x by allowing `Element#attributes[qname]`.
281 * Implement `HTMLElement#outerHTML`. (#18)
282 * Only add newlines after `<pre>`/`<textarea>`/`<listing>` if
283 necessary, to match HTML5 serialization spec. (#16, #17)
284 * Mirror node type properties (`ELEMENT_NODE`, etc) into
285 `Node.prototype`. (#14, #15)
286
287 # domino 1.0.8
288
289 **DO NOT USE:** was inadvertently published identical to domino 1.0.7.
290
291 # domino 1.0.7 (16 Jan 2013)
292 * Throw `SyntaxError` upon invocation rather than build-time. (#10)
293 * Return nodes in document order. (#11)
294 * Added a TreeWalker implementation.