Releases: meliorence/react-native-render-html
Releases · meliorence/react-native-render-html
Release 6.1.0
6.1.0 (2021-08-29)
Features
- add new
renderIndexandrenderLengthprops toTDefaultRendererProps(4f032d3) - new
enableExperimentalBRCollapsingprop to prevent extraneous spaces (e019a5a), closes #516, see official documentation - new
enableExperimentalGhostLinesPreventionto circumvent RN bug (3645211), see official documentation - new
provideEmbeddedHeadersprop to pass headers to img, iframes and other embedded in the future (2ea1ca6) - new
bypassAnonymousTPhrasingNodesprop (90b8a3d), closes #514
Bug Fixes
- prevent list markers from overflowing in a new line (f2238aa)
Release 6.1.0-alpha.1
6.1.0-alpha.1 (2021-08-28)
Features
- add new
renderIndexandrenderLengthprops toTDefaultRendererProps(4f032d3) - new
enableExperimentalBRCollapsingprop to prevent extraneous spaces (e019a5a), closes #516 - new
enableExperimentalGhostLinesPreventionto circumvent RN bug (3645211), closes #516 - new
provideEmbeddedHeadersprop to pass headers to img, iframes (2ea1ca6)
Release 6.1.0-alpha.0
Release 6.0.5
Release 6.0.4
Release 6.0.3
Release 6.0.2
6.0.2 (2021-07-18)
No user-facing changes.
Release 6.0.1
6.0.1 (2021-07-17)
No user-facing changes.
Release 6.0.0
6.0.0 (2021-07-17)
The Foundry release is finally stable, and is now-on the recommended version. Check out the announcement blog post in our brand new website. We also have a migration guide for those who're coming from v5 and below.
This changelog highlights changes from v5. There are no changes since version 6.0.0-beta.8
Features
GenericPressableprop to customize the component wrapping interactive views (707374a), closes #472pressableHightlightColorprop to customize pressable appearance (e5dfa1e)- access
sharedPropsfrom custom renderers (0d2199e) - accessibility for images with role and label (1accaf7)
- add
react-nativefield in package.json for metro (10dfc82) - allow module augmentation for renderers prop via
RenderersProps(97dabc1) - configure
enableExperimentalRtlinrenderersProps.ol|ul(96daa5e) - configure
getFallbackListStyleTypeFromNestLevelinrenderersProps.ol|ul(1377ef7) - configure margins removal for nested lists in
renderersProps.ol|ul(316e706) - experimental
dangerouslyDisableHoistingprop (e6c7328) - export
defaultListStyleSpecsfor customization. (2f9ed01) - export
defaultSystemFontsanddefaultFallbackFonts(0c4207c) - export
buildTREFromConfigfor testing (c13e1a7) - new
propsFromParentin custom renderers and children renderers (3bc1b52), closes #228 - new
renderersProps.(ol|ul).enableDynamicMarkerBoxWidthprop (f87b9f6) - new
selectDomRootprop to select a custom root (31bbff7) - new
setMarkersForTNodeprop (63caa4d) - new
useIMGElementStateWithCachehook for images (54dc1bc) - new prop
customListStyleSpecsto support additionallist-style-type(84ec025) - new source type
RenderHTMLSourceDomto render a DOM object (eeec894) - performant multi-instance HTML rendering with
RenderHTMLSource(4e4cd09) - reexport
CustomElementModeltype from TRE (c5a01f0) - reexport
HTMLModelRecordfrom TRE (a9c9cf3) - reexport
isDomNodeand isDomText from TRE (cedcf7a) - reexport
SetMarkersForTNodefrom TRE (eaa3928) - reexport
TNodeDescriptorfrom TRE (157983c) - reexport
TNodePrintOptionstype from TRE (6f3265c) - support
"object-fit"CSS property for images (24f72b0) - support
"start"attribute in ol and ul elements (b9d3154), closes #336 - support
"upper-latin"and"lower-lattin"list-style-type CSS props (a0da60d) - support
enableRemove*MarginIfNestedfor list renderers (e0fe7c6) - support
nodeIndexandparentfields inTNode(fe2504c) - support accessibility for
aelements (6974ce6), closes #285 - support
decimal-leading-zerolist style type prefix (526e226) - support default system fonts for Windows, Macos and web (4474dff)
- support
disclosure-*list style type prefixes (218982d) - support experimental RTL mode for ol and ul elements (ca139c1)
- support
lower-greeklist style type prefixes (3aac2c8) - support
lower-latinand upper-latin list prefix styles (4d4805c) - ts: new generic argument for renderers
propsFromParentprop (6427732) - add
defaultViewPropsprop (ce49232) - add
targetargument toonLinkPresshandler (139b0c3) - add
getListStyleTypeFromNestLevelprop toHTMLListElement(5ae3e6a) - add new
splitBoxModelStyleutility (b1adcbc) enableExperimentalMarginCollapsingprop (ae6c553)- export
useSharedProps(f1d7b16) - expose internal renderers building blocks for extensibility (213fcd7), closes #424
fallbackFontsandsystemFontsprops for font selection (6888a96)- implement
defaultTextPropsprop (c297ed1) - implement
useInternalRendererhook to reuse internal rendering logic (8c292da) - implement
computeEmbeddedMaxWidthprop as per [email protected] (6c9d70f) - implement
RenderHTMLDebugwrapper component to warn users (22625b4) - new
cachedNaturalDimensionsprop to `useIMGelement...
Release 6.0.0-beta.8
6.0.0-beta.8 (2021-07-07)
The Foundry release is finally stable, and is now-on the recommended version. Check out the announcement blog post in our brand new website. We also have a migration guide for those who're coming from v5 and below. If you encounter any issue with this release, please comment in the official thread.
Bug Fixes
- allow spaces between params in color CSS functions such as rgb(...) (5e755bb)