UNPKG

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