UNPKG

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