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