Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare 0.10.0 #70

Merged
merged 1 commit into from
May 10, 2024
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
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
Loading