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