typeset 3.0.0-beta.1
typeset: ^3.0.0-beta.1 copied to clipboard
Flutter inline text formatter for chat-style markup with plug-and-play usage and granular configuration for rendering, links, and editing.
Changelog #
All notable changes to this project are documented in this file.
3.0.0-beta.1 #
Breaking release focused on parser/renderer architecture, configuration standardization, and safer AutoLink controls.
Pre-release notice: this is a beta version intended for validation before stable
3.0.0.
Added #
TypeSetConfigfor centralized widget/controller configuration.TypeSetStylefor style-level customization.TypeSetAutoLinkConfigwith scheme allowlist, domain allowlist, and custom URL validator.TypeSetConfigProviderfor subtree-scoped configuration.TypeSetGlobalConfigfor app-level defaults.- Parser/renderer AST pipeline (
TypesetParser,TypesetRenderer, typed nodes).
Changed #
TypeSetnow reads behavior fromconfig, then scoped provider config, then global defaults.TypeSetEditingControllernow acceptsconfiginstead of individual style parameters.- Underline delimiter is standardized as
__text__. - Public exports were reorganized to include the new config model API.
Removed #
- Legacy parser/controller internals from public architecture.
- Legacy per-widget and per-controller style parameters replaced by config objects.
- Legacy explicit link marker syntax parsing in widget/controller APIs.
Breaking changes #
TypeSetconstructor parameters removed:linkRecognizerBuilderlinkStylemonospaceStyleboldStyle
TypeSetEditingControllerconstructor parameters removed:linkStylelinkRecognizerBuildermonospaceStyleboldStylemarkerColor
StyleTypeEnum.linkwas removed from context menu options.- Underline syntax changed from
#text#to__text__.
See MIGRATION.md for step-by-step updates.
