Releases: meliorence/react-native-render-html
Releases · meliorence/react-native-render-html
Release 6.3.4
Release 6.3.3
6.3.3 (2022-01-11)
Release 6.3.2
6.3.2 (2022-01-11)
Release 6.3.1
Release 6.3.0
6.3.0 (2021-11-03)
If you encounter any issue while upgrading to v6.3.0, comment in this thread.
Bug Fixes
Features
- pass
TNodeChildrenRenderer
as a prop to custom renderers (9dd2bf1)
Release 6.2.0
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 customGenericPressable
(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
andaria-role
HTML attributes (2b27f00) - a11y: add accessibilityRole="header" to headings elements (h1...h6) (1c79bc3)
- new
reactNativeProps
andgetReactNativeProps
inHTMLElementModel
, this little change gives model-based custom rendering considerably more leverage. (4ee1646) - deprecate
getUADerivedStyleFromAttributes
in favor ofgetMixedUAStyles
inHTMLElementModel
, which allows access to the underlyingTNode
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
6.2.0-alpha.3 (2021-10-20)
Bug Fixes
- pass
borderless
prop to customGenericPressable
(f06af7a) - select
onPress
according to announced merging specifications (8a88457)
Features
Release 6.2.0-alpha.2
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
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
Release 6.2.0-alpha.0
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
andaria-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
andgetDynamicReactNativeProps
inHTMLElementModel
, this little change gives model-based custom rendering considerably more leverage. (4ee1646) - deprecate
getUADerivedStyleFromAttributes
in favor ofgetUADynamicMixedStyles
inHTMLElementModel
, which allows access to the underlyingTNode
and again empowers model-based custom rendering.