Skip to content

v0.2.3

Choose a tag to compare

@jrandolf jrandolf released this 29 Aug 06:16
00b3d23

vscode-pdf v0.2.3

If you've ever opened a PDF in VS Code and stared at a blank tab wondering if something broke — this release is for you. v0.2.3 ships a single, high-impact fix that makes PDFs open the way they always should have: instantly.

🐛 Bug Fixes

  • Fixed a 30-second delay in PDF worker startup. The viewer was pointing PDF.js at an absolute worker URL, which forced VS Code's webview through a slow cross-origin blob wrapper before rendering could even begin. We now let PDF.js resolve its worker relatively, exactly as it's designed to. The numbers speak for themselves: worker startup dropped from ~30,048 ms to ~31 ms — that's roughly 1000x faster. (#64, addressing discussion #63)
  • Added a regression guard to tools/check_pdfjs.mjs so this exact class of slowdown can never sneak back in unnoticed.

⚡ Improvements

  • Removed the now-unused absolute worker configuration from both the extension host and the webview bundle, keeping the PDF.js integration leaner and closer to upstream defaults.

📦 Install it: Grab the update from the Visual Studio Code Marketplace (or the Open VSX Registry) — VS Code will auto-update if you already have the extension installed. Enjoy the snappier PDFs! 🚀