Blog post: https://parceljs.org/blog/v2-8-0/
Added
- Core
- Code splitting across reexports using symbol data by splitting dependencies – Details
- Update without bundling for non-dependency related changes – Details
- Improve performance of incremental bundling – Details
- Only serialize and send shared references to workers that need them – Details
- Improve performance of HMR by not waiting for packaging – Details
- JavaScript
- SVG
- Generate typescript for SVGs when using svgr and typescript option – Details
- Bundler
- Move experimental bundler to default – Details
Fixed
- Core
- Fix verbose warning: reexport all doesn't include default – Details
- Support multiple edge types in Graph.hasEdge – Details
- Ensure edge exists before removal in Graph.removeEdge – Details
- Disable splitting dependencies on symbols for non-scope hoisted bundles – Details
- Fix TypeScript definitions for Parcel config API – Details
- Use traverseAssets in packager to improve performance – Details
- Make uniqueKey undefined by default – Details
- Catch uncaught promise build abort race – Details
- Bump parcel dependencies – Details
- JavaScript
- Bump SWC - Details, Details
- Fix Chrome Android browserslist support check – Details
- Fix CommonJS symbol collection without scope hoisting – Details
- Make React Refresh debounce call on the leading edge – Details
- Retain correct dependency order between imports and reexports without scopehoisting – Details
- Bundler
- Dev server
- Include
Content-Length
header in HEAD requests – Details
- Include
- Vue
- Image
- Upgrade sharp – Details
- TypeScript
- Allow configuring module resolution – Details
- Web extensions
- Fix service worker packaging in web extensions – Details