Přeskočit obsah

Framework changelog

Adapter-facing changes in Pq.Adapters.Framework between server releases. Versions match the server tags. Newest on top.

Only what affects building an adapter is listed here: the framework's public API, the source generator, the YAML schemas, and the diagnostics. Server internals are out of scope.

Changes that need an edit to an existing adapter have a numbered record with exact steps under Framework breaking changes.

Unreleased

⚠ Breaking changes

  • The playback alias is pb-{deviceId:N}-{transactionId:N}, built with PlaybackStreamAlias.For(channel.DeviceId, cmd.TransactionId) (Pq.Domain.Streaming). The server opens a pb- stream only with Read on the device in the alias and refuses the old pb-{transactionId:N}. Breaks: an adapter that builds pb-{transactionId:N} registers a stream the client cannot open. Migration: build every playback alias with PlaybackStreamAlias.For, with the device the playback command targets.
  • PlaybackRelayRegistry is keyed by playback alias. Add(ownerId, relay) keys by relay.Alias; TryGet(alias, out relay) and Remove(alias) take the alias. Keyed by transaction id, a command on camera A with camera B's transaction id reached B's relay. Breaks: Add(deviceId, transactionId, relay), TryGet(transactionId, …) and Remove(transactionId) (CS1501/CS1503). Migration: pass the playback alias (PlaybackStreamAlias.For(channel.DeviceId, cmd.TransactionId)); Clear(ownerId) stays.
  • A clock change has three events. pq.event.system.time.changed.sync is the framework time sync correction, with clockFast or clockSlow (timespan, whole seconds: how far the device clock was ahead of or behind PQ time). pq.event.system.time.changed.manual is a clock a person set on the device, with personId (method TimeChangedManually). pq.event.system.time.changed is a clock change the device reports without a source; it has no personId. Breaks: TimeChanged(timestamp, personId) (CS1739/CS1501). Migration: declare pq.event.system.time.changed.manual and call TimeChangedManually(timestamp, person). After a sync that returned an offset, the framework drops a bare time.changed whose device time falls within that sync of the same Thing (within 5 min of it), because the device reports the framework's own write; an adapter filter for that report can go.
  • A function in functions.yaml (or a custom function) can list events: it publishes itself, outside any action. The events belong to every Thing with the function, and no Thing method is generated for them. TimeSynchronization lists pq.event.system.time.changed.sync.
  • ITimeSynchronized.SynchronizeTime returns Task<TimeSpan?>: how far the sync moved the device clock (the offset before the write, device minus PQ), or null when it skipped the write or cannot read the device clock. The framework publishes pq.event.system.time.changed.sync when the offset is above TimeSyncScheduler.ClockChangeThresholdSeconds (5 s), so a resync of a correct clock leaves no audit record. A sync outside the scheduler calls TimeSyncScheduler.Synchronize. Breaks: every SynchronizeTime implementation (CS0738). Migration: return the offset when the adapter reads and writes the device clock, else null; delete TimeChanged calls made for the adapter's own write (RULE-063). See TimeSynchronization — Clock change audit.
  • A channel with QuietTimeBeforeSend = TimeSpan.Zero throws ArgumentOutOfRangeException when it is created. AdaptiveQuietTime is on by default and needs a positive floor. Migration: remove the zero value to get the 5 ms default, or also set AdaptiveQuietTime = null when the vendor mandates a fixed cadence.
  • Access synchronization names panel memory "device memory". GetReservedDeviceMemory, ClearDeviceMemory(IReadOnlyList<OccupiedDeviceMemory>, bool), DeviceMemoryRange and AccessDifferConfig.{Type}MemoryRange; the old names are [Obsolete] warnings and keep working. Breaks: an override of AccessDifferConfig.{Type}AddressRange. Migration: rename the overrides and range uses. See 0003 — Device memory names.

  • ProtocolChannelOptions.QueueFullMode does not exist. A full normal queue always makes the caller wait; a drop mode lost the request while its caller waited for a result that never came. Breaks: an adapter that sets QueueFullMode (CS0117). Migration: delete the setting; the behaviour is that of the default Wait.

  • IFrameParser.Parse(ReadOnlySpan<byte> data, out TFrame? frame) returns a ParseResult. The parser gets every unconsumed byte in one span and answers ParseResult.NeedMore, ParseResult.Skip(n) (garbage, a bad checksum) or ParseResult.Frame(n); the framework consumes the bytes, calls again after a skip or a frame, so a frame right behind garbage is read at once, and copies only bytes that cross a buffer segment. TryParse is [Obsolete(error: true)] and never called. Parser tests read with the extension parser.TryRead(ref buffer, out frame), exactly like the connection. Breaks: every TCP adapter's parser (CS0535, plus PQ0006 on the old TryParse with the migration link) and tests that call TryParse (CS0619). Migration: see 0004 — Frame parser: Parse over a span.
  • IBiometricData has the member ReleaseBlobs(). The access synchronization calls it after each chunk to drop the chunk's biometric data. Generated templates and entities implement it. Breaks: a hand-written IBiometricData implementation. Migration: implement ReleaseBlobs() so it returns the object to its state before HydrateBlobs.

  • PQA034 (error): a person profile field name has one definition per adapter. Breaks: an access-model.yaml whose person_profiles slot types declare one field name with a different type, values, category, description, default, validation or sensitivity fails the build. Migration: give each slot its own field name, or make the declarations identical. See PQA034.

