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 a6c70a1 commit 9f6b155
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions dcli_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# 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_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 = '5.0.0';
String packageVersion = '6.0.0';

0 comments on commit 9f6b155

Please sign in to comment.