auto_apply_builders
target configuration added in build_config
version 0.4.2
.$package$
synthetic placeholder file and update the docs to prefer using only that or lib/$lib$
.assets
directory and $package$
placeholders to the default sources whitelist.BuildStep
.BuildStep.reportUnusedAssets
calls. See the build
package for more details.node/**
in the default set of sources (when there is no target defined) for the root package.BuildFilter
class which matches a set of assets with glob syntax support for both package and file names.buildFilters
to BuildOptions
which is a Set<BuildFilter>
and is used to filter exactly which outputs will be generated.BuildRunner.run
also now accepts an optional Set<BuildFilter>
argument.FinalizedReader
also now accepts a Set<BuildFilter>
optional parameter and will only allow reading matched files.FinalizedReader.reset
now requires an additional Set<BuildFilter>
argument.AssetTracker
class.build_runner
package.package:json_annotation
.package:build_config
.>=2.2.0 <3.0.0
.--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.