A modern, maintained C# client for the Bitbucket Server / Data Center REST API (Stash). This first stable release targets .NET 8.0 (LTS) and .NET 10.0.
dotnet add package BitbucketServer.Net --version 1.0.0Highlights
- Broadly installable — multi-targets
net8.0(LTS) andnet10.0(previously net10.0-only). .NET 9 apps resolve thenet8.0assembly automatically. - Extensible without forking — subclass
BitbucketClientand reuse the now-protectedpaging / request / response primitives to add custom endpoints. - Modern by default —
System.Text.Json,IAsyncEnumerablestreaming,CancellationTokenthroughout, a typed exception hierarchy, fluent query builders,IBitbucketClientfor DI, code search, pull-request blocker comments, and SSH access keys. - New this cycle — typed
archivedrepository-search filter,Line.Truncated, and updating a file from an in-memoryStream(no temp file). - Quality — 767 tests run across both target frameworks; the public API surface is guarded by Package Validation.
See the full CHANGELOG for the complete list of changes since 0.3.0.