Repository navigation
Releases
v0.22.4
What's Changed
RobotRaconteur.Sharp 0.22.4 contains 42 fixes (#46) from a full read-through of the library. They fix multidimensional
memory transfers, wire and pipe connections, generators, subscriptions, the LocalTransport server, discovery, timers
and logging, bring several behaviors in line with Robot Raconteur Core, and correct documentation typos. Users should
upgrade.
Notable fixes:
- A second
WireClient.Connect()no longer drops the live wire connection. Generator2Client.NextAllreturns all values, not only the first.- Multidimensional memory transfers that are split into pieces complete when two or more dimensions lie above the split.
ServiceSubscription.UpdateServiceByTypekeeps clients that still match.- A public LocalTransport server (
StartServerAsNodeName(name, true)or--robotraconteur-local-server-public) can be
found and connected to by clients. - A periodic
WallTimerkeeps running when its handler throws. - Several lock-order and missing-lock problems in LocalTransport, pipes, the TCP port sharer client and object skels are
fixed.
Behavior changes
WireUnicastReceiver.GetInValue, and a clientPeekOutValueon a wire with no value, throwValueNotSetException
(RobotRaconteur.ValueNotSet) instead ofInvalidOperationException.PipeClient.ConnectthrowsProtocolExceptionif the service returns a pipe index that is already connected.- NodeID parsing matches the whole string, so text around a UUID is rejected, and accepts the 32-digit form without
dashes, as in Core. - LocalTransport server sockets get Core's permissions: owner and group for a public server, owner only for a private one.
- A discovery request made while a request burst is running gets a follow-up burst after 5 s, as in Core.
RobotRaconteurNode.SelectRemoteNodeURLranks candidates in Core's documented order: rr+intra first, secure URLs
before plain ones.
API changes
LocalTransport.StartServerAsNodeIDis implemented (it threwNotImplementedException), and a new overload
StartServerAsNodeID(NodeID, bool public_)starts a public server.
These issues were discovered during AI scanning using Claude Opus 5.5 and Claude Fable 5.2.
Full Changelog: v0.22.3...v0.22.4
v0.22.3
What's Changed
RobotRaconteur.Sharp 0.22.3 contains 32 fixes (#45), the .NET form of fixes made in Robot Raconteur Core 1.3.1 and 1.3.2, and the server-side
WebSocket change from #43. Version 0.22.2 was not released; its change (#43) is included here.
Several of the fixes make nodes more robust against malformed or hostile peers: service definitions whose types took
exponential time to verify, replies to protocol requests that were queued without limit for a peer that does not read
them, a repeated ConnectClient on one connection, and pipe acks that grew without bound. Others fix node setup,
subscriptions, timers and the TCP transport. Users should upgrade.
Behavior changes
- A connection whose peer sends protocol requests without reading the replies is closed.
- A second ConnectClient on a connection is refused, and a service client is removed when its transport connection closes.
RobotRaconteurNodeSetupregisters and configures transports before starting their servers, rejects an out-of-range
--robotraconteur-tcp-port, and shuts the node down when setup fails.TcpTransport.StartServer(0)listens on the same port for IPv4 and IPv6.- Service definitions with an implicit enum value after
int.MaxValueare rejected, as in Core. ServiceSubscriptionManager.Initchecks the names before creating any subscription, andIsConnectedreturns false
for an unknown name instead of throwing.- Server-side WebSocket framing uses the framework's
WebSocket.CreateFromStream(#43). It accepts unmasked client
frames, which the old codec rejected.
There are no API changes.
These issues were discovered during AI scanning using Claude Opus 5.5 and Claude Fable 5.2.
Full Changelog: v0.22.1...v0.22.3
v0.22.1
Fixes
- The
RobotRaconteur.Sharp.Gencode generator now runs where only .NET 10 or later is installed. Before, it required the .NET 8 runtime and failed with "You must install or update .NET", so builds that generate code from.robdeffiles failed with exit code 150. This also affectedRobotRaconteurWebGen. Update the tool withdotnet tool update -g RobotRaconteur.Sharp.Gen. - The build integration file is packaged at
build/RobotRaconteur.Sharp.targets, removing the NU5129 warning. 0.22.0 packages still work.
Other changes
- The NuGet packages are now attached to each GitHub release.
- The browser tests use Playwright 1.65.1, which fixes CVE-2025-59288. This only affected the test setup, not the published packages.
See the 0.22.0 release for the rename from RobotRaconteurWeb to RobotRaconteur.Sharp.
v0.22.0
RobotRaconteurWeb is now RobotRaconteur.Sharp, the pure C# implementation of Robot Raconteur. (The TypeScript implementation is the one for web browsers.)
Breaking changes
- NuGet packages:
RobotRaconteurWeb→RobotRaconteur.Sharp, andRobotRaconteurWebGen→RobotRaconteur.Sharp.Gen - Namespace:
RobotRaconteurWeb→RobotRaconteurSharp - Code generator command:
RobotRaconteur.Sharp.Gen. Install it withdotnet tool install -g RobotRaconteur.Sharp.Gen, and regenerate any checked-in thunk source. - RobotRaconteurH5 is no longer available.
New
BrowserWebSocketTransportfor Blazor WebAssembly clients. It connects usingrr+wsandrr+wssURLs. See the Blazor WebAssembly section of the README.- An ASP.NET Core server example in
examples/aspnet_server.
Fixes
RobotRaconteurNode.Versionnow reports the package version. It still said 0.20.0 in the 0.21.0 release.
v0.21.0
What's Changed
RobotRaconteurWeb 0.21.0 contains 211 fixes from a review of the library (#37). Most of them correct bugs or differences
from Robot Raconteur Core in message handling, transports, discovery, the service and client implementations, members,
subscriptions, the service definition parser and the code generator. 47 of them harden the library against malformed or
hostile input from other nodes, or tighten the service's session and lock checks. All users should upgrade.
RobotRaconteurWeb, RobotRaconteurWebGen and RobotRaconteurH5 are all bumped to 0.21.0.
Security
| Advisory | Severity | Summary |
|---|---|---|
| GHSA-fmrc-g34g-p6wc | High | Stack overflow from deeply nested message elements terminates the process |
This is the same issue as
GHSA-48rm-6vg7-256j in
Robot Raconteur Core, fixed in Core 1.3.0.
Upgrading
Update the RobotRaconteurWeb package to 0.21.0 and regenerate thunk code with RobotRaconteurWebGen 0.21.0 (several
generator fixes change the generated code). Some fixes change behavior that applications may notice, in particular:
- Services with a security policy whose clients use object locks must set
allowobjectlock=true. - Identifier filters and attribute filter regexes now match the whole identifier or value, as in Core.
- WebSocket servers no longer accept
chrome-extension://or plain-http robotraconteur.com origins by default, and
reject clients that do not follow RFC 6455. - TLS connections require certificates with the Robot Raconteur role extensions, issued from the Robot Raconteur roots.
- Messages larger than 512 KiB are rejected before the connection is authenticated.
The full list of fixes and behavior changes is in the tracking issue: #38
These issues were discovered during AI scanning using Claude Opus 5.5 and Claude Fable 5.2.
Full Changelog: v0.20.1...v0.21.0
Full Changelog: v0.20.1...v0.21.0
v0.20.1
This release patches the targets file in RobotRaconteurWeb.csproj. No changes are made to the C# code or the other libraries.
What's Changed
- Disable RobotRaconteurWebGen in RobotRaconteurWeb.targets if there are no robdef files by @johnwason in #30
- Fix missing targets file in RobotRaconteurWeb nuget package by @johnwason in #31
Full Changelog: v0.20.0...v0.20.1
v0.20.0
What's Changed
- Subscription, version updates, and bug fixes by @johnwason in #4
- Improve documentation and fix copyright headers by @johnwason in #5
- Add pre-commit configuration and run code formatting by @johnwason in #6
- Add support for message version 4 by @johnwason in #7
- Add ConnectClientCombined support by @johnwason in #8
- Add ExtraImports support by @johnwason in #9
- Add client version object return backwards compatibility by @johnwason in #10
- Bump version to 0.20.0 by @johnwason in #11
- Add portsharer support by @johnwason in #12
- Add localhost only option by @johnwason in #13
- Fix H5 exceptions on load by @johnwason in #14
- Generate test thunk source at compile time by @johnwason in #15
- Add nuget package metadata by @johnwason in #16
- Add RobotRaconteurWebGen --auto-import option and RobotRaconteurWeb.targets by @johnwason in #17
- Improve port sharer control communication by @johnwason in #19
- Quote the --outfile argument in RobotRaconteurWeb.targets file by @johnwason in #20
- Add Robot_Raconteur_Node_Root_CA_2 and fix TLS certificate authentication by @johnwason in #18
- Fix populating attributes when using ConnectClientCombined by @johnwason in #21
- Fix transport bugs by @johnwason in #22
- Add BuildServicePath utility functions by @johnwason in #23
- Move ASP test into RobotRaconteurWebTest using httpserver option by @johnwason in #24
- Update H5 dependency versions and use dotnet 6.0 by @johnwason in #25
- Add examples and improve readme by @johnwason in #26
- Fix TransportConnections locking in TcpTransport by @johnwason in #27
- Add readme files to nuget packages by @johnwason in #28
- Update docfx documentation by @johnwason in #29
Full Changelog: v0.1.0...v0.20.0