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