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