Releases: parcel-bundler/parcel
v2.10.1
Fixed
-
Core
-
Bundler
-
JavaScript
Unstable
v2.10.0
Parcel v2.10.0 includes big performance improvements, an improved --lazy
mode, reduced runtime bundle sizes, web extension improvements, and tons of bug fixes and improvements.
Added
-
Core
- Add support for include and exclude globs for
--lazy
mode β Details, Details - Merge all native Rust modules into one package β Details
- Add async resolver and JS transformer functions using rayon β Details
- Support "register" tools in module loader (e.g.
@babel/register
,esbuild-register
,ts-node
) β Details - Limit default number of JS workers to 4 to improve memory usage/performance β Details
- Add support for include and exclude globs for
-
Bundler
-
Resolver
-
JavaScript
-
CSS
- Add include and exclude globs for CSS modules β Details
-
WASM
- Add WASM packager with source map support β Details
-
XML
- Transform xml-stylesheet processing instructions β Details
-
Web Extensions
-
Web Manifest
- Add support for icons in file_handlers β Details
Fixed
-
Core
- Query glibc version only once to speed up JSTransformer on Linux β Details
- Refresh cache before writing contents to bundle β Details
- Fix
--lazy
mode bugs β Details - Ignore no-opt command line option β Details
- Bump lmdb β Details
- Don't hide error when diagnostic is malformed β Details
- Don't autoinstall local files in package manager β Details
- Fix bug with cache and glob entries β Details
-
JavaScript
- Migrate to swc_core β Details
- Move ESM loader runtime to absolute URLs β Details
- Fix duplicate asset references β Details
- Bump swc β Details, Details, Details
- Fix shorthand identifier import usage β Details
- Ensure nested member expressions are marked used in dev mode β Details
- Set ascii_only for swc emit β Details
- Add tests for non-identifier symbol names β Details
-
Bundler
-
Images
- Bump oxipng from 6.0.0 -> 8.0.0 β Details
-
Sass
- Fix sass import edge case β Details
-
Dev Server
- Fix index page loading in dev server when bundle type isn't html β Details
Unstable
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