What's Changed
New Features
- feat: add enableTaskListItemToggle prop to EnrichedMarkdownText by @CodingItWrong in #651
- feat: allow opting out of tree-sitter & RaTeX downloads via package.json by @eszlamczyk in #661
- feat: link dependencies based on package.json config by @hryhoriiK97 in #673
- feat(jest): support onLinkPress, onLinkLongPress, and onTaskListItemPress in mock by @hryhoriiK97 in #712
- feat: allow disabling block context menus by @huytdps13400 in #708
- feat: onImagePress callback by @eszlamczyk in #710
- feat: add preserveBlankLines md4c flag by @eszlamczyk in #726
- feat: gfm blockquotes (#608) by @eszlamczyk in #674
- feat: gfm blockquote admonitions by @eszlamczyk in #692
- feat: add block-level context menu (Copy / Copy as Markdown) to blockquote and admonition containers by @hryhoriiK97 in #763
- feat(ios): make enter not repaint text above the caret by @eszlamczyk in #742
- feat: onCodePress prop by @eszlamczyk in #746
- feat: include applybaseline offset for every block element by @eszlamczyk in #785
- feat: onLatexError callback by @eszlamczyk in #775
- feat: add numberOfLines and ellipsizeMode for CommonMark by @eszlamczyk in #788
- feat: add native video playback support by @hryhoriiK97 in #765
- feat: add macOS video playback support by @hryhoriiK97 in #811
- feat(input): convert typed markdown block prefixes into blocks (markdownShortcuts) by @cvburgess in #783
- feat: support fontFamily in linkVariants by @juliusmarminge in #861
- feat(ios): give custom spoiler overlays the text's baseline and segment order by @hryhoriiK97 in #894
Fixes & Improvements
- fix: stop overwriting package README during npm publish by @hryhoriiK97 in #669
- fix: link README package table to per-package READMEs by @hryhoriiK97 in #675
- fix(docs): update feature comparison link to anchor directly to compatibility section by @hryhoriiK97 in #683
- fix(android): expo windows developement build by @eszlamczyk in #688
- fix(android): honor allowFontScaling in EnrichedMarkdownText measure by @hryhoriiK97 in #684
- fix: key code-highlight registry per app for monorepo safety by @eszlamczyk in #680
- fix(android): clean up text render executor by @4shutosh in #699
- fix(input): derive heading bold from the base font on iOS by @wildseansy in #586
- fix(ios): reset typing attributes before importing markdown by @hsource in #646
- fix(android): add missing closing brace in setEnableImagePress by @hryhoriiK97 in #714
- fix(ios): list markers next to emoji not rendered properly by @eszlamczyk in #704
- fix(android): remove the accessibility layout listener on detach by @Tyler-V in #731
- fix: keep pipe tables visible in commonmark by @huytdps13400 in #729
- perf(ios): improve codeblock by @eszlamczyk in #663
- fix(android): skip explicit Kotlin plugin when AGP provides built-in Kotlin by @gabrieldonadel in #744
- fix: harden ratex postinstall script; harden ratex handling in build phase by @eszlamczyk in #752
- fix: retry then curl-proxy fallback for ratex downloads by @eszlamczyk in #755
- fix(android): non-latin symbols incorrectly shrinking line-height by @eszlamczyk in #740
- fix(ios): accessibility path follows correct position in scroll view by @eszlamczyk in #723
- fix(android): long press crash by @eszlamczyk in #738
- fix(ios): use same font leading setting for measurement and drawing by @eszlamczyk in #784
- fix: dont crash on liststylemarker being null by @eszlamczyk in #780
- perf(ios): stop re-assigning and re-measuring unchanged text by @hryhoriiK97 in #801
- fix(ios): replace 3-member tuple with struct to fix large_tuple lint violation by @hryhoriiK97 in #809
- fix(android): fill container width when Yoga assigns an exact width by @eszlamczyk in #787
- fix(android): containerStyle border and clamped numberOfLines box by @eszlamczyk in #804
- fix(macos): use UIFontLineHeight for code block line height calculation by @hryhoriiK97 in #810
- fix: input default values serialization by @eszlamczyk in #798
- fix: segment prop propagation inside blockquotes by @eszlamczyk in #820
- fix(android): shadow node incorrect measurement due to border by @eszlamczyk in #817
- fix(ios): scale inline code font with Dynamic Type by @MaryanPrydatko in #828
- fix: images inside markdown remain blank by @eszlamczyk in #813
- fix(android): clamp a11y items to laid-out text when truncated by @ryanlntn in #843
- fix(ios): preserve script semantics when copying Markdown by @juliusmarminge in #849
- fix(ios): grow line to fit tall inline code so its background aligns by @eszlamczyk in #832
- fix(web): prevent native props from reaching the DOM by @Lyczeq in #818
- perf(ios): read textStorage instead of copying attributedText per a11y element by @voska in #898
- perf(android): hand the rendered buffer to the text view uncopied in React Native by @jnowakow in #889
- fix(ios): yoga measurement handles incorrectly with number of lines set by @eszlamczyk in #909
Refactors
- refactor: download vendored assets at postinstall to reduce package size by @hryhoriiK97 in #660
Tests
- test(ios): cover multi-paragraph list markers by @brennanbutler01 in #833
- test: create react-native test harness by @eszlamczyk in #877
Docs & Chores
- chore: add script for easier release by @eszlamczyk in #484
- chore: release 1.0.0 by @eszlamczyk in #659
- docs(ios): document flags, selection, clipboard, images, and VoiceOver by @maksg in #657
- chore: release v1.0.1 by @eszlamczyk in #662
- chore: update repository references and project name to 'enriched-markdown' by @hryhoriiK97 in #667
- chore: update npm package description by @hryhoriiK97 in #670
- chore: add dark mode support for root README hero image by @hryhoriiK97 in #672
- chore: fix light mode image in root README by @hryhoriiK97 in #676
- chore: update README image in react-native-enriched-markdown by @hryhoriiK97 in #677
- chore: update README image in ios-enrichd-markdown by @hryhoriiK97 in #678
- chore: update README image in android-enriched-markdown by @hryhoriiK97 in #679
- ci(ios): add build, test, and lint jobs for the native package by @maksg in #665
- chore(ios): raise the native package minimum to iOS 16 by @maksg in #682
- docs(ios): point SPM install instructions at the standalone repo by @maksg in #686
- chore(ios)!: make the native package folder a self-contained Swift package by @maksg in #687
- ci(ios): add sync and release workflow for the standalone repo by @maksg in #689
- docs: add iOS package badge and quick start to root README by @hryhoriiK97 in #690
- chore: release v1.0.2 by @eszlamczyk in #694
- ci(ios): run the package sync workflow only on manual dispatch by @maksg in #725
- docs(ios): fix broken Swift Package Manager link in README by @eszlamczyk in #757
- chore: bump ratex to 0.1.14 by @eszlamczyk in #762
- chore: install clang-format at the workspace root by @jnowakow in #769
- chore: claim context7 by @eszlamczyk in #776
- chore(android): rename package directory to enriched-markdown-android by @maksg in #778
- chore: update context7 configuration by @eszlamczyk in #781
- docs(ios): document the LaTeX product as optional by @maksg in #837
- ci(ios): restore RaTeX vendor files before syncing the standalone package by @maksg in #836
- chore: add native libs to lefthook config by @eszlamczyk in #839
- docs: fix stale react-native-web mention in WEB.md by @hryhoriiK97 in #841
- chore: update example app to work with xcode 27 by @eszlamczyk in #871
- chore(android): bump library version to 0.2.0 by @jnowakow in #887
- chore: release v1.1.0 by Ernest in
dd4a4be
New Contributors
- @4shutosh made their first contribution in #699
- @huytdps13400 made their first contribution in #708
- @Tyler-V made their first contribution in #731
- @gabrieldonadel made their first contribution in #744
- @jnowakow made their first contribution in #736
- @MaryanPrydatko made their first contribution in #828
- @ryanlntn made their first contribution in #843
- @juliusmarminge made their first contribution in #849
- @cvburgess made their first contribution in #783
- @brennanbutler01 made their first contribution in #833
- @Lyczeq made their first contribution in #818
- @voska made their first contribution in #898
Full Changelog: v1.0.0...main