Skip to content

Release 1.0.0-preview.1 - #1

Merged
soyeyalon merged 7 commits into
mainfrom
candidate
Dec 3, 2026
Merged

soyeyalon merged 7 commits into
mainfrom
candidate

Conversation

@soyeyalon

Copy link
Copy Markdown
Contributor

Promotes the candidate 4a95f20 to main as DOMQL.NET 1.0.0-preview.1, the first preview, on DOMQL's release 1.0.0-preview.5.

  • DOMQL from .NET: services.AddDomql() registers a DomqlConnection for each browser runtime. The operations one turn starts cross in one call, and an owner ends every operation it started in one call.
  • Watches keep a copy of their result by change sets, mapped onto a type. One that sets WaitForAcknowledgment = false has each change cross with its browser task, in order with the events after it.
  • Subscriptions and executions: each event goes to its handler, which may answer it; executions run once or continuously.
  • Order: deliveries are taken in the order they crossed, each at its place, none waiting for a handler to complete.

Verified beyond the gate: the packed package in a Blazor Server app in Chromium, with DOMQL 1.0.0-preview.5 from nuget.org. A watch's first result arrived with its request, then a change, a click event, an execution, and keys read against a focus watch that waits for no acknowledgment.

The changelog entry lists what the preview holds.

The package depends on formaui-net.DOMQL 1.0.0-preview.4, which serves
the bundle its browser module imports. CI runs the gate on every push
and pull request, against a DOMQL checkout at that release's tag; a
push to candidate runs the full gate and keeps the package.
A batch's handlers ran one after another, each awaited before the next
delivery was taken. A watch's change after a handler awaiting a dialog
waited for the dialog, and a handler that waited behind another read
the state from after its own event, while handlers of different
batches never waited for each other.

Batches are now taken in the order they cross, a streamed one read
before any after it, and each delivery at its place: a watch's change
applied, a value settled, an event's handler started, none waiting for
a handler to complete. A batch is still answered once its handlers
have. A delivery that names no handle by a number is answered with
null rather than rejecting its batch, and a batch that can't be read
or is rejected leaves every copy uncertain until its snapshot arrives.
D3 records it.
DomqlWatchOptions.WaitForAcknowledgment, true by default, asks DOMQL's
connection for a watch whose every change crosses with its browser
task where it is false, in order with the events after it, so a
handler acting on an event by the watch's state, as a press acts on
where the focus went, finds every change before the event. Each change
costs a delivery. DOMQL carries it from 1.0.0-preview.5, which the
package will depend on once it is released. D3 records it.
promotion.yml checks every pull request into main as DOMQL's does: it
comes from candidate, the full gate passed on its head and kept the
package, and its version, which the package project declares, is new
and dated in the changelog. release.yml runs on a release tag's push,
attaches the package the candidate's gate built to the tag's GitHub
release, and publishes it to nuget.org through trusted publishing.
Contributing sets out how a release is cut.
The package depends on formaui-net.DOMQL 1.0.0-preview.5, whose
connection carries a watch that waits for no acknowledgment, and CI
checks DOMQL out at its tag. The links to DOMQL's documents move to
that release, D3 links DOMQL's D121 there, and the notes that the
option needed a later DOMQL go.
The browser keeps a watch's result as live state, so its query gives
an object or a list that is never null, and any other is refused with
DOMQL3001; the specification said nothing of it, and a test watched a
bare count, which a real browser refuses. A smoke test of the packed
package in a Blazor Server app found it.
The first preview, on DOMQL's release 1.0.0-preview.5. It dates the
changelog's entry, says how to install the package in the README,
whose links are absolute since the package carries it, and is tagged
v1.0.0-preview.1, whose release publishes the package to nuget.org.
@soyeyalon
soyeyalon merged commit 4a95f20 into main Dec 3, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
release — 4a95f20a Deployed Dec 3, 2026 by soyeyalon via Release #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant