You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 3.7 KiB

3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # Change Log
  2. All notable changes to this module will be documented in this file.
  3. This project adheres to [Semantic Versioning](http://semver.org/).
  4. This change log adheres to standards from [Keep a CHANGELOG](http://keepachangelog.com).
  5. ## Unreleased
  6. ## v2.6.0 - 2020-03-28
  7. ### Added
  8. [New] Print more helpful info if parsing fails ([#1671], thanks [@kaiyoma])
  9. ## v2.5.2 - 2020-01-12
  10. ### Fixed
  11. - Makes the loader resolution more tolerant ([#1606], thanks [@arcanis])
  12. - Use `createRequire` instead of `createRequireFromPath` if available ([#1602], thanks [@iamnapo])
  13. ## v2.5.1 - 2020-01-11
  14. ### Fixed
  15. - Uses createRequireFromPath to resolve loaders ([#1591], thanks [@arcanis])
  16. - report the error stack on a resolution error ([#599], thanks [@sompylasar])
  17. ## v2.5.0 - 2019-12-07
  18. ### Added
  19. - support `parseForESLint` from custom parser ([#1435], thanks [@JounQin])
  20. ### Changed
  21. - Avoid superfluous calls and code ([#1551], thanks [@brettz9])
  22. ## v2.4.1 - 2019-07-19
  23. ### Fixed
  24. - Improve parse perf when using `@typescript-eslint/parser` ([#1409], thanks [@bradzacher])
  25. - Improve support for TypeScript declare structures ([#1356], thanks [@christophercurrie])
  26. ## v2.4.0 - 2019-04-13
  27. ### Added
  28. - no-useless-path-segments: Add noUselessIndex option ([#1290], thanks [@timkraut])
  29. ### Fixed
  30. - Fix overwriting of dynamic import() CallExpression ([`no-cycle`], [`no-relative-parent-import`], [`no-unresolved`], [`no-useless-path-segments`]) ([#1218], [#1166], [#1035], thanks [@vikr01])
  31. ## v2.3.0 - 2019-01-22
  32. ### Fixed
  33. - use `process.hrtime()` for cache dates ([#1160], thanks [@hulkish])
  34. ## v2.2.0 - 2018-03-29
  35. ### Changed
  36. - `parse`: attach node locations by default.
  37. - `moduleVisitor`: visitor now gets the full `import` statement node as a second
  38. argument, so rules may report against the full statement / `require` call instead
  39. of only the string literal node.
  40. ## v2.1.1 - 2017-06-22
  41. Re-releasing v2.1.0 after vetting (again) and unable to reproduce issue.
  42. ## v2.1.0 - 2017-06-02 [YANKED]
  43. Yanked due to critical issue with cache key resulting from #839.
  44. ### Added
  45. - `parse` now additionally passes `filePath` to `parser` in `parserOptions` like `eslint` core does
  46. ## v2.0.0 - 2016-11-07
  47. ### Changed
  48. - `unambiguous` no longer exposes fast test regex
  49. ### Fixed
  50. - `unambiguous.test()` regex is now properly in multiline mode
  51. [#1671]: https://github.com/benmosher/eslint-plugin-import/pull/1671
  52. [#1606]: https://github.com/benmosher/eslint-plugin-import/pull/1606
  53. [#1602]: https://github.com/benmosher/eslint-plugin-import/pull/1602
  54. [#1591]: https://github.com/benmosher/eslint-plugin-import/pull/1591
  55. [#1551]: https://github.com/benmosher/eslint-plugin-import/pull/1551
  56. [#1435]: https://github.com/benmosher/eslint-plugin-import/pull/1435
  57. [#1409]: https://github.com/benmosher/eslint-plugin-import/pull/1409
  58. [#1356]: https://github.com/benmosher/eslint-plugin-import/pull/1356
  59. [#1290]: https://github.com/benmosher/eslint-plugin-import/pull/1290
  60. [#1218]: https://github.com/benmosher/eslint-plugin-import/pull/1218
  61. [#1166]: https://github.com/benmosher/eslint-plugin-import/issues/1166
  62. [#1160]: https://github.com/benmosher/eslint-plugin-import/pull/1160
  63. [#1035]: https://github.com/benmosher/eslint-plugin-import/issues/1035
  64. [#599]: https://github.com/benmosher/eslint-plugin-import/pull/599
  65. [@hulkish]: https://github.com/hulkish
  66. [@timkraut]: https://github.com/timkraut
  67. [@vikr01]: https://github.com/vikr01
  68. [@bradzacher]: https://github.com/bradzacher
  69. [@christophercurrie]: https://github.com/christophercurrie
  70. [@brettz9]: https://github.com/brettz9
  71. [@JounQin]: https://github.com/JounQin
  72. [@arcanis]: https://github.com/arcanis
  73. [@sompylasar]: https://github.com/sompylasar
  74. [@iamnapo]: https://github.com/iamnapo
  75. [@kaiyoma]: https://github.com/kaiyoma