Skip to main content

dwi_builder 0.9.0 copy "dwi_builder: ^0.9.0" to clipboard
dwi_builder: ^0.9.0 copied to clipboard

Build-time discovery, generation and compilation of DWI worker entrypoints.

Changelog #

0.9.0 #

  • Registered static functions: DwiFunctions.run/run0 select 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 @DwiPayload classes (ADR-021).
  • Tasks may return Stream<T>; the generated proxy returns a typed stream and DwiFunctions.stream/stream0 select stream tasks (ADR-022).
  • Every unsupported @DwiTask placement and every external task is now a DWI003 error instead of being ignored.

0.8.1 #

  • Detect a dwi.yaml created 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=wasm and dwi.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 switched worker.boot.mjs entry, and record the generation and per-file digests in the manifest.
  • check rejects mixed, corrupt or target-mismatched sets; clean removes all generations; builds retain the current and previous generation.
  • Accept integral doubles for generated int decoders.

0.7.0 #

  • Synchronised release with dwi 0.7.0; depends on dwi_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 dwi 0.6.0. No code changes.

0.5.3 #

  • Upgrade analyzer to ^14.0.0 (resolved to 14.7.0) and port discovery to the analyzer 14 API: NamedExpression is now NamedArgument, and AnalysisContextCollection no longer takes excludedPaths (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

0
likes
0
points
788
downloads

Publisher

unverified uploader

Weekly Downloads

Build-time discovery, generation and compilation of DWI worker entrypoints.

Repository (GitHub)
View/report issues

Topics

#isolate #concurrency #web-worker #wasm

License

unknown (license)

Dependencies

analyzer, args, crypto, dwi_annotations, hooks, path, yaml

More

Packages that depend on dwi_builder