Upgrading build_web_compilers 1 to 2
Unknown1.2.3 → 2.16.5
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 2.16.4: >=2.6.0 <3.0.0 → >=2.11.99 <3.0.0.
Adds collection ^1.0.0, meta ^1.1.0.
Drops crypto.
Moves analyzer >=0.30.0 <0.37.0 → ^1.0.0, archive >=1.0.13 <3.0.0 → >=2.0.0 <4.0.0, bazel_worker ^0.1.18 → >=0.1.18 <2.0.0, build >=0.12.8 <2.0.0 → >=1.5.0 <3.0.0, build_config >=0.2.6 <0.5.0 → >=0.3.0 <0.5.0, build_modules >=0.4.0 <2.0.0 → ^3.0.0, glob ^1.1.0 → ^2.0.0, logging ^0.11.2 → >=0.11.2 <3.0.0, scratch_space ^0.0.2 → >=0.0.2 <2.0.0. Your build may pick other versions.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- removed:
field DevCompilerBuilder.useKernel: final bool - removed:
field WebEntrypointBuilder.buildRootAppSummary: final bool - removed:
field WebEntrypointBuilder.useKernel: final bool - removed:
variable jsModuleErrorsExtension: const - removed:
variable jsModuleExtension: const - removed:
variable jsSourceMapExtension: const - changed:
ctor DevCompilerBuilder({bool useKernel}) → ctor DevCompilerBuilder( {bool useIncrementalCompiler, bool generateFullDill, bool trackUnusedInputs, @required this.platform, this.sdkKernelPath, String librariesPath, String platformSdk, Map<String, String> environment, Iterable<String> experiments, bool soundNullSafety = …}) - changed:
ctor WebEntrypointBuilder(this.webCompiler, {this.dart2JsArgs = …, this.useKernel = …, this.buildRootAppSummary = …}) → ctor WebEntrypointBuilder( this.webCompiler, { this.dart2JsArgs = …, @required this.nullAssertions, @required this.soundNullSafetyOverride, @required this.nativeNullAssertions, }) - changed:
field DevCompilerBuilder.buildExtensions: final → field DevCompilerBuilder.buildExtensions: final Map<String, List<String>> - changed:
method Dart2JsArchiveExtractor.build(PostProcessBuildStep buildStep): Future<Null> → method Dart2JsArchiveExtractor.build(PostProcessBuildStep buildStep): Future<void> - changed:
method WebEntrypointBuilder.build(BuildStep buildStep): Future<Null> → method WebEntrypointBuilder.build(BuildStep buildStep): Future<void> - added:
field DevCompilerBuilder.environment - added:
field DevCompilerBuilder.environment: final Map<String, String> - added:
field DevCompilerBuilder.experiments - added:
field DevCompilerBuilder.experiments: final Iterable<String> - added:
field DevCompilerBuilder.generateFullDill: final bool - added:
field DevCompilerBuilder.librariesPath: final String - added:
field DevCompilerBuilder.platform: final DartPlatform - added:
field DevCompilerBuilder.platformSdk: final String - added:
field DevCompilerBuilder.sdkKernelPath: final String - added:
field DevCompilerBuilder.soundNullSafety - added:
field DevCompilerBuilder.soundNullSafety: final bool - added:
field DevCompilerBuilder.trackUnusedInputs: final bool - added:
field DevCompilerBuilder.useIncrementalCompiler: final bool - added:
field WebEntrypointBuilder.nativeNullAssertions: final bool - added:
field WebEntrypointBuilder.nullAssertions: final bool - added:
field WebEntrypointBuilder.soundNullSafetyOverride: final bool - added:
function fullKernelExtension(bool soundNullSafety): String - added:
function jsModuleErrorsExtension(bool soundNullSafety): String - added:
function jsModuleExtension(bool soundNullSafety): String - added:
function jsSourceMapExtension(bool soundNullSafety): String - added:
function metadataExtension(bool soundNullSafety): String - added:
variable dart2jsPlatform: final - added:
variable ddcPlatform: final
- removed:
function dart2JsArchiveExtractor(BuilderOptions options): PostProcessBuilder - removed:
function devCompilerBuilder(_): Builder - removed:
variable ddcKernelExtension: const - changed:
function ddcKernelBuilder(_): Builder → function ddcKernelBuilder(BuilderOptions options, {bool soundNullSafety = …}): Builder - added:
function dart2jsArchiveExtractor(BuilderOptions options): PostProcessBuilder - added:
function dart2jsMetaModuleBuilder(BuilderOptions options): Builder - added:
function dart2jsMetaModuleCleanBuilder(_): Builder - added:
function dart2jsModuleBuilder([_]): Builder - added:
function ddcBuilder(BuilderOptions options, {bool soundNullSafety = …}): Builder - added:
function ddcBuilderSound(BuilderOptions options): Builder - added:
function ddcBuilderUnsound(BuilderOptions options): Builder - added:
function ddcKernelBuilderSound(BuilderOptions options): Builder - added:
function ddcKernelBuilderUnsound(BuilderOptions options): Builder - added:
function ddcKernelExtension(bool soundNullSafety): String - added:
function ddcMetaModuleBuilder(BuilderOptions options): Builder - added:
function ddcMetaModuleCleanBuilder(_): Builder - added:
function ddcModuleBuilder([_]): Builder - added:
function sdkJsCompileSound(_): Builder - added:
function sdkJsCompileUnsound(_): Builder - added:
function sdkJsCopyRequirejs(_): Builder