Skip to content

Commit

Permalink
v2.10.1 release (#9327)
Browse files Browse the repository at this point in the history
* update changelog for 2.10.1

* Revert "update changelog for 2.10.1"

This reverts commit 53d76f5.

* fix changelog for v2.10.1

* update versions in package.json

* Revert "update versions in package.json"

This reverts commit 28a0c23.

* update packages with yarn lerna command

* update @parcel/babel-register in package.json manually

* yarn adjust-versions

* update changelog according to comments

* update changelog for latest commits to include in patch

* change parcel package dependency
range to * in root

* Revert "change parcel package dependency"

This reverts commit 00979c8.

* update changelog for latest changes to v2

---------

Co-authored-by: achan3 <[email protected]>
  • Loading branch information
adelchan07 and achan3 authored Oct 24, 2023
1 parent e92ba6c commit bba0417
Show file tree
Hide file tree
Showing 131 changed files with 638 additions and 579 deletions.
61 changes: 60 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,76 @@ 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-23

### Fixed

- Core

- Use modern node versions in CI [Details](https://github.com/parcel-bundler/parcel/pull/9323)
- Support multiple workspaces/clients in Parcel for VSCode [Details](https://github.com/parcel-bundler/parcel/pull/9278)

- Bundler

- Make sure to set unique key [Details](https://github.com/parcel-bundler/parcel/pull/9326)
- Fix bundler tests assertions on Windows [Details](https://github.com/parcel-bundler/parcel/pull/9333)

- JavaScript

- 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)
- Detect TSC polyfills to avoid marking them as CJS [Details](https://github.com/parcel-bundler/parcel/pull/9318)
- Remove `this` exports tracking for files with module syntax [Details](https://github.com/parcel-bundler/parcel/pull/9330)

### Unstable

- Bundler

- 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)

## [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 +84,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 +95,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 +106,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 +124,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 +141,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 +152,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 +188,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 +197,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 +216,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 +228,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 +241,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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@babel/core": "^7.22.11",
"@khanacademy/flow-to-ts": "^0.5.2",
"@napi-rs/cli": "^2.15.2",
"@parcel/babel-register": "2.10.0",
"@parcel/babel-register": "2.10.1",
"@types/node": "^15.12.4",
"cross-env": "^7.0.0",
"eslint": "^7.20.0",
Expand Down
14 changes: 7 additions & 7 deletions packages/bundlers/default/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parcel/bundler-default",
"version": "2.10.0",
"version": "2.10.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -17,14 +17,14 @@
"source": "src/DefaultBundler.js",
"engines": {
"node": ">= 12.0.0",
"parcel": "^2.10.0"
"parcel": "^2.10.1"
},
"dependencies": {
"@parcel/diagnostic": "2.10.0",
"@parcel/graph": "3.0.0",
"@parcel/plugin": "2.10.0",
"@parcel/rust": "2.10.0",
"@parcel/utils": "2.10.0",
"@parcel/diagnostic": "2.10.1",
"@parcel/graph": "3.0.1",
"@parcel/plugin": "2.10.1",
"@parcel/rust": "2.10.1",
"@parcel/utils": "2.10.1",
"nullthrows": "^1.1.1"
}
}
6 changes: 3 additions & 3 deletions packages/compressors/brotli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parcel/compressor-brotli",
"version": "2.10.0",
"version": "2.10.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -17,9 +17,9 @@
"source": "src/BrotliCompressor.js",
"engines": {
"node": ">= 12.0.0",
"parcel": "^2.10.0"
"parcel": "^2.10.1"
},
"dependencies": {
"@parcel/plugin": "2.10.0"
"@parcel/plugin": "2.10.1"
}
}
6 changes: 3 additions & 3 deletions packages/compressors/gzip/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parcel/compressor-gzip",
"version": "2.10.0",
"version": "2.10.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -17,9 +17,9 @@
"source": "src/GzipCompressor.js",
"engines": {
"node": ">= 12.0.0",
"parcel": "^2.10.0"
"parcel": "^2.10.1"
},
"dependencies": {
"@parcel/plugin": "2.10.0"
"@parcel/plugin": "2.10.1"
}
}
6 changes: 3 additions & 3 deletions packages/compressors/raw/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parcel/compressor-raw",
"version": "2.10.0",
"version": "2.10.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -17,9 +17,9 @@
"source": "src/RawCompressor.js",
"engines": {
"node": ">= 12.0.0",
"parcel": "^2.10.0"
"parcel": "^2.10.1"
},
"dependencies": {
"@parcel/plugin": "2.10.0"
"@parcel/plugin": "2.10.1"
}
}
Loading

0 comments on commit bba0417

Please sign in to comment.