diff --git a/dcli_input/CHANGELOG.md b/dcli_input/CHANGELOG.md index ad1cdb9a..48940369 100644 --- a/dcli_input/CHANGELOG.md +++ b/dcli_input/CHANGELOG.md @@ -1,3 +1,34 @@ +# 5.0.0 +- Breaking +-- Removed a number of the withXX sync functions in favour of withXXAsync +as the sync versions were dangerous as it was too easy to make async +calls within the callback and then the withXXX method would return +before the callback completed. + +We have left stub methods for the old withXXX form that are marked as deprecated and will throw an UnsupportedError if you call them. + +-- withTempDir replaced by withTempDirAsync +-- withTempFile replaced by withTempFileAsync +-- withFileProtection replaced by withFileProtectionAsync + + +- Removed a number of redundant methods from the dcli package that +were just pass throughs to the dcli_core package. As the dcli barrel +file now exports the dcli_core functions for these methods there should +be no noticiable difference in the API. + +- Added new method PubCache::pathToGlobalPackage + +- Fixed a bug in NamedLock which was causing a dead lock if the an existing +lock file was found but the owning process was no longer runnimg. +- upgraded to settings_yaml 8.2.0 +- removed the DCLIFunction wrapper for a number of functions as it serves no purpose. +- removed move_tree as it was just a wrapper for dcli_core method of the same name. +- moved the move and moveDir wrapper functions and exposed the dcli_core versions. +- replaced all occurances of withTempFile with withTempFileAsync +- move to using native_sychronisation_temp until the official release. + + # 4.0.3 - fix ProgressMixin.firstLine throwing if there are no lines - contributed by @sstasi95 diff --git a/dcli_input/lib/src/version/version.g.dart b/dcli_input/lib/src/version/version.g.dart index eaba1d8d..99a0718a 100644 --- a/dcli_input/lib/src/version/version.g.dart +++ b/dcli_input/lib/src/version/version.g.dart @@ -1,3 +1,3 @@ /// GENERATED BY pub_release do not modify. /// Instance of 'Name' version -String packageVersion = '4.0.3'; +String packageVersion = '5.0.0'; diff --git a/dcli_input/pubspec.lock b/dcli_input/pubspec.lock index 28ece5a6..1bf7f731 100644 --- a/dcli_input/pubspec.lock +++ b/dcli_input/pubspec.lock @@ -119,21 +119,21 @@ packages: path: "../dcli_common" relative: true source: path - version: "4.0.3" + version: "5.0.0" dcli_core: dependency: "direct main" description: path: "../dcli_core" relative: true source: path - version: "4.0.7" + version: "5.0.0" dcli_terminal: dependency: "direct main" description: path: "../dcli_terminal" relative: true source: path - version: "4.0.3" + version: "5.0.0" ffi: dependency: transitive description: