Skip to content

2.0.2

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Nov 06:42
80acfa0

Breaking changes

NodeManager lifetime redesign (#4982):
Adding, reloading and removing NodeManagers now goes through INodeManagerLifecycle.ApplyAsync(LifecycleChange…) / BeginAsync → PrepareAsync → CommitAsync. The old batch and replace members are [Obsolete].
Each request, MonitoredItem and continuation point is tied to one generation. BrowseNext returns BadContinuationPointInvalid once that generation is retired.
IBrowseContinuationDependencies / TryGetContinuationDependencies were removed.
Sensitive data in logs is classified (#4864). A plain ILoggerFactory now logs (null) for classified values; call EnableOpcUaRedaction() if you set up logging yourself. Redact, RedactionWrapper, IRedactionStrategy, RedactionStrategies and SimpleRedactionStrategy were removed.
Program state numbers follow the standard (#4789): Halted=11, Ready=12, Running=13, Suspended=14 (they were 4, 1, 2, 3).
Server no longer changes the process ThreadPool (#4917). It used to raise the minimum to MinRequestThreadCount. Hosts whose node managers block threads should set ThreadPool.SetMinThreads themselves. SharedOnly requests now run on concurrency permits (#4919).
Reconnect fails rather than changing security (#4809). If the original security mode/policy is no longer offered, SessionReconnectHandler and ManagedSession reject the endpoint instead of falling back to another one.
Request queue time counts against TimeoutHint, and a full queue sends retry-after (#4918).

Deprecations (still work, warning CS0618)

FastDataChangeCallback, FastEventCallback, FastKeepAliveCallback and ISession.DefaultSubscription are obsolete. Use ISubscriptionNotificationHandler with ISubscriptionManager.Add.
ISession.PublishSequenceNumbersToAcknowledge is obsolete. Use AcknowledgementMode.AfterConfirmation / ISubscriptionAcknowledgementProvider (#4899).
AddAutoIdToMachinery is obsolete; use AddAutoIdModel, part of the shared DI companion composition (#4915).

Major additions

Client:
Redundancy driven by ServiceLevel, including over Reverse Connect (#4884, #4885).
Managed recovery over reverse connections that the application supplies (#4883).
Session takeover (#4900).
Opt-in AllowUnencryptedUserNameTokens for legacy devices (#4910).
Server:
Async setters for condition and alarm states. Subclasses that customize a setter must also override its …Async counterpart (#4992).
OPC 10000-10 Programs (#4789).
OPC 10000-22 Base Network Model (#4990).
Performance: large throughput and allocation gains on the request, publish, event and data-change paths, on both server and client (#4742, #4748, #4782, #4812, #4845, #4859, #5009, #5015, among others).
New companion SDKs: AutoID, LADS, Pumps, MachineTool/WMTP/GMS/CranesHoists, Machine Vision, Recycling/PlasticsRubber, PA-DIM, ECM, AMB health, the Industrial Automation runtimes, and WoT runtime/binding.
Tooling: UaLens desktop workspace (#4822) and JWT login for the MCP server (#4933).
Tests moved to NUnit 5 (#4840; does not affect consumers).

What's Changed

  • Advance master to 2.0.2-preview by @romanett in #4741
  • Client/transport: one recv per small chunk, ManagedSession lock fast path, write coalescing by @romanett in #4737
  • Complete each pooled service response at most once (#4729) by @romanett in #4736
  • Fix concurrent session creation on a shared ClientChannelManager channel by @romanett in #4739
  • Add Machine Vision Parts 1 and 2 by @marcschier in #4733
  • Server: remove the server-wide locks from the request pipeline, bounded transport buffer pool by @romanett in #4742
  • Server quick wins from the o6 benchmark gap analysis: admission sizing, sampling permission cache, routed Read dispatch by @romanett in #4743
  • Fix managed-channel certificate ownership on early create failure by @marcschier in #4745
  • Fix cache invalidation after accepted async indexed writes by @marcschier in #4746
  • Server publish path: no deep clone per Publish, pooled notifications that are actually reused, ready list instead of an O(N) scan by @romanett in #4748
  • Add complete method invocation results and resolved diagnostics by @marcschier in #4747
  • Make request cancellation own exactly one terminal state by @marcschier in #4744
  • Capture metadata images and generation-bound session clients by @marcschier in #4752
  • Fix the Sessions LoadTest fixture and the server bottlenecks it exposed by @romanett in #4749
  • Server: cheaper symmetric crypto path, FairRequestQueue without a queue-wide lock by @romanett in #4750
  • Server: no server-wide or per-session locks in per-request session validation by @romanett in #4753
  • CI: CTT regression runs, weekly and on PRs labelled 'ctt' by @romanett in #4760
  • XRegistry: trusted logical-Resource federation identity by @marcschier in #4755
  • XRegistry: registration lifecycle, identifier allocation, registrar roles and atomic Resource replace by @marcschier in #4756
  • Tests: weighted FairRequestQueue test asserts the median of three windows by @romanett in #4763
  • CTT reference server: faster alarm cycle in --ctt mode, MinSubscriptionLifetime 1000 ms by @romanett in #4766
  • Add additional companion spec MCP tool profiles by @marcschier in #4731
  • Server: remove per-request context copies and lock hot spots from the request path (−16 % allocation per Read) by @romanett in #4767
  • Fix managed browse closed-channel and cancellation handling by @cristipogacean in #4774
  • Restore monitoring for survivors of partial node deletion by @cristipogacean in #4776
  • Preserve NodeVersion eligibility when deleting runtime nodes by @cristipogacean in #4777
  • ManagedSession: skip redundant outer reconnect after channel-manager recovery (fixes BoundClientCannotRetryAcrossFaultedManagedEntryReplacementAsync flake) by @romanett in #4781
  • Server: release the HTTPS listener's pinned TLS certificate when it fails to open by @romanett in #4775
  • Quickstarts alarms: report one event per Enable instead of two by @romanett in #4780
  • Channel send path: seal responses in the writer, lock-free gate, fewer locks and allocations per request by @romanett in #4782
  • Complete model-change reporting for committed node deletions by @cristipogacean in #4778
  • Remove experimental markers from type interfaces by @marcschier with @Copilot in #4785
  • Add recycling simulator and plastics/rubber companion packages by @marcschier in #4772
  • Server: make TrustList.ValidateNewTrustListAsync public by @wolfgangcolsman in #4799
  • Implement OPC UA Part 10 Programs by @marcschier in #4789
  • Client: make the UaFileInfo constructor public by @wolfgangcolsman in #4790
  • Extract core/types fixes for schemas, replay, and source generation by @marcschier in #4801
  • Server: confirm unchanged isolation classifications at dispatch without the full lookup by @romanett in #4787
  • TCP listener: complete requests without an async state machine per request (R7) by @romanett in #4788
  • PubSub server: organize PublishedDataSets under PublishSubscribe.PublishedDataSets by @wolfgangcolsman in #4793
  • Server request path: no large struct copies, slim per-request system context, no string table per request (R2, R5) by @romanett in #4805
  • Add MachineTool, WMTP, GMS and CranesHoists companions by @marcschier in #4765
  • Client/server transfer, WSS, and hosting fixes by @marcschier in #4802
  • PKCS#11 store: write and delete certificate objects on the token by @wolfgangcolsman in #4792
  • Fail closed when reconnect cannot preserve endpoint security by @marcschier in #4809
  • AMB: add bounded strict reads and configurable sample hosting by @marcschier in #4803
  • Server request path: one response header, single-node Read without collections, codec streams reused per thread (S1-S6, -38 % allocation per Read) by @romanett in #4812
  • Fix recycling scenario defaults and MCP interoperability by @marcschier in #4808
  • Machinery: add bounded inspection and result transfers by @marcschier in #4804
  • Source generator: option to emit exactly the nodes of a NodeSet2 by @wolfgangcolsman in #4797
  • CI CTT: call the private repository through Actions REST endpoints only by @romanett in #4816
  • perf: drive the server with external native benchmark workers; TraceAnalyzer GC modes by @romanett in #4815
  • Fuzz oracles: confirm net48 allocation findings by re-running the target by @romanett in #4818
  • Fix classic browse-path subscription restoration by @marcschier in #4814
  • Source generator: keep NodeSet2 references to nodes of referenced models by @wolfgangcolsman in #4796
  • Redundancy: snapshot and restore for RaftSharedKeyValueStore by @wolfgangcolsman in #4794
  • Extract remaining shared companion, rendering and packaging changes by @marcschier in #4806
  • perf: publish/write/event load scenarios for the server load harness by @romanett in #4817
  • plans/ctt-issues.md: record C60 (CTT publish thread stall in the A&C Limit/Level CUs) by @romanett in #4820
  • Add recycling operator console and sample container images by @marcschier in #4810
  • Server: surface failures to restore durable subscriptions by @wolfgangcolsman in #4795
  • WoT: Types-side TD/TM-NodeSet conversion with consolidated corpus and minimal consumer compat by @marcschier in #4758
  • Client: let ManagedSession validate a rediscovered endpoint by @wolfgangcolsman in #4791
  • Server: release a restored event item that its node manager rejects by @wolfgangcolsman in #4828
  • Source generator: a NodeSet2 Variable without a Value has a null Value by @wolfgangcolsman in #4798
  • WMTP: callers wait for the freshness tick instead of BadServerTooBusy by @romanett in #4831
  • WebSocket transport: a sender queued across Close fails as closed by @romanett in #4832
  • Server: keep the publish timer on a fixed cadence and parallelize the sweep by work by @romanett in #4829
  • Server: cheaper per-item event delivery (O(1) dequeue, duplicate index, filter context reuse, no per-read timestamps) by @romanett in #4837
  • AutoID: the OPC UA for AutoID Devices companion SDK (OPC 30010) by @biancode in #4825
  • Server: wake fair queue workers through a LIFO signal, let a looking worker take new requests by @romanett in #4833
  • Channel send order: tests for concurrent producers, reconnects and the writer stop by @romanett in #4838
  • plans/ctt-issues.md: refresh Mantis states and OPC answers, condense by @romanett in #4843
  • Generic runtime continuation, batch lifecycle and readiness by @marcschier in #4759
  • Aggregates: Average, Count, Delta, StdDev, Variance use Good values only (Mantis 11495) by @romanett in #4846
  • Update NuGet dependencies and migrate tests to NUnit 5 by @marcschier in #4840
  • Client: smaller per-monitored-item footprint (listener array, lazy pending-change queue, shared logger) by @romanett in #4847
  • Server: evaluate an event once per distinct event filter by @romanett in #4845
  • SessionBindingTests: let readers confirm the live session before racing transfers by @romanett in #4848
  • Await NUnit 5 Assert.ThrowsAsync/CatchAsync in the #4759 tests; fixes the master build by @romanett in #4852
  • plans/ctt-issues.md: C63 observed failure and CTT CI workaround by @romanett in #4851
  • Client: fewer allocations per request (shared timeout timer, pooled state machines, fewer buffer collections) by @romanett in #4849
  • TCP server: close the transport only after the terminal error message was sent by @romanett in #4850
  • perf: client GC measurement, V2 client by default, container-like client constraints by @romanett in #4844
  • Server: allocate data change notifications instead of pooling them by @romanett in #4830
  • WoT runtime materialization, binding execution and native source emission by @marcschier in #4757
  • Server: fewer allocations per single-value Read (isolation reservations, scope reuse, routing capture without restore) by @romanett in #4856
  • PKCS#11 store: pair a certificate without a CKA_ID only with its own key by @wolfgangcolsman in #4826
  • perf: pump the server child's stdout on a dedicated thread by @romanett in #4855
  • Server: queue the items of an event on several threads by @romanett in #4859
  • Redundancy: bound the Raft log with the engine's snapshots by @wolfgangcolsman in #4836
  • WoT: retire a generation's event bindings before releasing their sources by @wolfgangcolsman in #4860
  • Fix CI test duration regressions by @marcschier in #4861
  • Fix sessionless ResultTransfer ownership bypass and other issues. by @marcschier in #4834
  • AutoID client: read a device's status without browsing by @biancode in #4854
  • AutoID: keep every reader reachable from DeviceSet, and let a reader be a component of a machine by @biancode in #4853
  • Clarify documentation, migration guidance, and SDK selection by @marcschier in #4823
  • Classify sensitive log parameters with Microsoft.Extensions.Compliance data classification by @romanett in #4864
  • Add missing component to PumpType instances by @koepalex in #4867
  • Add UaLens desktop engineering workspace by @marcschier in #4822
  • Client: completed requests no longer keep their responses alive by @romanett in #4870
  • Refresh server benchmarks for 2.0.2: GC modes, processor placement, delivery by @romanett in #4868
  • Fix PublishWorkerCount race, quiet harness stop errors, track certificate leaks in CI by @romanett in #4875
  • Wait for the server to be running before GranulateDrying tests connect by @romanett in #4876
  • Interop: foreign peers log on with the trusted X509 user certificate by @romanett in #4878
  • Fix OpenUSD sample discovery and migrate artifacts to xRegistry by @koepalex in #4880
  • PlasticsRubber datasets: keep transfer reclamation alive when a tick's gate wait times out by @romanett in #4879
  • Client: install the durable hook before a new partition creates itself by @wolfgangcolsman in #4881
  • Client: evaluate the durable subscription lifetime on every physical create by @wolfgangcolsman in #4882
  • Client redundancy: ServiceLevel-driven failover, member ServiceLevel probing and read statuses by @wolfgangcolsman in #4884
  • Restore UaLens Linux rendering by @marcschier in #4891
  • Align WoT projections with Binding and Connectivity specs by @marcschier in #4877
  • Client: managed session recovery over application-supplied reverse connections by @wolfgangcolsman in #4883
  • WebApi tests: verify opcua+openapi WebSocket upgrade credential sources by @marcschier in #4893
  • Add explicit published WoT Binding 1.00 consumer interoperability by @marcschier in #4892
  • Client: server redundancy over Reverse Connect member connections by @wolfgangcolsman in #4885
  • Client: apply TransportQuotas in ManagedSessionBuilder URL shortcuts by @romanett in #4906
  • Server: accept acknowledgements of messages retired by a user change by @romanett in #4911
  • Tests: fix flaky PushTest order, net48 event identity GC race, transfer initial-value wait and ManagedSession retry flood by @romanett in #4916
  • Server: count queue time against TimeoutHint and send retry-after on queue-full (Q2/Q3) by @romanett in #4918
  • Unify DI companion composition, placement and resource ownership by @marcschier in #4915
  • CTT CI: pass the master baseline to the CTT run by @romanett in #4927
  • Server: leave the ThreadPool alone and add request queue metrics by @romanett in #4917
  • Server: run SharedOnly requests on concurrency permits instead of queue workers by @romanett in #4919
  • Client: acknowledgement provider model and subscription acknowledgement fixes by @cristipogacean in #4899
  • Add AllowUnencryptedUserNameTokens client security option by @alexvv in #4910
  • Server: decouple reverse connect connection admission from global sessions (#4863) by @biyoudah in #4889
  • Add JWT token login to MCP server by @marcschier in #4933
  • Client: bound TCP connect by the handshake operation timeout (#4934) by @romanett in #4941
  • Fix managed subscription watchdog stop detection timing by @marcschier in #4938
  • Fix default managed subscription recovery after Publish failures by @marcschier in #4939
  • Fix Client V2 notification ordering across Publish sequence gaps by @marcschier in #4940
  • Client: reduce lock contention and allocations in the acknowledgement path by @marcschier in #4943
  • Client: session takeover - retire without closing and staged takeover of a saved session by @cristipogacean in #4900
  • Hand tracked acknowledgements over when a subscription transfers to another session by @marcschier in #4942
  • Fix net48 acknowledgement benchmark build by @marcschier in #4947
  • Add LADS (OPC 30500-1) model, server, client, sample and docs by @marcschier in #4945
  • Master [CTT] Server: send RefreshRequired after an event queue overflow that lost Condition events by @mrsuciu in #4924
  • perf: many sampled sessions in the managed counters scenario by @romanett in #4955
  • Fix master CI and nightly full validation failures by @romanett in #4956
  • Client: subscription message queue waits without allocating by @romanett in #4959
  • Fix LADS instance references and Operational groups by @marcschier in #4958
  • Reference server: offer every user token type on every endpoint by @romanett in #4974
  • Document specification support and PR guidance by @marcschier in #4960
  • perf: read native worker output on dedicated threads by @romanett in #4976
  • Clarify Filter conformance requirement by @marcschier in #4984
  • CI: move to .NET SDK 10.0.403 (ILCompiler advisory GHSA-p3jp-9v83-76w9) by @romanett in #4987
  • Fix net48 process freeze when the receive loop closes its socket by @romanett in #4986
  • Preserve Publish continuation metadata in whole-message delivery by @cristipogacean in #5000
  • Add reusable Industrial Automation client and server runtimes by @marcschier in #4988
  • Redesign NodeManager publication, routing and lifetime ownership by @marcschier in #4982
  • Fix SubscriptionManager shutdown hang when a publish worker spins on the cancel thread by @romanett in #5007
  • Run CodeQL on a daily schedule and manual dispatch by @marcschier in #5014
  • Add OPC 40223 Pumps and Vacuum Pumps support by @marcschier in #4994
  • Add shared asynchronous condition and alarm state setters by @marcschier in #4992
  • Add AutoID runtime parameters, Data Access control and diagnostic formatting by @marcschier in #4996
  • Client: retire waits for subscription updates in flight by @romanett in #5008
  • Fix flaky native split publish metadata test by @romanett in #5013
  • Fix off-by-one in the classic subscription message cache by @romanett in #5006
  • Remove the per-item cost from event permission checks by @romanett in #5015
  • Client: wait for overtaken Publish responses before republishing by @romanett in #5018
  • Implement provider-backed OPC 10000-22 Base Network Model by @marcschier in #4990
  • Complete standalone PA-DIM runtime and asynchronous notifications by @marcschier in #4993
  • Fix PubSubWorkspace stop moving a finished teardown back to Stopping by @romanett in #5022
  • Fix V2 Publish timeout budget for queued requests by @cristipogacean in #5001
  • MonitoredNode2: allocation-free data change fan-out by @romanett in #5009
  • Fix InvalidHandoffIsRejectedBeforeConnectingAsync keep-alive race by @romanett in #5019
  • Add standalone ECM profiles, typed clients and simulated samples by @marcschier in #4997
  • Add opt-in AMB health and maintenance history by @marcschier in #4989
  • Complete LADS cooperative lifecycle, stored-data recovery and async state ordering by @marcschier in #4991
  • Update CTT config to the current reference server namespace order by @romanett in #5026
  • Implement OPC 10000-21 device onboarding workflows by @marcschier in #4998
  • CI: split macOS WotCon other-integration tests into shorter entries by @romanett in #5025
  • Client: fewer bytes per event notification (decoder string reuse, pooled projections) by @romanett in #5005
  • Stop reconciling every xRegistry Resource on each registry change (nightly sample-core debug hang) by @romanett in #5027
  • Complete OPC 40200 weighing runtime support by @marcschier in #4999
  • Merge master into release/2.0 and set version 2.0.2 by @romanett in #5032
  • Advance release/2.0 to 2.0.3-preview by @romanett in #5035
  • [release/2.0] Keep Positioning/WotCon/XRegistry MCP preview-only and set version 2.0.2 by @romanett in #5053
  • [release/2.0] Release: set up .NET after the candidate checkout by @romanett in #5059

New Contributors

Full Changelog: 2.0.1...2.0.2