Skip to content

Commit fe87ec5

Browse files
author
John Haley
committed
Bump to 0.10.0
1 parent 47e0d20 commit fe87ec5

3 files changed

Lines changed: 30 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,40 @@
11
# Change Log
22

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+
329
## [0.9.0](https://github.com/nodegit/nodegit/releases/tag/v0.9.0) (2016-01-21)
430

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)
632

733
- Thread safe fix to stop crashing on releasing mutexes [PR #876](https://github.com/nodegit/nodegit/pull/876)
834
- `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)
935
- `Remote#defaultBranch` is now available [PR #872](https://github.com/nodegit/nodegit/pull/872)
1036
- `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))
1238

1339
## [0.8.0](https://github.com/nodegit/nodegit/releases/tag/v0.8.0) (2016-01-15)
1440

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ NodeGit
3131
</tbody>
3232
</table>
3333

34-
**Stable: 0.9.0**
34+
**Stable: 0.10.0**
3535

3636
## Have a problem? Come chat with us! ##
3737

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nodegit",
33
"description": "Node.js libgit2 asynchronous native bindings",
4-
"version": "0.9.0",
4+
"version": "0.10.0",
55
"homepage": "http://nodegit.org",
66
"keywords": [
77
"libgit2",

0 commit comments

Comments
 (0)