UNPKG

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