Skip to content

Releases

v0.22.4

Choose a tag to compare

@johnwason johnwason released this 04 Dec 05:47
0444749

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.NextAll returns 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.UpdateServiceByType keeps 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 WallTimer keeps 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 client PeekOutValue on a wire with no value, throw ValueNotSetException
    (RobotRaconteur.ValueNotSet) instead of InvalidOperationException.
  • PipeClient.Connect throws ProtocolException if 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.SelectRemoteNodeURL ranks candidates in Core's documented order: rr+intra first, secure URLs
    before plain ones.

API changes

  • LocalTransport.StartServerAsNodeID is implemented (it threw NotImplementedException), 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

Choose a tag to compare

@johnwason johnwason released this 03 Dec 03:08
6e739b2

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.
  • RobotRaconteurNodeSetup registers 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.MaxValue are rejected, as in Core.
  • ServiceSubscriptionManager.Init checks the names before creating any subscription, and IsConnected returns 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

Choose a tag to compare

@johnwason johnwason released this 26 Nov 22:18
dbd7c7d

Fixes

  • The RobotRaconteur.Sharp.Gen code 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 .robdef files failed with exit code 150. This also affected RobotRaconteurWebGen. Update the tool with dotnet 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

Choose a tag to compare

@johnwason johnwason released this 26 Nov 21:52
8b87fc7

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, and RobotRaconteurWebGen → RobotRaconteur.Sharp.Gen
  • Namespace: RobotRaconteurWeb → RobotRaconteurSharp
  • Code generator command: RobotRaconteur.Sharp.Gen. Install it with dotnet tool install -g RobotRaconteur.Sharp.Gen, and regenerate any checked-in thunk source.
  • RobotRaconteurH5 is no longer available.

New

  • BrowserWebSocketTransport for Blazor WebAssembly clients. It connects using rr+ws and rr+wss URLs. See the Blazor WebAssembly section of the README.
  • An ASP.NET Core server example in examples/aspnet_server.

Fixes

  • RobotRaconteurNode.Version now reports the package version. It still said 0.20.0 in the 0.21.0 release.

v0.21.0

Choose a tag to compare

@johnwason johnwason released this 25 Nov 08:52

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

Choose a tag to compare

@johnwason johnwason released this 22 Aug 17:57
8b1a7d0

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

Choose a tag to compare

@johnwason johnwason released this 20 Aug 05:28
492222a

What's Changed

Full Changelog: v0.1.0...v0.20.0

v0.1.0

Choose a tag to compare

@johnwason johnwason released this 02 Oct 11:22
1d99446

This is a development release that implements most features of Robot Raconteur Core version 0.18.0. CI tests are passing on Windows and JavaScript but more testing is required. Documentation has also been implemented.