Repository navigation
Releases
HoloNET 4.6.2
HoloNET 4.6.2
Full history: https://github.com/holochain-open-dev/holochain-client-csharp/blob/main/CHANGELOG.md
HoloNET 4.6.1
v4.6.1 - 2026-11-17
- Reuse the persisted app-bound WebSocket listener when reconnecting. If none exists, create a listener bound to that app on loopback.
- Fix the Holochain 0.7.1 coordinator-update request encoding.
- Add bounded diagnostics for managed Linux conductor startup.
Full history: https://github.com/holochain-open-dev/holochain-client-csharp/blob/v4.6.1/CHANGELOG.md
HoloNET 4.6.0
HoloNET 4.6.0
Full history: https://github.com/holochain-open-dev/holochain-client-csharp/blob/main/CHANGELOG.md
HoloNET 4.5.1
HoloNET 4.5.1
Full history: https://github.com/holochain-open-dev/holochain-client-csharp/blob/main/CHANGELOG.md
HoloNET 4.5.0
HoloNET 4.5.0
Full history: https://github.com/holochain-open-dev/holochain-client-csharp/blob/main/CHANGELOG.md
HoloNET 4.4.2
HoloNET 4.4.2
Full history: https://github.com/holochain-open-dev/holochain-client-csharp/blob/main/CHANGELOG.md
HoloNET 4.4.1
HoloNET 4.4.1
Full history: https://github.com/holochain-open-dev/holochain-client-csharp/blob/main/CHANGELOG.md
HoloNET 4.4.0 - hApp generation, API signals, Manager admin tools, full docs (Holochain 0.7.0 + 0.7.1)
Every HoloNET package is now 4.4.0: Client, ORM, API, HyperNET, Manager and HDK, including all the Embedded variants.
hApp generation (WEB5 STAR + HoloNET ORM)
- WEB5 STAR now generates hApps that actually build on Holochain 0.7. Its old Rust templates were written for the pre-RSM
hdk 0.0.50 (#[zome],hdk::commit_entry,ZomeApiResult), so nothing it generated could compile on current Holochain. - New STAR templates in
DNATemplates/RustDNATemplates/Holochain07, filled by HoloOASIS's template engine. For each zome,
they produce an integrity zome and a coordinator zome with create, get, update, delete and get-all for every entry, plus
anchored collections. They also writedna.yaml,happ.yaml,build.shand the matching HoloNET ORM C# models. - Choose the version with the HoloOASIS
HolochainVersionsetting (0.7.1by default, or0.7.0). - HoloNET ORM has its own code-based generator,
HolochainHappGenerator(plusFromStarDnaFolder), for apps that don't use STAR. - Tested end to end on both versions. A sample hApp is generated from the STAR templates and compiled with cargo. Its
generated C# models are compiled with Roslyn and drive the hApp on real 0.7.0 and 0.7.1 conductors: create, load,
update, change tracking, delete, and collection add, load, batch save and remove (scripts/build-generated-happ.sh,
LiveGeneratedHappTests).
HoloNET API
- Direct messages.
SendSignalAsync(message, toAgentPubKeys)and theOnSignalReceivedevent send and receive
text messages as remote signals, peer to peer, with nothing stored.ReceiveSignal()now returns the last message
received.SendSignal()andReceiveSignal()used to be placeholders;SendSignal()is now obsolete. - XML docs for every public member.
HoloNET Client
IHoloNETClientAdminnow exposesAddAgentInfoAsync(IEnumerable<string>). Before, only the obsolete pre-0.7
overload was on the interface.- More XML docs:
InstallEnableSignAndAttachHappEventArgs,HoloNETClientBaseand the admin events.
HoloNET Manager
- The Get Storage Info, Add Agent Info, Delete Clone Cell, Graft Records and Update Coordinators
buttons work now; they used to say "Coming Soon". - Dump State, Dump Full State, Dump Network Stats and Dump Network Metrics now show their results.
Before, the results went to events nothing listened to.
HyperNET
- XML docs for every public member. STAR's
hypernet start [zone] | stop | status | configcommands now run on
HyperNETService; they used to say "Coming Soon".
Documentation
- New
docs/folder:- guides: getting started, Client, ORM, API, HyperNET, Manager, and STAR hApp generation;
- a generated API reference for every public type and member of Client, ORM, API and HyperNET
(scripts/generate-api-docs.sh).
- The README's package list now covers the four Client/ORM variants, and the stale "Release Coming Soon" text is gone.
Full history: CHANGELOG.md · Docs: docs/
HoloNET 4.3.0 - HyperNET + HDK (Holochain 0.7.0 and 0.7.1)
HoloNET HyperNET 4.3.0 and HoloNET HDK 4.3.0 (Holochain 0.7.0 and 0.7.1)
HoloNET HyperNET: P2P multiplayer networking
HyperNET is now a working library. Players talk to each other directly over Holochain remote signals, with no game server in the middle.
- Zones.
HyperNETSession.JoinAsync,LeaveAsyncandChangeZoneAsync. A player's presence in a zone is a DHT link, the only thing HyperNET stores. - Area of interest. Game traffic goes to the players within
AreaOfInterestRadius, and only the nearestMaxFullRatePeersof them get every update. The rest of the zone gets everyFarUpdateEveryth position update, so bandwidth per player depends on how crowded their surroundings are, not on how many players are online. - Messages. Unreliable (fire and forget) and reliable messages. Reliable ones are acknowledged, retried, delivered exactly once, or reported through
OnReliableMessageFailed. Typed messages are serialised with MessagePack. - Latency and counters.
PingAsyncmeasures latency andStatskeeps the counters. - Presence. Joins and leaves are announced by signal. The zone list is re-read every 5 s to catch missed joins, and a 10 s heartbeat keeps idle players from timing out.
- Long-running processes.
HyperNETServiceandHyperNETDNAprovide start, stop and status; WEB5 STAR'shypernetcommands use them. - Testing. Tested live with three players on Holochain 0.7.0 and 0.7.1, using the OASIS hApp (holochain-0.7.1 release), which now includes the HyperNET zome functions.
Limits. With no central server there's no server bottleneck or player cap. Latency is still the real network distance between players. A very dense crowd still means more traffic for the players inside it, which MaxFullRatePeers caps. There's no server-side authority either, so anti-cheat has to come from the hApp's validation rules.
HoloNET HDK
NextGenSoftware.Holochain.HoloNET.HDK is now a metapackage that brings in Client, ORM and HyperNET. WEB5 STAR and HoloOASIS will join it once their NuGet packages install cleanly. STAR 2.0.3 can't install yet because it depends on Ipfs.Http.Client >= 0.42.0, which isn't on NuGet.
Tests and docs
- The live tests now run on Holochain's in-memory network, so they work offline.
- 1,761 Client/ORM/API/HyperNET tests and 9 Manager tests pass on both 0.7.0 and 0.7.1.
- README, CHANGELOG and INTEGRATION_TESTING are refreshed, covering the four Client/ORM packages, HyperNET and the HDK status.
Full history: CHANGELOG.md
HoloNET v4.2.0 - Holochain 0.7.0 + 0.7.1
HoloNET 4.2.0 works with Holochain 0.7.1 and 0.7.0, tested end to end against real conductors of both versions (Client, ORM, API and Manager).
NuGet packages
- NextGenSoftware.Holochain.HoloNET.Client 4.2.0
- NextGenSoftware.Holochain.HoloNET.Client.Embedded 4.2.0
- NextGenSoftware.Holochain.HoloNET.Client.Embedded.Holochain071 4.2.0
- NextGenSoftware.Holochain.HoloNET.Client.Embedded.Holochain070 4.2.0
- NextGenSoftware.Holochain.HoloNET.ORM 4.2.0
- NextGenSoftware.Holochain.HoloNET.ORM.Embedded 4.2.0
- NextGenSoftware.Holochain.HoloNET.ORM.Embedded.Holochain071 4.2.0
- NextGenSoftware.Holochain.HoloNET.ORM.Embedded.Holochain070 4.2.0
- NextGenSoftware.Holochain.HoloNET.HDK 4.2.0
- NextGenSoftware.Holochain.HoloNET.HyperNET 4.2.0
- NextGenSoftware.Holochain.HoloNET.Manager 4.2.0
- NextGenSoftware.Holochain.HoloNET.API 4.2.0
Built on NextGenSoftware libraries 2.0.4. The OASIS hApp used for testing is OASIS-Holochain-hApp holochain-0.7.1.
4.1.0 was never published, so this release includes everything since 4.0.0.
Published to NuGet as 4.2.0 for every HoloNET package (Client, Client.Embedded, ORM, ORM.Embedded, HDK, HyperNET,
Manager, and HoloNET API for the first time), with NextGenSoftware libraries 2.0.4. 4.1.0 was never published, so this
release includes everything below, newest first.
Four Client / ORM packages
NextGenSoftware.Holochain.HoloNET.Client/.ORM: no conductor (connect to your own)..Embedded: bundles Holochain 0.7.1 and 0.7.0 (choose withHoloNETDNA.EmbeddedHolochainVersion, default 0.7.1)..Embedded.Holochain071/.Embedded.Holochain070: one version only (about half the size). Asking a single-version
package for the other version uses the one it has and logs a warning;HoloNETClientBase.IsEmbeddedHolochainVersionBundled
says what a build carries. The conductors are now embedded directly (build propertyEmbeddedHolochain=both|0.7.1|0.7.0)
instead of through Resources.resx.
HoloNET API overloads
- New overloads take the hApp as a
HoloNETAPIHapp(installed app id, .happ path, role). The old(hAppId, hAppPath, hAppRole, ...)
string overloads are obsolete: with three or more leading strings C# could pick the zome/function overload instead
(e.g.SaveAllObjectsAsync(appId, path, role)calledSaveAllObjectsAsync(zome, createFunction, updateFunction)).
HoloNET ORM, HoloNET API and HoloNET Manager working end to end on Holochain 0.7.0 and 0.7.1
All three are now tested against a real conductor of both versions with the OASIS hApp (live tests), plus a fake
conductor / in-memory hApp for the error paths. 1,758 Client/ORM/API tests and 9 Manager tests pass on 0.7.0 and 0.7.1;
line coverage: Client 93.1%, ORM 93.2%, API 93.9%, Manager logic 79% (the rest of the Manager is WPF window code). Before this pass none of them could save and reload data on 0.7.
HoloNET ORM (HoloNETEntryBase, HoloNETAuditEntryBase, HoloNETCollection, HoloNETObservableCollection)
- Entries: updates,
Load()andDelete()used the EntryHash where Holochain needs the ActionHash, so every update
failed; loading a hash with no record reported success; thestatefield andIsChangedmade saved entries look
changed;PreviousVersionActionHashwas the source-chain previous action;OrginalEntrywas always null. - Audit entries: a new
Idon every save, only the first modification recorded, culture-dependent dates,
NullReferenceExceptionwhen a tracking flag was off, delete wipedDeletedDate, no audit trail on 0.7. - Collections: add/remove sent only the anchor (not which entry), the batch couldn't tell adds/removes/updates
apart, loads never mapped records ontoT, reloads duplicated entries, change detection broke after the first match.
The zome contract is now defined (seeHoloNETCollectionCore); the OASIS hApp has matching
get/add/remove/batch_update_avatar_collectionfunctions (coordinator only, DNA hash unchanged). - Events were only wired when the ORM object connected the client itself, so a shared client's
OnErrorwas never
forwarded and the observable collection never tracked changes. Constructors now all takeIHoloNETClientAppBase.
HoloNET API
Rebuilt on the 0.7 OASIS hApp with the same public methods: one store entry (StoreId) holding Data and Objects as JSON;
created then updated by action hash; the installed app is reused (it used to uninstall it, losing the data, on every
start); errors reported (OnError, LastError, Message); loaded objects convert to T; ShutdownAsync; bundled
oasis.happ rebuilt for 0.7. Note: overloads like SaveAllObjectsAsync(hAppId, hAppPath, hAppRole) and
SaveAllObjectsAsync(zome, createFn, updateFn) take the same string types, so the hApp versions need a fourth argument.
HoloNET Manager
- Demo models used zome functions that no longer exist and sent no
id/username; every loaded record opened its
own conductor connection; the demo hApp path was relative (the conductor couldn't find it). - App interface connections had no authentication token, which Holochain 0.6+ requires, so no app connection worked.
- Work queued from WebSocket events with
Dispatcher.CurrentDispatchernever ran; shutdown re-subscribed handlers;
closing connections modified the list being iterated; recycling reconnected another app's client; status updates to a
closed popup threw; creating a client from the interface-attached event deadlocked; grant/attach error events were
treated as success (it connected twice on 0.7.0); the shared entry's hash was saved as an entry hash and couldn't be
loaded; reboot waited for clients that were already closed and could run twice. Bundledoasis.happrebuilt for 0.7. - Results: Manager tests 9/9 on both versions (boot, the HoloNET Entry/Collection demos incl. re-enable/reconnect/
reinstall, the shared install → grant → attach → connect → use flow with the entry form, reboot, admin queries). - New test project
NextGenSoftware.Holochain.HoloNET.Manager.Testsdrives the Manager headless: boot, the HoloNET
Entry and Collection demos, and the install → grant → attach → connect → use flow.
HoloNET Client fixes found on the way
- Sync methods called from inside a HoloNET event deadlocked (since they were made to wait for the conductor):
inside a conductor callback they now send and report through the matchingOn...CallBackevent, as they used to. IHoloNETClientAdmindefaulted installs to Unrestricted grants while the class used Assigned; code holding the
interface got grants Holochain 0.7 rejects (BadCapGrant). A test now checks every interface default.uninstallhAppIfAlreadyInstalled: falsetried to install again; it now reuses the installed app.ShutdownHoloNETAsyncon an already disconnected client never completed.WaitTillReadyForZomeCallsAsynchung forever when the agent key/DNA hash were unknown and retrieval was off.- Request ids weren't atomic: two requests sent at once from different threads (an app call while a HoloNET event sends
another) could get the same id, and a reply was matched to the wrong call. - NextGenSoftware.WebSocket: the receive loop ran on the caller's UI thread, so in a desktop app any blocking call froze it.
- NextGenSoftware.Logging: every log line scanned the whole log folder, so with a few hundred files HoloNET calls timed
out; the folder also grew without limit. The current file is now remembered and onlyMaxLogFiles(default 50) kept.
Tests and tools
scripts/run-live-tests.sh <version>now runs the Client/ORM/API project and the Manager project (PROJECTS=client
ormanagerfor one;HAPP_OVERRIDEto try another hApp).scripts/build-test-happs.sh <version>builds the OASIS test hApps (0.7.0 from the hApp'sholochain-0.7.0-maintenance
branch: theholochain-0.7.0tag plus the collection functions).
Full Holochain 0.7 coverage pass: 1,647 tests, 95% line coverage, ~40 bugs fixed
Every public request method, response type and connection path now has tests, against a real conductor on both
Holochain 0.7.0 and 0.7.1 and against a fake conductor (FakeConductor in the test project) that produces exact 0.7
wire shapes, errors, malformed replies and dropped connections. Results: 1,637 tests pass on each version, plus 10
conductor auto-start tests; HoloNET.Client line coverage 95.1%, branch 85.4%. What isn't covered is listed at the end.
Bundled conductors
- The Embedded package now carries Holochain 0.7.1 (default) and 0.7.0; choose with
`HoloNETDNA.EmbeddedHolochainVersion...