v8.3.5
Changed 3
- Update all non-major dependencies
- Update rolldown-related dependencies
- Update resolve.exports to 2.0.4
Fixed 17
- Handle missing chunk import maps in the build
- Include preload dependencies in chunk import map hashing
- Apply server.origin to asset URLs in bundled dev mode
- Declare utf-8 charset in the bundled dev fallback page
- Ignore build.chunkImportMap in bundled dev mode
- Include user import.meta.env.* defines in the import.meta.env object in bundled dev mode
- Map forwarded error stacks through bundle source maps in bundled dev mode
- Normalize served output files in bundled dev mode
- Stop HMR propagation at modules that are no longer imported in bundled dev mode
- Avoid failing on a literal % in url() in CSS
- Fall back to yarn.lock for the optimizer lockfile hash
- Scan oxc.jsxInject imports in the optimizer
- Skip patches directory check for the yarn.lock fallback in the optimizer
- Skip patches directory hash for the nub lockfile in the optimizer
- Support subpath imports containing multiple # characters in resolve
- Handle socket errors on upgrade requests not taken by the HMR server
- Only strip base when the path matches a full path segment
From Vite
Bug Fixes
- build: handle missing chunk import maps (#23777) (8d7623d)
- build: include preload dependencies to chunk import map hashing (#23793) (4d16e7c)
- bundled-dev: apply
server.originto asset URLs (#23683) (52ba877) - bundled-dev: declare utf-8 charset in fallback page (#23846) (197daf6)
- bundled-dev: ignore build.chunkImportMap (#23685) (cfe917d)
- bundled-dev: include user
import.meta.env.*defines in theimport.meta.envobject (#23713) (6019aa7) - bundled-dev: map forwarded error stacks through the bundle source maps (#23741) (11fe1e4)
- bundled-dev: normalize served output files (#23684) (df4e02c)
- bundled-dev: stop hmr propagation at modules that are no longer imported (#23839) (7471e8c)
- css: don't fail on a literal
%inurl()(#23676) (50b382d) - deps: update all non-major dependencies (#23731) (cf80aa5)
- deps: update all non-major dependencies (#23826) (77d8373)
- deps: update rolldown-related dependencies (#23733) (43f0d05)
- deps: update rolldown-related dependencies (#23827) (c2e0418)
- optimizer: fall back to yarn.lock for lockfile hash (#23667) (f206096)
- optimizer: scan
oxc.jsxInjectimports (#23758) (38f3cb4) - optimizer: skip patches dir check for yarn.lock fallback (#23725) (8e890e1)
- optimizer: skip patches dir hash for nub lockfile (#23761) (a7d5696)
- resolve: support subpath imports with multiple
#(#23631) (0d86b34) - resolve: update resolve.exports to 2.0.4 (#23739) (4ea708a)
- server: handle socket errors on upgrade requests not taken by the HMR server (#23728) (c2c9ef4)
- server: only strip base when path matches a full segment (#23641) (3dfde87)
Performance Improvements
Miscellaneous Chores
Code Refactoring
- deps: replace
@vercel/detect-agentwithstd-env(#23744) (ce4293f) - dev: consolidate moduleURL to file path utilities (#23828) (df7b40e)
- dev: separate import resolution from URL conversion (#23791) (6116689)
- dev: share ModuleURL and BrowserURL conversions (#23790) (446954c)
- dev: use ModuleURLs throughout HTML transforms (#23815) (a162990)