Skip to content

Commit

Permalink
prepare 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Laux committed May 9, 2024
1 parent eda93c2 commit 33da76e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,22 @@

## Unreleased

## 0.10.0 - Specification compliant detection for internationalized links

### Added
- Add new methods for working with emojis (they are standalone helper functions and not part of message parsing):
- `parser::is_emoji::emoji`(rust only) - nom parser that eats one emoji
- `parser::is_emoji::get_first_emoji(text)` - get first emoji if text begins with an emoji
- `parser::is_emoji::count_emojis_if_only_contains_emoji(text)` - counts emojis in texts that contain only emojis
- Parse IRI links (Links that contain non ASCII characters in location part) - link parsing is now RFC3987 and RFC3988 compliant.

### Changed
- upgrade rust toolchain to 1.77.2
- improved example page (added example text)

### Fixed
- fix absolute unix paths being detected as bot commands suggestions
- fix parenthesis in target of labeled link

## 0.9.0 - Improve BotCommandSuggestion Parsing

Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
name = "deltachat_message_parser"
version = "0.9.0"
version = "0.10.0"
edition = "2018"
license = "MPL-2.0"
description = "email, link, hashtag, md and more - parsing for deltachat messages"
Expand Down
2 changes: 1 addition & 1 deletion message_parser_wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "message_parser_wasm"
version = "0.9.0"
version = "0.10.0"
edition = "2018"
license = "MPL-2.0"
description = "Parsing of Links, Email adresses, simple text formatting (markdown subset), user mentions, hashtags and more in DeltaChat messages."
Expand Down
2 changes: 1 addition & 1 deletion spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ On click, the command gets prefilled as the draft, so it can be easily send.
Also if the draft is not empty it should ask before replacing it.

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

<a name="hashtag" id="hashtag"></a>
Expand Down

0 comments on commit 33da76e

Please sign in to comment.