Skip to content

docs: add release note summary for v2.3.8, v2.3.9, and v2.4.0 to CHANGELOG.md#251

Closed
Copilot wants to merge 3 commits intomasterfrom
copilot/release-note-summary-recent-commit
Closed

docs: add release note summary for v2.3.8, v2.3.9, and v2.4.0 to CHANGELOG.md#251
Copilot wants to merge 3 commits intomasterfrom
copilot/release-note-summary-recent-commit

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 16, 2026

CHANGELOG.md only documented releases up to v2.0.0, leaving the last ~10 months of changes undocumented. This adds structured entries for v2.3.8, v2.3.9, and v2.4.0.

v2.4.0 (2026-03-16)

  • Cache strategy alignment: All three CacheStrategy modes now have a clearly defined and consistently enforced behavioral contract (remote PDF reuse, page bitmap memory/disk retention, prefetch enabled/disabled)
  • Bug fixes: Incorrect remote cache retention across strategies; stale disk page-bitmap artifacts on strategy downgrade; PdfRendererView.initWithUrl transient file not cleaned up when embedded outside PdfViewerActivity; DISABLE_CACHE blank pages (DISABLE_CACHE doesn't work #222); fast-scroll bitmap corruption (draw multiple pages on the same bitmap when scrolling very quickly #223); render job and callback bookkeeping hardened with minSdk-21-safe logic
  • Internal: New CachePolicy abstraction centralising per-strategy behavior; unit tests for cache policy mapping, document retention, and transient cleanup; hermetic instrumented tests for all three strategies; dynamic version-from-Git-tag publishing and updated GH Actions workflow

v2.3.9 (2026-03-16)

v2.3.8 (2026-03-15)


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: afreakyelf <38572147+afreakyelf@users.noreply.github.com>
Copilot AI changed the title [WIP] Update release notes for recent commit docs: add release note summary for v2.3.8 and v2.3.9 to CHANGELOG.md Mar 16, 2026
Copilot AI requested a review from afreakyelf March 16, 2026 05:32
@afreakyelf
Copy link
Copy Markdown
Owner

@copilot update it there are new changes in release

Co-authored-by: afreakyelf <38572147+afreakyelf@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 16, 2026

@copilot update it there are new changes in release

Added the new v2.4.0 entry at the top of CHANGELOG.md (commit b0be982). It covers the cache-strategy alignment work, all six bug fixes (including DISABLE_CACHE blank pages, fast-scroll bitmap corruption, stale disk artifacts, transient file cleanup for embedded PdfRendererView, remote cache retention, and render-job callback hardening), the new internal CachePolicy layer, and the full regression/instrumentation test suite added in that release.

@afreakyelf afreakyelf marked this pull request as ready for review March 16, 2026 05:42
Copilot AI review requested due to automatic review settings March 16, 2026 05:42
Copilot AI changed the title docs: add release note summary for v2.3.8 and v2.3.9 to CHANGELOG.md docs: add release note summary for v2.3.8, v2.3.9, and v2.4.0 to CHANGELOG.md Mar 16, 2026
Copilot AI requested a review from afreakyelf March 16, 2026 05:43
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates CHANGELOG.md to document recent releases that were previously missing, adding structured release-note entries for newer versions of the PDF viewer library.

Changes:

  • Added a new changelog section for v2.3.8 (2026-03-15) covering new zoom/navigation APIs and multiple bug fixes.
  • Added a new changelog section for v2.3.9 (2026-03-16) covering DISABLE_CACHE and fast-scroll corruption fixes plus an explicit revert note.
  • Added an additional top section for v2.4.0 (2026-03-16) describing cache-strategy alignment and expanded testing/build notes.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +3 to +5
# [v2.4.0] — 2026-03-16

This release aligns the three cache strategies with their intended behavior and adds broad regression coverage around caching, rendering, and embedded-view lifecycle cleanup.

### New Features
- **Zoom controls exposed** (`#246`): `PdfRendererView` and `PdfRendererViewCompose` now expose `zoomIn()`, `zoomOut()`, and `zoomTo(scale)` methods. A Jetpack Compose example using FABs for zoom in/out has been added to the sample app.
- **Configurable max zoom** (`#239`): Maximum pinch-zoom scale is now configurable via the `pdfView_maxZoom` XML attribute or programmatically via `setMaxZoom(scale)`. Default remains `5×`.
- **Zoom-settled listener alias**: `onZoomSettled` callback added as a stable alias for the zoom-end event so callers do not need to parse raw scale values.

### Bug Fixes
- **API 33 `getParcelableExtra` NPE** (`#244`, `#245`): Replaced deprecated `getParcelableExtra` call with the type-safe `getParcelableExtra(name, Class)` overload to prevent a `NullPointerException` on Android 13+.
@afreakyelf afreakyelf closed this Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants