UNPKG

10.8 kBMarkdownView Raw
1# @rollup/plugin-node-resolve ChangeLog
2
3## v13.0.1
4
5_2021-07-15_
6
7### Updates
8
9- docs: Document how to get Node.js exports resolution (#884)
10
11## v13.0.0
12
13_2021-05-04_
14
15### Breaking Changes
16
17- fix!: mark module as external if resolved module is external (#799)
18
19### Features
20
21- feat: Follow up to #843, refining exports and browser field interaction (#866)
22
23## v12.0.0
24
25_2021-05-04_
26
27### Breaking Changes
28
29- fix!: mark module as external if resolved module is external (#799)
30
31### Features
32
33- feat: Follow up to #843, refining exports and browser field interaction (#866)
34
35## v11.2.1
36
37_2021-03-26_
38
39### Bugfixes
40
41- fix: fs.exists is incorrectly promisified (#835)
42
43## v11.2.0
44
45_2021-02-14_
46
47### Features
48
49- feat: add `ignoreSideEffectsForRoot` option (#694)
50
51### Updates
52
53- chore: mark `url` as an external and throw on warning (#783)
54- docs: clearer "Resolving Built-Ins" doc (#782)
55
56## v11.1.1
57
58_2021-01-29_
59
60### Bugfixes
61
62- fix: only log last resolve error (#750)
63
64### Updates
65
66- docs: add clarification on the order of package entrypoints (#768)
67
68## v11.1.0
69
70_2021-01-15_
71
72### Features
73
74- feat: support pkg imports and export array (#693)
75
76## v11.0.1
77
78_2020-12-14_
79
80### Bugfixes
81
82- fix: export map specificity (#675)
83- fix: add missing type import (#668)
84
85### Updates
86
87- docs: corrected word "yse" to "use" (#723)
88
89## v11.0.0
90
91_2020-11-30_
92
93### Breaking Changes
94
95- refactor!: simplify builtins and remove `customResolveOptions` (#656)
96- feat!: Mark built-ins as external (#627)
97- feat!: support package entry points (#540)
98
99### Bugfixes
100
101- fix: refactor handling builtins, do not log warning if no local version (#637)
102
103### Updates
104
105- docs: fix import statements in examples in README.md (#646)
106
107## v10.0.0
108
109_2020-10-27_
110
111### Breaking Changes
112
113- fix!: resolve hash in path (#588)
114
115### Bugfixes
116
117- fix: do not ignore exceptions (#564)
118
119## v9.0.0
120
121_2020-08-13_
122
123### Breaking Changes
124
125- chore: update dependencies (e632469)
126
127### Updates
128
129- refactor: remove deep-freeze from dependencies (#529)
130- chore: clean up changelog (84dfddb)
131
132## v8.4.0
133
134_2020-07-12_
135
136### Features
137
138- feat: preserve search params and hashes (#487)
139- feat: support .js imports in TypeScript (#480)
140
141### Updates
142
143- docs: fix named export use in readme (#456)
144- docs: correct mainFields valid values (#469)
145
146## v8.1.0
147
148_2020-06-22_
149
150### Features
151
152- feat: add native node es modules support (#413)
153
154## v8.0.1
155
156_2020-06-05_
157
158### Bugfixes
159
160- fix: handle nested entry modules with the resolveOnly option (#430)
161
162## v8.0.0
163
164_2020-05-20_
165
166### Breaking Changes
167
168- feat: Add default export (#361)
169- feat: export defaults (#301)
170
171### Bugfixes
172
173- fix: resolve local files if `resolveOption` is set (#337)
174
175### Updates
176
177- docs: correct misspelling (#343)
178
179## v7.1.3
180
181_2020-04-12_
182
183### Bugfixes
184
185- fix: resolve symlinked entry point properly (#291)
186
187## v7.1.2
188
189_2020-04-12_
190
191### Updates
192
193- docs: fix url (#289)
194
195## v7.1.1
196
197_2020-02-03_
198
199### Bugfixes
200
201- fix: main fields regression (#196)
202
203## v7.1.0
204
205_2020-02-01_
206
207### Updates
208
209- refactor: clean codebase and fix external warnings (#155)
210
211## v7.0.0
212
213_2020-01-07_
214
215### Breaking Changes
216
217- feat: dedupe by package name (#99)
218
219## v6.1.0
220
221_2020-01-04_
222
223### Bugfixes
224
225- fix: allow deduplicating custom module dirs (#101)
226
227### Features
228
229- feat: add rootDir option (#98)
230
231### Updates
232
233- docs: improve doc related to mainFields (#138)
234
235## 6.0.0
236
237_2019-11-25_
238
239- **Breaking:** Minimum compatible Rollup version is 1.20.0
240- **Breaking:** Minimum supported Node version is 8.0.0
241- Published as @rollup/plugin-node-resolve
242
243## 5.2.1 (unreleased)
244
245- add missing MIT license file ([#233](https://github.com/rollup/rollup-plugin-node-resolve/pull/233) by @kenjiO)
246- Fix incorrect example of config ([#239](https://github.com/rollup/rollup-plugin-node-resolve/pull/240) by @myshov)
247- Fix typo in readme ([#240](https://github.com/rollup/rollup-plugin-node-resolve/pull/240) by @LinusU)
248
249## 5.2.0 (2019-06-29)
250
251- dedupe accepts a function ([#225](https://github.com/rollup/rollup-plugin-node-resolve/pull/225) by @manucorporat)
252
253## 5.1.1 (2019-06-29)
254
255- Move Rollup version check to buildStart hook to avoid issues ([#232](https://github.com/rollup/rollup-plugin-node-resolve/pull/232) by @lukastaegert)
256
257## 5.1.0 (2019-06-22)
258
259- Fix path fragment inputs ([#229](https://github.com/rollup/rollup-plugin-node-resolve/pull/229) by @bterlson)
260
261## 5.0.4 (2019-06-22)
262
263- Treat sideEffects array as inclusion list ([#227](https://github.com/rollup/rollup-plugin-node-resolve/pull/227) by @mikeharder)
264
265## 5.0.3 (2019-06-16)
266
267- Make empty.js a virtual module ([#224](https://github.com/rollup/rollup-plugin-node-resolve/pull/224) by @manucorporat)
268
269## 5.0.2 (2019-06-13)
270
271- Support resolve 1.11.1, add built-in test ([#223](https://github.com/rollup/rollup-plugin-node-resolve/pull/223) by @bterlson)
272
273## 5.0.1 (2019-05-31)
274
275- Update to resolve@1.11.0 for better performance ([#220](https://github.com/rollup/rollup-plugin-node-resolve/pull/220) by @keithamus)
276
277## 5.0.0 (2019-05-15)
278
279- Replace bublé with babel, update dependencies ([#216](https://github.com/rollup/rollup-plugin-node-resolve/pull/216) by @mecurc)
280- Handle module side-effects ([#219](https://github.com/rollup/rollup-plugin-node-resolve/pull/219) by @lukastaegert)
281
282### Breaking Changes
283
284- Requires at least rollup@1.11.0 to work (v1.12.0 for module side-effects to be respected)
285- If used with rollup-plugin-commonjs, it should be at least v10.0.0
286
287## 4.2.4 (2019-05-11)
288
289- Add note on builtins to Readme ([#215](https://github.com/rollup/rollup-plugin-node-resolve/pull/215) by @keithamus)
290- Add issue templates ([#217](https://github.com/rollup/rollup-plugin-node-resolve/pull/217) by @mecurc)
291- Improve performance by caching `isDir` ([#218](https://github.com/rollup/rollup-plugin-node-resolve/pull/218) by @keithamus)
292
293## 4.2.3 (2019-04-11)
294
295- Fix ordering of jsnext:main when using the jsnext option ([#209](https://github.com/rollup/rollup-plugin-node-resolve/pull/209) by @lukastaegert)
296
297## 4.2.2 (2019-04-10)
298
299- Fix TypeScript typings (rename and export Options interface) ([#206](https://github.com/rollup/rollup-plugin-node-resolve/pull/206) by @Kocal)
300- Fix mainfields typing ([#207](https://github.com/rollup/rollup-plugin-node-resolve/pull/207) by @nicolashenry)
301
302## 4.2.1 (2019-04-06)
303
304- Respect setting the deprecated fields "module", "main", and "jsnext" ([#204](https://github.com/rollup/rollup-plugin-node-resolve/pull/204) by @nick-woodward)
305
306## 4.2.0 (2019-04-06)
307
308- Add new mainfields option ([#182](https://github.com/rollup/rollup-plugin-node-resolve/pull/182) by @keithamus)
309- Added dedupe option to prevent bundling the same package multiple times ([#201](https://github.com/rollup/rollup-plugin-node-resolve/pull/182) by @sormy)
310
311## 4.1.0 (2019-04-05)
312
313- Add TypeScript typings ([#189](https://github.com/rollup/rollup-plugin-node-resolve/pull/189) by @NotWoods)
314- Update dependencies ([#202](https://github.com/rollup/rollup-plugin-node-resolve/pull/202) by @lukastaegert)
315
316## 4.0.1 (2019-02-22)
317
318- Fix issue when external modules are specified in `package.browser` ([#143](https://github.com/rollup/rollup-plugin-node-resolve/pull/143) by @keithamus)
319- Fix `package.browser` mapping issue when `false` is specified ([#183](https://github.com/rollup/rollup-plugin-node-resolve/pull/183) by @allex)
320
321## 4.0.0 (2018-12-09)
322
323This release will support rollup@1.0
324
325### Features
326
327- Resolve modules used to define manual chunks ([#185](https://github.com/rollup/rollup-plugin-node-resolve/pull/185) by @mcshaman)
328- Update dependencies and plugin hook usage ([#187](https://github.com/rollup/rollup-plugin-node-resolve/pull/187) by @lukastaegert)
329
330## 3.4.0 (2018-09-04)
331
332This release now supports `.mjs` files by default
333
334### Features
335
336- feat: Support .mjs files by default (https://github.com/rollup/rollup-plugin-node-resolve/pull/151, by @leebyron)
337
338## 3.3.0 (2018-03-17)
339
340This release adds the `only` option
341
342### New Features
343
344- feat: add `only` option (#83; @arantes555)
345
346### Docs
347
348- docs: correct description of `jail` option (#120; @GeorgeTaveras1231)
349
350## 3.2.0 (2018-03-07)
351
352This release caches reading/statting of files, to improve speed.
353
354### Performance Improvements
355
356- perf: cache file stats/reads (#126; @keithamus)
357
358## 3.0.4 (unreleased)
359
360- Update lockfile [#137](https://github.com/rollup/rollup-plugin-node-resolve/issues/137)
361- Update rollup dependency [#138](https://github.com/rollup/rollup-plugin-node-resolve/issues/138)
362- Enable installation from Github [#142](https://github.com/rollup/rollup-plugin-node-resolve/issues/142)
363
364## 3.0.3
365
366- Fix [#130](https://github.com/rollup/rollup-plugin-node-resolve/issues/130) and [#131](https://github.com/rollup/rollup-plugin-node-resolve/issues/131)
367
368## 3.0.2
369
370- Ensure `pkg.browser` is an object if necessary ([#129](https://github.com/rollup/rollup-plugin-node-resolve/pull/129))
371
372## 3.0.1
373
374- Remove `browser-resolve` dependency ([#127](https://github.com/rollup/rollup-plugin-node-resolve/pull/127))
375
376## 3.0.0
377
378- [BREAKING] Remove `options.skip` ([#90](https://github.com/rollup/rollup-plugin-node-resolve/pull/90))
379- Add `modulesOnly` option ([#96](https://github.com/rollup/rollup-plugin-node-resolve/pull/96))
380
381## 2.1.1
382
383- Prevent `jail` from breaking builds on Windows ([#93](https://github.com/rollup/rollup-plugin-node-resolve/issues/93))
384
385## 2.1.0
386
387- Add `jail` option ([#53](https://github.com/rollup/rollup-plugin-node-resolve/pull/53))
388- Add `customResolveOptions` option ([#79](https://github.com/rollup/rollup-plugin-node-resolve/pull/79))
389- Support symlinked packages ([#82](https://github.com/rollup/rollup-plugin-node-resolve/pull/82))
390
391## 2.0.0
392
393- Add support `module` field in package.json as an official alternative to jsnext
394
395## 1.7.3
396
397- Error messages are more descriptive ([#50](https://github.com/rollup/rollup-plugin-node-resolve/issues/50))
398
399## 1.7.2
400
401- Allow entry point paths beginning with ./
402
403## 1.7.1
404
405- Return a `name`
406
407## 1.7.0
408
409- Allow relative IDs to be external ([#32](https://github.com/rollup/rollup-plugin-node-resolve/pull/32))
410
411## 1.6.0
412
413- Skip IDs containing null character
414
415## 1.5.0
416
417- Prefer built-in options, but allow opting out ([#28](https://github.com/rollup/rollup-plugin-node-resolve/pull/28))
418
419## 1.4.0
420
421- Pass `options.extensions` through to `node-resolve`
422
423## 1.3.0
424
425- `skip: true` skips all packages that don't satisfy the `main` or `jsnext` options ([#16](https://github.com/rollup/rollup-plugin-node-resolve/pull/16))
426
427## 1.2.1
428
429- Support scoped packages in `skip` option ([#15](https://github.com/rollup/rollup-plugin-node-resolve/issues/15))
430
431## 1.2.0
432
433- Support `browser` field ([#8](https://github.com/rollup/rollup-plugin-node-resolve/issues/8))
434- Get tests to pass on Windows
435
436## 1.1.0
437
438- Use node-resolve to handle various corner cases
439
440## 1.0.0
441
442- Add ES6 build, use Rollup 0.20.0
443
444## 0.1.0
445
446- First release