Skip to content

Commit

Permalink
Released 6.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsutton committed Aug 8, 2024
1 parent 3d264a7 commit 42e030d
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 8 deletions.
11 changes: 11 additions & 0 deletions dcli_sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 6.0.0
- Breaking
The AskValidator now takes an additional argument 'customErrorMessage'. This will only affect
users that have built custom ask validators.
change `String validate(String line) ` to `String validate(String line, {String? customErrorMessage})`
and then return the customErrorMessage rather than you usual error message if the customErrorMessage is not null.
When outputing an error from you validator you should use `customErrorMessage??'my original error'`
Thanks to Emad Beltaje for the contribution!

- Upgraded to win32 v5 to fix an issue with a deprecated api for dart 3.5.

# 5.0.0
- Breaking
-- Removed a number of the withXX sync functions in favour of withXXAsync
Expand Down
2 changes: 1 addition & 1 deletion dcli_sdk/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 = '5.0.0';
String packageVersion = '6.0.0';
2 changes: 1 addition & 1 deletion template/project/cmd_args/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:

dependencies:
args: ^2.0.0
dcli: 5.0.0
dcli: 6.0.0

dev_dependencies:
lint_hard: ^4.0.0
4 changes: 2 additions & 2 deletions template/project/find/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ environment:
flutter:
dependencies:
args: ^2.3.1
dcli: 5.0.0
dcli_core: 5.0.0
dcli: 6.0.0
dcli_core: 6.0.0
path: ^1.0.0
dev_dependencies:
lint_hard: ^4.0.0
4 changes: 2 additions & 2 deletions template/project/full/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ environment:

dependencies:
args: ^2.5.0
dcli: 5.0.0
dcli_core: 5.0.0
dcli: 6.0.0
dcli_core: 6.0.0
http: ^1.2.1
path: ^1.9.0
settings_yaml: ^8.2.0
Expand Down
2 changes: 1 addition & 1 deletion template/project/simple/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ environment:
flutter:

dependencies:
dcli: 5.0.0
dcli: 6.0.0

dev_dependencies:
lint_hard: ^4.0.0
2 changes: 1 addition & 1 deletion template/script/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ environment:

dependencies:
args: ^2.4.2
dcli: 5.0.0
dcli: 6.0.0

dev_dependencies:
lint_hard: ^4.0.0

0 comments on commit 42e030d

Please sign in to comment.