Releases: parcel-bundler/parcel
Releases Β· parcel-bundler/parcel
v2.9.3
v2.9.2
Fixed
- Core
- JavaScript
- Treat re-exports of
*
from empty files withsideEffects: false
as ESM β Details
- Treat re-exports of
- CSS
- Fix self references error in CSS module JS assets causing "Bundle group cannot have more than one entry bundle of the same type" β Details
- Dev server
- Serve folder's index when requesting folder without slash β Details
- Web extensions
- Allow source maps files in webextension β Details
- Image
- Add core as peerdep to image optimizer β Details
v2.9.1
v2.9.0
Parcel v2.9.0 includes many long requested features, including a brand new resolver with support for package.json "exports" and tsconfig.json features, support for ESM plugins and configs, and local Parcel plugins. It also improves performance with a new default JS minifier powered by SWC, incremental symbol propagation, and improved bundler data structures.
Blog post: https://parceljs.org/blog/v2-9-0/
Added
-
Core
- Add support for ESM plugins and configs β Details
- Add support for local parcel plugins β Details
- Incremental Symbol Propagation for improved performance and improved export errors in development β Details
- Add support for plugin tracing, which shows where time is being spent during a Parcel build β Details
- Support
.proxyrc.cjs
config files β Details - Add support for
loadConfig
function to resolver plugins β Details
-
Resolver
- New resolver implementation in Rust supporting package.json "exports" and "imports", and tsconfig.json "baseUrl", "paths", and "moduleSuffixes" β Details
-
JavaScript
-
Bundler
- Use BitSet for bundler intersections for improved performance β Details
-
Web Extensions
- Add support for
chrome_style
field β Details
- Add support for
Fixed
-
Core
- Improve error message when bundles do not have unique file names β Details
- Bump napi-rs to latest β Details, Details
- Fix pnpm autoinstall β Details
- Fix "does not exports" error for multiple assets returned by transformers β Details
- Remove v8-compile-cache β Details
- Update fast-glob β Details
- Update lmdb β Details
- Fixup DiagnosticCodeHighlight and SourceLocation columns β Details
- Bump
fastest-levenshtein
andxmldom
dependencies β Details
-
JavaScript
- Sort global deps before injecting imports to reduce cache invalidations β Details
- Only add export setter for non-ESM exports β Details
- Bump SWC β Details, Details, Details, Details,
Details - Deduplicate imports in hoist transformer β Details
- Allow buffer polyfill v5 or v6 β Details
- Fix packaging of synchronous reused bundles β Details
- Support eslint ^7.0.0 in
@parcel/validator-eslint
β Details - Improve
inlineEnvironment
performance β Details - Hoist exports to allow circular dependencies β Details
-
TypeScript
- Throw diagnostics as error on empty emit - Details
-
CSS
- Sort CSS module exports to reduce cache invalidations β Details
-
Bundler
-
Dev server
-
Elm
- Fix error when formatting build errors β Details
v2.8.3
- Core
- filter out title execArgv to workers β Details
- Bundler
- JavaScript
- Don't retarget dependencies if a symbol is imported multiple times with different local names β Details
- Fix assigning to
this
in CommonJS β Details - Bump SWC to fix dead branch removal bug β Details
- Bump swc to fix sourcemaps with Windows line endings β Details
- Add test cases for ESM initialization problems β Details
- TypeScript
- Fix TSC sourcemaps metadata β Details
- HTML
- Fix
srcset
parsing β Details
- Fix
- Dev server
v2.8.2
v2.8.1
v2.8.0
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
v2.7.0
Added
- Core
- JavaScript
- Elm
- Add support for compiling multiple modules at once via
with
query param - Details
- Add support for compiling multiple modules at once via
- CSS
- Add support for
errorRecovery
option in@parcel/transformer-css
- Details
- Add support for
- 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
- Dependencies