Skip to content

Upgrading dcli 8 to 9

Unknown8.4.2 → 9.0.2

UnknownUpgrade verdict

None of the 3 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 9.0.0: >=3.3.0 <4.0.0 → >=3.10.0 <4.0.0.

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

  • removed: function symlink( String existingPath, String linkPath, ): void
  • removed: function withFileProtection<R>( List<String> protected, R Function() action, { String? workingDirectory, }): R
  • removed: function withTempDir<R>(R Function(String tempDir) action, {bool keep = …, String? pathToTempDir}): R
  • removed: function withTempFile<R>( R Function(String tempFile) action, { String? suffix, String? pathToTempDir, bool create = …, bool keep = …, }): R
  • removed: get Settings.isStackEmpty: bool
  • removed: get Settings.pathToScript: String
  • removed: get Settings.pathToTemplate: String
  • removed: method DartSdk.globalActivate(String package): void
  • removed: method DartSdk.globalActivateFromPath(String path): void
  • removed: method DartSdk.globalDeactivate(String package): void
  • removed: method DartSdk.isPackageGlobalActivateFromPath(String path): void
  • removed: method DartSdk.isPackageGloballyActivated(String package): bool
  • removed: method NamedLock.withLock( void Function() fn, { String? waiting, }): Future<void>
  • removed: method Shell.addToPATH(String path): bool
  • removed: method UnknownShell.addToPATH(String path): bool
  • removed: static get DartProject.current: DartProject
  • removed: static get DartScript.current: DartScript
  • removed: static method FileSync.tempFile({String? suffix}): String
  • changed: ctor DartProject.create( {required String pathTo, required String templateName}) → ctor DartProject.create({ required String pathTo, required String templateName, })
  • changed: function capture<R>(Future<R> Function() action, {Progress? progress}): Future<Progress> → function capture<R>( Future<R> Function() action, { Progress? progress, }): Future<Progress>
  • changed: function confirm(String prompt, {bool? defaultValue, CustomConfirmPrompt customPrompt = …}): bool → function confirm( String prompt, { bool? defaultValue, CustomConfirmPrompt customPrompt = …, }): bool
  • changed: method PubCache.globalActivate(String packageName, {String? version, bool verbose = …}): void → method PubCache.globalActivate( String packageName, { String? version, bool verbose = …, }): void
  • changed: static method DartProject.findProject(String pathToSearchFrom, {bool search = …}): DartProject? → static method DartProject.findProject( String pathToSearchFrom, { bool search = …, }): DartProject?
  • changed: typedef CustomConfirmPrompt = String Function( String prompt, bool? defaultValue) → typedef CustomConfirmPrompt = String Function( String prompt, bool? defaultValue, )
  • added: class NamedLockObservation
  • added: ctor NamedLockObservation.held({ required this.name, required int this.ownerPid, required int this.ownerIsolateId, required DateTime this.acquiredAt, })
  • added: ctor NamedLockObservation.notHeld({required this.name})
  • added: field NamedLockObservation.acquiredAt: final DateTime?
  • added: field NamedLockObservation.isHeld: final bool
  • added: field NamedLockObservation.name: final String
  • added: field NamedLockObservation.ownerIsolateId: final int?
  • added: field NamedLockObservation.ownerPid: final int?
  • added: method NamedLock.observe(): NamedLockObservation
  • added: method ProcessHelper.getProcessStartIdentity(int pid): String?
  • removed: method DockerShell.addToPATH(String path): bool
  • removed: method AshShell.addToPATH(String path): bool
  • removed: method BashShell.addToPATH(String path): bool
  • removed: method DashShell.addToPATH(String path): bool
  • removed: method FishShell.addToPATH(String path): bool
  • removed: method ShShell.addToPATH(String path): bool
  • removed: method ZshShell.addToPATH(String path): bool
  • changed: method PosixShell.withPrivilegesAsync(RunPrivilegedAsync action, {bool allowUnprivileged = …}): Future<void> → method PosixShell.withPrivilegesAsync( RunPrivilegedAsync action, { bool allowUnprivileged = …, }): Future<void>
  • changed: method UserEnvironment.reorder( bool Function() condition, void Function() one, void Function() two): void → method UserEnvironment.reorder( bool Function() condition, void Function() one, void Function() two, ): void
  • removed: method CmdShell.addToPATH(String path): bool
  • removed: method PowerShell.addToPATH(String path): bool
  • removed: method WindowsMixin.addToPATH(String path): bool
  • changed: function regCreateKey( int hKey, String subKey, ): void → function regCreateKey( HKEY hKey, String subKey, ): void
  • changed: function regDeleteKey( int hkey, String subKey, ): void → function regDeleteKey( HKEY hkey, String subKey, ): void
  • changed: function regDeleteValue( int hkey, String subKey, String valueName, ): void → function regDeleteValue( HKEY hkey, String subKey, String valueName, ): void
  • changed: function regGetDWORD( int hkey, String subKey, String valueName, { int accessRights = …, }): int → function regGetDWORD( HKEY hkey, String subKey, String valueName, { REG_SAM_FLAGS accessRights = …, }): int
  • changed: function regGetExpandString( int hkey, String subKey, String valueName, { int accessRights = …, bool expand = …, }): String → function regGetExpandString( HKEY hkey, String subKey, String valueName, { REG_SAM_FLAGS accessRights = …, bool expand = …, }): String
  • changed: function regGetString( int hkey, String subKey, String valueName, { int accessRights = …, }): String → function regGetString( HKEY hkey, String subKey, String valueName, { REG_SAM_FLAGS accessRights = …, }): String
  • changed: function regKeyExists( int hkey, String subKey, ): bool → function regKeyExists( HKEY hkey, String subKey, ): bool
  • changed: function regSetDWORD( int hkey, String subKey, String valueName, int value, { int accessRights = …, }): void → function regSetDWORD( HKEY hkey, String subKey, String valueName, int value, { REG_SAM_FLAGS accessRights = …, }): void
  • changed: function regSetExpandString( int hkey, String subKey, String valueName, String value, { int accessRights = …, }): void → function regSetExpandString( HKEY hkey, String subKey, String valueName, String value, { REG_SAM_FLAGS accessRights = …, }): void
  • changed: function regSetNone( int hkey, String subKey, String valueName, { int accessRights = …, }): void → function regSetNone( HKEY hkey, String subKey, String valueName, { REG_SAM_FLAGS accessRights = …, }): void
  • changed: function regSetString( int hkey, String subKey, String valueName, String value, { int accessRights = …, }): void → function regSetString( HKEY hkey, String subKey, String valueName, String value, { REG_SAM_FLAGS accessRights = …, }): void