| 1 |
# Changelog |
| 2 |
|
| 3 |
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. |
| 4 |
|
| 5 |
## [2.0.2](https://github.com/istanbuljs/istanbul-lib-processinfo/compare/v2.0.1...v2.0.2) (2019-10-08) |
| 6 |
|
| 7 |
|
| 8 |
### Changes |
| 9 |
|
| 10 |
* Update to use async API's from nyc@15 ([#15](https://github.com/istanbuljs/istanbul-lib-processinfo/issues/15)) ([987f36b](https://github.com/istanbuljs/istanbul-lib-processinfo/commit/987f36b)) |
| 11 |
|
| 12 |
## [2.0.1](https://github.com/istanbuljs/istanbul-lib-processinfo/compare/v2.0.0...v2.0.1) (2019-10-07) |
| 13 |
|
| 14 |
|
| 15 |
### ⚠ BREAKING CHANGES |
| 16 |
|
| 17 |
* ProcessInfo#save is now async |
| 18 |
* ProcessInfo#getCoverageMap is now async |
| 19 |
* ProcessDB#writeIndex is now async |
| 20 |
* ProcessDB#readIndex is now async |
| 21 |
* ProcessDB#readProcessInfos is now async |
| 22 |
* ProcessDB#renderTree is now async |
| 23 |
* ProcessDB#buildProcessTree is now async |
| 24 |
* ProcessDB#getCoverageMap is now async |
| 25 |
* ProcessDB#spawn now returns a Promise which resolves to |
| 26 |
the child process object |
| 27 |
* ProcessDB#spawnSync has been removed |
| 28 |
* ProcessDB#expunge is now async |
| 29 |
|
| 30 |
### Bug Fixes |
| 31 |
|
| 32 |
* Update dependencies ([e52e64e](https://github.com/istanbuljs/istanbul-lib-processinfo/commit/e52e64e)) |
| 33 |
|
| 34 |
|
| 35 |
### Features |
| 36 |
|
| 37 |
* Use async where possible ([#14](https://github.com/istanbuljs/istanbul-lib-processinfo/issues/14)) ([67378ab](https://github.com/istanbuljs/istanbul-lib-processinfo/commit/67378ab)) |
| 38 |
|
| 39 |
## [2.0.0](https://github.com/istanbuljs/istanbul-lib-processinfo/compare/v1.0.0...v2.0.0) (2019-06-20) |
| 40 |
|
| 41 |
|
| 42 |
### Bug Fixes |
| 43 |
|
| 44 |
* Do not crash when nyc is run inside itself. ([#3](https://github.com/istanbuljs/istanbul-lib-processinfo/issues/3)) ([1774277](https://github.com/istanbuljs/istanbul-lib-processinfo/commit/1774277)), closes [istanbuljs/nyc#1068](https://github.com/istanbuljs/istanbul-lib-processinfo/issues/1068) |
| 45 |
* Eagerly resolve processInfoDirectory ([#8](https://github.com/istanbuljs/istanbul-lib-processinfo/issues/8)) ([c2a5fa8](https://github.com/istanbuljs/istanbul-lib-processinfo/commit/c2a5fa8)) |
| 46 |
* Just use externalId from argument. ([#7](https://github.com/istanbuljs/istanbul-lib-processinfo/issues/7)) ([d25b1ed](https://github.com/istanbuljs/istanbul-lib-processinfo/commit/d25b1ed)) |
| 47 |
* Name field/property `directory` ([#11](https://github.com/istanbuljs/istanbul-lib-processinfo/issues/11)) ([b70207e](https://github.com/istanbuljs/istanbul-lib-processinfo/commit/b70207e)) |
| 48 |
* Remove `root` from processinfo ([#9](https://github.com/istanbuljs/istanbul-lib-processinfo/issues/9)) ([2c2086a](https://github.com/istanbuljs/istanbul-lib-processinfo/commit/2c2086a)) |
| 49 |
* Switch from mkdirp to make-dir, add to dependencies ([#5](https://github.com/istanbuljs/istanbul-lib-processinfo/issues/5)) ([63b5e19](https://github.com/istanbuljs/istanbul-lib-processinfo/commit/63b5e19)) |
| 50 |
|
| 51 |
|
| 52 |
### Features |
| 53 |
|
| 54 |
* Require Node.js 8, update dependencies ([#10](https://github.com/istanbuljs/istanbul-lib-processinfo/issues/10)) ([36f03c0](https://github.com/istanbuljs/istanbul-lib-processinfo/commit/36f03c0)) |
| 55 |
|
| 56 |
|
| 57 |
### BREAKING CHANGES |
| 58 |
|
| 59 |
* ProcessInfo field and property `processInfoDirectory` is |
| 60 |
renamed to `directory`. |
| 61 |
* ProcessDB readonly property `dir` is renamed to |
| 62 |
`directory`. |
| 63 |
* ProcessInfo directory must be set if `.save()` will be |
| 64 |
used. It is no longer calculated from NYC_CONFIG environment. |
| 65 |
* Require Node.js 8, update dependencies (#10) |
| 66 |
* The `root` field has been removed from processinfo files. |