Weft.Versioning
1.0.1
Prefix Reserved
dotnet add package Weft.Versioning --version 1.0.1
NuGet\Install-Package Weft.Versioning -Version 1.0.1
<PackageReference Include="Weft.Versioning" Version="1.0.1" />
<PackageVersion Include="Weft.Versioning" Version="1.0.1" />
<PackageReference Include="Weft.Versioning" />
paket add Weft.Versioning --version 1.0.1
#r "nuget: Weft.Versioning, 1.0.1"
#:package Weft.Versioning@1.0.1
#addin nuget:?package=Weft.Versioning&version=1.0.1
#tool nuget:?package=Weft.Versioning&version=1.0.1
Weft.Versioning
Engine-agnostic, content-addressed document versioning for .NET: publish immutable versions
identified by the SHA-256 of a deterministic export, then diff, branch, merge, and check out — over
a pluggable blob store.
Part of Weft — real-time CRDT collaboration and content-addressed document versioning for .NET.
Install
dotnet add package Weft.Versioning # brings in Weft.Core
What it provides
VersionStore—PublishAsync→VersionId(same content → same id, always),CheckoutAsync,DiffAsync(word-level),BranchAsync,Merge.IBlobStore—InMemoryBlobStore,FileSystemBlobStore(per-version, content-addressed, deduplicated). On read it re-hashes and verifies integrity.- Engine-agnostic — depends only on the
Weft.Coreabstractions, so it runs identically overyrsand the optional Loro engine.
var store = new VersionStore(YrsEngine.Instance, new InMemoryBlobStore());
VersionId v1 = await store.PublishAsync(doc);
TextDiff diff = await store.DiffAsync(v1, v2, "title");
Links
- Repository & docs: https://github.com/StrangeDaysTech/weft
- Architecture: https://github.com/StrangeDaysTech/weft/blob/main/docs/architecture.md
Licensed under Apache-2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Weft.Core (>= 1.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Weft.Versioning:
| Package | Downloads |
|---|---|
|
Weft.Server
Weft — y-sync WebSocket relay for ASP.NET Core: lib0/y-protocols codec, an authorization hook, and opaque-blob persistence (IDocumentStore). Compatible with Yjs-ecosystem clients. |
GitHub repositories
This package is not used by any popular GitHub repositories.