Releases: parcel-bundler/parcel
Releases Β· parcel-bundler/parcel
v2.13.0
Added
-
Core
-
Bundler
-
Dev Server
-
Resolver
Fixed
-
Core
- Remove abortcontroller-polyfill β Details
- Fix missing content key in symbol propagation when asset is removed β Details
- Update minimum supported node version to 16 β Details
- Ensure the snapshot directory matches the watch dir β Details
- Add parcel version to PluginOptions β Details
- Fix possible race condition in the caching of request graph β Details
- Ensure empty extended config throws a diagnostic β Details
- Ensure Asset public ids are assigned deterministically β Details
- Directories ignored by watcher should be relative to the watch directory β Details
- Fix request tracker incremental cache write for new nodes β Details
- Improve request graph cache reading β Details
- Exit process with error code when reporters fail β Details
- Write tmp files to the OS tmp directory - Details
- Fix small HMR issues β Details
- Fix crash in EntryRequest with multiple globs in the source field β Details
- Revert split manifest runtime bundles β Details
- Revert chunked cache blobs for improved stability β Details
- Update dependencies β Details
-
Bundler
- Fix assets outside project root with Manual Shared Bundles β Details
-
JavaScript
- Avoid non-identifier export names in non-entry library bundles β Details
- Relax react-refresh version range β Details
- Also emit swc recoverable errors β Details
- Bump swc β Details, Details, Details, Details
- Bump swc and browserslist-rs β Details
- Replace std::sync locks with parking_lot locks for better stability β Details
- Ensure const modules in async bundles are wrapped β Details
- Fix dev packager global reference β Details
- Fix import usage tracking for destructure defaulting β Details
- Update Node.js globals replacer to use SWC VisitMut β Details
- Update
process.env
replacer to use SWC VisitMut β Details - Update Node.js
__filename
and__dirname
replace to use SWC VisitMut β Details - Fix parcelRequire being added to multi-target libraries β Details
- Handle TypeScript expressions in macro evaluator β Details
-
Resolver
-
TypeScript
-
SASS
- Migrate to new sass API β Details
-
SVG
-
Image
- Bump oxipng β Details
-
Vue
- Upgrade consolidate to v1 β Details
-
Web Extensions
- Allow both service_worker and scripts in MV3 Web Extensions β Details
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