Skip to content

Releases: meliorence/react-native-render-html

Release 6.0.0-alpha.3

26 Nov 17:22
Compare
Choose a tag to compare
Release 6.0.0-alpha.3 Pre-release
Pre-release

6.0.0-alpha.3 (2020-11-26)

See #434 (comment) and #430

Features

  • new extendRenderer utility (23faca0)

Release 6.0.0-alpha.2

26 Nov 13:01
Compare
Choose a tag to compare
Release 6.0.0-alpha.2 Pre-release
Pre-release

6.0.0-alpha.2 (2020-11-26)

See #434 (comment) and #430

Bug Fixes

  • the LoadHTML component should reflect html changes (9d1ab9f)

Release 6.0.0-alpha.1

25 Nov 23:14
Compare
Choose a tag to compare
Release 6.0.0-alpha.1 Pre-release
Pre-release

6.0.0-alpha.1 (2020-11-25)

See #434 (comment) and #430

v5.0.0-alpha.2

26 Sep 11:04
Compare
Choose a tag to compare
v5.0.0-alpha.2 Pre-release
Pre-release

Enhancements

  • Center images when computeImagesMaxWidth() < contentWidth

v5.0.0-alpha.1

26 Sep 09:46
Compare
Choose a tag to compare
v5.0.0-alpha.1 Pre-release
Pre-release

Enhancements

  • Brand new HTMLImage component which should be much better at adapting its
    size to available width. For this to happen, you must pass contentWidth prop. We recommend using useWindowDimensions().width to handle screen rotation gracefully. If you don't want your images to grow after a certain size, you could use computeImagesMaxWidth.
  • New prop computeImagesMaxWidth (see usage above).
  • New prop contentWidth (see usage above).

Bugfixes

  • Image getting blur on iOS, #141;
  • img's tag resizeMode property not modifiable through tagStyles, #172;
  • imagesMaxWidth not working, #412

BREAKING CHANGES

  • imagesMaxWidth had been discontinued in favor of computeImagesMaxWidth.
    This function takes the provided contentWidth as an argument, and returns
    the space the image should take.

v4.2.4

25 Sep 11:23
Compare
Choose a tag to compare

Bugfixes

  • src attributes starting with "//" in img and iframe elements are not rendered (#408)

v4.2.3

11 Aug 08:34
Compare
Choose a tag to compare

Bugfixes

  • Rendered HTML with uri prop displays “undefined” (#256)
  • Custom wrapper ignored (#276), thanks @tomdaniel-it

Enhancements

  • HTML: use a proxy method setStateSafe to avoid updating while unmounted.

v4.2.3-beta.1

25 Jul 21:21
Compare
Choose a tag to compare
v4.2.3-beta.1 Pre-release
Pre-release

🚀 give us feedback here: #390

Bugfixes

  • Rendered HTML with uri prop displays “undefined” (#256)
  • Custom wrapper ignored (#276), thanks @tomdaniel-it

Enhancements

  • HTML: use a proxy method setStateSafe to avoid updating while unmounted.

v4.2.2

25 Jul 14:38
Compare
Choose a tag to compare

Bugfixes

  • Translated elements bloated with HTML component props (#384, #383)
  • Unable to resolve stream module (#244)
  • textSelectable not working for tagName textwrapper (#193), thanks @brsaylor2
  • CSS font-family values ignored because of false positive match (#266)
  • CSS text-align unrecognized value (#252)
  • Stricter handling of CSS rules !important directives stripping
  • CSS inline rules with "none" values (#319)
  • CSS restrict display attribute to flex and none (#257)
  • Typos in IGNORED_TAGS arrays (#249, #272)
  • Re-render after classesStyles and tagsStyles updates (#343, #377), thanks jorgemasta
  • Image size computed after HTMLImage component marked as mounted, thanks laurynas

Enhancements

  • Replace deprecated references to RN PropTypes with loose types, thanks denissb
  • “Dumb” support for acronym tag, thanks Brainyoo

Miscellaneous

v4.2.2-beta.2

20 Jul 22:51
Compare
Choose a tag to compare