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