Skip to content

Commit e4c994a

Browse files
committed
prepare 0.10.0
1 parent eda93c2 commit e4c994a

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

Diff for: CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,22 @@
22

33
## Unreleased
44

5+
## 0.10.0 - Specification compliant detection for internationalized links
6+
57
### Added
68
- Add new methods for working with emojis (they are standalone helper functions and not part of message parsing):
79
- `parser::is_emoji::emoji`(rust only) - nom parser that eats one emoji
810
- `parser::is_emoji::get_first_emoji(text)` - get first emoji if text begins with an emoji
911
- `parser::is_emoji::count_emojis_if_only_contains_emoji(text)` - counts emojis in texts that contain only emojis
12+
- Parse IRI links (Links that contain non ASCII characters in location part) - link parsing is now RFC3987 and RFC3988 compliant.
13+
14+
### Changed
15+
- upgrade rust toolchain to 1.77.2
16+
- improved example page (added example text)
17+
18+
### Fixed
19+
- fix absolute unix paths being detected as bot commands suggestions
20+
- fix parenthesis in target of labeled link
1021

1122
## 0.9.0 - Improve BotCommandSuggestion Parsing
1223

Diff for: Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
33
name = "deltachat_message_parser"
4-
version = "0.9.0"
4+
version = "0.10.0"
55
edition = "2018"
66
license = "MPL-2.0"
77
description = "email, link, hashtag, md and more - parsing for deltachat messages"

Diff for: message_parser_wasm/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "message_parser_wasm"
3-
version = "0.9.0"
3+
version = "0.10.0"
44
edition = "2018"
55
license = "MPL-2.0"
66
description = "Parsing of Links, Email adresses, simple text formatting (markdown subset), user mentions, hashtags and more in DeltaChat messages."

Diff for: spec.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ On click, the command gets prefilled as the draft, so it can be easily send.
7373
Also if the draft is not empty it should ask before replacing it.
7474

7575
```regex
76-
/(?<=^|\\s)/[a-zA-Z][a-zA-Z@\\d_/.-]{0,254}/
76+
/(?<=^|\\s)//[a-zA-Z][a-zA-Z@\\d_.-]{0,254}/
7777
```
7878

7979
<a name="hashtag" id="hashtag"></a>

0 commit comments

Comments
 (0)