Releases: software-mansion/react-native-enriched-html
Release 1.0.0 & Rename!
🎉 Welcome to Version 1.0.0! 🎉
The library is now officially stable, and we’re grateful to everyone who contributed feedback, reported issues, and helped shape it along the way.
💫 New name for better transparency: react-native-enriched-html
Our Enriched family has been growing for the past year, expanding what’s possible when it comes to rich text editing in React Native.
As the ecosystem has evolved, we've focused on making each package's purpose clearer. That's why, with this release, we're renaming react-native-enriched to react-native-enriched-html. The new name aligns it with the rest of the Enriched family (enriched-markdown, enriched-streamdown, and – now – enriched-html), making each package's role immediately clear and easier to understand.
📦 What's next & how to upgrade
The legacy react-native-enriched npm package will soon be retired. We will be adding deprecation warnings to the old package to ensure all traffic smoothly migrates to react-native-enriched-html.
Note
react-native-enriched will no longer receive any updates or bug fixes.
Version 1.0.0 introduces no breaking changes.
To upgrade, you only need to do two things:
- Install the new package.
- Update all your import statements to the new name.
Thank you for being part of the journey to 1.0.0. Let’s continue improving the Enriched ecosystem together. 🎊
Release 0.8.1
New name for better transparency: react-native-enriched-html
We have moved to a new npm package named react-native-enriched-html - see why in its 1.0.0 release note.
The legacy react-native-enriched npm package is no longer supported. This release adds deprecation warnings to ensure all traffic smoothly migrates to react-native-enriched-html.
Note
react-native-enriched will no longer receive any updates or bug fixes.
Version 1.0.0 has been already released and introduces no breaking changes.
To upgrade, you only need to do two things:
- Install the new package.
- Update all your import statements to the new name.
What's Changed
Release 0.8.0
What's Changed
- fix(android): remove link styling inside codeblock by @kacperzolkiewski in #557
- feat(web): images by @pkaramon in #576
- feat(web): mentions by @pkaramon in #594
- feat(web): handle selectionColor, cursorColor and placeholderTextColor by @pkaramon in #599
- feat(web): submit props by @pkaramon in #600
- feat(web): added shortcuts by @pkaramon in #603
- fix: setting mention without indicator typed by @kacperzolkiewski in #606
- fix(iOS): drawing checkboxes by @kacperzolkiewski in #609
- fix(iOS): idx out of bounds crash inside caretRectForPosition by @kacperzolkiewski in #611
- fix(iOS): inline styles parsing by @kacperzolkiewski in #617
- fix(iOS): removed selection change event emition on input focus by @hejsztynx in #614
- feat(web): undo, redo by @hejsztynx in #622
- fix(android): pasting blocking styles by @kacperzolkiewski in #583
- fix: unify detection events between platforms by @kacperzolkiewski in #613
- feat: allowFontScaling prop by @hejsztynx in #620
- fix(android): remove heading style when backspacing ZWS by @kacperzolkiewski in #626
- fix(android): inline styles reapply by @kacperzolkiewski in #616
- feat(web): image paste by @pkaramon in #584
- feat: add text alignment by @kacperzolkiewski in #602, #403
- feat: add configurable textShortcuts prop for block and inline shortcuts by @janicduplessis in #498
- docs: update INPUT_API_REFERENCE.md to acknowledge web by @pkaramon in #605
- feat: adjust opacity settings by @exploIF in #631
New Contributors
- @hejsztynx made their first contribution in #612
- @p-malecki made their first contribution in #623
- @janicduplessis made their first contribution in #498
Full Changelog: v0.7.0...v0.8.0
Release 0.7.0
Highlights
EnrichedText Component: Introducing a powerful new component for html rendering.
Experimental Web Support: This release includes initial, experimental support for web platform
Breaking changes
Style Type Update: The style prop type has been updated from ViewStyle | TextStyle to EnrichedInputStyle.
What's Changed
- feat(web): add headings, blockquotes and codeblocks by @pkaramon in #549
- fix(iOS): pasting copied screenshots by @jstarner in #558
- fix(iOS): formatting stripped when autocorrect applied by @kacperzolkiewski in #551
- fix(iOS):
onLinkDetectedfires multiple times with partial ranges for multi-word links by @kacperzolkiewski in #555 - feat(android): EnrichedText by @exploIF in #400
- feat(iOS): EnrichedText by @kacperzolkiewski in #532
- feat(web): unordered and ordered lists by @pkaramon in #560
- feat(web): links by @pkaramon in #561
- fix(android): image parsing inside lists by @kacperzolkiewski in #569
- feat(web): onLinkDetected by @pkaramon in #565
- feat(web): removeLink by @pkaramon in #573
- fix(iOS):
onKeyPressnot fired forBackspaceon emptyEnrichedTextInputby @amillez in #574 - fix(iOS): typo on UIKit imports by @altsanz in #578
- fix(android): parsing empty lines to html by @kacperzolkiewski in #579
- feat(web): checkbox list by @pkaramon in #575
- fix(android): inline styles line overlapping by @kacperzolkiewski in #580
- chore: switch style to EnrichedInputStyle by @pkaramon in #581
- docs: enriched text docs by @exploIF in #590
- docs: create web docs by @pkaramon in #588
New Contributors
- @jstarner made their first contribution in #558
- @amillez made their first contribution in #574
- @altsanz made their first contribution in #578
Full Changelog: v0.6.1...v0.7.0
Release 0.6.1
What's Changed
- fix(android): drawing async image on physical device by @kacperzolkiewski in #538
- fix(iOS): remove unused RCTTextInputUtils.h import by @kacperzolkiewski in #540
- fix(android): parsing empty lists by @exploIF in #542
- fix(android): mentions handling by @exploIF in #541
Full Changelog: v0.6.0...v0.6.1
Release 0.6.0
What's Changed
- fix: content is clipped when lineHeight is set by @kacperzolkiewski in #473
- fix(iOS): body tag handling crash by @szydlovsky in #480
- fix(iOS): redundant check in headings parsing by @aljs in #479
- feat: add returnKeyType, submitBehavior, onSubmitEditing, returnKeyLabel props by @IslamRustamov in #379
- fix: extending paragraph style on paste by @kacperzolkiewski in #472
- fix(android): block mention events when cursor is inside a finalized mention span by @Jianlong-Nie in #489
- fix(android): link turns into plain text by @kacperzolkiewski in #502
- feat(iOS): attributes remake by @szydlovsky in #481
- fix(iOS): empty html blocks parsing by @kacperzolkiewski in #504
- docs: add supported tags, conflicting/blocking logic by @kacperzolkiewski in #507
- fix(iOS): correct animated WebP frame timing on iOS by @fendent in #509
- fix(iOS): memory leak caused by retain cycle in layout manager and input parser by @IvanIhnatsiuk in #513
- fix(iOS): preserve image orientation by @kacperzolkiewski in #521
- fix(iOS): add error handling in html parsing by @kacperzolkiewski in #508
- fix: handling of zero-width space (ZWS) offset inside parser by @kacperzolkiewski in #500
New Contributors
- @aljs made their first contribution in #479
- @Jianlong-Nie made their first contribution in #489
- @fendent made their first contribution in #509
Full Changelog: v0.5.2...v0.6.0
Release 0.5.2
What's Changed
- test: add e2e tests setup by @pkaramon in #447
- fix(android): parsing initial html by @exploIF in #462
- fix(android): selection calculations by @exploIF in #463
- fix(iOS): updating font size by @exploIF in #466
- fix(iOS): default value scroll by @exploIF in #465
New Contributors
Full Changelog: v0.5.1...v0.5.2
Release 0.5.1
Release 0.5.0
What's Changed
- feat(iOS): add support for lineHeight by @kacperzolkiewski in #420
- feat(Android): line height by @exploIF in #431
- feat(iOS): add support for adding custom context menu items by @kacperzolkiewski in #422
- feat(iOS): normalizing html by @kacperzolkiewski in #435
- chore: drop RN 0.79 and RN 0.80 support by @exploIF in #390
- chore: remove onChangeStateDeprecated by @exploIF in #438
- feat(Android): context menu items by @exploIF in #433
- feat: android html normalizer by @exploIF in #442
- feat: add removeLink method by @kacperzolkiewski in #441
- fix(iOS): nil
NSParagraphStylecrashes by @szydlovsky in #450
Major changes
onChangeStateDeprecatedhas been removed- support for React Native
0.79and0.80has been dropped
Full Changelog: v0.4.1...v0.5.0
Release 0.4.1
What's Changed
- fix(iOS): drawing image in proper place by @kacperzolkiewski in #424
- fix(iOS): prevent extending link styles by @kacperzolkiewski in #421
- fix(android): merging and splitting paragraph styles by @exploIF in #428
- fix(Android): removing paragraph styles by @exploIF in #430
Full Changelog: v0.4.0...v0.4.1