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 8ef3c4f commit 19c00f2
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 9 deletions.
30 changes: 30 additions & 0 deletions dcli_unit_tester/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
# 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.5
- change the dependency to native_sychronisation_temp until the offical
package is released.
Expand Down
2 changes: 1 addition & 1 deletion dcli_unit_tester/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.5';
String packageVersion = '5.0.0';
16 changes: 8 additions & 8 deletions dcli_unit_tester/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -103,28 +103,28 @@ packages:
path: "../dcli"
relative: true
source: path
version: "4.0.5"
version: "5.0.0"
dcli_common:
dependency: "direct overridden"
description:
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"
equatable:
dependency: transitive
description:
Expand Down Expand Up @@ -305,10 +305,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"
source_span:
dependency: transitive
description:
Expand Down Expand Up @@ -393,10 +393,10 @@ packages:
dependency: transitive
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 19c00f2

Please sign in to comment.