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 58f6c59 commit 3d264a7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions dcli_terminal/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_terminal/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 3d264a7

Please sign in to comment.