Releases: meliorence/react-native-render-html
Releases · meliorence/react-native-render-html
Release 6.0.0-alpha.3
6.0.0-alpha.3 (2020-11-26)
See #434 (comment) and #430
Features
- new extendRenderer utility (23faca0)
Release 6.0.0-alpha.2
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
6.0.0-alpha.1 (2020-11-25)
See #434 (comment) and #430
v5.0.0-alpha.2
Enhancements
- Center images when computeImagesMaxWidth() < contentWidth
v5.0.0-alpha.1
Enhancements
- Brand new
HTMLImage
component which should be much better at adapting its
size to available width. For this to happen, you must passcontentWidth
prop. We recommend usinguseWindowDimensions().width
to handle screen rotation gracefully. If you don't want your images to grow after a certain size, you could usecomputeImagesMaxWidth
. - New prop
computeImagesMaxWidth
(see usage above). - New prop
contentWidth
(see usage above).
Bugfixes
- Image getting blur on iOS, #141;
img
's tagresizeMode
property not modifiable throughtagStyles
, #172;imagesMaxWidth
not working, #412
BREAKING CHANGES
imagesMaxWidth
had been discontinued in favor ofcomputeImagesMaxWidth
.
This function takes the providedcontentWidth
as an argument, and returns
the space the image should take.
v4.2.4
v4.2.3
v4.2.3-beta.1
🚀 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 methodsetStateSafe
to avoid updating while unmounted.
v4.2.2
Bugfixes
- Translated elements bloated with HTML component props (#384, #383)
- Unable to resolve stream module (#244)
textSelectable
not working for tagNametextwrapper
(#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
- Added a CHANGELOG (#314)
- Each fix has his regression test implemented along
- Some behaviors have been tested to prepare the ground for future refactorings
- Upgraded lint tooling to prepare for PR guidelines and CI