Skip to content

Bump ActualLab.Rpc.TypeScript.Generator from 15.1.15 to 16.0.50 - #191

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/ActualLab.Rpc.TypeScript.Generator-16.0.50
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/ActualLab.Rpc.TypeScript.Generator-16.0.50

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Updated ActualLab.Rpc.TypeScript.Generator from 15.1.15 to 16.0.50.

Release notes

Sourced from ActualLab.Rpc.TypeScript.Generator's releases.

16.0.50

A fix release on top of 16.0.47.

Fixed

  • CommandR: AddCommander() works without RPC. A container with AddCommander() but no
    AddRpc() / AddFusion() failed on its first command with "No service for type
    'ActualLab.Rpc.RpcHub'"; RpcCommandHandler now passes commands through when there's no
    RpcHub. The bug predates v16.

More details: https://fusion.actuallab.net/CHANGELOG#_16-0-50-910509349-npm-16-0-50

16.0.47

Release date: 2026-11-23

The first v16 release with a changelog entry; it covers 16.0.4 as well. v16 moves the optional
serializers out of ActualLab.Core, makes RPC wire formats per-container, adds frame compression
codecs and lets the source generator root what serializers need under NativeAOT. Read the
v15 → v16 migration guide
: it opens with a complete "What's new" and
walks through every breaking change step by step.

Breaking Changes

  • Serialization: Newtonsoft.Json, MemoryPack and Nerdbank.MessagePack support moved to the
    ActualLab.Serialization.* packages; ApiOption / ApiNullable / ApiNullable8 moved with
    MemoryPack. RPC wire formats are configured per DI container via
    rpc.ConfigureWireFormats(f => ...).
  • RPC compression: AddLZ4Variants / WithLZ4 are replaced with
    AddCompressedVariants(suffix, codec, mode) / WithCompression(...); compression is configured
    with ByteCodec records (LZ4ByteCodec, ZstdByteCodec, SelectingByteCodec). The -lz4 /
    -lz4f keys are unchanged, so v15 and v16 peers still agree.
  • RPC streams: a class deriving directly from RpcStream must implement the new
    OnItemDeserializationError.
  • Core: ActivatorExt.New<T>() is removed; Microsoft.Extensions.Hosting and
    Options.DataAnnotations are no longer referenced (reference the hosting packages you use).
  • See Other Breaking Changes for the rest.

Added

  • NativeAOT and trimming: with ACTUALLAB_SERIALIZATION_ROOTS defined, ActualLab.Generators
    roots the closed generic MessagePack formatters and System.Text.Json converters RPC contracts
    need, and checks contracts against JsonSerializerContexts; also ACTUALLAB_NO_PROXIES and the
    NativeAotFull sample.
  • RPC compression: built-in LZ4 with preset dictionaries, Zstandard on .NET 11, per-frame codec
    selection, and presets such as SelectingByteCodec.LZ4HL16_And_Zstd_At1K.
  • RPC: keyed MessagePack formats msgpack6k / msgpack6ck (f.AddKeyedMessagePack()).

Changed

  • RPC: RpcCompressionOptions.MinCompressedFrameSize defaults to 256 bytes (was 512).
  • Core: fewer dependencies (Rpc and everything above inherit them): no Newtonsoft.Json,
    MemoryPack.Core, K4os.Compression.LZ4, CommunityToolkit.HighPerformance, System.Linq.Async,
    Ulid / Ulid.MessagePack, Microsoft.Extensions.Hosting (now .Hosting.Abstractions) or
    Microsoft.Extensions.Options.DataAnnotations packages.

Fixed

  • RPC streams: an item that can't be serialized or deserialized ends the stream with an error
    instead of being resent forever (.NET and TypeScript).
  • .NET Framework: EncoderExt / DecoderExt null-pointer and empty-input fixes, TypeRef
    resolves GAC assemblies, TickSource waiters resume on the thread pool, PruningCache works,
    and ActualLab.Rpc.Server.NetFx rejects an unsupported format with a terminal close code (4001)
    instead of HTTP 400.
    ... (truncated)

