Skip to content

Commit

Permalink
Released 5.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsutton committed Jul 31, 2024
1 parent 19c00f2 commit 77ff93d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
31 changes: 31 additions & 0 deletions dcli_input/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion dcli_input/lib/src/version/version.g.dart
Original file line number Diff line number Diff line change
@@ -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';
6 changes: 3 additions & 3 deletions dcli_input/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 77ff93d

Please sign in to comment.