From 96518e34ac7d9f9fbc112ffb73e4503f8d362742 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 23 Jan 2026 13:53:25 +0000 Subject: [PATCH 1/2] chore: release v0.2.1 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bfab2ab..c5ad33d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,36 @@ All notable changes to this project will be documented in this file. +## 0.2.1 - 2026-01-23 + +### ๐Ÿš€ Features + +- Allow setting mouse `SelectionMode` on webgl2 backend by @0xferrous in [#143](https://github.com/ratatui/ratzilla/pull/143) + +### ๐Ÿšœ Refactor + +- *(dom)* Removes double buffering from `DomBackend` by @benoitlx in [#138](https://github.com/ratatui/ratzilla/pull/138) + +### ๐Ÿ“š Documentation + +- *(readme)* Add sdr db website to readme by @nuts-rice in [#147](https://github.com/ratatui/ratzilla/pull/147) +- *(readme)* Add website for AlertAngel by @Vaishnav-Sabari-Girish in [#136](https://github.com/ratatui/ratzilla/pull/136) +- *(readme)* Remove Jet Pham's Conway's Game of Life link by @jetpham in [#131](https://github.com/ratatui/ratzilla/pull/131) +- *(readme)* Add glues website by @panarch in [#129](https://github.com/ratatui/ratzilla/pull/129) + +### โš™๏ธ Miscellaneous Tasks + +- *(project)* Update the repository link by @orhun in [#148](https://github.com/ratatui/ratzilla/pull/148) +- Update to ratatui 0.30.0 by @0xferrous in [#141](https://github.com/ratatui/ratzilla/pull/141) +- *(deps)* Bump beamterm to 0.10.0 by @junkdog in [#140](https://github.com/ratatui/ratzilla/pull/140) +- *(deps)* Bump beamterm to 0.9.0 by @junkdog in [#139](https://github.com/ratatui/ratzilla/pull/139) +- *(deps)* Bump beamterm to 0.8.0 from 0.7.0 by @junkdog in [#130](https://github.com/ratatui/ratzilla/pull/130) + + +**Full Changelog**: https://github.com/ratatui/ratzilla/compare/0.2.0...0.2.1 + + + ## 0.2.0 - 2025-09-28 We are excited to announce the 0.2.0 release of Ratzilla! ๐ŸŽ‰ diff --git a/Cargo.lock b/Cargo.lock index f007608b..9d438935 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "ratzilla" -version = "0.2.0" +version = "0.2.1" dependencies = [ "beamterm-renderer", "bitvec", diff --git a/Cargo.toml b/Cargo.toml index 6b611e65..9c972623 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ratzilla" -version = "0.2.0" +version = "0.2.1" description = "Build terminal-themed web applications with Ratatui and WebAssembly" authors = ["Orhun Parmaksฤฑz "] license = "MIT OR Apache-2.0" From 03820641c840d489db3ae5047b6b8e0522bcc5df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Fri, 23 Jan 2026 16:58:27 +0300 Subject: [PATCH 2/2] chore: bump to 0.3.0 --- CHANGELOG.md | 27 ++++++----- Cargo.lock | 97 ++++++++++++++++++++++++++++--------- Cargo.toml | 6 +-- src/backend/utils.rs | 1 + templates/simple/Cargo.toml | 2 +- 5 files changed, 93 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5ad33d0..6b9cb2a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,31 +2,32 @@ All notable changes to this project will be documented in this file. -## 0.2.1 - 2026-01-23 +## 0.3.0 - 2026-01-23 + +Ratzilla is a part of the [@ratatui](https://github.com/ratatui) organization now! ๐Ÿญ ### ๐Ÿš€ Features -- Allow setting mouse `SelectionMode` on webgl2 backend by @0xferrous in [#143](https://github.com/ratatui/ratzilla/pull/143) +- Allow setting mouse `SelectionMode` on webgl2 backend by @0xferrous in [#143](https://github.com/ratatui/ratzilla/pull/143) ### ๐Ÿšœ Refactor -- *(dom)* Removes double buffering from `DomBackend` by @benoitlx in [#138](https://github.com/ratatui/ratzilla/pull/138) +- _(dom)_ Removes double buffering from `DomBackend` by @benoitlx in [#138](https://github.com/ratatui/ratzilla/pull/138) ### ๐Ÿ“š Documentation -- *(readme)* Add sdr db website to readme by @nuts-rice in [#147](https://github.com/ratatui/ratzilla/pull/147) -- *(readme)* Add website for AlertAngel by @Vaishnav-Sabari-Girish in [#136](https://github.com/ratatui/ratzilla/pull/136) -- *(readme)* Remove Jet Pham's Conway's Game of Life link by @jetpham in [#131](https://github.com/ratatui/ratzilla/pull/131) -- *(readme)* Add glues website by @panarch in [#129](https://github.com/ratatui/ratzilla/pull/129) +- _(readme)_ Add sdr db website to readme by @nuts-rice in [#147](https://github.com/ratatui/ratzilla/pull/147) +- _(readme)_ Add website for AlertAngel by @Vaishnav-Sabari-Girish in [#136](https://github.com/ratatui/ratzilla/pull/136) +- _(readme)_ Remove Jet Pham's Conway's Game of Life link by @jetpham in [#131](https://github.com/ratatui/ratzilla/pull/131) +- _(readme)_ Add glues website by @panarch in [#129](https://github.com/ratatui/ratzilla/pull/129) ### โš™๏ธ Miscellaneous Tasks -- *(project)* Update the repository link by @orhun in [#148](https://github.com/ratatui/ratzilla/pull/148) -- Update to ratatui 0.30.0 by @0xferrous in [#141](https://github.com/ratatui/ratzilla/pull/141) -- *(deps)* Bump beamterm to 0.10.0 by @junkdog in [#140](https://github.com/ratatui/ratzilla/pull/140) -- *(deps)* Bump beamterm to 0.9.0 by @junkdog in [#139](https://github.com/ratatui/ratzilla/pull/139) -- *(deps)* Bump beamterm to 0.8.0 from 0.7.0 by @junkdog in [#130](https://github.com/ratatui/ratzilla/pull/130) - +- _(project)_ Update the repository link by @orhun in [#148](https://github.com/ratatui/ratzilla/pull/148) +- Update to ratatui 0.30.0 by @0xferrous in [#141](https://github.com/ratatui/ratzilla/pull/141) +- _(deps)_ Bump beamterm to 0.10.0 by @junkdog in [#140](https://github.com/ratatui/ratzilla/pull/140) +- _(deps)_ Bump beamterm to 0.9.0 by @junkdog in [#139](https://github.com/ratatui/ratzilla/pull/139) +- _(deps)_ Bump beamterm to 0.8.0 from 0.7.0 by @junkdog in [#130](https://github.com/ratatui/ratzilla/pull/130) **Full Changelog**: https://github.com/ratatui/ratzilla/compare/0.2.0...0.2.1 diff --git a/Cargo.lock b/Cargo.lock index 9d438935..d76d0ea5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -216,6 +216,31 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" +[[package]] +name = "futures-core" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" + +[[package]] +name = "futures-task" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" + +[[package]] +name = "futures-util" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" +dependencies = [ + "futures-core", + "futures-task", + "pin-project-lite", + "pin-utils", + "slab", +] + [[package]] name = "hashbrown" version = "0.16.1" @@ -284,9 +309,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "js-sys" -version = "0.3.83" +version = "0.3.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" +checksum = "8c942ebf8e95485ca0d52d97da7c5a2c387d0e7f0ba4c35e93bfcaee045955b3" dependencies = [ "once_cell", "wasm-bindgen", @@ -404,6 +429,18 @@ version = "11.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" +[[package]] +name = "pin-project-lite" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + [[package]] name = "portable-atomic" version = "1.13.0" @@ -492,7 +529,7 @@ dependencies = [ [[package]] name = "ratzilla" -version = "0.2.1" +version = "0.3.0" dependencies = [ "beamterm-renderer", "bitvec", @@ -575,6 +612,12 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" +[[package]] +name = "slab" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" + [[package]] name = "static_assertions" version = "1.1.0" @@ -627,18 +670,18 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "thiserror" -version = "2.0.17" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "2.0.17" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" dependencies = [ "proc-macro2", "quote", @@ -707,9 +750,9 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.106" +version = "0.2.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" +checksum = "64024a30ec1e37399cf85a7ffefebdb72205ca1c972291c51512360d90bd8566" dependencies = [ "cfg-if", "once_cell", @@ -720,11 +763,12 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.56" +version = "0.4.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c" +checksum = "70a6e77fd0ae8029c9ea0063f87c46fde723e7d887703d74ad2616d792e51e6f" dependencies = [ "cfg-if", + "futures-util", "js-sys", "once_cell", "wasm-bindgen", @@ -733,9 +777,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.106" +version = "0.2.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" +checksum = "008b239d9c740232e71bd39e8ef6429d27097518b6b30bdf9086833bd5b6d608" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -743,9 +787,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.106" +version = "0.2.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" +checksum = "5256bae2d58f54820e6490f9839c49780dff84c65aeab9e772f15d5f0e913a55" dependencies = [ "bumpalo", "proc-macro2", @@ -756,18 +800,18 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.106" +version = "0.2.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" +checksum = "1f01b580c9ac74c8d8f0c0e4afb04eeef2acf145458e52c03845ee9cd23e3d12" dependencies = [ "unicode-ident", ] [[package]] name = "wasm-bindgen-test" -version = "0.3.56" +version = "0.3.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25e90e66d265d3a1efc0e72a54809ab90b9c0c515915c67cdf658689d2c22c6c" +checksum = "45649196a53b0b7a15101d845d44d2dda7374fc1b5b5e2bbf58b7577ff4b346d" dependencies = [ "async-trait", "cast", @@ -782,24 +826,31 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "wasm-bindgen-test-macro", + "wasm-bindgen-test-shared", ] [[package]] name = "wasm-bindgen-test-macro" -version = "0.3.56" +version = "0.3.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7150335716dce6028bead2b848e72f47b45e7b9422f64cccdc23bedca89affc1" +checksum = "f579cdd0123ac74b94e1a4a72bd963cf30ebac343f2df347da0b8df24cdebed2" dependencies = [ "proc-macro2", "quote", "syn", ] +[[package]] +name = "wasm-bindgen-test-shared" +version = "0.2.108" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8145dd1593bf0fb137dbfa85b8be79ec560a447298955877804640e40c2d6ea" + [[package]] name = "web-sys" -version = "0.3.83" +version = "0.3.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac" +checksum = "312e32e551d92129218ea9a2452120f4aabc03529ef03e4d0d82fb2780608598" dependencies = [ "js-sys", "wasm-bindgen", diff --git a/Cargo.toml b/Cargo.toml index 9c972623..c9432a32 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ratzilla" -version = "0.2.1" +version = "0.3.0" description = "Build terminal-themed web applications with Ratatui and WebAssembly" authors = ["Orhun Parmaksฤฑz "] license = "MIT OR Apache-2.0" @@ -40,10 +40,10 @@ web-sys = { version = "0.3.81", features = [ compact_str = "0.9.0" ratatui = { version = "0.30", default-features = false, features = ["all-widgets", "layout-cache"] } console_error_panic_hook = "0.1.7" -thiserror = "2.0.12" +thiserror = "2.0.18" bitvec = { version = "1.0.1", default-features = false, features = ["alloc", "std"] } beamterm-renderer = "0.10.0" unicode-width = "0.2.2" [dev-dependencies] -wasm-bindgen-test = "0.3.56" +wasm-bindgen-test = "0.3.58" diff --git a/src/backend/utils.rs b/src/backend/utils.rs index a635aef2..5beceddb 100644 --- a/src/backend/utils.rs +++ b/src/backend/utils.rs @@ -31,6 +31,7 @@ pub(crate) fn create_span(document: &Document, cell: &Cell) -> Result` element with the given cells. +#[allow(dead_code)] pub(crate) fn create_anchor(document: &Document, cells: &[Cell]) -> Result { let anchor = document.create_element("a")?; anchor.set_attribute( diff --git a/templates/simple/Cargo.toml b/templates/simple/Cargo.toml index c3895e80..caf40b71 100644 --- a/templates/simple/Cargo.toml +++ b/templates/simple/Cargo.toml @@ -8,4 +8,4 @@ edition = "2021" [dependencies] ratatui = { version = "0.29.0", default-features = false } color-eyre = "0.6.5" -ratzilla = "0.1.0" +ratzilla = "0.2.0"