|
1 | 1 | # Change Log |
2 | 2 |
|
| 3 | +## [0.10.0](https://github.com/nodegit/nodegit/releases/tag/v0.10.0) (2016-02-01) |
| 4 | + |
| 5 | +[Full Changelog](https://github.com/nodegit/nodegit/compare/v0.9.0...v0.10.0) |
| 6 | + |
| 7 | +- Clean mutexes are part of GC. No longer leaves processes running after the script ends [PR #880](https://github.com/nodegit/nodegit/pull/880 |
| 8 | +- Increased the performance of `ConvenientPatch` by an order of magnitude [PR #883](https://github.com/nodegit/nodegit/pull/883 |
| 9 | + |
| 10 | +# API changes |
| 11 | +- `ConvenientPatch` |
| 12 | + - `ConvenientPatch` does not have a `patch` or a `delta` property associated with it, if you were using the `delta`, please just use prototype methods `oldFIle`, `newFile`, and `Status`, which are stripped directly from the `delta`. |
| 13 | + - `ConvenientPatch#hunks` returns a promise with an array of `ConvenientHunks`. |
| 14 | +- `ConvenientHunk` |
| 15 | + - `ConvenientHunk` does not have an exposed diffHunk associated with it, but does have the same members as diffHunk: |
| 16 | + - `size()` : number of lines in the hunk |
| 17 | + - `oldStart()` : old starting position |
| 18 | + - `oldLines()` : number of lines in old file |
| 19 | + - `newStart()` : new starting position |
| 20 | + - `newLines()` : number of lines in new file |
| 21 | + - `headerLen()` : length of header |
| 22 | + - `header()` : returns the header of the hunk |
| 23 | + - `lines()` : returns a promise containing `DiffLines`, not `ConvenientLines`. |
| 24 | +- `DiffLine` |
| 25 | +- `DiffLine` now contains the members `rawContent()` and `content()`. |
| 26 | + - `rawContent()` contains the unformatted content of the line. This is no longer a string from the line to the end of the file. |
| 27 | + - `content()` contains the utf8 formatted content of the line. |
| 28 | + |
3 | 29 | ## [0.9.0](https://github.com/nodegit/nodegit/releases/tag/v0.9.0) (2016-01-21) |
4 | 30 |
|
5 | | -[Full Changelog](https://github.com/nodegit/nodegit/compare/v0.8.0...0.9.0) |
| 31 | +[Full Changelog](https://github.com/nodegit/nodegit/compare/v0.8.0...v0.9.0) |
6 | 32 |
|
7 | 33 | - Thread safe fix to stop crashing on releasing mutexes [PR #876](https://github.com/nodegit/nodegit/pull/876) |
8 | 34 | - `Submodule#setIgnore`, `Submodule#setUpdate`, and `Submodule#setUrl` are now all async. `Submodule#status` and `Submodule#location` are now available [PR #867](https://github.com/nodegit/nodegit/pull/867) and [PR #870](https://github.com/nodegit/nodegit/pull/870) |
9 | 35 | - `Remote#defaultBranch` is now available [PR #872](https://github.com/nodegit/nodegit/pull/872) |
10 | 36 | - `Repository#mergeBranches` now takes in a `MergeOptions` parameter [PR #873](https://github.com/nodegit/nodegit/pull/873) |
11 | | -- Remove a NodeGit specific hack to make `Index#addAll` faster since that is fixed in libgit2 [PR #875](https://github.com/nodegit/nodegit/pull/875) |
| 37 | +- Remove a NodeGit specific hack to make `Index#addAll` faster since that is fixed in libgit2 [PR #875](https://github.com/nodegit/nodegit/pull/875)) |
12 | 38 |
|
13 | 39 | ## [0.8.0](https://github.com/nodegit/nodegit/releases/tag/v0.8.0) (2016-01-15) |
14 | 40 |
|
|
0 commit comments