dwi_builder 0.11.0
dwi_builder: ^0.11.0 copied to clipboard
Build-time discovery, generation and compilation of DWI worker entrypoints.
Changelog #
0.11.0 #
- Tasks with several required positional parameters are sent as one record and the generated proxy keeps the separate parameters (ADR-029).
- Functions passed by name to
DwiFunctionsare discovered without@DwiTaskwhen they are top-level or static functions of this package (ADR-030). Closures stay unsupported.
0.10.0 #
- Version bump to match 0.10.0. Formatting only; no behaviour change.
0.9.0 #
- Registered static functions:
DwiFunctions.run/run0select annotated top-level, class-static and enum-static tasks by tear-off (ADR-020). - Generated encoders and decoders for enums,
DateTime,Duration,BigInt,Uri, records and@DwiPayloadclasses (ADR-021). - Tasks may return
Stream<T>; the generated proxy returns a typed stream andDwiFunctions.stream/stream0select stream tasks (ADR-022). - Every unsupported
@DwiTaskplacement and everyexternaltask is now aDWI003error instead of being ignored.
0.8.1 #
- Detect a
dwi.yamlcreated after an earlier Flutter build by declaring the optional path as a hook dependency even when absent. - Serialize browser test files so Safari WebDriver sessions do not overlap.
0.8.0 #
- Add
--target=wasmanddwi.yaml(target: js|wasm), shared by the CLI and the Flutter build hook (ADR-018). - Publish a Wasm worker as a content-addressed
gen-<hash>/generation plus a small atomically switchedworker.boot.mjsentry, and record the generation and per-file digests in the manifest. checkrejects mixed, corrupt or target-mismatched sets;cleanremoves all generations; builds retain the current and previous generation.- Accept integral doubles for generated
intdecoders.
0.7.0 #
- Synchronised release with
dwi0.7.0; depends ondwi_annotations ^0.7.0. No public builder API change. The Firefox browser probe now disables every per-process sandbox switch the installed build exposes so the ADR-017 matrix can run under this host.
0.6.0 #
- Synchronised release with
dwi0.6.0. No code changes.
0.5.3 #
- Upgrade
analyzerto^14.0.0(resolved to 14.7.0) and port discovery to the analyzer 14 API:NamedExpressionis nowNamedArgument, andAnalysisContextCollectionno longer takesexcludedPaths(discovery already filters excluded files before handing paths to the analyzer). - Discovery results, generated output, diagnostics and the public API are unchanged; the suite passes against analyzer 14.7.0.
0.5.2 #
- Add
example/so usage is documented on the pub.dev Example tab. No code changes.
0.5.1 #
- Declare pub.dev
topics(isolate,concurrency,web-worker,wasm) for discovery. No code changes.
0.5.0 #
- Build-time discovery, generation and compilation of DWI worker entrypoints.
- Long-lived worker handles (ADR-013) and DWI-3 channels (ADR-014).
- Protocol v2: rebuild worker artefacts with
dwi build.
See the repository changelog for the full release notes: https://github.com/SoundSliced/dart-web-isolates/blob/main/CHANGELOG.md