Repository navigation
package:build_runner v2.17.0
·
33 commits
to master
since this release
- Allow
built_collection6.x. - Fix
build_runner runwithbuilt_collection6.x by passing
Isolate.spawnUria plain list of arguments. - Add
SharedPartAccumulatorandSharedPartAccumulatorCodecfor shared part
outputs. - Support shared parts written using
BuildStep.librarySourceSinkwhen builders
opt in withadds_to_library: trueandbuild_to: sourceinbuild.yaml. If
a library is missing thepartdirective for its shared part,build_runner
adds it and rebuilds; if the directive is unused because builders ran and
contributed nothing, and nothing in the build failed,build_runnerremoves
it and rebuilds. With--only-checkit reports the directives to add or
remove instead. - The
servecommand now rejects non-loopbackHostandOriginheaders when
bound to a loopback interface, and validates them against--hostnamewhen a
specific host is given. - Require
build4.1.0. - Require
build_config1.4.0. - Bug fix: allow calling
BuildStep.canReadon outputs written by the same
build step. - Bug fix: run post-process builder on incremental builds when no prior step
result exists. - Bug fix: preserve analyzer dependency information on unhandled build failures,
preventing subsequent incremental builds from missing changes to transitively
imported files. - Bug fix: complete the active building future in daemon mode when the build
script is updated, preventing asset server requests from hanging. - Bug fix: write the SDK summary deps file atomically, so a concurrently
running build does not read it while it is empty; and rebuild the summary
instead of failing if the deps file turns out to be corrupt. - Bug fix: handle deletions of unread sources during watch, serve, and
daemon modes. - Bug fix: in watch, serve, and daemon modes, do not run a build when nothing
changed that can affect any output. A file can be written without changing
its content, and one write can produce more than one filesystem event. - Bug fix: detect duplicate
--outputdirectories that are spelled
differently, for examplebuildandbuild/, instead of writing both and
silently keeping only the last. - Bug fix: in watch, serve, and daemon modes, notice a generated file being
deleted after a previous build deleted and then rewrote that same file.
Previously the delete was mistaken for the build's own earlier delete and
ignored, so deleting a generated file no longer forced it to be regenerated. - Bug fix: in daemon mode, after a builder change keep serving the previous
build's outputs until shutdown, instead of returning 404.