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