|
1 | 1 | # LibGit2Sharp Changes |
2 | 2 |
|
3 | | -**LibGit2Sharp brings all the might and speed of libgit2, a native Git implementation, to the managed world of .Net and Mono.** |
| 3 | +## v0.31 - ([diff](https://github.com/libgit2/libgit2sharp/compare/0.30.0..0.31.0)) |
4 | 4 |
|
5 | | - - Source code: <https://github.com/libgit2/libgit2sharp> |
6 | | - - NuGet package: <http://nuget.org/List/Packages/LibGit2Sharp> |
7 | | - - Issue tracker: <https://github.com/libgit2/libgit2sharp/issues> |
8 | | - - @libgit2sharp: <http://twitter.com/libgit2sharp> |
9 | | - - CI servers: |
10 | | - - Windows (x86/amd64): <https://ci.appveyor.com/project/libgit2/libgit2sharp> |
11 | | - - Linux/Mac OS X: <https://travis-ci.org/libgit2/libgit2sharp> |
| 5 | +### Changes |
| 6 | +- This release includes [libgit2 v1.8.4](https://github.com/libgit2/libgit2/releases/tag/v1.8.4). |
| 7 | + - SSH is now supported through [libgit2's support for OpenSSH](https://github.com/libgit2/libgit2/pull/6617). |
| 8 | +- The ppc64le architecture is now supported on Linux. |
| 9 | +- .NET 6 has reached end of support, so LibGit2Sharp now targets `net472` and `net8.0`. |
| 10 | + |
| 11 | +### Additions |
| 12 | +- Adds Depth to FetchOptions allowing for shallow cloning [#2070](https://github.com/libgit2/libgit2sharp/pull/2070) |
| 13 | +- Make owner validation configurable [#2093](https://github.com/libgit2/libgit2sharp/pull/2093) |
| 14 | +- Add a CloneOptions constructor that takes a FetchOptions [#2132](https://github.com/libgit2/libgit2sharp/pull/2132) |
| 15 | + |
| 16 | +### Fixes |
| 17 | +- TreeDefinition.Remove fails to remove unwrapped trees [#1869](https://github.com/libgit2/libgit2sharp/issues/1869) |
| 18 | +- ObjectDatabase.Write<T>(Stream stream...) overload does not respect T [#2071](https://github.com/libgit2/libgit2sharp/issues/2071) |
| 19 | +- Repository.Worktrees.Add leaves now worktree empty [#2037](https://github.com/libgit2/libgit2sharp/issues/2037) |
12 | 20 |
|
13 | | -## v0.24 + 1 |
| 21 | +## v0.30 - ([diff](https://github.com/libgit2/libgit2sharp/compare/0.29.0..0.30.0)) |
| 22 | + |
| 23 | +### Changes |
| 24 | +- This release includes [libgit2 v1.7.2](https://github.com/libgit2/libgit2/releases/tag/v1.7.2). |
| 25 | +- Updates for trimming compatibility [#2084](https://github.com/libgit2/libgit2sharp/pull/2084) |
| 26 | +- Updates for .NET 8 [#2085](https://github.com/libgit2/libgit2sharp/pull/2085) |
| 27 | + |
| 28 | +## v0.29 - ([diff](https://github.com/libgit2/libgit2sharp/compare/0.28.0..0.29.0)) |
| 29 | + |
| 30 | +### Changes |
| 31 | +- This release includes [libgit2 v1.7.1](https://github.com/libgit2/libgit2/releases/tag/v1.7.1). |
| 32 | + - CI changes for the native binaries has removed support for CentOS 7. See [#2066](https://github.com/libgit2/libgit2sharp/pull/2066) for details. |
14 | 33 |
|
15 | 34 | ### Additions |
| 35 | +- Add proxy options [#2065](https://github.com/libgit2/libgit2sharp/pull/2065) |
| 36 | + - See PR for details, including some breaking changes to `CloneOptions` and `SubmoduleUpdateOptions` |
| 37 | + |
| 38 | +## v0.28 - ([diff](https://github.com/libgit2/libgit2sharp/compare/0.27.2..0.28.0)) |
| 39 | + |
| 40 | +### Additions |
| 41 | +- Add CustomHeaders to PushOptions [#2052](https://github.com/libgit2/libgit2sharp/pull/2052) |
| 42 | + |
| 43 | +## v0.27.2 - ([diff](https://github.com/libgit2/libgit2sharp/compare/0.27.1..0.27.2)) |
| 44 | + |
| 45 | +### Changes |
| 46 | +- This release includes [libgit2 v1.6.4](https://github.com/libgit2/libgit2/releases/tag/v1.6.4). |
| 47 | + |
| 48 | +### Fixes |
| 49 | +- Can't access GIT config (Repository.Config) since v0.27.0 [#2031](https://github.com/libgit2/libgit2sharp/issues/2031) |
| 50 | + |
| 51 | +## v0.27.1 - ([diff](https://github.com/libgit2/libgit2sharp/compare/0.27.0..0.27.1)) |
| 52 | + |
| 53 | +### Fixes |
| 54 | +- AssemblyVersion of v0.27.0 is `0.0.0.0`, which is lower than the AssemblyVersion of the v0.26.x releases. [#2030](https://github.com/libgit2/libgit2sharp/pull/2030) |
| 55 | + |
| 56 | +## v0.27 - ([diff](https://github.com/libgit2/libgit2sharp/compare/v0.26..0.27.0)) |
| 57 | + |
| 58 | +### Changes |
| 59 | +- LibGit2Sharp now targets .NET Framework 4.7.2 and .NET 6. |
| 60 | +- This release includes [libgit2 v1.6.3](https://github.com/libgit2/libgit2/releases/tag/v1.6.3). |
| 61 | +- Changes to the native binaries let LibGit2Sharp work on all [.NET 6 supported OS versions and architectures](https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md). |
| 62 | +- `GlobalSetings.NativeLibraryPath` used to automatically append architecture to the path when running on .NET Framework. This behavior has been removed to make it consistent. [#1918](https://github.com/libgit2/libgit2sharp/pull/1918) |
| 63 | + |
| 64 | +### Additions |
| 65 | +- Add support for adding and clearing multi-valued configuration [#1720](https://github.com/libgit2/libgit2sharp/pull/1720) |
| 66 | +- added lines and deleted lines in content changes [#1790](https://github.com/libgit2/libgit2sharp/pull/1790) |
| 67 | +- Set / get supported extensions [#1908](https://github.com/libgit2/libgit2sharp/pull/1908) |
| 68 | +- Simplify dealing with missing git objects [#1909](https://github.com/libgit2/libgit2sharp/pull/1909) |
| 69 | +- Throw NotFoundException if trees are missing when computing diff [#1936](https://github.com/libgit2/libgit2sharp/pull/1936) |
| 70 | + |
| 71 | +### Fixes |
| 72 | +- Adjust GitStatusOptions to match structure of native libgit2 [#1884](https://github.com/libgit2/libgit2sharp/pull/1884) |
| 73 | +- Update git_worktree_add_options struct to include ref pointer [#1890](https://github.com/libgit2/libgit2sharp/pull/1890) |
| 74 | +- Fix git_remote_connect not throwing on non-zero result [#1913](https://github.com/libgit2/libgit2sharp/pull/1913) |
| 75 | +- Fix incorrect information in exceptions [#1919](https://github.com/libgit2/libgit2sharp/pull/1919) |
| 76 | +- Checkout branch looks to remote tracking branches as fallback [#1820](https://github.com/libgit2/libgit2sharp/pull/1820) |
| 77 | +- Fixed calling into native libgit2 on osx-arm64 [#1955](https://github.com/libgit2/libgit2sharp/pull/1955) |
| 78 | + |
| 79 | +## v0.26 - ([diff](https://github.com/libgit2/libgit2sharp/compare/v0.25..v0.26)) |
| 80 | + |
| 81 | +### Additions |
| 82 | + |
| 83 | +* Add `CherryPickCommitIntoIndex` to `ObjectDatabase` |
| 84 | +* The underlying native library (libgit2) now no longer relies on libcurl |
| 85 | +* The underlying native library now no longer relies on zlib |
| 86 | +* Add `IndentHeuristic` option to `CompareOptions` |
| 87 | + |
| 88 | +## v0.25 - ([diff](https://github.com/libgit2/libgit2sharp/compare/v0.24..v0.25)) |
| 89 | + |
| 90 | +LibGit2Sharp is now .NET Core 2.0+ and .NET Framework compatible. |
| 91 | + |
| 92 | +### Additions |
| 93 | + |
| 94 | + - `GitObject` now has a `Peel` method that will let you peel (for example) |
| 95 | + a `Tag` to a `Tree`. |
| 96 | + - `MergeOptions` now includes an option to `IgnoreWhitespaceChanges`. |
| 97 | + - `TreeDefinition` can now `Add` an object with only the ID, which allows |
| 98 | + users of large files to add entries without realizing a `Blob`. |
| 99 | + - `ObjectDatabase` can now `Write` a `Stream`, which allows users of |
| 100 | + large files to stream an object into storage without loading it into |
| 101 | + memory. |
| 102 | + - `ObjectDatabase` can now `MergeCommitsIntoIndex` allowing users to perform |
| 103 | + an in-memory merge that produces an `Index` structure with conflicts. |
| 104 | + - Users can enable or disable dependent object existence checks when |
| 105 | + creating new objects with `GlobalSettings.SetEnableStrictObjectCreation` |
| 106 | + - Users can enable or disable `ofs_delta` support with |
| 107 | + `GlobalSettings.SetEnableOfsDelta` |
16 | 108 |
|
17 | 109 | ### Changes |
18 | 110 |
|
|
21 | 113 | the `StatusOptions.RecurseUntrackedDirs` options. |
22 | 114 | - Status now does not show the ignored files by default. To retrieve |
23 | 115 | ignored files, include the `StatusOptions.IncludeIgnored` option. |
| 116 | + - `Commands.Pull` can now provide a `null` value for `PullOptions`, |
| 117 | + which indicates that default values should be used. |
24 | 118 |
|
25 | 119 | ### Fixes |
26 | 120 |
|
27 | 121 | - The exception thrown when the native library cannot be loaded is now |
28 | 122 | able to be caught and will no longer crash the process. |
| 123 | + - Getting the `Notes` collection from a `Repository` no longer throws an |
| 124 | + exception when the repository has no notes. |
29 | 125 |
|
30 | 126 | ## v0.24 - ([diff](https://github.com/libgit2/libgit2sharp/compare/v0.23..v0.24)) |
31 | 127 |
|
|
0 commit comments