Skip to content

Commit bba0417

Browse files
adelchan07achan3
and
achan3
authored
v2.10.1 release (#9327)
* 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]>
1 parent e92ba6c commit bba0417

File tree

131 files changed

+638
-579
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+638
-579
lines changed

CHANGELOG.md

+60-1
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,76 @@ All notable changes to Parcel will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [2.10.1] – 2023-10-23
9+
10+
### Fixed
11+
12+
- Core
13+
14+
- Use modern node versions in CI [Details](https://github.com/parcel-bundler/parcel/pull/9323)
15+
- Support multiple workspaces/clients in Parcel for VSCode [Details](https://github.com/parcel-bundler/parcel/pull/9278)
16+
17+
- Bundler
18+
19+
- Make sure to set unique key [Details](https://github.com/parcel-bundler/parcel/pull/9326)
20+
- Fix bundler tests assertions on Windows [Details](https://github.com/parcel-bundler/parcel/pull/9333)
21+
22+
- JavaScript
23+
24+
- 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)
25+
- Detect TSC polyfills to avoid marking them as CJS [Details](https://github.com/parcel-bundler/parcel/pull/9318)
26+
- Remove `this` exports tracking for files with module syntax [Details](https://github.com/parcel-bundler/parcel/pull/9330)
27+
28+
### Unstable
29+
30+
- Bundler
31+
32+
- Fix inline constants in shared bundles [Details](https://github.com/parcel-bundler/parcel/pull/9313)
33+
- Ensure manualSharedBundles have unique names [Details](https://github.com/parcel-bundler/parcel/pull/9298)
34+
- Simplify MSB code for code split bundle creation section [Details](https://github.com/parcel-bundler/parcel/pull/9312)
35+
836
## [2.10.0] – 2023-10-11
937

1038
### Added
1139

1240
- Core
41+
1342
- 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)
1443
- Merge all native Rust modules into one package – [Details](https://github.com/parcel-bundler/parcel/pull/9146)
1544
- Add async resolver and JS transformer functions using rayon – [Details](https://github.com/parcel-bundler/parcel/pull/9147)
1645
- Support "register" tools in module loader (e.g. `@babel/register`, `esbuild-register`, `ts-node`) – [Details](https://github.com/parcel-bundler/parcel/pull/9285)
1746
- Limit default number of JS workers to 4 to improve memory usage/performance – [Details](https://github.com/parcel-bundler/parcel/pull/9300)
1847

1948
- Bundler
49+
2050
- Optimize bundler performance – [Details](https://github.com/parcel-bundler/parcel/pull/9266)
2151
- Add disableSharedBundles config option – [Details](https://github.com/parcel-bundler/parcel/pull/9209)
2252

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

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

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

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

3872
- XML
73+
3974
- Transform xml-stylesheet processing instructions – [Details](https://github.com/parcel-bundler/parcel/pull/9102)
4075

4176
- Web Extensions
77+
4278
- Add support for Chrome Extension manifest V3 side_panel property – [Details](https://github.com/parcel-bundler/parcel/pull/9178)
4379
- Improve HMR for web extensions – [Details](https://github.com/parcel-bundler/parcel/pull/9068)
4480

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

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

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

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

74113
- Images
114+
75115
- Bump oxipng from 6.0.0 -> 8.0.0 – [Details](https://github.com/parcel-bundler/parcel/pull/9135)
76116

77117
- Sass
118+
78119
- Fix sass import edge case – [Details](https://github.com/parcel-bundler/parcel/pull/9256)
79120

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

85126
- Core
127+
86128
- Expose unstable_transform and unstable_resolve APIs – [Details](https://github.com/parcel-bundler/parcel/pull/9193)
87129

88130
- Bundler
131+
89132
- Add unstable manual shared bundles config – [Details](https://github.com/parcel-bundler/parcel/pull/9251)
90133

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

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

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

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

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

117163
- CSS
164+
118165
- 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)
119166

120167
- Dev server
168+
121169
- Serve folder's index when requesting folder without slash – [Details](https://github.com/parcel-bundler/parcel/pull/9066)
122170

123171
- Web extensions
172+
124173
- Allow source maps files in webextension – [Details](https://github.com/parcel-bundler/parcel/pull/8541)
125174

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

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

149199
- Resolver
200+
150201
- 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)
151202

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

157209
- Bundler
210+
158211
- Use BitSet for bundler intersections for improved performance – [Details](https://github.com/parcel-bundler/parcel/pull/8862)
159212

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

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

176230
- JavaScript
231+
177232
- Sort global deps before injecting imports to reduce cache invalidations – [Details](https://github.com/parcel-bundler/parcel/pull/8818)
178233
- Only add export setter for non-ESM exports – [Details](https://github.com/parcel-bundler/parcel/pull/8910)
179234
- 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),
180-
[Details](https://github.com/parcel-bundler/parcel/pull/9034)
235+
[Details](https://github.com/parcel-bundler/parcel/pull/9034)
181236
- Deduplicate imports in hoist transformer – [Details](https://github.com/parcel-bundler/parcel/pull/8954)
182237
- Allow buffer polyfill v5 or v6 – [Details](https://github.com/parcel-bundler/parcel/pull/8959)
183238
- Fix packaging of synchronous reused bundles – [Details](https://github.com/parcel-bundler/parcel/pull/8934)
@@ -186,18 +241,22 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
186241
- Hoist exports to allow circular dependencies – [Details](https://github.com/parcel-bundler/parcel/pull/9024)
187242

188243
- TypeScript
244+
189245
- Throw diagnostics as error on empty emit - [Details](https://github.com/parcel-bundler/parcel/pull/8914)
190246

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

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

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

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@babel/core": "^7.22.11",
4040
"@khanacademy/flow-to-ts": "^0.5.2",
4141
"@napi-rs/cli": "^2.15.2",
42-
"@parcel/babel-register": "2.10.0",
42+
"@parcel/babel-register": "2.10.1",
4343
"@types/node": "^15.12.4",
4444
"cross-env": "^7.0.0",
4545
"eslint": "^7.20.0",

packages/bundlers/default/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@parcel/bundler-default",
3-
"version": "2.10.0",
3+
"version": "2.10.1",
44
"license": "MIT",
55
"publishConfig": {
66
"access": "public"
@@ -17,14 +17,14 @@
1717
"source": "src/DefaultBundler.js",
1818
"engines": {
1919
"node": ">= 12.0.0",
20-
"parcel": "^2.10.0"
20+
"parcel": "^2.10.1"
2121
},
2222
"dependencies": {
23-
"@parcel/diagnostic": "2.10.0",
24-
"@parcel/graph": "3.0.0",
25-
"@parcel/plugin": "2.10.0",
26-
"@parcel/rust": "2.10.0",
27-
"@parcel/utils": "2.10.0",
23+
"@parcel/diagnostic": "2.10.1",
24+
"@parcel/graph": "3.0.1",
25+
"@parcel/plugin": "2.10.1",
26+
"@parcel/rust": "2.10.1",
27+
"@parcel/utils": "2.10.1",
2828
"nullthrows": "^1.1.1"
2929
}
3030
}

packages/compressors/brotli/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@parcel/compressor-brotli",
3-
"version": "2.10.0",
3+
"version": "2.10.1",
44
"license": "MIT",
55
"publishConfig": {
66
"access": "public"
@@ -17,9 +17,9 @@
1717
"source": "src/BrotliCompressor.js",
1818
"engines": {
1919
"node": ">= 12.0.0",
20-
"parcel": "^2.10.0"
20+
"parcel": "^2.10.1"
2121
},
2222
"dependencies": {
23-
"@parcel/plugin": "2.10.0"
23+
"@parcel/plugin": "2.10.1"
2424
}
2525
}

packages/compressors/gzip/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@parcel/compressor-gzip",
3-
"version": "2.10.0",
3+
"version": "2.10.1",
44
"license": "MIT",
55
"publishConfig": {
66
"access": "public"
@@ -17,9 +17,9 @@
1717
"source": "src/GzipCompressor.js",
1818
"engines": {
1919
"node": ">= 12.0.0",
20-
"parcel": "^2.10.0"
20+
"parcel": "^2.10.1"
2121
},
2222
"dependencies": {
23-
"@parcel/plugin": "2.10.0"
23+
"@parcel/plugin": "2.10.1"
2424
}
2525
}

packages/compressors/raw/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@parcel/compressor-raw",
3-
"version": "2.10.0",
3+
"version": "2.10.1",
44
"license": "MIT",
55
"publishConfig": {
66
"access": "public"
@@ -17,9 +17,9 @@
1717
"source": "src/RawCompressor.js",
1818
"engines": {
1919
"node": ">= 12.0.0",
20-
"parcel": "^2.10.0"
20+
"parcel": "^2.10.1"
2121
},
2222
"dependencies": {
23-
"@parcel/plugin": "2.10.0"
23+
"@parcel/plugin": "2.10.1"
2424
}
2525
}

0 commit comments

Comments
 (0)