UNPKG

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