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 aa0d0bd commit e2624d1
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 8 deletions.
31 changes: 31 additions & 0 deletions dcli_core/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.7
- change the stream type to Stream<FindItem> for the findAsync method to match how find returns files.

Expand Down
2 changes: 1 addition & 1 deletion dcli_core/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.7';
String packageVersion = '5.0.0';
14 changes: 7 additions & 7 deletions dcli_core/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -135,21 +135,21 @@ packages:
path: "../dcli"
relative: true
source: path
version: "4.0.5"
version: "5.0.0"
dcli_common:
dependency: "direct main"
description:
path: "../dcli_common"
relative: true
source: path
version: "4.0.3"
version: "5.0.0"
dcli_terminal:
dependency: "direct overridden"
description:
path: "../dcli_terminal"
relative: true
source: path
version: "4.0.3"
version: "5.0.0"
equatable:
dependency: transitive
description:
Expand Down Expand Up @@ -402,10 +402,10 @@ packages:
dependency: transitive
description:
name: settings_yaml
sha256: "415bc91cbcfe8b66b0945fdad8823b439ec9bd31591db6c1a4d2d07cab97899d"
sha256: ed2714686a1a22d45c1454ca3da1b0ce889b639b929aa09f6afa2bba8c0a423e
url: "https://pub.dev"
source: hosted
version: "8.1.0"
version: "8.2.0"
shelf:
dependency: transitive
description:
Expand Down Expand Up @@ -578,10 +578,10 @@ packages:
dependency: "direct main"
description:
name: uuid
sha256: "814e9e88f21a176ae1359149021870e87f7cddaf633ab678a5d2b0bff7fd1ba8"
sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90"
url: "https://pub.dev"
source: hosted
version: "4.4.0"
version: "4.4.2"
validators2:
dependency: transitive
description:
Expand Down

0 comments on commit e2624d1

Please sign in to comment.