File tree 2 files changed +39
-1
lines changed
2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1
1
# @rollup/plugin-commonjs ChangeLog
2
2
3
+ ## v22.0.0
4
+
5
+ _ 2022-04-24_
6
+
7
+ ### Breaking Changes
8
+
9
+ - fix: add heuristic to deoptimize requires after calling imported function (requires
[email protected] ) (
#1038 )
10
+ - feat: reimplement dynamic import handling (requires Node 12, no longer supports require.cache) (#1038 )
11
+
12
+ ### Bugfixes
13
+
14
+ - fix: support CJS modules re-exporting transpiled ESM modules (#1165 )
15
+ - fix: Warn when plugins do not pass options to resolveId (#1038 )
16
+ - fix: Do not change semantics when removing requires in if statements (#1038 )
17
+ - fix: handle external dependencies when using the cache (#1038 )
18
+ - fix: proxy all entries to not break legacy polyfill plugins (#1038 )
19
+ - fix: use correct version and add package exports (#1038 )
20
+ - fix: validate node-resolve peer version (#1038 )
21
+ - fix: inject module name into dynamic require function (#1038 )
22
+ - fix: do not transform "typeof exports" for mixed modules (#1038 )
23
+ - fix: attach correct plugin meta-data to commonjs modules (#1038 )
24
+
25
+ ### Features
26
+
27
+ - feat: expose plugin version (#1038 )
28
+ - feat: throw for dynamic requires from outside the configured root (#1038 )
29
+ - feat: add dynamicRequireRoot option (#1038 )
30
+ - feat: auto-detect conditional requires (#1038 )
31
+ - feat: limit ignoreTryCatch to external requires (#1038 )
32
+ - feat: make namespace callable when requiring ESM with function default (#1038 )
33
+ - feat: Infer type for unidentified modules (#1038 )
34
+ - feat: automatically wrap cyclic modules (#1038 )
35
+ - feat: add strictRequires option to wrap modules (#1038 )
36
+
37
+ ### Updates
38
+
39
+ - refactor: deconflict helpers only once globals are known (#1038 )
40
+
3
41
## v21.1.0
4
42
5
43
_ 2022-04-15_
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @rollup/plugin-commonjs" ,
3
- "version" : " 21.1 .0" ,
3
+ "version" : " 22.0 .0" ,
4
4
"publishConfig" : {
5
5
"access" : " public"
6
6
},
You can’t perform that action at this time.
0 commit comments