UNPKG

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