Added

  • LocalAddresses gives the host address a device connects back to. An adapter in a container sees only its Docker address. The framework service LocalAddresses holds the IPv4 addresses of the host from Host__Addresses, which the installer sets for every compose adapter and the lab for its runs. Toward(remoteAddress) returns the host address in the network of the device, the narrowest of several, or null. All lists every LocalAddress(IPAddress Address, IPNetwork Network). Use it for a push target or a client-mode controller instead of Dns.GetHostName() or the container's own interfaces. See Inbound Connections.
  • Reference identity: identity: may name a required single deviceRef. A device with no vendor id of its own is identified by the Thing it belongs to, e.g. identity: [master_lcp] on a perimeter line. Re-discovery and a file re-import pair such a node by the persisted id of its target, so it keeps its id while its target does. The target needs an identity of scalar properties (or identity: type), and the identity must be declared unique. The discovery node holds the target as a required node property. New errors PQA035, PQA036, PQA037. See RULE-048.
  • Device health event leaves. pq.event.technical.temperature.high / .low / .normal (the temperature of the device itself; optional temperature, threshold in °C), pq.event.technical.network.failed / .restored (the device's own network interface), pq.event.system.time.not_set / .not_set.cleared (the device clock holds no valid time; not a clock change, see time.changed.*), pq.event.technical.peripheral.io_bus.failed / .restored (optional code bus: rs485 or lan, rendered as translated text), pq.event.technical.peripheral.camera_link.failed / .restored, pq.event.technical.peripheral.http_client.failed / .restored, and pq.event.system.device.module.failed / .restored (the Thing is the module, or the device for a module that is not a Thing; optional code function: input or output). A code parameter renders through {param:choose(a|b):text a|text b|}, so the template shows translated text. For status bits that would otherwise surface as a free-text technical.fault.hardware.
  • ProtocolChannelOptions.ReceiveSilenceTimeout detects a silent link. When the channel receives no frame for this time, it counts the connection as lost: pq.event.connection.lost, reconnect with backoff, and resume of an interrupted access synchronization. Every parsed frame resets the clock. It detects a TCP socket that stays open while the device behind it no longer answers (an RS485/TCP gateway with a dead bus, a hung converter), which OS TCP keepalive and a TimeoutIsExpected send do not. Null (default) disables it. Use it on a channel that receives frames regularly; an adapter whose protocol is silent between events sends its own keepalive request. See TCP Transport — Keepalive and Link Liveness.
  • IAtMostOnce frames are never retransmitted. A frame type that implements the marker interface IAtMostOnce (namespace Pq.Adapters.Framework.Communication.Tcp) is written once: the channel does not retransmit it after a response timeout, whatever TimeoutRetries says. The timeout still drops the connection unless the send sets TimeoutIsExpected. Use it for a frame the device acts on at every delivery, e.g. a toggle. See TCP Transport.
  • Transport type http. The framework owns the HTTP client: one HttpChannel per device connection, operations as HttpOperation<T> records named by the vendor documentation, results as HttpResult<T> without exceptions, signing through IHttpSigner, exchange lines in the TCP format, offline after HttpChannelOptions.FailuresToOffline failed exchanges in a row. The framework sets the AuthenticatedProtocol slot from every exchange. frame_type is rejected for http. See Transport types.
  • transport.tls: true and the CertificateTrust function. Trust on first use of a self-signed device certificate, a changed one refused until the operator command pq.command.connection.certificate.trust trusts the refused one, events pq.event.connection.certificate.trusted and pq.event.connection.certificate.rejected, and the client certificate properties tls_client_certificate and tls_client_certificate_password. TLS works on http (https:// address) and on tcp (TcpConnectionOptions.UseTls). TcpConnectionOptions is a record. See CertificateTrust.
  • Four event leaves. pq.event.intrusion.standby (a partition in a vendor standby state, optional personId), pq.event.security.keypad.mode.changed (required mode, optional personId), pq.event.security.code.invalid.repeated.cleared (the restore of security.code.invalid.repeated) and pq.event.access.credential.presented (a credential presented with no grant or denial, optional personId, credentialId). For panel messages that would otherwise surface as device.unknown.
  • Partition fire and evacuation. FireAlarmTriggered / FireAlarmCleared publish pq.event.fire.alarm.section / .cleared with the state fire.alarm.section; EvacuationTriggered / EvacuationCleared publish pq.event.safety.emergency.evacuation / .cleared with the state emergency.evacuation. For a panel whose partition holds typed fire or evacuation inputs. See Partition.
  • Positions the device holds: PanelCommandResult.HeldByDevice(position). A write command returns it when the panel proves the record at that position is not PQ's (an installer-locked record, a technician or master card). The framework reserves the position for good (IAddressMappingStore.GetHeldPositions / AddHeldPosition, kept by a reset) and moves the record to a free position in the same synchronization, together with every record that references it. The new reason SyncReasonCode.PositionHeldByDevice names a held position that is still refused after the last pass. A hand-written IAddressMappingStore implements the two new members. See Positions the device holds.
  • Access synchronization exposes the device the run synchronizes as SynchronizedDevice on the generated AccessSynchronizationBase, typed as the device type with AccessSynchronization. Transform, the holiday, memory and before/after hooks and the entity commands read it; an adapter no longer copies the device or its address into a field in Synchronize/Reset. Adapters write no code. See Access synchronization — The synchronized device.
  • Device-assigned record ids (ExternalId). A create command returns the id the device assigned: ProtocolCommand<TCtx>.ReportingExternalId(async (ctx, ct) => ExternalId.From(await ...)). The framework stores it in AddressMapping.ExternalId; an in-place update keeps it unless it reports a new one. Read it with AccessSynchronizationFunction.ExternalIdOf(entityType, address), or from a cleanup position with ExternalId.Of(mapping). See Device-Assigned Identifiers.
  • IdentityResolution.ByExternalId resolves event persons by the stored device id. Register it in AdapterRegistrations.ConfigureServices; ResolvePerson then matches stored ids only and never the address. The default stays address matching.
  • Typed identity lookup: WithPerson<TEntity>(selector) and WithCredential<TEntity>(selector). The lookup stays within one access-model entity type, so two entity types that share a number never swap persons. This is the primary pattern; keep the untyped form only for a route whose entity type changes per event. IIdentityResolver gains ResolvePerson(entityType, id) and ResolveCredential(entityType, id); their default implementations answer the untyped lookup. See Identity Resolution.
  • Installer reservations of panel memory positions. A device type with access synchronization and a ranged access-model entity type gets the generated property reserved_device_memory; the Synchronization tab edits it, and the synchronization never assigns or clears a reserved position. Adapters write no code, but ClearDeviceMemory must delete only the positions in occupied (RULE-061). See Installer Reservations.
  • GetDeviceMemoryRange(typeId) reports the device memory a connected panel really has. The default is the range: from access-model.yaml. The allocator, the initial cleanup and the occupancy report use the returned range; null refuses synchronization and Reset until the device reports it; a range outside the declared one throws InvalidOperationException. See Device Memory Range.
  • ProtocolChannelOptions.AdaptiveQuietTime widens the quiet time while the device struggles. new AdaptiveQuietTime(Max, RecoveryTransactions) doubles QuietTimeBeforeSend after every response timeout that leads to a retransmit and every busy reply, up to Max, and halves it after RecoveryTransactions clean first-attempt answers, down to the floor. The floor must be positive; a zero QuietTimeBeforeSend with AdaptiveQuietTime throws ArgumentOutOfRangeException when the channel is created. Default: AdaptiveQuietTime.Default (max 1 s, 50 clean answers); null keeps the quiet time fixed. See Adaptive quiet time.

Changed

  • A second command with the same target on the same function fails at once while the first is in flight. ExecuteCommand (event-confirmed, immediate and state-confirmed, the overloads with a target state) claims the target before it sends; a second command with that target gets DeviceCommandResult.CommandInProgress with the state resource key, sends nothing and publishes no pq.event.technical.command.failed. The device confirms one change with one message, so one of two waiting commands failed after the 30 s confirmation window, and sometimes both (Millenium night run 2026-11-17, finding C). A command with another target is not refused. Adapters need no change.
  • A status poll never overwrites a newer status. The scheduler numbers each poll when it begins, before it reads the device; every status write outside a poll (an event, a confirmed command, a StatusBatch from a command) numbers the function it writes. A poll result for a function written after the poll began is dropped for that function only, and the next poll brings it. Before, a poll that read the device just before a command was confirmed wrote the old state over the confirmed one, and the next command on the element answered AlreadyInTargetState (lab 2026-11-17, Millenium). Adapters write no code.
  • A confirmed eviction forgets the record's mapping. When the upload on the free slot then fails, the next full synchronization uploads the record again and repoints the records that reference it. Before, the mapping kept the emptied slot and the next synchronization planned nothing, so a card could point at an empty list (lab 2026-11-17, Millenium). Adapters write no code.
  • A command whose target already is in the requested state publishes no pq.event.technical.command.failed. The operator still gets the command result with reason AlreadyInTargetState, now also the constant DeviceCommandResult.AlreadyInTargetState. Adapters that return this reason themselves need no change.
  • IPersistentSettings<T> and IEventCursor<TKey> taken in a Thing constructor are keyed by that Thing's own DeviceId. The generated tree builder reads device_id before it creates the Thing (TreeServiceProvider.ForDevice), so sibling Things get their own object and record, and a Thing and its router asking for the same type share one instance. Records stored under the parent key are not read. A Thing that wants one document shared by its children takes it itself and hands it down through IExtendedTypeResolver (Axxon One AxxonDomain).
  • A published event counts as published once JetStream stored it. Thing.PublishEvent (and every generated event method) completes after the JetStream acknowledgment, so a history cursor (SkipReplayed) advances only past stored events. A retryable publish error is retried until the event is stored; nothing is dropped after a fixed number of attempts. While NATS is unavailable, event publishing waits: NATS is a required component, and the device keeps its history until the adapter can store it. At stop, events not yet stored end the publish with OperationCanceledException, so the cursor stays before them and the device replays them after the restart. A stopped publisher also ends the publish with OperationCanceledException, never with false, so the router cannot take a refused event for a declined one. Only an event that can never be stored (serialization error, payload over the server limit) is dropped: the publish returns false, the error is logged and the cursor passes it, so the history never sticks on it. A token passed to PublishEvent withdraws the event only while it is queued; once the publisher took it, the call waits for the outcome. Each event carries one Nats-Msg-Id for every attempt, so a retry after a lost acknowledgment is stored once. Adapters change nothing.
  • A TCP connection whose frame parser holds more than 64 KiB without a complete frame is dropped and reconnected. A missing terminator, a damaged length field or another service on the port no longer makes the adapter buffer without limit; the warning names the byte count and the limit. Every frame of the adapters in this repository is below 1.1 KiB. An adapter with larger frames sets TcpConnectionOptions.MaxUnparsedBytes. See TcpConnectionOptions.
  • A reset keeps the stored mappings until the initial cleanup succeeds. ClearDeviceMemory receives a range position PQ wrote as its stored AddressMapping (with ExternalId); other positions stay empty mappings with only DeviceAddress. The diff of that run ignores the stored mappings, and they are cleared after the cleanup succeeds. A cleanup that fails or loses the connection keeps them for the next run. Adapters that read only DeviceAddress are not affected.
  • The initial cleanup (first full synchronization, Reset) receives an installer-reserved position on which PQ stored a record, with that record: PQ wrote it, so it is PQ's and is cleared. An installer-reserved position without a record, and every position GetReservedDeviceMemory returns (even with a stale record), stay out. Adapters write no code; ClearDeviceMemory still deletes exactly the passed positions (RULE-061).
  • A GetReservedDeviceMemory that throws ends the synchronization as Failed with DeviceNotReady before any write, with no unfinished mark. Adapters write no code.
  • A changed reserved set no longer triggers an automatic Reset. The next full synchronization moves a PQ record off a newly reserved slot, or off a slot above a shrunk GetDeviceMemoryRange, and uploads it on a free slot; records that reference it are uploaded again. A selective synchronization does not move records. IAddressMappingStore.GetReservedHash and SetReservedHash are removed.
  • ProtocolChannelOptions.QuietTimeBeforeSend defaults to 5 ms (was zero). It is the floor of the default adaptive quiet time. A chained request/reply cycle grows by up to 5 ms: about 10 % on a panel that replies in 50 ms. An adapter that sets the value explicitly is not affected.
  • TimeSynchronization default sync_interval_minutes is 60 again. The 5 minutes from v1.21.0 apply no longer. An adapter that sets the value explicitly is not affected; GxySmart, Vista and Amico return to 60.

v1.21.0 — 2026-10-23

Added

  • ScenarioInfo.Tags. The scenario list from IScenarioCatalog carries the tags operators put on a scenario in PQ (lowercase, sorted, empty when none). Filter with s.Tags.Contains("..."). A tag change reloads the list and raises Changed. == on ScenarioInfo compares DeviceIds and Tags by reference. See IScenarioCatalog.

Changed

  • TimeSynchronization default sync_interval_minutes is 5 (was 60). An adapter that sets the value explicitly is not affected.

v1.20.5 — 2026-10-22

⚠ Breaking changes

  • ProtocolChannelOptions.FollowUpQuietTime is QuietTimeAfterNoReplyFrame. The old property no longer exists, so an adapter that sets it fails to build. Migration: rename the property. The gap now also follows every other no-reply frame (sequence acknowledge, no-reply send), not only follow-up frames.
  • ExclusiveSession gives its operation a session handle. The operation is (session, ct) => ... and sends through session.Send(...); the handle sends one frame at a time and stops working when the session ends. Breaks: the overloads without a handle are [Obsolete] build errors, and a plain Send or SendBulk inside an active session throws InvalidOperationException. Migration: change the operation signature, send through session.Send, pass the session to inner read methods. See 0002 — Exclusive session: explicit session handle.

Added

  • Declarative minimum_firmware on a device type. List the lowest supported firmware per version series, for example minimum_firmware: ["6.04", "7.04"]. The generator declares the event pq.event.technical.firmware.unsupported (Warn) and emits ReportFirmwareVersion(string version) on the Thing. Call it after reading the firmware version in the connect path. A non-numeric version fails the build with PQA002. See Minimum Firmware.
  • QuietTimeBeforeSend on ProtocolChannelOptions and FrameBase. The channel waits this quiet time on the line before every frame it writes. A frame overrides the channel value by returning a TimeSpan from FrameBase.QuietTimeBeforeSend; null keeps the channel value. Default: no gap. See TCP Transport.

Changed

  • A response timeout retransmits the frame before the connection is lost. After a timeout the channel writes the same frame again, twice by default (ProtocolChannelOptions.TimeoutRetries = 2), each attempt with a fresh timeout and the normal quiet time. The connection counts as lost only after the last attempt times out, so a lost-connection verdict takes up to three timeouts. Requests with TimeoutIsExpected are written once. Adapter check: set TimeoutRetries = 0 to keep disconnect on the first timeout, for example when a command must never reach the device twice.
  • A failed initial cleanup aborts the access sync. When a ClearDeviceMemory command fails on the first full sync or a reset, the sync ends as Failed with reason InitialCleanupFailed. The device is not marked initialized and nothing is uploaded onto the uncleared panel. Only an operator re-run retries; a connection loss still resumes after reconnect. Adapter check: a clear command throws only when the device was not cleared, and treats a record that does not exist as success.

v1.20.4 — 2026-10-20

Fixed

  • Access and antipassback sync resumes after a lost connection. A sync cut off by a connection loss or an adapter stop restarts on its own after reconnect (up to 3 attempts per device). No adapter change needed.
  • A multi-command entity is marked synced only after its last command succeeds. After an interruption, the next sync rewrites the whole entity instead of skipping a half-written one.

v1.20.3 — 2026-10-19

No changes to the adapter surface.

v1.20.2 — 2026-10-18

Added

  • Build error PQ0003 catches an ambiguous constructor at build time. A device, function, command handler or DeviceAdapter class with more than one public constructor now fails the build instead of failing at device start. Keep a single public constructor, or mark the one the framework uses with [ActivatorUtilitiesConstructor]. See PQ0003.
  • sourceId on fire intervention events. pq.event.fire.intervention.started (T1) and pq.event.fire.intervention.extended (T2) accept the optional parameter sourceId. Set it to the zone or detector whose alarm opened the window, so a countdown bound to it can run.

v1.20.1 — 2026-10-07

No changes to the adapter surface.

v1.20.0 — 2026-10-07

No changes to the adapter surface.

v1.19.1 — 2026-10-06

Added

  • BeforeTransform and AfterTransform hooks in the generated AccessSynchronizationBase. Override BeforeTransform to read device state (for example a PIN-length mode) before Transform runs; return false and the sync fails as "device not ready" before anything is written to the device. See Device state around Transform.
  • Command pq.command.scenario.notify. The server tells the adapter that a PQ scenario fired (scenario name and id, plus the persons and devices named by the triggering events). Declare a handler to forward it to the external system. See Scenario notify command.
  • EntityRef and EntityRef[] command parameter types in adapter YAML; the generated command record and dispatcher accept them. See Parameterized commands.
  • Optional device-type key passage_point. Marks a type that can get an Entry/Exit role in a space (antipassback, occupancy counting). See Passage points.

Changed

  • Reader device types are passage points by default. A type with the Reader function gets passage_point: true unless the YAML says otherwise; set passage_point: false on a reader that must not get an Entry/Exit role. See Passage points.

v1.19.0 — 2026-10-02

Added

  • Capability scenarios: true. Declared under capabilities: in adapter-registration.yaml, it makes IScenarioCatalog injectable: read the PQ correlation scenarios with GetScenarios() (disabled ones included) and react to its Changed event. See IScenarioCatalog.

Changed

  • PQC203 (warning) also reports events built with the generated PqEvent.* builders, not only EventBuilder.Event(...). Declare the event under events: on the device type and call the generated method on the Thing. A build that treats warnings as errors fails on hand-built PqEvent calls. See PQC203.
  • description, manufacturer and version from adapter-registration.yaml are reported to the platform when the adapter connects. Set them to the device vendor and your adapter version; a missing value shows as "Protequ s.r.o" / "1.0.0". See Top-level structure.

v1.18.0 — 2026-09-28

No changes to the adapter surface.

v1.17.5 — 2026-09-25

No changes to the adapter surface.

v1.17.4 — 2026-09-23

Added

  • FireControlOutput test (revision) state. The function gains the state fire.test and the actions FireControlTestStarted (→ fire.test, emits pq.event.fire.test.started) and FireControlTestEnded (→ control.off, emits pq.event.fire.test.completed), so an adapter can report an output under test.

v1.17.3 — 2026-09-22

No changes to the adapter surface.

v1.17.2 — 2026-09-21

No changes to the adapter surface.

v1.17.1 — 2026-09-21

No changes to the adapter surface.

v1.17.0 — 2026-09-21

⚠ Breaking changes

  • lpr_camera category renamed to vca_camera in the adapter-registration schema. Breaks: an adapter.yaml that declares category: lpr_camera no longer validates. Migration: change the category to vca_camera.
  • Unknown keys in adapter YAML are rejected. Breaks: a misspelled or obsolete property in adapter-registration.yaml, the functions, access-model or commands YAML fails the build with PQA002 (error) instead of being silently ignored. Migration: remove or correct the key the diagnostic names.
  • TCP transport no longer takes a device address. Breaks: ConnectChannel(address, host, port, …), Disconnect(address), GetChannel(address) and the parameterless Disconnect() / GetChannel() on SingleTcpTransportBase are gone, and a TCP transport with address_type always generates SingleTcpTransportBase. Migration: call ConnectChannel(host, port, router, ct), keep the returned channel, and disconnect with await channel.Disconnect().
  • FrameBase.IsUnsolicited removed. Breaks: an adapter frame that overrides it no longer compiles. Migration: return MatchResult.OutOfBand from MatchResponse for frames the device pushes on its own.
  • ProtocolChannel.TcpConnection removed. Breaks: code that wrote raw bytes through channel.TcpConnection.Write(…). Migration: use channel.SendOutOfBand(frame, ct) (or SendOutOfBand in TcpProtocolBase).
  • A custom transport is single-device; several devices per transport need multiplex. Breaks: a custom transport that binds routers by address (Bind/Resolve per device) generates a single-device base, so every device shares one router and events land on the wrong device with no error. Migration: set transport: type: multiplex in adapter-registration.yaml; single-device custom transports need no change. See 0001.
  • PlaybackRelayRegistry.Add and Clear take the owning device. Breaks: Add(transactionId, relay) and Clear() no longer compile. Migration: call Add(device.DeviceId, transactionId, relay) and Clear(deviceId).

Added

  • multiplex transport type (schema enum tcp / custom / multiplex) with base classes MultiplexTransportBase<TAddress, TEvent> (routes several devices by address) and SingleDeviceTransportBase<TAddress, TEvent> (one device, no address bookkeeping).
  • MatchResult.OutOfBand — return it for a frame the device may send at any time (poll, heartbeat, push). The channel hands it to the unmatched-frame handlers without a warning and keeps waiting for the reply.
  • SendOutOfBand(frame, ct) on ProtocolChannel and TcpProtocolBase — writes straight to the wire, bypassing the request queue; use it for teardown frames and replies to device-initiated frames.
  • ProtocolChannel.Disconnect(), and an optional parser argument on ConnectChannel so an adapter can keep per-connection parser state (for example a session cipher).
  • Inline string length in YAML property types: pin: string[4] (exact) or pin: string[4, 6] (range), in the access model and in function properties. The framework drops out-of-range values before upload and reports them as ValueOutOfRange.
  • PQA033 (warning): an access-model pin: string property without a length warns. The warning does not fail a build with warnings-as-errors.
  • Diagnostic help pages on docs.protequ.com for PQA001–PQA010, PQA014, PQ0001, PQ0002 and TD001–TD003; every PQA, PQC, PQ and TD diagnostic links to its page.
  • QrCode credentials reach access synchronization as the bare decoded text, like Pin and LicensePlate; no image is uploaded.

Changed

  • MatchResult.Continue no longer drops the connection; the channel delivers the frame to the unmatched-frame handlers and keeps waiting.
  • Logs written inside a device tree carry PanelId and Panel (name plus short id), so one filter on the panel catches the whole tree.

Fixed

  • One device disconnecting no longer tears down the playback relays of the adapter's other devices.
  • Recorded-video playback no longer stays blank after the stream reconnects: a reopened session resumes from the last requested position, and a closing session no longer blocks its reconnecting viewer.

v1.16.0 — 2026-09-17

Added

  • FrameBase.IsUnsolicited — override it to true on frames the device pushes on its own. The channel then does not match them to a pending Send; it delivers them on the unmatched path so the adapter can decode them. Defaults to false, existing frames unchanged.
  • lpr_camera category in the adapter-registration schema — for a channel whose product is licence-plate recognition. An ordinary video channel stays camera.

v1.15.6 — 2026-09-13

No changes to the adapter surface.

v1.15.5 — 2026-09-11

Fixed

  • Events recovered from a device's history (offline backfill, history poll) now carry the time the event actually happened in the audit, instead of the moment they were read back. Live events were already correct.

v1.15.4 — 2026-09-10

Added

  • New remote-operator event variants: pq.event.intrusion.bypassed.remote, pq.event.intrusion.bypassed.cleared.remote, pq.event.intrusion.alarm.acknowledged.remote, pq.event.safety.emergency.evacuation.remote, …evacuation.cleared.remote, …lockdown.remote, …lockdown.cleared.remote.
  • New function actions for remote operator control across the intrusion and safety functions: EvacuationRemote, EvacuationClearedRemote, LockdownRemote, LockdownClearedRemote, BypassedRemote, BypassCancelledRemote, AlarmAcknowledged, AlarmAcknowledgedRemote.
  • New public members on RtspPlaybackSession: ServedVideoTrack (the track the session settled on) and IsOpen.

Changed

  • Video preset events pq.event.video.preset.activated and …preset.stored now accept an optional personId, so an operator-issued preset command can be attributed. Adapters that do not pass it are unaffected.

v1.15.3 — 2026-09-04

Added

  • New fire.disabled state for fire panels — status only. The disabled address publishes its own pq.event.fire.address.disabled, so the panel-level state does not duplicate it.

v1.15.2 — 2026-09-03

No changes to the adapter surface.

v1.15.1 — 2026-09-02

Added

  • New AuthenticatedProtocol function for devices with an authenticated application session, exposing states protocol.authenticated, protocol.authentication.failed, protocol.handshake.failed (plus matching pq.state.protocol.* statuses).
  • New access_sync_enabled property (bool, default true) on the AccessSynchronization function. Turn it off and the adapter stops writing cardholders, credentials, holidays and antipassback to the panel; switch it back on and run Reset to discard what the panel gained meanwhile.
  • Property types may now be declared as whole-type arrays (e.g. guid[], card_format[]) and resolve to a typed array. An array whose element type is unknown is now rejected at build time.

Fixed

  • The pq.event.device.unresolved (unknown/unconfigured device) event now accepts the optional attribution params unresolvedAddress, personId, credentialId, credentialInfo, rawData — so an unknown-card event can carry the person, credential and raw card data.

v1.15.0 — 2026-08-31

No changes to the adapter surface.