diff --git a/CHANGELOG.md b/CHANGELOG.md index df07495..f44f589 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 7.1.0 +* allow mime 2.0.0 and intl up to 0.21.0 + Thanks https://github.com/karelklic + ## 7.0.0 * Major Refactoring: Simplified library structure and standardized exports. - Renamed internal `IR` classes to `Mime`. diff --git a/lib/src/core/message.dart b/lib/src/core/message.dart index 95723d4..c5d89ad 100644 --- a/lib/src/core/message.dart +++ b/lib/src/core/message.dart @@ -49,12 +49,12 @@ class Message { List bccRecipients = []; Iterable
get bccsAsAddresses => _asAddresses(bccRecipients); - /// Allowed values are String, Address, Iterable
, Iterable or - /// DateTime. + /// Allowed values are `String`, `Address`, `Iterable
`, `Iterable` or + /// `DateTime`. /// - /// Iterable is only allowed if all Strings are email-addresses. + /// `Iterable` is only allowed if all Strings are email-addresses. /// - /// If a String contains an @ it is treated like an email-address. + /// If a String contains an `@` it is treated like an email-address. /// /// There is no parsing for name / mail-address pairs! /// Always use Address in this case. (Otherwise we might incorrectly encode diff --git a/pubspec.yaml b/pubspec.yaml index 96005eb..6ce166a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: mailer -version: 7.0.0 +version: 7.1.0 description: > Compose and send emails from Dart. Supports file attachments and HTML emails. @@ -13,16 +13,16 @@ dependencies: async: '^2.11.0' crypto: '^3.0.3' logging: '^1.2.0' - intl: '^0.19.0' - mime: '^1.0.5' + intl: '>=0.19.0 <0.21.0' + mime: '>=1.0.5 <3.0.0' path: '^1.8.3' meta: '^1.11.0' punycoder: '^0.2.2' unorm_dart: '^0.3.2' dev_dependencies: - args: '^2.4.2' - test: '^1.25.0' - googleapis_auth: '^1.4.1' - http: '^1.2.0' - lints: '^3.0.0' + args: '^2.7.0' + test: '^1.29.0' + googleapis_auth: '>=1.4.1 <3.0.0' + http: '^1.6.0' + lints: '>=3.0.0 <7.0.0' diff --git a/test/message_out_test.dart b/test/message_out_test.dart index 2282f7b..3f8af39 100644 --- a/test/message_out_test.dart +++ b/test/message_out_test.dart @@ -1,4 +1,4 @@ -library message_out_test; +library; import 'dart:convert'; import 'dart:io';