16.0.4

NuGet and npm packages 16.0.4. Changelog: https://fusion.actuallab.net/CHANGELOG

15.1.62

Release date: 2026-11-19

A small cleanup release for ActualLab.Fusion.Blazor: clearer exception messages, no behavior
changes. The npm packages are identical to 15.1.59 except for the version.

Changed

  • Blazor: ComponentInfo and ParameterComparerProvider reject a type that isn't an
    IComponent / a ParameterComparer with an ArgumentOutOfRangeException that names the
    expected type; before, it had no message.
  • Blazor: its exceptions with messages are created by the new
    ActualLab.Fusion.Blazor.Internal.Errors; the messages are unchanged.

More details: https://fusion.actuallab.net/CHANGELOG#_15-1-62-bbb4b64e4-npm-15-1-62

15.1.59

Release date: 2026-11-19

An idle-CPU release for the .NET packages, worth taking for mobile and other battery-powered clients:
an idle app on Fusion no longer wakes up several times per second. Thanks to @​crui3er for
finding and fixing the idle wakeups (#​174) and for
reporting the GetStateOptions issue (#​167).
The npm packages are identical to 15.1.38 except for the version.

Breaking Changes

  • Core: CoarseSystemClock, CoarseClockHelper, NonCapturingTimer and
    MomentClockSet.CoarseSystemClock are removed, and the MomentClockSet constructor no longer takes
    a coarse clock. Fusion never read this clock, yet every process using RPC ran its 20 Hz timer. If you
    used it, switch to MomentClockSet.SystemClock. If you need something cheaper than Moment.Now:

    • pair CpuTimestamp with Moment.Now, re-reading Moment.Now periodically;
    • or use Environment.TickCount64 for a very cheap value straight from the OS. It changes every
      ~15.6 ms on Windows and every 4 ms on a 250 Hz Linux kernel, and doesn't advance during device
      sleep on Android or on Windows with .NET 11.

    Read costs (BenchmarkDotNet, .NET 11, Windows x64, Ryzen 9 9950X3D): Environment.TickCount64
    1.77 ns, CpuTimestamp.Now 15.30 ns, Moment.Now 20.31 ns.

Performance

  • Core: an idle TimerSet sleeps until its earliest timer instead of ticking every quantum.
    Timeouts.KeepAlive and Timeouts.Generic used to wake up 5 times per second for the whole
    process lifetime, since on a client neither of them ever empties.
    (#​174 by @​crui3er)

  • Core: an idle BatchProcessor (e.g. the one behind every DbEntityResolver) checks its queue
    once per CollectorCycle (5 s) instead of every 150 ms. The first item dequeued after idle wakes
    it up, so the start of a load is still noticed within ~150 ms.
    (#​174 by @​crui3er)

    Together with the coarse clock removal, this took an idle, backgrounded Android app from 6.9% to
    ~1.15% CPU, and its .NET timer thread from ~123 to ~5.6 wakeups per second. Android kills cached
    processes that exceed 2-25% CPU, which is how this was found.

Added

  • Blazor: in a Debug build, ComputedStateComponent.GetStateOptions(Type, factory) throws
    InvalidOperationException when the factory captures the component instance or a local. Options
    are cached per component type, so such a factory gave every later instance the first instance's
    options. Set ComputedStateComponent.StateOptionsFactoryValidator = null to turn the check off.
    (#​175, reported by @​crui3er in
    #​167)
  • Core: TimerSetOptions.MaxSleepDuration (30 s by default, at most 1 hour, zero = tick every
    quantum) caps how long an idle TimerSet sleeps. It's also the longest a change of Clock.Now
    that Clock.Delay doesn't see (a ServerClock offset change, a system sleep on Windows) may
    delay a timer.
    ... (truncated)

15.1.38

Release date: 2026-11-13

A performance release for the .NET RPC stack: no fixes or new APIs. The npm packages are identical
to 15.1.30 except for the version.

Performance

  • RPC: a received RpcStream batch is handed to the reader as a whole instead of item by item:
    about +5-7% on the Stream1 test of RpcBenchmark.
  • RPC: argument lists are serialized without boxing value-type arguments, with one serializer
    cache lookup per list instead of one per argument: about +2% on the Sum test of RpcBenchmark.
  • RPC: NoWait system calls (Ok, I, B, Ack, Invalidate) no longer write the
    AsyncLocal behind RpcInboundContext.Current, which allocated an ExecutionContext per inbound
    message.
  • RPC: an inbound call no longer registers its own callback on the peer's shared cancellation
    token; the peer cancels its inbound calls with a single registration instead: about +1-3% on Sum.

Changed

  • RPC: RpcPeer.Reset cancels the inbound calls it drops. Before, it only unregistered them
    and left the cancellation to the peer change or the disconnect around it.
  • RPC: a handler of a NoWait system call has to read RpcInboundContext.Current before its
    first await. This matters only if you add your own system calls.
  • RPC: RpcInboundCallTracker.Clear() is removed, use Abort(), which also cancels the calls.
  • Fusion: handlers of a remote computed's invalidation no longer inherit the ExecutionContext
    of the peer's message processing loop.

More details: https://fusion.actuallab.net/CHANGELOG#_15-1-38-b373fd2eb-npm-15-1-38

15.1.30

Release date: 2026-11-13

A bug-fix release for the .NET packages: errors swallowed by SilentAwait no longer surface later as
unobserved task exceptions. Worth taking if you report TaskScheduler.UnobservedTaskException (e.g.
to Sentry) and see ChannelClosedException: Connection is closed prematurely. there. The npm
packages are identical to 15.1.26 except for the version.

Fixed

  • Core: SilentAwait() on a faulted Task didn't mark its error as observed, so the GC later
    reported it via TaskScheduler.UnobservedTaskException. RPC transports await their completion
    this way on shutdown, so a connection closed with an error could produce such a report. The
    parameterless SuppressExceptions() overloads had the same problem. Both now observe the error,
    and SilentAwait() on a ValueTask / ValueTask<T> does too.
  • Core: ResultAwait() and SuppressCancellationAwait() on a ValueTask now consume it exactly
    once, so a pooled IValueTaskSource behind it is always released. Before, ResultAwait() skipped
    a successfully completed non-generic ValueTask, and SuppressCancellationAwait() skipped a
    canceled one and consumed a faulted one twice. ValueTaskExt.ToResultSynchronously() is fixed
    the same way.

More details: https://fusion.actuallab.net/CHANGELOG#_15-1-30-6deb7cbc6-npm-15-1-30

15.1.26

Release date: 2026-11-11

The net11.0 assets now depend on the released .NET 11 packages instead of RC2. No API or behavior
changes; the npm packages are identical to 15.1.24 except for the version.

Changed

  • Updated to .NET 11 (11.0.100 SDK). On net11.0, ASP.NET Core, Blazor and
    Microsoft.Extensions.* dependencies are 11.0.0 (was 11.0.0-rc.2.26504.105), so a net11.0
    app on the released packages no longer gets a prerelease floor from Fusion.
  • EF Core in this repository's own tests and samples is 11.0.0-rc.3.26522.148 on net11.0
    (was RC1), not 11.0.0: Npgsql.EntityFrameworkCore.PostgreSQL has no 11.0.0 release yet, and
    its 11.0.0-rc.3 pins that exact EF Core build. So ActualLab.Fusion.EntityFramework.Npgsql
    requires Npgsql.EntityFrameworkCore.PostgreSQL 11.0.0-rc.3 or later on net11.0.
    ActualLab.Fusion.EntityFramework itself still accepts any EF Core 10+ there.

More details: https://fusion.actuallab.net/CHANGELOG#_15-1-26-0452192c1-npm-15-1-26

15.1.24

Release date: 2026-11-07

A small follow-up to 15.1.22: a shorter way to invalidate only the consolidation sources of
consolidating compute methods. Nothing else changed.

Added

  • Fusion: Invalidation.Begin(bool bypassConsolidation, ...) overloads (with an explicit
    InvalidationSource, or with caller info like Invalidation.Begin()).
    Invalidation.Begin(bypassConsolidation: true) starts an invalidation block where consolidating
    compute methods invalidate only their consolidation sources, so their targets compare the recomputed
    output - the same as Invalidation.Begin() + Consolidation.Bypass(). Other invalidations in the
    block work as usual. Consolidation.Bypass() remains for invalidation blocks you don't start yourself,
    e.g. a command handler's.

More details: https://fusion.actuallab.net/CHANGELOG#_15-1-24-22b84116c-npm-15-1-24

15.1.22

Release date: 2026-11-07

Check this one if you use ConsolidationDelay. Invalidating a consolidating compute method now
acts as if there is no consolidation, and the new Consolidation.Bypass() gives you the old
"invalidate the source and compare" behavior where you need it. The release also fixes a race that let
a read issued right after an invalidation return the pre-invalidation value of any compute method.

Breaking Changes

  • Fusion: a plain invalidation of a consolidating compute method (Invalidation.Begin() + call)
    invalidates both its consolidation source and the consolidation target, the source first, like a
    dependency and its dependant. It used to invalidate only the source, so the target compared the
    recomputed output and could swallow the invalidation. Migration: a consolidating method without
    Fusion dependencies (e.g. one reading the database) relies on that comparison, since an explicit
    invalidation is the only thing triggering it, so wrap its invalidation calls into
    Consolidation.Bypass() (inside the invalidation block - it has to be the inner scope):
    using (Invalidation.Begin())
    using (Consolidation.Bypass())
        _ = GetSummary(session, default); // Only the source: the target compares
    The TodoApp sample's InMemoryTodoApi does exactly that. Invalidations captured by Replicated and
    Distributed operations are replayed without it, so they invalidate both.
  • Fusion: ConsolidationDelay combined with InvalidationDelay > 0 on the same method is rejected
    when the service is resolved: a consolidating method is always invalidated immediately, and
    ConsolidationDelay is the way to postpone its update. Remove InvalidationDelay there.

Added

  • Fusion: CallOptions.BypassConsolidation - a call of a consolidating method acts on its
    consolidation source, combined with the other options: a regular call depends on the source,
    Capture / GetExisting return it, and Invalidate invalidates only it.
  • Fusion: Consolidation.Bypass(bool isolate = false) adds it to the current context, so it works
    inside compute methods (the calls still become dependencies, unless isolate: true) and inside
    invalidation blocks, including the ones Fusion runs for command handlers. A compute method can now
    read the non-consolidated variant of a consolidating method instead of having a separate twin method.
  • Fusion: Computed.Capture(bool bypassConsolidation, ...) overloads and
    Computed.BeginCapture(bool bypassConsolidation) capture the consolidation source computed.

Fixed

  • Fusion: a computed invalidated while it was computing briefly became Consistent with the output
    it had already been invalidated for, until the deferred invalidation was applied. A lock-free read in
    that window - the fast path of every compute method call - could use it, i.e. a read issued after the
    invalidation call returned could still get the old value. Such a computed now goes straight to
    Invalidated (unless its InvalidationDelay is positive, which still delays the invalidation).
  • Fusion: a consolidation no longer adopts a newly computed source into a target invalidated in the
    meantime, and it skips the recompute if the target is already inconsistent.

Documentation

... (truncated)

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: ActualLab.Rpc.TypeScript.Generator
  dependency-version: 16.0.50
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from alexyakunin as a code owner November 23, 2026 22:47
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Nov 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant