Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Version 2.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinesp committed Nov 9, 2023
1 parent 06463e6 commit 3960ec6
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 11 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

# [2.16.0] - 2023-11-09

### Fixed
- Android: [API breaking change] replaced the existing `mentionDisplayHandler` parameter in both `RichTextEditor` and `EditorStyledText` with a couple of `resolveMentionDisplay` and `resolveRoomMentionDisplay` lambdas.
- Android: fixed an issue that caused unnecessary recompositions in the Compose components.
- Android: `EditorEditText` was being leaked by the ViewModel on activity recreations, also causing the right styles to not be applied properly.
- Android: change several default theme colors.
- Android: add `MentionsState` to get the intentional mentions in the text.
- Android: make `LinkSpan`, `PillSpan` and `CustomMentionSpan` clickable in the TextView component.

### Added
- Common: Added `MentionDetector` to the FFI bindings so we can use the same method for detecting mentions in all platforms.
- Android: Added `replaceSuggestion` and `insertMentionAtSuggestion` methods to the Compose implementation of the RTE composer.

# [2.15.0] - 2023-10-30

### Fixed
Expand Down
6 changes: 3 additions & 3 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 bindings/wysiwyg-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description = "Swift and Kotlin bindings for wysiwyg-rust"
keywords = ["matrix", "chat", "messaging", "composer", "wysiwyg"]
license = "Apache-2.0"
name = "uniffi-wysiwyg-composer"
version = "2.15.0"
version = "2.16.0"
rust-version = { workspace = true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion bindings/wysiwyg-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description = "WASM bindings for wysiwyg-rust"
keywords = ["matrix", "chat", "messaging", "composer", "wysiwyg"]
license = "Apache-2.0"
name = "wysiwyg-wasm"
version = "2.15.0"
version = "2.16.0"
rust-version = { workspace = true }

[package.metadata.wasm-pack.profile.profiling]
Expand Down
4 changes: 2 additions & 2 deletions bindings/wysiwyg-wasm/package-lock.json

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

2 changes: 1 addition & 1 deletion bindings/wysiwyg-wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wysiwyg-wasm",
"version": "2.15.0",
"version": "2.16.0",
"homepage": "https://gitlab.com/andybalaam/wysiwyg-rust",
"description": "WASM bindings for wysiwyg-rust",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion crates/wysiwyg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description = "Model code to power a rich text editor for Matrix"
keywords = ["matrix", "chat", "messaging", "composer", "wysiwyg"]
license = "Apache-2.0"
name = "wysiwyg"
version = "2.15.0"
version = "2.16.0"
rust-version = { workspace = true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion platforms/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RELEASE_SIGNING_ENABLED=true

GROUP=io.element.android
# POM_ARTIFACT_ID is configured in each module's gradle.properties
VERSION_NAME=2.15.0
VERSION_NAME=2.16.0

POM_NAME=Matrix WYSIWYG
POM_DESCRIPTION=Cross-platform rich text editor that generates HTML output.
Expand Down
2 changes: 1 addition & 1 deletion platforms/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@matrix-org/matrix-wysiwyg",
"version": "2.15.0",
"version": "2.16.0",
"type": "module",
"description": "Wysiwyg composer for matrix.org using React",
"author": "matrix.org",
Expand Down

0 comments on commit 3960ec6

Please sign in to comment.