--symlink
was forcing outputs to not be hoisted.BuildImpl
now takes an optional list of BuildTargets
instead of a list of buildDirs
.build_resolvers
to version 1.0.0
.finalizedReader
was not reset
prior to build.build
method now requires a list of buildDirs
.buildDirs
from BuildOptions
.overrideGeneratedDirectory
method which overrides the directory for generated outputs.BuildRunner
instance.package:graphs
version 0.2.0
.build
version 1.1.x
.NoSuchMethodError
that the user could get when adding new dependencies.pub run build_runner clean
to fix.BuildScriptChangedException
and BuildConfigChangedException
. These should be handled by scripts as described in the documentation.FailureType
s of buildScriptChanged
and buildConfigChanged
.package:json_annotation
.package:build
version constraint to >1.0.0 <1.0.1
.timing
package.BuildOptions
static factory now takes a LogSubscription
instead of a BuildEnvironment
. Logging should be start as early as possible to catch logs emitted during setup.timing
package for performance tracking.BuildStep.trackStage
to track performance of custom build stages within your builder.packages
symlink within the packages
directory.new
keyword for a working release on Dart 1 VM.BuildEnvironment
must now implement the finalizeBuild
method. There is a default implementation if you extend BuildEnvironment
that is a no-op.assumeTty
argument on IOEnvironment
has moved to a named argument since null
is an accepted value.outputMap
field on BuildOptions
has moved to the IOEnvironment
class.outputSymlinksOnly
option to IOEnvironment
constructor, that causes the merged output directories to contain only symlinks, which is much faster than copying files.FinalizedAssetView
class which provides a list of all available assets to the BuildEnvironment
during the build finalization phase.outputMap
has moved from BuildOptions
to this constructor, as a named argument.OverridableEnvironment
now supports overriding the new finalizeBuild
api.package:json_annotation
v1.<3.0.0
..dart_tool/build
is now based on a relative path to the build script instead of the absolute path..dart_tool/build
directories to be reused across different computers and directories for the same project.BuildPerformance
class is now serializable, it has a fromJson
constructor and a toJson
instance method.BuildOptions.logPerformanceDir
, performance logs will be continuously written to that directory if provided.global_options
in build.yaml
of the root package.Resolvers
implementation.BuildPhasePerformance.action
has been replaced with BuildPhasePerformance.builderKeys
.BuilderActionPerformance.builder
has been replaced with BuilderActionPerformance.builderKey
.BuildResult
no longer has an exception
or stackTrace
field.failOnSevere
arguments. Severe logs are always considered failing.Initial release, migrating the core functionality of package:build_runner to this package.