Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
8 changes: 4 additions & 4 deletions lib/src/core/message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ class Message {
List<dynamic> bccRecipients = [];
Iterable<Address> get bccsAsAddresses => _asAddresses(bccRecipients);

/// Allowed values are String, Address, Iterable<Address>, Iterable<String> or
/// DateTime.
/// Allowed values are `String`, `Address`, `Iterable<Address>`, `Iterable<String>` or
/// `DateTime`.
///
/// Iterable<String> is only allowed if all Strings are email-addresses.
/// `Iterable<String>` 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
Expand Down
16 changes: 8 additions & 8 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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'
2 changes: 1 addition & 1 deletion test/message_out_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library message_out_test;
library;

import 'dart:convert';
import 'dart:io';
Expand Down