Skip to content

Commit

Permalink
update changelog for 2.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
achan3 committed Oct 18, 2023
1 parent 060561e commit 53d76f5
Showing 1 changed file with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,61 @@ All notable changes to Parcel will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.10.1] – 2023-10-18

### Fixed

- Bundler
- Add logic to disable scope hoisting if the `this` key word is pointing to an export module [Details](https://github.com/parcel-bundler/parcel/pull/9291)
- updates the `build-bundles` script to use `rimraf` instead of `rm -rf` [Details](https://github.com/parcel-bundler/parcel/pull/9314)
- Fix inline constants in shared bundles [Details](https://github.com/parcel-bundler/parcel/pull/9313)
- Ensure manualSharedBundles have unique names [Details](https://github.com/parcel-bundler/parcel/pull/9298)
- Simplify MSB code for code split bundle creation section [Details](https://github.com/parcel-bundler/parcel/pull/9312)
- JavaScript
- Detect TSC polyfills to avoid marking them as CJS [Details](https://github.com/parcel-bundler/parcel/pull/9318)

## [2.10.0] – 2023-10-11

### Added

- Core

- Add support for include and exclude globs for `--lazy` mode – [Details](https://github.com/parcel-bundler/parcel/pull/9166), [Details](https://github.com/parcel-bundler/parcel/pull/9260)
- Merge all native Rust modules into one package – [Details](https://github.com/parcel-bundler/parcel/pull/9146)
- Add async resolver and JS transformer functions using rayon – [Details](https://github.com/parcel-bundler/parcel/pull/9147)
- Support "register" tools in module loader (e.g. `@babel/register`, `esbuild-register`, `ts-node`) – [Details](https://github.com/parcel-bundler/parcel/pull/9285)
- Limit default number of JS workers to 4 to improve memory usage/performance – [Details](https://github.com/parcel-bundler/parcel/pull/9300)

- Bundler

- Optimize bundler performance – [Details](https://github.com/parcel-bundler/parcel/pull/9266)
- Add disableSharedBundles config option – [Details](https://github.com/parcel-bundler/parcel/pull/9209)

- Resolver

- Support node: prefix for CJS dependencies – [Details](https://github.com/parcel-bundler/parcel/pull/9244), [Details](https://github.com/parcel-bundler/parcel/pull/9250)

- JavaScript

- Add import helper to decrease ESM loader runtime footprint – [Details](https://github.com/parcel-bundler/parcel/pull/9148)
- Support parallel bundle imports in libraries – [Details](https://github.com/parcel-bundler/parcel/pull/9156)
- Only include `globalThis` polyfill for old browsers – [Details](https://github.com/parcel-bundler/parcel/pull/9199)
- Updated parcelRequire.register to be minifiable – [Details](https://github.com/parcel-bundler/parcel/pull/9216)

- CSS

- Add include and exclude globs for CSS modules – [Details](https://github.com/parcel-bundler/parcel/pull/9301)

- WASM

- Add WASM packager with source map support – [Details](https://github.com/parcel-bundler/parcel/pull/9009)

- XML

- Transform xml-stylesheet processing instructions – [Details](https://github.com/parcel-bundler/parcel/pull/9102)

- Web Extensions

- Add support for Chrome Extension manifest V3 side_panel property – [Details](https://github.com/parcel-bundler/parcel/pull/9178)
- Improve HMR for web extensions – [Details](https://github.com/parcel-bundler/parcel/pull/9068)

Expand All @@ -48,6 +69,7 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
### Fixed

- Core

- Query glibc version only once to speed up JSTransformer on Linux – [Details](https://github.com/parcel-bundler/parcel/pull/9117)
- Refresh cache before writing contents to bundle – [Details](https://github.com/parcel-bundler/parcel/pull/9123)
- Fix `--lazy` mode bugs – [Details](https://github.com/parcel-bundler/parcel/pull/9093)
Expand All @@ -58,6 +80,7 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
- Fix bug with cache and glob entries – [Details](https://github.com/parcel-bundler/parcel/pull/9264)

- JavaScript

- Migrate to swc_core – [Details](https://github.com/parcel-bundler/parcel/pull/9131)
- Move ESM loader runtime to absolute URLs – [Details](https://github.com/parcel-bundler/parcel/pull/9172)
- Fix duplicate asset references – [Details](https://github.com/parcel-bundler/parcel/pull/9109)
Expand All @@ -68,13 +91,16 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
- Add tests for non-identifier symbol names – [Details](https://github.com/parcel-bundler/parcel/pull/8388)

- Bundler

- Exclude inline assests from parallel request limit – [Details](https://github.com/parcel-bundler/parcel/pull/9194)
- Fix unexpected undefined when creating shared bundles – [Details](https://github.com/parcel-bundler/parcel/pull/9195)

- Images

- Bump oxipng from 6.0.0 -> 8.0.0 – [Details](https://github.com/parcel-bundler/parcel/pull/9135)

- Sass

- Fix sass import edge case – [Details](https://github.com/parcel-bundler/parcel/pull/9256)

- Dev Server
Expand All @@ -83,9 +109,11 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
### Unstable

- Core

- Expose unstable_transform and unstable_resolve APIs – [Details](https://github.com/parcel-bundler/parcel/pull/9193)

- Bundler

- Add unstable manual shared bundles config – [Details](https://github.com/parcel-bundler/parcel/pull/9251)

- JavaScript
Expand All @@ -98,6 +126,7 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
### Fixed

- Resolver

- Fix the development and production package conditions – [Details](https://github.com/parcel-bundler/parcel/pull/9108)

- JavaScript
Expand All @@ -108,19 +137,24 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
### Fixed

- Core

- Fix infinite loop when entries look like globs – [Details](https://github.com/parcel-bundler/parcel/pull/9020)
- Fix proxyrc require from path – [Details](https://github.com/parcel-bundler/parcel/pull/9069)

- JavaScript

- Treat re-exports of `*` from empty files with `sideEffects: false` as ESM – [Details](https://github.com/parcel-bundler/parcel/pull/9079)

- 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](https://github.com/parcel-bundler/parcel/pull/9080)

- Dev server

- Serve folder's index when requesting folder without slash – [Details](https://github.com/parcel-bundler/parcel/pull/9066)

- Web extensions

- Allow source maps files in webextension – [Details](https://github.com/parcel-bundler/parcel/pull/8541)

- Image
Expand All @@ -139,6 +173,7 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
### Added

- Core

- Add support for ESM plugins and configs – [Details](https://github.com/parcel-bundler/parcel/pull/8913)
- Add support for local parcel plugins – [Details](https://github.com/parcel-bundler/parcel/pull/8925)
- Incremental Symbol Propagation for improved performance and improved export errors in development – [Details](https://github.com/parcel-bundler/parcel/pull/8723)
Expand All @@ -147,14 +182,17 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
- Add support for `loadConfig` function to resolver plugins – [Details](https://github.com/parcel-bundler/parcel/pull/8847)

- Resolver

- New resolver implementation in Rust supporting package.json "exports" and "imports", and tsconfig.json "baseUrl", "paths", and "moduleSuffixes" – [Details](https://github.com/parcel-bundler/parcel/pull/8807)

- JavaScript

- Switch to SWC minifier instead of Terser by default – [Details](https://github.com/parcel-bundler/parcel/pull/8860)
- Split large runtime manifest into separate bundles to reduce cache invalidations – [Details](https://github.com/parcel-bundler/parcel/pull/8837)
- Respect `addExternalDependency` in Babel plugins – [Details](https://github.com/parcel-bundler/parcel/pull/7820)

- Bundler

- Use BitSet for bundler intersections for improved performance – [Details](https://github.com/parcel-bundler/parcel/pull/8862)

- Web Extensions
Expand All @@ -163,6 +201,7 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
### Fixed

- Core

- Improve error message when bundles do not have unique file names – [Details](https://github.com/parcel-bundler/parcel/pull/8784)
- Bump napi-rs to latest – [Details](https://github.com/parcel-bundler/parcel/pull/8838), [Details](https://github.com/parcel-bundler/parcel/pull/8918)
- Fix pnpm autoinstall – [Details](https://github.com/parcel-bundler/parcel/pull/8788)
Expand All @@ -174,10 +213,11 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
- Bump `fastest-levenshtein` and `xmldom` dependencies – [Details](https://github.com/parcel-bundler/parcel/pull/9017)

- JavaScript

- Sort global deps before injecting imports to reduce cache invalidations – [Details](https://github.com/parcel-bundler/parcel/pull/8818)
- Only add export setter for non-ESM exports – [Details](https://github.com/parcel-bundler/parcel/pull/8910)
- Bump SWC – [Details](https://github.com/parcel-bundler/parcel/pull/8881), [Details](https://github.com/parcel-bundler/parcel/pull/8933), [Details](https://github.com/parcel-bundler/parcel/pull/8983), [Details](https://github.com/parcel-bundler/parcel/pull/9010),
[Details](https://github.com/parcel-bundler/parcel/pull/9034)
[Details](https://github.com/parcel-bundler/parcel/pull/9034)
- Deduplicate imports in hoist transformer – [Details](https://github.com/parcel-bundler/parcel/pull/8954)
- Allow buffer polyfill v5 or v6 – [Details](https://github.com/parcel-bundler/parcel/pull/8959)
- Fix packaging of synchronous reused bundles – [Details](https://github.com/parcel-bundler/parcel/pull/8934)
Expand All @@ -186,18 +226,22 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
- Hoist exports to allow circular dependencies – [Details](https://github.com/parcel-bundler/parcel/pull/9024)

- TypeScript

- Throw diagnostics as error on empty emit - [Details](https://github.com/parcel-bundler/parcel/pull/8914)

- CSS

- Sort CSS module exports to reduce cache invalidations – [Details](https://github.com/parcel-bundler/parcel/pull/8817)

- Bundler

- Fix missing edge error when using for multiple targets – [Details](https://github.com/parcel-bundler/parcel/pull/8854)
- Fix non-deterministic builds between project directories – [Details](https://github.com/parcel-bundler/parcel/pull/8869)
- Fix css-module related build error in bundling – [Details](https://github.com/parcel-bundler/parcel/pull/8885)
- Fix multiple entries pointing to wrong bundle in dist – [Details](https://github.com/parcel-bundler/parcel/pull/8991)

- Dev server

- Don't error during HMR on `<link>` elements without hrefs – [Details](https://github.com/parcel-bundler/parcel/pull/8800)
- Improve server index file matching – [Details](https://github.com/parcel-bundler/parcel/pull/8957)
- Don't send HMR updates before packaging in watch mode – [Details](https://github.com/parcel-bundler/parcel/pull/9026)
Expand Down

0 comments on commit 53d76f5

Please sign in to comment.