UNPKG

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