Skip to content

Releases: meliorence/react-native-render-html

Release 6.1.0

29 Aug 20:38
ab05d2f
Compare
Choose a tag to compare

6.1.0 (2021-08-29)

Features

  • add new renderIndex and renderLength props to TDefaultRendererProps (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

28 Aug 22:17
83ab9c9
Compare
Choose a tag to compare
Release 6.1.0-alpha.1 Pre-release
Pre-release

6.1.0-alpha.1 (2021-08-28)

Features

  • add new renderIndex and renderLength props to TDefaultRendererProps (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

22 Aug 20:22
fc8b26f
Compare
Choose a tag to compare
Release 6.1.0-alpha.0 Pre-release
Pre-release

6.1.0-alpha.0 (2021-08-22)

Features

  • new bypassAnonymousTPhrasingNodes prop (90b8a3d), closes #514

Release 6.0.5

31 Jul 19:19
770d51f
Compare
Choose a tag to compare

6.0.5 (2021-07-31)

Bug Fixes

  • test presence of "performance" global variable in useProfiler (7379c9b), closes #510

Release 6.0.4

19 Jul 18:48
8fa3b4f
Compare
Choose a tag to compare

6.0.4 (2021-07-19)

Bug Fixes

  • npm v7 peer dependencies on @native-html/* (3d50b0e)

Release 6.0.3

19 Jul 18:31
cf4d923
Compare
Choose a tag to compare

6.0.3 (2021-07-19)

Bug Fixes

  • peer-dependency failure wih npm@7 (002f555), closes #508

Release 6.0.2

18 Jul 08:26
2bd665e
Compare
Choose a tag to compare

6.0.2 (2021-07-18)

No user-facing changes.

Release 6.0.1

17 Jul 18:14
15f3d8e
Compare
Choose a tag to compare

6.0.1 (2021-07-17)

No user-facing changes.

Release 6.0.0

17 Jul 17:46
9f598d5
Compare
Choose a tag to compare

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 #472
  • pressableHightlightColor 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 in renderersProps.ol|ul (96daa5e)
  • configure getFallbackListStyleTypeFromNestLevel in renderersProps.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 and defaultFallbackFonts (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 additional list-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 and parent fields in TNode (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 to onLinkPress handler (139b0c3)
  • add getListStyleTypeFromNestLevel prop to HTMLListElement (5ae3e6a)
  • add new splitBoxModelStyle utility (b1adcbc)
  • enableExperimentalMarginCollapsing prop (ae6c553)
  • export useSharedProps (f1d7b16)
  • expose internal renderers building blocks for extensibility (213fcd7), closes #424
  • fallbackFonts and systemFonts 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...
Read more

Release 6.0.0-beta.8

07 Jul 13:23
Compare
Choose a tag to compare

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)