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
renderIndex
andrenderLength
props toTDefaultRendererProps
(4f032d3) - new
enableExperimentalBRCollapsing
prop to prevent extraneous spaces (e019a5a), closes #516, see official documentation - new
enableExperimentalGhostLinesPrevention
to circumvent RN bug (3645211), see official documentation - new
provideEmbeddedHeaders
prop to pass headers to img, iframes and other embedded in the future (2ea1ca6) - new
bypassAnonymousTPhrasingNodes
prop (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
renderIndex
andrenderLength
props toTDefaultRendererProps
(4f032d3) - new
enableExperimentalBRCollapsing
prop to prevent extraneous spaces (e019a5a), closes #516 - new
enableExperimentalGhostLinesPrevention
to circumvent RN bug (3645211), closes #516 - new
provideEmbeddedHeaders
prop 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
GenericPressable
prop to customize the component wrapping interactive views (707374a), closes #472pressableHightlightColor
prop to customize pressable appearance (e5dfa1e)- access
sharedProps
from custom renderers (0d2199e) - accessibility for images with role and label (1accaf7)
- add
react-native
field in package.json for metro (10dfc82) - allow module augmentation for renderers prop via
RenderersProps
(97dabc1) - configure
enableExperimentalRtl
inrenderersProps.ol|ul
(96daa5e) - configure
getFallbackListStyleTypeFromNestLevel
inrenderersProps.ol|ul
(1377ef7) - configure margins removal for nested lists in
renderersProps.ol|ul
(316e706) - experimental
dangerouslyDisableHoisting
prop (e6c7328) - export
defaultListStyleSpecs
for customization. (2f9ed01) - export
defaultSystemFonts
anddefaultFallbackFonts
(0c4207c) - export
buildTREFromConfig
for testing (c13e1a7) - new
propsFromParent
in custom renderers and children renderers (3bc1b52), closes #228 - new
renderersProps.(ol|ul).enableDynamicMarkerBoxWidth
prop (f87b9f6) - new
selectDomRoot
prop to select a custom root (31bbff7) - new
setMarkersForTNode
prop (63caa4d) - new
useIMGElementStateWithCache
hook for images (54dc1bc) - new prop
customListStyleSpecs
to support additionallist-style-type
(84ec025) - new source type
RenderHTMLSourceDom
to render a DOM object (eeec894) - performant multi-instance HTML rendering with
RenderHTMLSource
(4e4cd09) - reexport
CustomElementModel
type from TRE (c5a01f0) - reexport
HTMLModelRecord
from TRE (a9c9cf3) - reexport
isDomNode
and isDomText from TRE (cedcf7a) - reexport
SetMarkersForTNode
from TRE (eaa3928) - reexport
TNodeDescriptor
from TRE (157983c) - reexport
TNodePrintOptions
type 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*MarginIfNested
for list renderers (e0fe7c6) - support
nodeIndex
andparent
fields inTNode
(fe2504c) - support accessibility for
a
elements (6974ce6), closes #285 - support
decimal-leading-zero
list 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-greek
list style type prefixes (3aac2c8) - support
lower-latin
and upper-latin list prefix styles (4d4805c) - ts: new generic argument for renderers
propsFromParent
prop (6427732) - add
defaultViewProps
prop (ce49232) - add
target
argument toonLinkPress
handler (139b0c3) - add
getListStyleTypeFromNestLevel
prop toHTMLListElement
(5ae3e6a) - add new
splitBoxModelStyle
utility (b1adcbc) enableExperimentalMarginCollapsing
prop (ae6c553)- export
useSharedProps
(f1d7b16) - expose internal renderers building blocks for extensibility (213fcd7), closes #424
fallbackFonts
andsystemFonts
props for font selection (6888a96)- implement
defaultTextProps
prop (c297ed1) - implement
useInternalRenderer
hook to reuse internal rendering logic (8c292da) - implement
computeEmbeddedMaxWidth
prop as per RFC001@2.0.0 (6c9d70f) - implement
RenderHTMLDebug
wrapper component to warn users (22625b4) - new
cachedNaturalDimensions
prop 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)