Skip to content

Releases

HoloNET 4.6.2

Choose a tag to compare

@dellams dellams released this 25 Nov 21:50

HoloNET 4.6.1

Choose a tag to compare

@dellams dellams released this 17 Nov 01:29

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

Choose a tag to compare

@dellams dellams released this 10 Nov 23:16

HoloNET 4.5.1

Choose a tag to compare

@dellams dellams released this 31 Oct 11:23

HoloNET 4.5.0

Choose a tag to compare

@dellams dellams released this 31 Oct 10:44

HoloNET 4.4.2

Choose a tag to compare

@dellams dellams released this 16 Oct 22:07

HoloNET 4.4.1

Choose a tag to compare

@dellams dellams released this 16 Oct 21:47

HoloNET 4.4.0 - hApp generation, API signals, Manager admin tools, full docs (Holochain 0.7.0 + 0.7.1)

Choose a tag to compare

@dellams dellams released this 16 Oct 09:38

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 write dna.yaml, happ.yaml, build.sh and the matching HoloNET ORM C# models.
  • Choose the version with the HoloOASIS HolochainVersion setting (0.7.1 by default, or 0.7.0).
  • HoloNET ORM has its own code-based generator, HolochainHappGenerator (plus FromStarDnaFolder), 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 the OnSignalReceived event send and receive
    text messages as remote signals, peer to peer, with nothing stored. ReceiveSignal() now returns the last message
    received. SendSignal() and ReceiveSignal() used to be placeholders; SendSignal() is now obsolete.
  • XML docs for every public member.

HoloNET Client

  • IHoloNETClientAdmin now exposes AddAgentInfoAsync(IEnumerable<string>). Before, only the obsolete pre-0.7
    overload was on the interface.
  • More XML docs: InstallEnableSignAndAttachHappEventArgs, HoloNETClientBase and 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 | config commands 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)

Choose a tag to compare

@dellams dellams released this 16 Oct 08:41

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, LeaveAsync and ChangeZoneAsync. 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 nearest MaxFullRatePeers of them get every update. The rest of the zone gets every FarUpdateEveryth 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. PingAsync measures latency and Stats keeps 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. HyperNETService and HyperNETDNA provide start, stop and status; WEB5 STAR's hypernet commands 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

Choose a tag to compare

@dellams dellams released this 16 Oct 07:05

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

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 with HoloNETDNA.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 property EmbeddedHolochain=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) called SaveAllObjectsAsync(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() and Delete() used the EntryHash where Holochain needs the ActionHash, so every update
    failed; loading a hash with no record reported success; the state field and IsChanged made saved entries look
    changed; PreviousVersionActionHash was the source-chain previous action; OrginalEntry was always null.
  • Audit entries: a new Id on every save, only the first modification recorded, culture-dependent dates,
    NullReferenceException when a tracking flag was off, delete wiped DeletedDate, 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 onto T, reloads duplicated entries, change detection broke after the first match.
    The zome contract is now defined (see HoloNETCollectionCore); the OASIS hApp has matching
    get/add/remove/batch_update_avatar_collection functions (coordinator only, DNA hash unchanged).
  • Events were only wired when the ORM object connected the client itself, so a shared client's OnError was never
    forwarded and the observable collection never tracked changes. Constructors now all take IHoloNETClientAppBase.

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.CurrentDispatcher never 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. Bundled oasis.happ rebuilt 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.Tests drives 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 matching On...CallBack event, as they used to.
  • IHoloNETClientAdmin defaulted 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: false tried to install again; it now reuses the installed app.
  • ShutdownHoloNETAsync on an already disconnected client never completed.
  • WaitTillReadyForZomeCallsAsync hung 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 only MaxLogFiles (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
    or manager for one; HAPP_OVERRIDE to try another hApp).
  • scripts/build-test-happs.sh <version> builds the OASIS test hApps (0.7.0 from the hApp's holochain-0.7.0-maintenance
    branch: the holochain-0.7.0 tag 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...
Read more