Releases: parcel-bundler/parcel
Releases Β· parcel-bundler/parcel
v2.16.0
This release significantly improves code splitting and tree shaking when scope hoisting is disabled, e.g. when using React Server Components with static rendering. It enables re-exports to be followed when resolving a dependency, so that only used exports from large libraries get bundled together for each page rather than across all pages. This was already the case when using scope hoisting, but now it works without scope hoisting as well.
Added
- JavaScript
- Code split re-exports when scope hoisting is disabled β Details
Fixed
- JavaScript
- Scope macro asset unique keys to the parent asset β Details
v2.15.3
Fixed
-
JavaScript
- Expose line and column number to macros β Details
-
React Server Components
- Invalidate cache in ReactStaticPackager when pages are added or client components change β Details
- Fix lazy mode with React Server Components β Details
- Fix
@parcel/rsc
duplicate types β Details - Ensure publicUrl ends with a slash in react-static packager β Details
- Fix hash reference replacement in react-static packager β Details
v2.15.2
-
Core
-
HTML
- Do not remove
<meta charset="utf-8">
β Details
- Do not remove
-
MDX
- Make URL dependencies in MDX files optional β Details
-
React Server Components
- Fix memory leak in react-static packager β Details
-
Resolver
- Fix resolving source package exports condition from self reference β Details
-
SVG
- Update oxvg β Details
-
Compressors
- Use max level compression for brotli compressor β Details
v2.15.1
v2.15.0
Blog post: https://parceljs.org/blog/v2-15-0/
Added
-
Core
- Distribute Rust binaries for each architecture as separate npm packages β Details
-
HTML and SVG
- Add Rust-based transformer/packager/optimizer for HTML and SVG β Details
-
Resolver
- Support
cloudflare:
scheme and no longer rewrite node: scheme β Details
- Support
Fixed
-
Core
-
JavaScript
v2.14.4
v2.14.3
v2.14.2
Fixed
-
Core
-
JavaScript
-
REPL
- Fix error overlay resolution in REPL β Details
-
create-parcel
v2.14.1
v2.14.0
Blog post: https://parceljs.org/blog/v2-14-0/
Added
-
Core
- Add a CLI to create new Parcel apps β Details
-
JavaScript
- React Server Components β Details, Details, Details, Details, Details
- Add RSC-based static site generator β Details
- First-class MDX support β Details
- Merge React Refresh runtime and transformer β Details
- Modernize React error overlay β Details
- Support bundling node native modules β Details
- Use import maps for bundle manifest β Details
-
Dev Server