Skip to content

Releases: meliorence/react-native-render-html

Release 6.3.4

24 Jan 14:00
a2f12cd
Compare
Choose a tag to compare

6.3.4 (2022-01-24)

Bug Fixes

  • link press on Android doesn't work (1a429f4), closes #546

Release 6.3.3

11 Jan 19:23
073d4db
Compare
Choose a tag to compare

6.3.3 (2022-01-11)

Release 6.3.2

11 Jan 18:35
584234d
Compare
Choose a tag to compare

6.3.2 (2022-01-11)

Release 6.3.1

03 Dec 10:29
296ab1c
Compare
Choose a tag to compare

6.3.1 (2021-12-03)

Bug Fixes

  • bold style not applied to <b> tags (7bd5045), closes #539
  • wrong prop reference in warning message (e03b0ac), closes #541

Release 6.3.0

03 Nov 17:12
a1ea00f
Compare
Choose a tag to compare

6.3.0 (2021-11-03)

If you encounter any issue while upgrading to v6.3.0, comment in this thread.

Bug Fixes

  • provideEmbeddedHeaders results in failing fetch for img (5488259), closes #533

Features

  • pass TNodeChildrenRenderer as a prop to custom renderers (9dd2bf1)

Release 6.2.0

23 Oct 17:21
82c3efa
Compare
Choose a tag to compare

6.2.0 (2021-10-23)

This release is focused on accessibility! Moreover, it empowers model-based custom rendering which can now define props passed to Text and View elements of renderers. Check out our blog post for a full dive into this release features.

Bug Fixes

  • inaccurate typing for HTMLElementModelRecord (bd5dfa6)
  • pass borderless prop to custom GenericPressable (f06af7a)
  • never assume the definition of __DEV__ in the global scope (f9bb9e9)
  • a11y: anchors should not be set with a11y role "link" when empty href (dd988fc)
  • a11y: anchors are not accessible anymore when href is empty or absent (4e1f2f4)

Features

  • new getNativePropsForTnode util method (d983d0d)
  • css: support user-select CSS property (8442b2f)
  • a11y: support aria-label and aria-role HTML attributes (2b27f00)
  • a11y: add accessibilityRole="header" to headings elements (h1...h6) (1c79bc3)
  • new reactNativeProps and getReactNativeProps in HTMLElementModel, this little change gives model-based custom rendering considerably more leverage. (4ee1646)
  • deprecate getUADerivedStyleFromAttributes in favor of getMixedUAStyles in HTMLElementModel, which allows access to the underlying TNode and again empowers model-based custom rendering.
  • a11y: whatwg-compliant accessibility for images (7fc2907)
  • a11y: custom renderers passed onPress prop now have a11y roles (11723f0)
  • a11y: support aria-role="search" and aria-role="presentation" attributes (c552fe4)
  • allow HTMLElementModel.extend to take a merge function (9b3a007)
  • support onPress from element models native props (7dc5577)

Release 6.2.0-alpha.3

20 Oct 16:09
9efe2dd
Compare
Choose a tag to compare
Release 6.2.0-alpha.3 Pre-release
Pre-release

6.2.0-alpha.3 (2021-10-20)

Bug Fixes

  • pass borderless prop to custom GenericPressable (f06af7a)
  • select onPress according to announced merging specifications (8a88457)

Features

  • allow HTMLElementModel.extend to take a merge function (9b3a007)
  • support onPress from element models native props (7dc5577)

Release 6.2.0-alpha.2

13 Oct 16:38
e9d1c5c
Compare
Choose a tag to compare
Release 6.2.0-alpha.2 Pre-release
Pre-release

6.2.0-alpha.2 (2021-10-13)

Bug Fixes

  • never assume the definition of __DEV__ in the global scope (f9bb9e9)

Release 6.2.0-alpha.1

11 Sep 20:16
3b9f45b
Compare
Choose a tag to compare
Release 6.2.0-alpha.1 Pre-release
Pre-release

6.2.0-alpha.1 (2021-09-11)

Bug Fixes

  • a11y: anchors should not be set with a11y role "link" when empty href (dd988fc)
  • a11y: set accessibilityLabel for headings (h1..h6) to bypass RN limitation (bc37d88)

Features

  • new getNativePropsForTnode util method (d983d0d)
  • a11y: custom renderers passed onPress prop now have a11y roles (11723f0)
  • a11y: support aria-role="search" and aria-role="presentation" attributes (c552fe4)

Release 6.2.0-alpha.0

05 Sep 17:29
4ba1e88
Compare
Choose a tag to compare
Release 6.2.0-alpha.0 Pre-release
Pre-release

6.2.0-alpha.0 (2021-09-05)

This release is focused on accessibility! Moreover, it empowers model-based custom rendering which can now define props passed to Text and View elements of renderers.

Bug Fixes

  • a11y: anchors are not accessible anymore when href is empty or absent (4e1f2f4)

Features

  • a11y: support aria-label and aria-role HTML attributes (2b27f00)
  • a11y: whatwg-compliant accessibility for images (7fc2907)
  • css: support user-select CSS property (8442b2f)
  • a11y: add accessibilityRole="header" to headings elements (h1...h6) (1c79bc3)
  • new reactNativeProps and getDynamicReactNativeProps in HTMLElementModel, this little change gives model-based custom rendering considerably more leverage. (4ee1646)
  • deprecate getUADerivedStyleFromAttributes in favor of getUADynamicMixedStyles in HTMLElementModel, which allows access to the underlying TNode and again empowers model-based custom rendering.