Upgrading build_runner 0.10 to 1
Unknown0.10.3 → 1.12.2
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
DepDelta is still reading the release notes in this range. This updates as they come in.
Dart SDK requirement changed in 1.11.2: >=2.0.0 <3.0.0 → >=2.11.99 <3.0.0.
Adds build_daemon ^2.1.0.
Drops convert.
Moves args >=1.4.0 <2.0.0 → >=1.4.0 <3.0.0, build >=0.12.8 <0.12.9 → >=2.0.0 <2.1.0, build_config ^0.3.1 → >=0.4.7 <0.4.8, build_resolvers ^0.2.0 → ^2.0.0, build_runner_core ^1.0.0 → ^6.1.11, crypto >=0.9.2 <3.0.0 → >=0.9.2 <4.0.0, dart_style ^1.0.0 → >=1.0.0 <3.0.0, glob ^1.1.0 → ^2.0.0, graphs ^0.1.0 → ^1.0.0, http_multi_server ^2.0.0 → >=2.1.0 <4.0.0, io ^0.3.0 → >=0.3.0 <2.0.0, logging ^0.11.2 → >=0.11.2 <2.0.0, mime ^0.9.3 → >=0.9.3+3 <2.0.0, pub_semver ^1.4.0 → >=1.4.0 <3.0.0, pubspec_parse ^0.1.0 → ^1.0.0 and 7 more. Your build may pick other versions.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- removed:
class ServeHandler implements BuildState - removed:
function build(List<BuilderApplication> builders, {bool deleteFilesByDefault, bool assumeTty, String configKey, PackageGraph packageGraph, RunnerAssetReader reader, RunnerAssetWriter writer, Resolvers resolvers, Level logLevel, onLog(LogRecord record), Stream terminateEventStream, bool enableLowResourcesMode, Map<String, String> outputMap, bool outputSymlinksOnly, bool trackPerformance, bool skip… - removed:
function watch(List<BuilderApplication> builders, {bool deleteFilesByDefault, bool assumeTty, String configKey, PackageGraph packageGraph, RunnerAssetReader reader, RunnerAssetWriter writer, Resolvers resolvers, Level logLevel, onLog(LogRecord record), Duration debounceDelay, DirectoryWatcher Function(String) directoryWatcherFactory, Stream terminateEventStream, bool enableLowResourcesMode, Map<S… - removed:
get ServeHandler.buildResults: Stream<BuildResult> - removed:
get ServeHandler.currentBuild: Future<BuildResult> - removed:
method ServeHandler.handlerFor(String rootDir, {bool logRequests, BuildUpdatesOption buildUpdates}): shelf.Handler - added:
function assetServerPort(String workingDirectory): int
- added:
function findBuilderApplications({ PackageGraph packageGraph, Map<String, BuildConfig> buildConfigOverrides, }): Future<Iterable<Expression>> - added:
function generateAndRun( List<String> args, { Logger logger, Future<String> Function() generateBuildScript = …, void Function(Object error, StackTrace stackTrace) handleUncaughtError, }): Future<int>