UNPKG

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