Skip to content

File Viewer v2.4.0

Choose a tag to compare

@wybaby168 wybaby168 released this 26 Aug 02:49

File Viewer v2.4.0

This release puts the current Office, TIFF, Vite 8, and security fixes on one verified version line.

Highlights

  • WPS and Office 365 embedded-cell images now share the same Worker and main-thread path, including TIFF drawings, double-click enlargement, and the existing optional column-resize interaction.
  • Multipage CCITT Group 4 TIFF files use a TIFF-only, bounded decoder path with page, pixel, and memory limits.
  • The Vite plugin keeps manualChunks for Vite 5-7 and uses Rolldown codeSplitting.groups for Vite 8 without replacing user-defined chunk configuration.
  • Legacy DOC output keeps generated fonts, links, images, attachments, HTML, and DOM mounting behind the hardened sanitization boundary shipped in the 2.3 security line.
  • The Demo and document comparison page use the same compact latitude/longitude globe switcher for Chinese, English, Japanese, and German.

Packages

  • 56 regular ecosystem packages are published as 2.4.0.
  • The historical msdoc-viewer compatibility package is published as 0.2.3.

Verification

  • All 57 npm registry tarballs match the frozen release SHA-512 values.
  • The eight full packages passed isolated cold installation and import checks with npm 11.17.0.
  • The copy-assets CLI and full-package install validated 47 offline assets.
  • Public CI passed source/component builds, type-checking, i18n and thumbnail tests, documentation, Chromium security checks, browser smoke, and PPTX slideshow verification.

Upgrade

pnpm add @file-viewer/vue3-full@2.4.0
pnpm add -D @file-viewer/vite-plugin@2.4.0

Demo: https://demo.file-viewer.app
Docs: https://doc.file-viewer.app