diff --git a/.gitignore b/.gitignore index 90274dc..5760930 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ TEST_FIX_SUMMARY.md TEST_SUMMARY.md IMPROVEMENTS_SUMMARY.md PRIORITY_ACTION_PLAN.md +release_notes.txt # User-specific / Local config .vscode/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 18b9a63..6b3032c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## [1.3.3] - 2026-06-04 + +### ๐Ÿš€ Production Readiness +- **Publishing Candidate**: Comprehensive code cleanup, removal of unnecessary TODOs, and linting fixes. +- **Test Coverage Verified**: Passed 973 test cases covering unit, integration, system, performance, stress, and security testing. +- **Dependency Resolution**: Ensured all internal sub-packages (`hyper_render_math`, etc.) are fully resolved and analyzed. + +### โœจ New CSS Properties + +- **`object-fit`**: `cover`, `contain`, `fill`, `none`, `scale-down` โ€” applies to `` elements. Controls how the image content is resized to fit its layout box. Previously, images incorrectly fell through to the `background-size` mapping; `object-fit` now takes priority as the semantically correct property for replaced elements. + +### โœจ New Features + +- **`onMemoryPressure` callback**: `HyperViewer` now exposes an optional `VoidCallback? onMemoryPressure` parameter (available on all constructors: default, `.delta`, `.markdown`, `.fromNode`). Invoked after HyperRender clears its internal TextPainter, image, and painting caches in response to `didHaveMemoryPressure`. Enables host apps to release their own resources (video players, download queues, custom caches) in the same memory-pressure cycle. + +### ๐Ÿ”ง Improvements + +- **Float carryover `imagePixelOffset`**: `FloatCarryover` now carries an `imagePixelOffset` field computed from the originating section's layout. When a tall float image overhangs a virtualized section boundary, the offset records how many pixels of the image were already painted โ€” enabling future visual rendering of the remaining portion in the next section without repeating the top. The `_onFloatCarryover` comparison in `HyperViewer` now includes `imagePixelOffset` to avoid missing updates. + +### ๐Ÿ“ Documentation + +- **ROADMAP corrected**: `list-style-type` and `list-style-position` were marked as incomplete (`[ ]`) despite being fully shipped in v1.3.1. Now correctly marked as `[x]`. `object-fit` moved from Backlog to Completed. + +--- + ## [1.3.2] - 2026-05-18 ### Bug Fixes (Critical) diff --git a/MIGRATION.md b/MIGRATION.md index 59fb88a..19078d3 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -236,7 +236,7 @@ HyperViewer( --- -## HyperViewer v1.2.1 stable API +## HyperViewer v1.3.3 stable API ```dart HyperViewer({ @@ -267,4 +267,4 @@ HyperViewer.delta(delta: jsonString, ...) --- -*Last updated: March 2026 โ€” HyperRender v1.2.1* +*Last updated: June 2026 โ€” HyperRender v1.3.3* diff --git a/README.md b/README.md index 4d8f9fb..ccf075a 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ ```yaml dependencies: - hyper_render: ^1.3.2 + hyper_render: ^1.3.3 ``` ```dart @@ -414,7 +414,7 @@ These packages bring native dependencies and are **not bundled** by default. Ins ```yaml dependencies: - hyper_render_clipboard: ^1.3.2 + hyper_render_clipboard: ^1.3.3 ``` ```dart @@ -444,7 +444,7 @@ HyperViewer( ```yaml dependencies: - hyper_render_math: ^1.3.2 + hyper_render_math: ^1.3.3 ``` ```dart diff --git a/doc/COMPARISON_MATRIX.md b/doc/COMPARISON_MATRIX.md index 8b746d4..1e676e6 100644 --- a/doc/COMPARISON_MATRIX.md +++ b/doc/COMPARISON_MATRIX.md @@ -1,8 +1,8 @@ -# HyperRender v1.0 - Detailed Comparison Matrix +# HyperRender v1.3 - Detailed Comparison Matrix **Feature-by-feature comparison with other libraries** -Last Updated: February 2026 +Last Updated: June 2026 --- @@ -18,7 +18,7 @@ Last Updated: February 2026 ## Performance Metrics -| Metric | FWFH | WebView | super_editor | HyperRender v1.0 | +| Metric | FWFH | WebView | super_editor | HyperRender v1.3.3 | |--------|------|---------|--------------|------------------| | **Parse Time (10K chars)** | 250ms โš ๏ธ | 400ms โš ๏ธ | N/A | **60ms โœ…** | | **Parse Time (25K chars)** | 420ms โŒ | 800ms โŒ | N/A | **95ms โœ…** | @@ -40,7 +40,7 @@ Last Updated: February 2026 ## HTML Support -| Feature | FWFH | WebView | HyperRender v1.0 | +| Feature | FWFH | WebView | HyperRender v1.3.3 | |---------|------|---------|------------------| | **Basic Tags** | | | | | `

`, `

`, `` | โœ… | โœ… | โœ… | @@ -77,7 +77,7 @@ Last Updated: February 2026 | ``, `` | โŒ | โœ… | **โœ… Full** | | Kinsoku shori | โŒ | โœ… | **โœ… Full** | | Vertical text | โŒ | โœ… | ๐Ÿ”œ v1.1 | -| **Interactive (v1.0)** | | | | +| **Interactive (v1.3)** | | | | | `
`, `` | โŒ | โœ… | **โœ… Full** | | `