Skip to content

Commit

Permalink
release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-virkus committed Apr 7, 2021
1 parent 0e5d561 commit cda23bd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.0.0
- `enough_mail_html` is now [null safe](https://dart.dev/null-safety/tour) #6
- use URL safe links when linking an embedded image with a `content-ID`
- limit image width in `<img>` elements when `maxImageWidth` is specified


## 0.4.0
- override `<meta charset="...">` elements to always be UTF-8
- add `quoteToHtml(...)` extension method to `MimeMessage`
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Generate html code from any email mime message for displaying it.

## Usage
The `enough_mail_html` package defines the `decodeTextHtmlForDisplay()` extension method on `MimeMessage`.
The `enough_mail_html` package defines the `decodeTextHtmlForDisplay()` extension method on `MimeMessage` of the [enough_mail](https://pub.dev/packages/enough_mail) package.

This method will always generate HTML, specifically also for plain text or empty messages.
You can define your custom processors
Expand Down Expand Up @@ -63,7 +63,7 @@ Add this dependency your pubspec.yaml file:

```
dependencies:
enough_mail_html: ^0.3.0
enough_mail_html: ^1.0.0
```
The latest version or `enough_mail_html` is [![enough_mail_html version](https://img.shields.io/pub/v/enough_mail_html.svg)](https://pub.dartlang.org/packages/enough_mail_html).

Expand Down
14 changes: 7 additions & 7 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: enough_mail_html
description: Generate HTML from an email mime message. Eases handling of `MimeMessage` in the [enough_mail](https://pub.dev/packages/enough_mail) package.
version: 0.4.0
description: Generate HTML from an email mime message. Eases handling of `MimeMessage` in the `enough_mail` package.
version: 1.0.0
homepage: https://github.com/Enough-Software/enough_mail_html

environment:
sdk: '>=2.12.0 <3.0.0'

dependencies:
html: ^0.15.0
enough_mail: #'>=1.0.0 <2.0.0'
git:
url: https://github.com/Enough-Software/enough_mail.git
# path: ../enough_mail/
image: ^3.0.1
enough_mail: ^1.1.0
# git:
# url: https://github.com/Enough-Software/enough_mail.git
#path: ../enough_mail/
image: ^3.0.2

dev_dependencies:
pedantic: ^1.11.0
Expand Down

0 comments on commit cda23bd

Please sign in to comment.