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