Merged
Conversation
New features: - Plugin API (HyperNodePlugin / HyperPluginRegistry) for custom widget tags - Paged mode (HyperRenderMode.paged) with HyperPageController for e-book UIs - Dirty-flag incremental layout (~90% rebuild reduction for live feeds) - CSS @Keyframes animation support with custom keyframe lookup - img alt-text discrete SemanticsNodes (WCAG 1.1.1) - aria-label honored on <a> elements (WCAG 4.1.2) Improvements: - Dead-code elimination: removed 31 duplicate files from root lib/src/ - LazyImageQueue singleton consolidated to single shared instance - HyperReader demo: A+/A- font-size buttons, video playback, line-height control - Demo app name & icon updated to HyperRender branding - Android 16KB page alignment (extractNativeLibs=false, useLegacyPackaging=false) - share_plus upgraded to ^12.0.0, AGP to 8.12.1 - All pubspec sdk constraints aligned to >=3.5.0 - csslib aligned to ^1.0.2 across all packages - flutter_lints aligned to ^5.0.0 across all packages - Unguarded debugPrint in float layout wrapped in assert() - Version comments in all pubspecs updated to ^1.2.0 Bug fixes: - XSS: javascript: URLs blocked in HTML, Markdown, and Delta adapters - display:none elements no longer render - Selection conflict during scroll resolved - Context menu clamped to visible bounds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
HyperNodePlugin/HyperPluginRegistry— third-party packages can render arbitrary HTML tags as custom Flutter widgets (block or inline tier)HyperRenderMode.paged+HyperPageControllerfor e-book/reader UIs<img alt>→ discreteSemanticsNode(WCAG 1.1.1);aria-labelon<a>(WCAG 4.1.2)lib/src/— canonical source now inpackages/hyper_render_coreBug fixes
javascript:URLs blocked in HTML, Markdown, and Delta adaptersdisplay:noneelements no longer produce layout fragmentsDemo & infra
share_plus ^12.0.0, AGP 8.12.1sdk >=3.5.0,csslib ^1.0.2,flutter_lints ^5.0.0Test plan
flutter test --no-pub— all tests pass (JSON reporter"success": true)flutter analyze --no-pub— 0 errors, 0 warnings (root + all 4 sub-packages)flutter analyze --no-pub(example app) — no issuestest/v120/— 36/36 pass