11.2.3 (2022-01-11)
11.2.2 (2021-11-25)
- tre: add bold style for "b" tag (5b1e1cc)
11.2.1 (2021-10-21)
11.2.0 (2021-10-20)
- tre: enhanced typings and documentation (e467185)
11.1.2 (2021-10-20)
- tre: accurate
nodeIndex
field description matching current impl (b10dce3) - tre: do not set
accessibilityLabel
for images with presentation role (91f0937) - tre: typo in documentation (2db3ef8)
11.1.1 (2021-10-19)
- tre: map HTML
role
attribute instead of notionalaria-role
(50031a4) - tre: prefer
aria-label
overalt
inimg
element model (54e05a1)
11.1.0 (2021-10-16)
- tre: allow
HTMLElementModel.extend
to take a merge function (ab7019f)
11.0.0 (2021-10-15)
- rename
getDynamicReactNativeProps
togetReactNativeProps
for consistency (3401890) - rename
getuadynamicmixedstyles
togetmixeduastyles
for consistency (a1ce296)
- add new typescript util,
ExtractTNodeFromType
(9b1b008)
- rename
getDynamicReactNativeProps
togetReactNativeProps
for consistency - rename
getuadynamicmixedstyles
togetmixeduastyles
for consistency
10.4.0 (2021-10-14)
- tre: add
onPress
support in native props (8185e0d)
10.3.0 (2021-10-13)
- tre: enhanced context for
getDynamicReactNativeProps
andgetUADynamicMixedStyles
(b7dd796)
10.2.1 (2021-09-11)
- set accessibilityLabel for headings to bypass RN limitation (52d5be7)
10.2.0 (2021-09-11)
- support aria-role="search" and aria-role="presentation" (4372c4b)
10.1.0 (2021-09-05)
- enhance accessibility of
img
elements (cb0410c) - pass
aria-label
andaria-role
to as native props (39101de) - provide sensible accessibility values for interactive elements and svg (486e649)
- tre: add support for
user-select
CSS property (42da28f)
- memoize return values in
getNativeStyles
andgetWebStyles
(32090fb)
10.0.2 (2021-09-04)
- apply "blue" color to anchors when href is an empty string (f727cd2)
10.0.1 (2021-09-04)
- tre: provide accessibility props when
<a>
has a non-emptyhref
attribute (aa82791)
10.0.0 (2021-09-04)
- rename
ReactNativePropsDefinitions.all
tonative
for consistency (292e75e)
- rename
ReactNativePropsDefinitions.all
tonative
for consistency with RNRH.
9.3.0 (2021-09-04)
- add accessibility role to headings (h1...h6) (6cfa7d5)
- new
HTMLElement.reactNativeProps
andgetDynamicReactNativeProps
(a02d972) - tre: new
getUADynamicMixedStyles
to replacegetUADerivedStyleFromAttributes
(4199b5a)
9.2.4 (2021-08-29)
9.2.3 (2021-08-29)
9.2.2 (2021-07-19)
9.2.1 (2021-07-07)
9.2.0 (2021-07-01)
- tre: reexport css-processor types (59e81e9)
9.1.0 (2021-06-24)
- new TNode.hasClass method (3cd1330)
9.0.3 (2021-05-29)
9.0.2 (2021-05-28)
9.0.1 (2021-05-26)
9.0.0 (2021-05-26)
- tre: avoid renaming reexports (965094d)
- tre: export TNodePrintOptions (46b40a2)
- tre: reexported classes from domhandler have been renamed to their original name, so DOMNode is now Node.
- tre: isDOMText has been renamed to isText and isDOMNode to isNode.
8.4.1 (2021-05-18)
- tre: don't append an extraneous line return in snapshot() (091d5dd)
8.4.0 (2021-05-18)
- tre: export Native and Web styles types (342e6f4)
8.3.0 (2021-05-18)
- tre: expose webBlockRet styles to support "objectFit" mixed style (4f3f6f2)
8.2.0 (2021-05-15)
- tre: add parent as second argument of
ignoreNode
(53afd74)
8.1.2 (2021-05-15)
- tre: don't append text nested in ignored tags (f1f2e04)
8.1.1 (2021-05-14)
- tre: in DomHandler, don't increment ignore counter on ignored text nodes (4ca069b)
8.1.0 (2021-05-12)
- rehabilitate
styles
in TNode (f6240f5)
8.0.0 (2021-05-12)
- new getNativeStyles and getWebStyles utilities in TNodes (d1e9603)
- the
styles
field is not exposed anymore. Usetnode.getNativeStyles
andtnode.getWebStyles
instead.
7.3.0 (2021-05-10)
- export HTMLElementsModels in TRenderEngine (fe0f261)
7.2.0 (2021-05-10)
- implement markers and
setMarkersForTNode
param (7cf5e61)
7.1.0 (2021-05-08)
- tre: 3 spaces indentation on TNode.snapshot print instead of 2 (c14c3bc)
- tre: support
selectDomRoot
param (fd58a45)
7.0.0 (2021-05-08)
- tre: drop alterDOMParams (ed6a751)
- tre: new
ignoredDomTags
,ignoreDomNode
anddomVisitors
opts. These options will add very little overhead as they don't require a tree traversal; they are used during parsing instead!
- tre:
alterDOMParams
has been drop. Instead, use eitherignoreDomNode
,ignoredDomTags
ordomVisitors
.
6.3.0 (2021-05-07)
- tre: new tamperDOM optional argument to parseDocument (7f49fee)
6.2.1 (2021-05-07)
- tre: actually apply withNodeIndex parameter (c7030fd)
6.2.0 (2021-05-07)
- support metro bundler
react-native
package.json field (ef33150) - tre: allow customize snapshot with optional styles and nodeIndex prints (78437cc)
6.1.1 (2021-05-07)
- tre: add missing withStyles param in recursive calls serializeTnode (da60350)
6.1.0 (2021-05-06)
- tre: add printStyles param to TNode.snapshot (b8d6f83)
6.0.0 (2021-05-06)
- collapse whitespaces after
and tags (cb84d62) - tre: preserve style inheritance in anonymous TPhrasing nodes (734f105)
- tre: expose TNode.snapshot instead of TNode.toString (f28c81b)
- remove tnodeToString from exports (4c7e31b)
- tre: add nodeIndex in serialized snapshot (307b145)
- tre: expose TNode.isUnregistered field (b5b5efd)
- tre: print "unregistered" and "src" attribute in TNode.toString (7ff6d74)
- tre: replace TNode.toString with TNode.snapshot
- tnodeToString is no longer exported. Use TNode.snapshot() instead.
5.1.1 (2021-05-06)
- tre: expose "matchContentModel" method from TNode (c67b70f)
5.1.0 (2021-05-06)
- tre: typings confusion between exported TNode types and impl (9878327)
- tre: expose parseDocument and buildTTreeFromDoc methods (d2f4bb9)
5.0.0 (2021-05-05)
- tre: optionalize dangerous options (8ec75b0)
- tre: hide TNode internals via interfaces (304fd3a)
- optimize whitespace collapsing (77bf33d)
- tre: multiply translate speed by 30% with prototypal inheritance (c5a596c)
- tre: remove intermediary serialization step (e559bcf)
- tre: TNode constructors are not exported anymore. Only the types. Therefore, you must use tnode.type for type checking instead of instanceof.
- tre: serialize-related exports have been removed. Also, the type of TNode.domNode has changed to the one exported by htmlparser2
4.4.1 (2021-02-16)
- TRE: re-index children
nodeIndex
after whitespace collapsing (3130a1b)
4.4.0 (2021-02-14)
- TRE: supp.
dir
attribute in document context parsing (4e16916)
4.3.0 (2021-02-13)
- import of const enum not working (c41ca5d)
- transient-render-engine: parent field in
TNode
(da2d3de) - transient-render-engine: support nodeIndex (3f7e33f)
4.2.0 (2021-02-07)
- transient-render-engine: provide csstype dependency for css-processor (ca6104e)
- transient-render-engine: support picture node as basic block (a3a384b)
- transient-render-engine: don't translate children of opaque nodes (f68efae)
4.1.0 (2021-02-01)
- transient-render-engine: provide default styles for tabular elements (e26811b)
4.0.0 (2021-02-01)
- transient-render-engine: distinguish between rendered and other embedded (8d003c0)
- transient-render-engine: the content model for embedded other than
img
andpicture
is now "none".
3.9.1 (2021-01-31)
- transient-render-engine: missing domNode initial value (ba9328c)
3.9.0 (2021-01-31)
- transient-render-engine: export toSerializableNode (73aa4d4)
3.8.1 (2021-01-19)
- transient-render-engine: ignoreDOMNode ignored when no other hooks (d54e37b)
3.8.0 (2021-01-19)
- transient-render-engine: reset
alterDOMChildren
signature (32f0699)
- support
ignoreDOMNode
hook in AlterDOMParams (fa498af)
3.7.0 (2021-01-18)
- new alterDOMParams option (53b00bc)
3.6.2 (2021-01-14)
- transient-render-engine: remove UA listStyleType style (7738142)
3.6.1 (2020-12-03)
- transient-render-engine: use unicode escape sequences inside regex literal (6fad215)
3.6.0 (2020-11-30)
- transient-render-engine: new removeLineBreaksAroundEastAsianDiscardSet option (3264d96)
- transient-render-engine: precompiled regexes (2cf3167)
3.5.8 (2020-11-30)
- transient-render-engine: don't assign a default fontSize (9aba734)
3.5.7 (2020-11-30)
- transient-render-engine: don't assign a default fontSize (ceb5950)
3.5.6 (2020-11-29)
- transient-render-engine: collapse form-feed characters (\f) (faff027)
3.5.5 (2020-11-29)
- transient-render-engine: collapse the penultimate child (TPhrasing) (543ddf8)
3.5.4 (2020-11-27)
- transient-render-engine: type for HTMLElementModel.extend (ts) (aa3165d)
3.5.3 (2020-11-26)
- transient-render-engine: remove isVoid from HTMLElementModel (68510ab)
3.5.1 (2020-11-25)
3.5.0 (2020-11-25)
- transient-render-engine: duplicate body when root element is body (9db7c24)
- transient-render-engine: only assert anonymous TText as empty (3ee9507)
- transient-render-engine: apply baseStyle own styles to html node (f3b4b70)
3.4.3 (2020-11-25)
3.4.2 (2020-11-25)
- transient-render-tree: render void TText nodes (50046bc)
3.4.1 (2020-11-25)
3.4.0 (2020-11-24)
- transient-render-engine: content model type inference (2f3db1a)
3.3.0 (2020-11-24)
- transient-render-engine: export defaultHTMLModelRecord (71822ca)
3.2.0 (2020-11-24)
- transient-render-engine: new TNode.matchContentMode method (cebf709)
3.1.0 (2020-11-24)
- transient-render-engine: add new option, customizeHTMLModels (4fc7880)
- transient-render-engine: allow registering of custom tag models (32ea9ad)
- transient-render-engine: new HTMLContentModel enum (7960d98)
3.0.0 (2020-11-23)
- transient-render-engine: align specs with RFC002 v2.0.0 (1b1ac68)
- transient-render-engine: Hoisting doesn't pass anchor marker to children anymore.
2.0.2 (2020-11-23)
2.0.1 (2020-11-21)
2.0.0 (2020-11-21)
- transient-render-engine: export TStyles class (04d1345)
- transient-render-engine: rename TTreeBuilder to TRenderEngine for clarity (07b9852)
1.5.0 (2020-11-20)
- transient-render-engine: design flaw with UA styles (340ab7f)
- transient-render-engine: proper handling of rootFontSize (a680c61)
1.4.1 (2020-11-19)
- transient-render-engine: shrink UA spacing from 40 to 30px (fbadede)
1.4.0 (2020-11-19)
- css-processor: allow top, right, bottom and left CSS properties (fed4e3e)
- transient-render-engine: add TNode.displayName for string print (7368816)
- transient-render-engine: use baseStyle.fontSize for em & rem units (300522c)
1.3.1 (2020-11-19)
- transient-render-engine: align hr UA styles with legacy (af1ba78)
1.3.0 (2020-11-19)
- transient-render-engine: stringify data to avoid line returns (tnodeToString) (0f5a9ec)
1.2.0 (2020-11-19)
- transient-render-engine: anchor child losing its children during hoisting (d8c4a9f)
- transient-render-engine: implement tnodeToString to print a tree (00acc0c)
1.1.4 (2020-11-18)
- transient-render-engine: only push wrapper nodes when not-empty (hoist) (c331cb8)
- transient-renderer-tree: preserve styles in hoisted nodes (992c693)
1.1.3 (2020-11-18)
- transient-render-engine: preserve the anchors color from legacy (0ec10e6)
1.1.2 (2020-11-18)
- transient-render-engine: merge retained text styles (textDecoration*) (4c16105)
1.1.1 (2020-11-17)
- transient-render-engine: ol user agent styles overriden by ul styles (548880c)
1.1.0 (2020-11-17)
- transient-render-engine: add default listStyleType in ul and ol models (16d93ad)
1.0.4 (2020-11-17)
1.0.3 (2020-11-17)
1.0.2 (2020-11-16)
1.0.1 (2020-11-16)
- transient-render-engine: avoid using Object.create for styles (676855a)
- transient-render-engine: add index.ts export (7642b1e)
- transient-render-engine: allow partial CSSProcessorConfig option (7aab97e)
- transient-render-engine: implement user styles with specificity (f942aad)
- transient-render-engine: new baseStyles parameter for stylesConfig (53d5574)
- transient-render-engine: support for whiteSpace: "normal" and "pre" (30a9aa2)
- transient-render-engine: support TNode style inheritance (20a08b3)
- transient-render-engine: user agent styles for tags in HTML models (696a389)
- initial commit (cb5489d)