1 | # Changelog
|
2 |
|
3 | ## 3.0.1
|
4 |
|
5 | - Fixed: memory leak due to bug in `require-from-string`.
|
6 | - Added: for JSON files, append position to end of error message.
|
7 |
|
8 | ## 3.0.0
|
9 |
|
10 | - Removed: support for loading config path using the `--config` flag. cosmiconfig will not parse command line arguments. Your application can parse command line arguments and pass them to cosmiconfig.
|
11 | - Removed: `argv` config option.
|
12 | - Removed: support for Node versions < 4.
|
13 | - Added: `sync` option.
|
14 | - Fixed: Throw a clear error on getting empty config file.
|
15 | - Fixed: when a `options.configPath` is `package.json`, return the package prop, not the entire JSON file.
|
16 |
|
17 | ## 2.2.2
|
18 |
|
19 | - Fixed: `options.configPath` and `--config` flag are respected.
|
20 |
|
21 | ## 2.2.0, 2.2.1
|
22 |
|
23 | - 2.2.0 included a number of improvements but somehow broke stylelint. The changes were reverted in 2.2.1, to be restored later.
|
24 |
|
25 | ## 2.1.3
|
26 |
|
27 | - Licensing improvement: switched from `json-parse-helpfulerror` to `parse-json`.
|
28 |
|
29 | ## 2.1.2
|
30 |
|
31 | - Fixed: bug where an `ENOENT` error would be thrown is `searchPath` referenced a non-existent file.
|
32 | - Fixed: JSON parsing errors in Node v7.
|
33 |
|
34 | ## 2.1.1
|
35 |
|
36 | - Fixed: swapped `graceful-fs` for regular `fs`, fixing a garbage collection problem.
|
37 |
|
38 | ## 2.1.0
|
39 |
|
40 | - Added: Node 0.12 support.
|
41 |
|
42 | ## 2.0.2
|
43 |
|
44 | - Fixed: Node version specified in `package.json`.
|
45 |
|
46 | ## 2.0.1
|
47 |
|
48 | - Fixed: no more infinite loop in Windows.
|
49 |
|
50 | ## 2.0.0
|
51 |
|
52 | - Changed: module now creates cosmiconfig instances with `load` methods (see README).
|
53 | - Added: caching (enabled by the change above).
|
54 | - Removed: support for Node versions <4.
|
55 |
|
56 | ## 1.1.0
|
57 |
|
58 | - Add `rcExtensions` option.
|
59 |
|
60 | ## 1.0.2
|
61 |
|
62 | - Fix handling of `require()`'s within JS module configs.
|
63 |
|
64 | ## 1.0.1
|
65 |
|
66 | - Switch Promise implementation to pinkie-promise.
|
67 |
|
68 | ## 1.0.0
|
69 |
|
70 | - Initial release.
|
71 |
|
\ | No newline at end of file |