parcel v2.8.0 Release Notes

Release Date: 2022-11-09 // 17 days ago
  • ➕ 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
      • Verify version when resolving Node builtin polyfills – Details
      • Add loadBundleConfig method to Packager plugins – Details
    • 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
      • Consider sibling in available assets to younger sibling for parallel deps – Details
      • Don't merge isolated child assets – Details
      • Do not merge isolated bundles in experimental bundler – Details
      • Implement min bundles configuration – Details
    • Dev server
      • Include Content-Length header in HEAD requests – Details
    • Vue
      • Fix errors displaying errors when compiling Vue SFCs – Details
      • Add file path to error code frames – Details
      • Fix location of errors – Details
    • Image
    • TypeScript
      • Allow configuring module resolution – Details
    • 🌐 Web extensions
      • Fix service worker packaging in web extensions – Details

Previous changes from v2.7.0

  • ➕ Added

    • Core
      • Log resolved targets in verbose log level for debugging - Details
      • Allow plugin configs to be written with .cjs extension - Details
    • JavaScript
      • Support react refresh for @emotion/react - Details
      • Inject script for hmr when there is only normal script in html - Details
    • Elm
      • Add support for compiling multiple modules at once via with query param - Details
    • CSS
      • Add support for errorRecovery option in @parcel/transformer-css - Details
    • Experimental bundler - Details
      • Implement bundling for multiple targets
      • Internalize async dependencies
      • Merge bundles of the same type
      • Fix missing module - Details

    🛠 Fixed

    • JavaScript
      • Default interop missing when importing a CommonJS module - Details
      • Add missing imports for external dependencies in skipped assets - Details
      • Bump SWC to fix undefined variables - Details
      • Remove charset from JS loaded script to avoid double fetching in Firefox - Details
      • Use placeholder expression when replacing unused symbols - Details
    • Core
      • Fix atomic writestream handling on Windows - Details
      • Fix non-deterministic bundle hashes between builds due to symbol propagation - Details
      • Fix TypeScript types for @parcel/package-manager - Details
    • Dependencies