Parcel v2.1.0 Release Notes
Release Date: 2022-01-05 // over 2 years ago-
➕ Added
- 0️⃣ Enable transpiling node_modules by default - Details
- Rewrite core graph data structure to be backed by SharedArrayBuffer - Details
- Statically analyze symbols and enable deferred compilation of re-exported modules in development - Details
- Store large blobs as separate files in the cache rather than in LMDB - Details
- ➕ Add
@parcel/optimizer-css
for new work in progress CSS minifier - Details - ➕ Add
@parcel/bundler-experimental
, a much faster work in progress rewrite of Parcel's bundling algorithm - Details - 👌 Support
href
attribute in SVG<image>
tags within HTML - Details - Throw diagnostic with code frame when loading JSON5 configs - Details
🛠 Fixed
- 🛠 Fix HMR behavior with CSS Modules - Details
- 🛠 Fix HMR full page reload when not accepted - Details
- 🛠 Fix HMR when an asset has multiple ancestries - Details
- 🛠 Fix source maps in
@parcel/transformer-typescript-tsc
- Details - 🛠 Fix TypeScript module augmentation in
@parcel/transformers-typescript-types
- Details - 🛠 Fix TypeScript type generation when tsconfig's "incremental" option is true - Details
- 🛠 Fix
createImportSpecifier
with TypeScript 4.5+ - Details - 🛠 Fix error on re-exported type when building TypeScript definitions - Details
- 🛠 Fix error when displaying "does not export" errors - Details
- 🏗 Ensure "does not export" error is shown during cached builds - Details
- 🛠 Fix glob matching in package.json
"sideEffects"
field - Details - 🛠 Fix
semver
dependency version range - Details - Do not error on external Node builtins in libraries - Details
- 💻 Reject browser js loader promise with
Error
object - Details - 👉 Show diagnostics for Elm compiler errors - Details
- 🏗 Don't fail build on empty dependency attributes in HTML - Details
- 🛠 Fix require statements with plain template literals - Details
- ⚡️ Update
lmdb-store
to v2 - Details - ⬆️ Bump swc - Details
- 💻 Correctly pad numbers in
@parcel/hash
browser polyfill - Details - Upstream some changes from the REPL - Details
- 👍 Allow empty string in TOML config - Details
- 👉 Make
BundleGraph#getReferencedBundle
faster - Details - ↪ Workaround segfault with old glibc versions on CentOS 7 - Details
- 👉 Use modern JSX runtime when React is aliased to Preact - Details
- 🛠 Fix React version check when dependency is a URL - Details
- 🔀 Sync peer dependency versions when releasing Parcel - Details
- 🛠 Fix Tailwind in SASS - Details
- Don't run Gzip and Brotli compressors in development - Details
- 0️⃣ Use level 9 Zlib compression by default - Details