Skip to content

viewer: v2.0.0

Choose a tag to compare

@vectreal-package-release vectreal-package-release released this 02 Oct 08:33
3a78888

2.0.0 (2026-10-02)

⚠ BREAKING CHANGES

  • viewer: supersample at rest and stop drawing once converged (#920)
  • @vctrl/core, @vctrl/hooks, @vctrl/viewer and @vctrl/embed ship ES modules only. The .cjs files and the "require" export condition are removed; bundlers and import are unaffected. CommonJS callers need Node.js 20.19 / 22.12 or later, where require() loads ES modules, or a dynamic import(). Import through the package entry points: hooks and core no longer ship *.es.js file names. The embed script-tag file is now an IIFE with the same VectrealEmbed global and the same URL.

Features

Bug Fixes

  • viewer: externalize every import of a declared dependency (#919) (3385845)
  • viewer: frame a newly loaded model before its first view is read (#917) (12a79de)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • @vctrl/core bumped to 2.0.0