Skip to content

Upgrading dcli 0.41 to 0.50

Unknown0.41.16 → 0.50.2

UnknownUpgrade verdict

None of the 4 releases in this range publish notes, so breaking changes can't be ruled out.

  • Some releases in this range publish no notes, so DepDelta can't rule out breaking changes.
  • Their commits are listed with this comparison.
Unknown for releases without notes

Releases without notes may still need changes. Check their commits before upgrading.

Dart SDK requirement changed in 0.50.0: >=2.6.0 <3.0.0 → >=2.12.0-259.9.beta <3.0.0.

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • changed: ctor CatException(String reason, [StackTraceImpl stacktrace]) → ctor CatException(String reason, [StackTraceImpl? stacktrace])
  • changed: ctor ChModException(String reason, [StackTraceImpl stacktrace]) → ctor ChModException(String reason, [StackTraceImpl? stacktrace])
  • changed: ctor ChOwnException(String reason, [StackTraceImpl stacktrace]) → ctor ChOwnException(String reason, [StackTraceImpl? stacktrace])
  • changed: ctor DCliException(this.message, [StackTraceImpl stackTrace]) → ctor DCliException(this.message, [StackTraceImpl? stackTrace])
  • changed: ctor FetchUrl({this.url, this.saveToPath, this.progress}) → ctor FetchUrl( {required this.url, required this.saveToPath, this.progress = …})
  • changed: ctor FileSort(String inputPath, String outputPath, List<Column> columns, String fieldDelimiter, String lineDelimiter, {this.verbose = …}) → ctor FileSort(String inputPath, String outputPath, List<Column> columns, String? fieldDelimiter, String? lineDelimiter, {this.verbose = …})
  • changed: ctor NamedLock({ @required this.name, String lockPath, String description, Duration timeout, }) → ctor NamedLock({ required this.name, String? lockPath, String description = …, Duration timeout = …, })
  • changed: ctor Progress(LineAction stdout, {LineAction stderr = …}) → ctor Progress(LineAction stdout, {LineAction? stderr = …})
  • changed: ctor ReadException(String reason, [StackTraceImpl stacktrace]) → ctor ReadException(String reason, [StackTraceImpl? stacktrace])
  • changed: ctor RunException(this.cmdLine, this.exitCode, this.reason, {StackTraceImpl stackTrace}) → ctor RunException(this.cmdLine, this.exitCode, this.reason, {StackTraceImpl? stackTrace})
  • changed: ctor RunException.withArgs( String cmd, List<String> args, this.exitCode, this.reason, {StackTraceImpl stackTrace}) → ctor RunException.withArgs( String? cmd, List<String?> args, this.exitCode, this.reason, {StackTraceImpl? stackTrace})
  • changed: ctor Script.fromFile(String scriptPathTo, {DartProject project}) → ctor Script.fromFile(String scriptPathTo, {DartProject? project})
  • changed: extension StringAsProcess on String → extension StringAsProcess on String?
  • changed: field BashShell.pid: final int → field BashShell.pid: final int?
  • changed: field Column.ordinal: int → field Column.ordinal: int?
  • changed: field DCliException.cause: final Object → field DCliException.cause: final Object?
  • changed: field DCliPaths.dcliCompleteName: String → field DCliPaths.dcliCompleteName: String?
  • changed: field DCliPaths.dcliInstallName: String → field DCliPaths.dcliInstallName: String?
  • changed: field DCliPaths.dcliName: String → field DCliPaths.dcliName: late String
  • changed: field FileSort.verbose: final bool → field FileSort.verbose: final bool?
  • changed: field Progress.exitCode: int → field Progress.exitCode: int?
  • changed: field PubSpec.pubspec: pub.PubSpec → field PubSpec.pubspec: late pub.PubSpec
  • changed: field RunException.exitCode: int → field RunException.exitCode: int?
  • changed: field Settings.version: String → field Settings.version: String?
  • changed: field UnknownShell.pid: final int → field UnknownShell.pid: final int?
  • changed: field UnknownShell.processName: final String → field UnknownShell.processName: final String?
  • changed: field Which.progress: Progress → field Which.progress: Progress?
  • changed: field ZshShell.pid: final int → field ZshShell.pid: final int?
  • changed: function ask(String prompt, {bool toLower = …, bool hidden = …, bool required = …, String defaultValue, AskValidator validator = …}): String → function ask(String prompt, {bool toLower = …, bool hidden = …, bool required = …, String? defaultValue, AskValidator validator = …}): String
  • changed: function cat(String path, {LineAction stdout}): void → function cat(String path, {LineAction stdout = …}): void
  • changed: function chown(String path, {String user, String group, bool recursive = …}): void → function chown(String path, {String? user, String? group, bool recursive = …}): void
  • changed: function confirm(String prompt, {bool defaultValue}): bool → function confirm(String prompt, {bool? defaultValue}): bool
  • changed: function copyTree(String from, String to, {bool overwrite = …, bool includeHidden = …, bool recursive = …, bool Function(String file) filter}): void → function copyTree(String from, String to, {bool overwrite = …, bool includeHidden = …, bool recursive = …, bool Function(String file) filter = …}): void
  • changed: function devNull(String line): void → function devNull(String? line): void
  • changed: function fetch( {@required String url, @required String saveToPath, OnFetchProgress fetchProgress}): void → function fetch( {required String url, required String saveToPath, OnFetchProgress fetchProgress = …}): void
  • changed: function fetchMultiple({@required List<FetchUrl> urls}): void → function fetchMultiple({required List<FetchUrl> urls}): void
  • changed: function find( String pattern, { bool caseSensitive = …, bool recursive = …, bool includeHidden = …, String workingDirectory = …, Progress progress, List<FileSystemEntityType> types = …, }): Progress → function find( String pattern, { bool caseSensitive = …, bool recursive = …, bool includeHidden = …, String workingDirectory = …, Progress? progress, List<FileSystemEntityType> types = …, }): Progress
  • changed: function menu<T>( {@required String prompt, @required List<T> options, T defaultOption, int limit, String Function(T) format, bool fromStart = …}): T → function menu<T>( {required String prompt, required List<T> options, T? defaultOption, int? limit, String Function(T)? format, bool fromStart = …}): T
  • changed: function moveTree(String from, String to, {bool overwrite = …, bool includeHidden = …, bool Function(String file) filter}): void → function moveTree(String from, String to, {bool overwrite = …, bool includeHidden = …, bool Function(String file) filter = …}): void
  • changed: function printerr(String line): void → function printerr(String? line): void
  • changed: function privatePath(String part1, [String part2, String part3, String part4, String part5, String part6, String part7]): String → function privatePath(String part1, [String? part2, String? part3, String? part4, String? part5, String? part6, String? part7]): String
  • changed: function run(String commandLine, {bool runInShell = …, bool nothrow = …, bool privileged = …, String workingDirectory}): int → function run(String commandLine, {bool runInShell = …, bool nothrow = …, bool privileged = …, String? workingDirectory}): int?
  • changed: function start(String commandLine, {Progress progress, bool runInShell = …, bool detached = …, bool terminal = …, bool nothrow = …, bool privileged = …, String workingDirectory}): Progress → function start(String commandLine, {Progress? progress, bool runInShell = …, bool detached = …, bool terminal = …, bool nothrow = …, bool privileged = …, String? workingDirectory}): Progress
  • changed: function startFromArgs( String command, List<String> args, { Progress progress, bool runInShell = …, bool detached = …, bool terminal = …, bool privileged = …, bool nothrow = …, String workingDirectory, }): Progress → function startFromArgs( String command, List<String> args, { Progress? progress, bool runInShell = …, bool detached = …, bool terminal = …, bool privileged = …, bool nothrow = …, String? workingDirectory, }): Progress
  • changed: function truepath(String part1, [String part2, String part3, String part4, String part5, String part6, String part7]): String → function truepath(String part1, [String? part2, String? part3, String? part4, String? part5, String? part6, String? part7]): String
  • changed: function which(String appname, {bool first = …, bool verbose = …, Progress progress}): Which → function which(String appname, {bool first = …, bool verbose = …, Progress? progress}): Which
  • changed: get DartSdk.pathToDartExe: String → get DartSdk.pathToDartExe: String?
  • changed: get DartSdk.pathToDartToNativeExe: String → get DartSdk.pathToDartToNativeExe: String?
  • changed: get DartSdk.pathToPubExe: String → get DartSdk.pathToPubExe: String?
  • changed: get DartSdk.version: String → get DartSdk.version: String?
  • changed: get Dependency.props: List<Object> → get Dependency.props: List<Object?>
  • changed: get Progress.firstLine: String → get Progress.firstLine: String?
  • changed: get Progress.stream: Stream<String> → get Progress.stream: Stream<String?>
  • changed: get PubCache.cacheDir: String → get PubCache.cacheDir: String?
  • changed: get PubSpec.name: String → get PubSpec.name: String?
  • changed: get PubSpec.version: Version → get PubSpec.version: Version?
  • changed: get Shell.loggedInUser: String → get Shell.loggedInUser: String?
  • changed: get Shell.pathToStartScript: String → get Shell.pathToStartScript: String?
  • changed: get Shell.pid: int → get Shell.pid: int?
  • changed: get StringAsProcess.firstLine: String → get StringAsProcess.firstLine: String?
  • changed: get StringAsProcess.lastLine: String → get StringAsProcess.lastLine: String?
  • changed: get UnknownShell.loggedInUser: String → get UnknownShell.loggedInUser: String?
  • changed: get Which.path: String → get Which.path: String?
  • changed: get WindowsMixin.loggedInUser: String → get WindowsMixin.loggedInUser: String?
  • changed: method Assets.list(String pattern, {String root, bool recursive = …}): List<String> → method Assets.list(String pattern, {required String root, bool recursive = …}): List<String?>
  • changed: method DartProject.createScript(String pathToScript, {String templateName = …}): Script → method DartProject.createScript(String scriptName, {String templateName = …}): Script
  • changed: method DartSdk.runDartCompiler(Script script, {@required String pathToExe, Progress progress}): void → method DartSdk.runDartCompiler(Script script, {required String pathToExe, Progress? progress}): void
  • changed: method DartSdk.runPubGet(String workingDirectory, {Progress progress}): void → method DartSdk.runPubGet(String? workingDirectory, {Progress? progress, bool? compileExecutables}): void
  • changed: method Env.operator [](String name): String → method Env.operator [](String name): String?
  • changed: method FileSync.append(String line, {String newline = …}): void → method FileSync.append(String line, {String? newline = …}): void
  • changed: method FileSync.readLine({String lineDelimiter = …}): String → method FileSync.readLine({String lineDelimiter = …}): String?
  • changed: method FileSync.write(String line, {String newline = …}): void → method FileSync.write(String line, {String? newline = …}): void
  • changed: method NamedLock.withLock( void Function() fn, { String waiting, }): void → method NamedLock.withLock( void Function() fn, { String? waiting, }): void
  • changed: method PosixShell.checkInstallPreconditions(): String → method PosixShell.checkInstallPreconditions(): String?
  • changed: method ProcessHelper.getParentPID(int childPid): int → method ProcessHelper.getParentPID(int? childPid): int?
  • changed: method ProcessHelper.getProcessName(int pid): String → method ProcessHelper.getProcessName(int? pid): String?
  • changed: method ProcessHelper.isRunning(int pid): bool → method ProcessHelper.isRunning(int? pid): bool
  • changed: method Progress.addToStdout(String line): void → method Progress.addToStdout(String? line): void
  • changed: method Settings.setVerbose({@required bool enabled}): void → method Settings.setVerbose({required bool enabled}): void
  • changed: method Settings.verbose(String string): void → method Settings.verbose(String? string): void
  • changed: method Shell.checkInstallPreconditions(): String → method Shell.checkInstallPreconditions(): String?
  • changed: method Shell.installTabCompletion({bool quiet}): void → method Shell.installTabCompletion({bool quiet = …}): void
  • changed: method StringAsProcess.forEach(LineAction stdout, {LineAction stderr, bool runInShell = …}): void → method StringAsProcess.forEach(LineAction stdout, {LineAction? stderr, bool runInShell = …}): void
  • changed: method StringAsProcess.start({ Progress progress, bool runInShell = …, bool detached = …, bool terminal = …, bool nothrow = …, bool privileged = …, String workingDirectory, }): void → method StringAsProcess.start({ Progress? progress, bool runInShell = …, bool detached = …, bool terminal = …, bool nothrow = …, bool privileged = …, String? workingDirectory, }): void
  • changed: method StringAsProcess.stream( {bool runInShell = …, String workingDirectory, bool nothrow = …, bool includeStderr = …}): Stream<String> → method StringAsProcess.stream( {bool runInShell = …, String? workingDirectory, bool nothrow = …, bool includeStderr = …}): Stream<String?>
  • changed: method StringAsProcess.toList( {bool runInShell = …, int skipLines = …, bool nothrow = …}): List<String> → method StringAsProcess.toList( {bool runInShell = …, int skipLines = …, bool nothrow = …}): List<String?>
  • changed: method Terminal.showCursor({bool show}): void → method Terminal.showCursor({required bool show}): void
  • changed: method UnknownShell.checkInstallPreconditions(): String → method UnknownShell.checkInstallPreconditions(): String?
  • changed: method WindowsMixin.checkInstallPreconditions(): String → method WindowsMixin.checkInstallPreconditions(): String?
  • changed: set PubSpec.version(Version version) → set PubSpec.version(Version? version)
  • changed: static method Ask.ipAddress({int version}): AskValidator → static method Ask.ipAddress( {int version = …}): AskValidator
  • changed: static method Dependency.fromLine(String line): Dependency → static method Dependency.fromLine(String line): Dependency?
  • changed: static method FileSync.tempFile({String suffix}): String → static method FileSync.tempFile({String? suffix}): String
  • changed: static method Format.row(List<String> cols, {List<int> widths, List<TableAlignment> alignments, String delimiter}): String → static method Format.row(List<String?> cols, {List<int>? widths, List<TableAlignment>? alignments, String? delimiter}): String
  • changed: static method Remote.exec( {String host, String command, bool agent = …, bool sudo = …, String password, Progress progress}): void → static method Remote.exec( {required String host, required String command, bool agent = …, bool sudo = …, String? password, Progress? progress}): void
  • changed: static method Remote.execList( {String host, List<String> commands, bool agent = …, bool sudo = …, String password, Progress progress}): void → static method Remote.execList( {required String host, required List<String?> commands, bool agent = …, bool sudo = …, String? password, Progress? progress}): void
  • changed: static method Remote.scp( {@required List<String> from, @required String to, String fromHost, String toHost, String fromUser, String toUser, bool recursive = …, Progress progress}): void → static method Remote.scp( {required List<String> from, required String to, String? fromHost, String? toHost, String? fromUser, String? toUser, bool recursive = …, Progress? progress}): void
  • changed: static method WindowsMixin.setPath(List<String> paths): void → static method WindowsMixin.setPath(List<String?> paths): void
  • added: class DartProjectException extends DCliException
  • added: ctor DartProjectException(String message)