Releases: foresightmobile/flutter_markdown_plus
Release list
v1.0.12
- Added golden render regression tests for the Markdown widgets, covering text formatting, emphasis, blockquotes, lists, tables, task lists, and code blocks. They render with real fonts and run in the local
flutter testsuite; like the existing image goldens they are platform-specific, and are skipped on CI (whose Flutterstablechannel is unpinned) to avoid flaky pixel-exact diffs when the toolchain drifts - Documentation: the 1.0.11 README overhaul documented the previously undocumented
onTapLinkandstyleSheetAPIs, resolving #123
v1.0.11
- Overhauled the README: added a feature list, installation instructions, a widget comparison (
Markdown/MarkdownBody/MarkdownRaw), and code examples for link handling (onTapLink),MarkdownStyleSheetstyling, and custom element builders - Added screenshots to the pub.dev listing showcasing rich-text formatting, GitHub Flavored Markdown tables and task lists, and code blocks
- Pointed the
documentationlink at the generated API docs on pub.dev
v1.0.10
- Added a
contextMenuBuilderparameter toMarkdownandMarkdownBody, letting callers customise or suppress (passnull) the text-selection toolbar shown whenselectableis enabled. Defaults to the platform-adaptive Flutter selection toolbar, so existing behaviour is unchanged (#134) onSelectionChangednow reports the full selectable plain text viaTextSpan.toPlainText(). Previously, paragraphs containing rich/nested inline spans (bold, italic, code, links) reported the top-levelTextSpan.text, which wasnullfor multi-child spans; callers now receive the complete text soTextSelection.textInsideworks as expected (#134)
Thanks to our contributors:
- @momadvisor for the
contextMenuBuilderparameter and plain-text selection fix (#134)
v1.0.9
- Fixed custom inline
builders(e.g.a) duplicating trailing text when the element had multiple children, such as link text containing a_or*delimiter that the parser splits into separate text nodes (#132)
Thanks to our contributors:
- @Jess-Gabia for reporting the issue and identifying the fix (#132)
- @amungi for confirming the fix in production
v1.0.8
- Fixed custom
buildersandpaddingBuildersfor thehrtag being ignored - Fixed bold, italic, and link formatting not rendering inside blockquotes
- Forced a consistent line height within each text block so mixed font weights (e.g. bold) no longer shift line height, while headers and other blocks keep their own height
- Updated the default blockquote styling to be theme-aware (uses
surfaceContainerHighestwith a primary-coloured left border) for better light/dark mode support - Added a
noScrolloption to theMarkdownwidget to render content in a non-scrollingColumnfor use inside an existing scroll view - Added an integration test suite (
example/integration_test/) that runs on a device or emulator, covering link taps, scrolling, task-list checkboxes, text selection, and example app launch - Added
scripts/integration_test.shand a GitHub Actions job that runs the integration tests on an Android emulator - Migrated linting to
package:flutter_lints, retaining strict type analysis and required public API documentation - Updated dependencies:
markdownto^7.3.1,mockitoto^5.7.0, and pinnedleak_tracker_flutter_testing - Aligned the example app's Flutter constraint with the package and added a
documentationlink to the pubspec - Updated the example app's Android Gradle Plugin to 8.6.0 (Flutter's current minimum) and removed an unused Google Cloud Artifact Registry Gradle plugin
- Excluded the locally symlinked
flutter_markdown_plus_latexpackage from analysis and publishing
Thanks to our contributors:
- @joelbrostrom for fixing custom builders on the
hrtag (#131) - @vsaase for fixing inline formatting inside blockquotes (#128)
- @domhel for theme-aware blockquote styling (#42)
- @szuwest for the strong text line-height fix (#130)
- @senlinjun for the
noScrolloption (#38)
v1.0.7
- Improved pub.dev score by making example app source code available in published package
- Updated .pubignore to only exclude build artifacts and generated files instead of entire example directory
- Fixed linter warnings by removing unnecessary null default values in MarkdownStyleSheet
- Added CLAUDE.md documentation for AI-assisted development
- Enhanced README with package history and link to LaTeX support package
- Standardized formatter configuration across project
v1.0.6
Fix cursor behavior when using custom builder for anchor tags. The code now only manages _linkHandlers when there is no custom builder for anchor tags, preventing conflicts between the default link recognizer and custom builder widgets.
New properties introduced to MarkdownStyleSheet: tableHeadCellsPadding and tableHeadCelssDecoration.
Implemented automatic table content clipping to respect rounded borders when tableBorder specifies a border radius.
Many thanks to our contributors:
@mark-nicepants for fixing null pointer issues with custom builders
@jlandon for adding table header cell customisation features
@4rthurmonteiro for the link builder fix
v1.0.5
v1.0.3
v1.0.1+1
What's Changed
- Renaming the package. Initial scripts and settings. by @kravoleksii in #1
- Fix blockquote text style by @kravoleksii in #2
- Issue tracker URL by @kravoleksii in #3
- Release action by @kravoleksii in #4
- Release v1.0.1+1 by @kravoleksii in #5
- Flutter version bump by @kravoleksii in #6
- Assets tests fix by @kravoleksii in #7
- Update validate.sh script by @kravoleksii in #8
- Publish.yaml script fix by @kravoleksii in #9
- Publish.yaml fix by @kravoleksii in #10
- Publish.yaml script fixes by @kravoleksii in #11
- -publish.yaml script fix; by @kravoleksii in #12
New Contributors
- @kravoleksii made their first contribution in #1
Full Changelog: https://github.com/foresightmobile/flutter_markdown_plus/commits/1.0.1