Skip to content

Releases: parcel-bundler/parcel

v2.14.2

23 Mar 21:33
Compare
Choose a tag to compare

Fixed

  • Core

    • Enable resolving source field in dev dependencies – Details
    • Error when building a library target in serve mode – Details
  • JavaScript

    • Fix MDX inline assets in static RSCs – Details
    • Fix symbol collection with multiple exports of same function (e.g. date-fns) – Details
  • REPL

    • Fix error overlay resolution in REPL – Details
  • create-parcel

    • Fix gitignore in create-parcel – Details
    • Fix create-parcel on windows – Details

v2.14.1

19 Mar 06:10
Compare
Choose a tag to compare

Fixed

  • Resolver
    • Fix resolving package self references – Details

v2.14.0

18 Mar 04:31
Compare
Choose a tag to compare

Blog post: https://parceljs.org/blog/v2-14-0/

Added

  • Core

    • Add a CLI to create new Parcel apps – Details
  • JavaScript

  • Dev Server

    • Support running node bundles in dev server – Details
    • Apply HMR updates via node worker thread – Details

Fixed

  • Core
    • Fix dev dep request missing 'invalidateOnCreate' – Details
    • Add napi-wasm as optional peer dependency in @parcel/rust – Details

v2.13.3

16 Dec 18:32
Compare
Choose a tag to compare

Fixed

  • Resolver
    • Ignore invalid package.json fields – Details

v2.13.2

25 Nov 18:03
Compare
Choose a tag to compare

Fixed

  • JavaScript

    • Fix HMR when asset is duplicated between multiple bundles – Details
  • SASS

    • Fix SASS resolution with non file: URLs – Details

v2.13.1

25 Nov 01:51
Compare
Choose a tag to compare

Fixed

  • JavaScript

    • Improve HMR with dynamic imports – Details
    • Update SWC – Details
  • SASS

    • Fix SASS resolution rules for modern API – Details

v2.13.0

12 Nov 16:53
Compare
Choose a tag to compare

Added

  • Core

    • Expose watcher ignore and watcher backend options – Details
    • Improve large watcher events payload experience – Details
    • Add support for globs in package.json#source – Details
    • Add config key invalidation – Details
  • Bundler

  • Dev Server

  • Resolver

    • 12x faster resolver cache – Details
    • Correctly handle empty resolver diagnostics array – Details

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

    • Fix NUL byte crash in resolver – Details
    • Change default resolver error message for custom specifiers – Details
  • TypeScript

    • Handle dynamic import type references in TS types transformer – Details
    • Correctly handle qualified names in TS types import() – Details
  • SASS

    • Migrate to new sass API – Details
  • SVG

    • Load svgo version from project – Details
    • Update svgr and use project svgo version – Details
  • Image

  • Vue

    • Upgrade consolidate to v1 – Details
  • Web Extensions

    • Allow both service_worker and scripts in MV3 Web Extensions – Details

v2.12.0

28 Feb 15:17
Compare
Choose a tag to compare

Blog post: https://parceljs.org/blog/v2-12-0/

Added

  • Core

    • Add REPL playground for Parcel to the website – Details
    • Improve package manager detection for auto install – Details
  • JavaScript

    • Add support for JS macros – Details
    • Statically evaluate constants referenced by macros – Details
    • Upgrade to ESLint 8 – Details
    • Bump swc – Details
  • 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

    • Adjacency list optimizations – Details
    • Break up request graph cache serialisation and run after build completion – Details

Fixed

  • Core

    • Drop per-pipeline transformation cache – Details
    • Clippy and use napi's Either3 – Details
    • Add lazy/eager cache key to avoid invalid change when switching modes – Details
  • JavaScript

    • Remove decl_collector pass and use SWC's unresolved_mark instead – Details
  • Bundler

    • Fix multiple css bundles in entry bundle groups issue – Details
    • Allow parallel type change bundles to be reused by async siblings – Details
    • Skip on missing parent asset for manual shared bundles – Details

Unstable

  • Add source map support to the inline-require optimizer – Details

v2.11.0

02 Jan 20:44
8ba5523
Compare
Choose a tag to compare

[2.11.0] - 2023-12-19

Added

  • Dev
    • Log build phase times for dev builds Details
    • Progress messages for writing to cache Details
    • VSC Extension JSON schema Details
    • Print phase times on development builds Details
    • Publish bundle-stats-cli and parcel-query Details

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

15 Nov 02:01
65d42a9
Compare
Choose a tag to compare

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 with export * - 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
  • WebExtension

    • Don't crash if WebExt has no content_scripts - Details
  • PostHTML, Pug, Stylus

    • Simplified calls to invalidateOnFileChange - Details