Releases: parcel-bundler/parcel
v2.12.0
Blog post: https://parceljs.org/blog/v2-12-0/
Added
-
Core
-
JavaScript
-
CSS
- Use lightningcss to implement CSS packager β Details
-
Bundler
- Rename "parentAsset" to "root" for Manual Shared Bundle config and remove unstable prefix β Details
-
Web Extensions
- Add content script world property to manifest schema validation β Details
-
Performance
Fixed
-
Core
-
JavaScript
- Remove decl_collector pass and use SWC's unresolved_mark instead β Details
-
Bundler
Unstable
- Add source map support to the inline-require optimizer β Details
v2.11.0
[2.11.0] - 2023-12-19
Added
- Dev
Fixed
-
Dev
- Increase threshold for showing progress bar to 500k nodes Details
- Fix parcel-query Details
- FIX[dev-server]: Fix html file matching from URL Details
- Fix parcel query's inspect cache Details
- Bug fix for exiting early when identifying requestGraph in loadGraphs Details
- Fix HMR on .localhost domains Details
- Modify parcel query to not require all graphs on startup Details
- Bug fix for async Parcel-query Details
- Remove reliance on requestTracker in loadGraphs Details
-
Core
- Reduce redundancy in the RequestGraph's Request, Env, and Option nodes Details
- Move registerCoreWithSerializer to its own file Details
- Filter --expose-gc and --max-semi-space-size execArgv Node args from workers Details
- Optimize Symbol Propagation (propagateSymbolsUp) Details
- Convert Request Graph node types + request node requestTypes to numbers Details
- fsFixture: ignore empty lines in fixtures Details
- Unstable File Invalidations Details
- Configurable watch root Details
-
Resolver
- Add ~ and / support to the glob resolver Details
-
JavaScript
- Bump swc Details
- Bumping lightningcss to 1.22.1 Details
- Fix CI Details
- Change inline-requires to only run when optimizing Details
- Fix tsconfig extends from node_modules Details
- Bump some deps Details
- Bump swc and napi-rs Details
- Fix references to packages.atlassian.com Details
- Fix build-ts step Details
- Bump rimraf version to ^5.05 Details
- Use centos image with newer Node 16 Details
v2.10.3
Fixed
-
Core
- Mark previously deferred assets as dirty for symbol prop - Details
- Write bundle graph to cache if error occurs during bundling - Details
- Fixing issues when
import * as
is used withexport *
- Details - Writing cache in chunks - Details
- Reduce redundancy in the RequestGraph's file nodes - Details
- Fix dependency retargeting with ambiguous reexports - Details
-
JavaScript
- Fixing behavior for
hasOwnProperty
in modules exporting member with same name - Details
- Fixing behavior for
-
WebExtension
- Don't crash if WebExt has no content_scripts - Details
-
PostHTML, Pug, Stylus
- Simplified calls to
invalidateOnFileChange
- Details
- Simplified calls to
v2.10.2
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