v2.12.0
-
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
-
Core
-
JavaScript
- Remove decl_collector pass and use SWC's unresolved_mark instead – Details
-
Bundler
- 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.1
Fixed
-
Core
-
Bundler
-
JavaScript
Unstable
-
Bundler
What's Changed
- Disable scope hoisting when 'this' points to an export by @adelchan07 in https://github.com/parcel-bundler/parcel/pull/9291
- Use rimraf for Windows compat for build-bundles by @bdukes in https://github.com/parcel-bundler/parcel/pull/9314
- Bump swc by @mischnic in https://github.com/parcel-bundler/parcel/pull/9306
- Fix inline constants in shared bundles by @mattcompiles in https://github.com/parcel-bundler/parcel/pull/9313
- Use Manual "name" for publicIds, Remove source bundles from Unique Keys by @AGawrys in https://github.com/parcel-bundler/parcel/pull/9298
- Detect TSC polyfills to avoid marking them as CJS by @mattcompiles in https://github.com/parcel-bundler/parcel/pull/9318
- Simplify MSB code for code split bundle creation section by @AGawrys in https://github.com/parcel-bundler/parcel/pull/9312
- Make sure to set unique key (fix) by @AGawrys in https://github.com/parcel-bundler/parcel/pull/9326
- Fix bundler tests assertions on windows by @mattcompiles in https://github.com/parcel-bundler/parcel/pull/9333
- Use modern node versions in CI by @mischnic in https://github.com/parcel-bundler/parcel/pull/9323
- Remove
this
exports tracking for files with module syntax by @mattcompiles in https://github.com/parcel-bundler/parcel/pull/9330 - Support multiple workspaces/clients in Parcel for VSCode by @celinanperalta in https://github.com/parcel-bundler/parcel/pull/9278
- v2.10.1 release by @adelchan07 in https://github.com/parcel-bundler/parcel/pull/9327
New Contributors
- @bdukes made their first contribution in https://github.com/parcel-bundler/parcel/pull/9314
Full Changelog: https://github.com/parcel-bundler/parcel/compare/v2.10.0...v2.10.1
v2.10.1
Fixed
- Bundler
- Add logic to disable scope hoisting if the
this
key word is pointing to an export module Details - updates the
build-bundles
script to userimraf
instead ofrm -rf
Details - Fix inline constants in shared bundles Details
- Ensure manualSharedBundles have unique names Details
- Simplify MSB code for code split bundle creation section Details
- Add logic to disable scope hoisting if the
- JavaScript
- Detect TSC polyfills to avoid marking them as CJS Details
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.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