release: v1.3.1 — decouple plugins, CSS list/background, selection perf, demo polish#10
Conversation
…pper to fix Android build issues
… and fix markdown test
…style-type CSS support, update demos
…OS/Android native build failures
…on guide for all packages - Add [1.3.1] CHANGELOG entries to all 7 sub-packages (pub.dev requires version match) - Update all sub-package READMEs: bump version references ^1.3.0 → ^1.3.1, add ecosystem cross-link table with "you are here" marker, add License section where missing - Fix hyper_render_core README plugin API (tagName→tagNames, build()→buildWidget()) - Add list-style-type / background-repeat / background-position to hyper_render_html CSS table - Fix hyper_render_math README: core dep removed (only hyper_render_math needed now) - Update root CHANGELOG 1.3.1: add CSS features, selection perf, full build notes - Update doc/MIGRATION_GUIDE.md for 1.3.1 breaking change (clipboard/math opt-in) - Fix scripts/prepare_publish.sh: swap path dep version ^1.3.0 → ^1.3.1 - Demo improvements: padding, contrast fixes, scroll wrappers, zero_padding_image_demo
✅ Layout Regression — All fixtures within 60 FPS budget
One or more fixtures exceeded the 16 ms budget.
No action required. |
❌ Visual Regression Detected23 golden test(s) failed on Flutter 3.41.5 / ubuntu-22.04. The rendered output no longer matches the reference images. If the change is intentional, regenerate the goldens on the docker run --rm \
-v $(pwd):/workspace -w /workspace \
ghcr.io/cirruslabs/flutter:3.41.5 \
bash -c "apt-get update -qq && \
apt-get install -y fonts-noto fonts-noto-cjk fonts-roboto && \
flutter pub get && \
flutter test test/golden/ --update-goldens"
git add test/golden/goldens/
git commit -m "chore: update golden references (Flutter 3.41.5)"
|
✅ Layout Regression — All fixtures within 60 FPS budget
One or more fixtures exceeded the 16 ms budget.
No action required. |
❌ Visual Regression Detected23 golden test(s) failed on Flutter 3.41.5 / ubuntu-22.04. The rendered output no longer matches the reference images. If the change is intentional, regenerate the goldens on the docker run --rm \
-v $(pwd):/workspace -w /workspace \
ghcr.io/cirruslabs/flutter:3.41.5 \
bash -c "apt-get update -qq && \
apt-get install -y fonts-noto fonts-noto-cjk fonts-roboto && \
flutter pub get && \
flutter test test/golden/ --update-goldens"
git add test/golden/goldens/
git commit -m "chore: update golden references (Flutter 3.41.5)"
|
Summary
hyper_render_clipboardandhyper_render_mathremoved from roothyper_renderdefaults — eliminates AndroidcompileSdk = 34requirement for basic users; both are now opt-in add-onslist-style-type(11 values),list-style-position,list-styleshorthand,background-repeat,background-positiongetSelectionRects()cached (1× per drag event instead of 3×); auto-scroll speed proportional;HyperTeardropHandlePainterdeduplicated and exported from core_kImageMargin = 0.0—width: 100%images truly fill container[1.3.1]entries, ecosystem cross-link tables added to all READMEs, migration guide updated,prepare_publish.shversion fixzero_padding_image_demoIf you use
SuperClipboardHandlerorMathNodePlugin, add the packages explicitly:Test plan
flutter test test/ packages/hyper_render_core/test/ packages/hyper_render_html/test/ --exclude-tags goldenpasses (1 646 tests)flutter analyze— no issues./scripts/prepare_publish.shdry-run completes successfully