From e7505188d6696eb56751ed05cbf1b92f20a6e364 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Wed, 9 Mar 2022 14:24:05 -0500 Subject: [PATCH] release: make a new 0.2.0 release of Dioxus --- Cargo.toml | 26 +++++++++++++------------- packages/core-macro/Cargo.toml | 3 +-- packages/core/Cargo.toml | 2 +- packages/desktop/Cargo.toml | 14 ++++++++------ packages/fermi/Cargo.toml | 13 ++++++++++--- packages/hooks/Cargo.toml | 6 +++--- packages/html/Cargo.toml | 4 ++-- packages/interpreter/Cargo.toml | 2 +- packages/mobile/Cargo.toml | 4 ++-- packages/router/Cargo.toml | 10 +++++----- packages/ssr/Cargo.toml | 4 ++-- packages/tui/Cargo.toml | 17 +++++++++++------ packages/web/Cargo.toml | 9 +++++---- 13 files changed, 64 insertions(+), 50 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6ee9540df..5cf153ba8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dioxus" -version = "0.1.8" +version = "0.2.0" authors = ["Jonathan Kelley"] edition = "2021" description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences" @@ -12,21 +12,21 @@ keywords = ["dom", "ui", "gui", "react", "wasm"] rust-version = "1.56.0" [dependencies] -dioxus-core = { path = "./packages/core", version = "^0.1.9" } -dioxus-html = { path = "./packages/html", version = "^0.1.6", optional = true } -dioxus-core-macro = { path = "./packages/core-macro", version = "^0.1.7", optional = true } -dioxus-hooks = { path = "./packages/hooks", version = "^0.1.7", optional = true } -fermi = { path = "./packages/fermi", version = "^0.1.0", optional = true } +dioxus-core = { path = "./packages/core", version = "^0.2.0" } +dioxus-html = { path = "./packages/html", version = "^0.2.0", optional = true } +dioxus-core-macro = { path = "./packages/core-macro", version = "^0.2.0", optional = true } +dioxus-hooks = { path = "./packages/hooks", version = "^0.2.0", optional = true } +fermi = { path = "./packages/fermi", version = "^0.2.0", optional = true } -dioxus-web = { path = "./packages/web", version = "^0.0.5", optional = true } -dioxus-desktop = { path = "./packages/desktop", version = "^0.1.6", optional = true } -dioxus-ssr = { path = "./packages/ssr", version = "^0.1.3", optional = true } +dioxus-web = { path = "./packages/web", version = "^0.2.0", optional = true } +dioxus-desktop = { path = "./packages/desktop", version = "^0.2.2", optional = true } +dioxus-ssr = { path = "./packages/ssr", version = "^0.2.0", optional = true } -dioxus-router = { path = "./packages/router", version = "^0.1.1", optional = true } -dioxus-mobile = { path = "./packages/mobile", version = "^0.0.3", optional = true } -dioxus-interpreter-js = { path = "./packages/interpreter", version = "^0.0.0", optional = true } -dioxus-tui = { path = "./packages/tui", version = "^0.1.0", optional = true } +dioxus-router = { path = "./packages/router", version = "^0.2.0", optional = true } +dioxus-interpreter-js = { path = "./packages/interpreter", version = "^0.2.0", optional = true } +dioxus-tui = { path = "./packages/tui", version = "^0.2.0", optional = true } +# dioxus-mobile = { path = "./packages/mobile", version = "^0.2.0", optional = true } # dioxus-rsx = { path = "./packages/rsx", optional = true } # dioxus-liveview = { path = "./packages/liveview", optional = true } # macro = ["dioxus-core-macro", "dioxus-rsx"] diff --git a/packages/core-macro/Cargo.toml b/packages/core-macro/Cargo.toml index e6ff29a22..5922ffad1 100644 --- a/packages/core-macro/Cargo.toml +++ b/packages/core-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dioxus-core-macro" -version = "0.1.7" +version = "0.2.0" authors = ["Jonathan Kelley"] edition = "2021" description = "Core macro for Dioxus Virtual DOM" @@ -15,7 +15,6 @@ keywords = ["dom", "ui", "gui", "react", "wasm"] proc-macro = true [dependencies] -# dioxus-rsx = { path = "../rsx" } proc-macro-error = "1" proc-macro2 = { version = "1.0.6" } quote = "1.0" diff --git a/packages/core/Cargo.toml b/packages/core/Cargo.toml index f17dc6052..f3fe9f7b3 100644 --- a/packages/core/Cargo.toml +++ b/packages/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dioxus-core" -version = "0.1.9" +version = "0.2.0" authors = ["Jonathan Kelley"] edition = "2018" description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences" diff --git a/packages/desktop/Cargo.toml b/packages/desktop/Cargo.toml index 017d399c1..a1dc1adc8 100644 --- a/packages/desktop/Cargo.toml +++ b/packages/desktop/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dioxus-desktop" -version = "0.1.6" +version = "0.2.2" authors = ["Jonathan Kelley"] edition = "2018" description = "Dioxus VirtualDOM renderer for a remote webview instance" @@ -12,7 +12,10 @@ keywords = ["dom", "ui", "gui", "react", "wasm"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dioxus-core = { path = "../core", version = "^0.1.9", features = ["serialize"] } +dioxus-core = { path = "../core", version = "^0.2.0", features = ["serialize"] } +dioxus-html = { path = "../html", features = ["serialize"], version = "^0.2.0" } +dioxus-interpreter-js = { path = "../interpreter", version = "^0.2.0" } + serde = "1.0.136" serde_json = "1.0.79" thiserror = "1.0.30" @@ -25,11 +28,10 @@ tokio = { version = "1.16.1", features = [ "rt", "time", ], optional = true, default-features = false } -dioxus-html = { path = "../html", features = ["serialize"], version = "^0.1.6" } -webbrowser = "0.5.5" +webbrowser = "0.6.0" mime_guess = "2.0.3" -dioxus-interpreter-js = { path = "../interpreter", version = "^0.0.0" } dunce = "1.0.2" + [target.'cfg(target_os = "macos")'.dependencies] core-foundation = "0.9.3" @@ -46,6 +48,6 @@ ayatana = ["wry/ayatana"] [dev-dependencies] -dioxus-core-macro = { path = "../core-macro", version = "^0.1.7" } +dioxus-core-macro = { path = "../core-macro" } dioxus-hooks = { path = "../hooks" } # image = "0.24.0" # enable this when generating a new desktop image diff --git a/packages/fermi/Cargo.toml b/packages/fermi/Cargo.toml index 48fe377c7..7ccee40f6 100644 --- a/packages/fermi/Cargo.toml +++ b/packages/fermi/Cargo.toml @@ -1,12 +1,19 @@ [package] name = "fermi" -version = "0.1.0" -edition = "2021" +version = "0.2.0" +authors = ["Jonathan Kelley"] +edition = "2018" +description = "Global state management for Dioxus" +license = "MIT/Apache-2.0" +repository = "https://github.com/DioxusLabs/dioxus/" +homepage = "https://dioxuslabs.com" +documentation = "https://dioxuslabs.com" +keywords = ["dom", "ui", "gui", "react", "wasm"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dioxus-core = { path = "../core" } +dioxus-core = { path = "../core", version = "^0.2.0" } im-rc = { version = "15.0.0", features = ["serde"] } log = "0.4.14" diff --git a/packages/hooks/Cargo.toml b/packages/hooks/Cargo.toml index e97885743..c72840098 100644 --- a/packages/hooks/Cargo.toml +++ b/packages/hooks/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dioxus-hooks" -version = "0.1.7" +version = "0.2.0" authors = ["Jonathan Kelley"] edition = "2018" description = "Dioxus VirtualDOM renderer for a remote webview instance" @@ -12,11 +12,11 @@ keywords = ["dom", "ui", "gui", "react", "wasm"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dioxus-core = { path = "../../packages/core", version = "^0.1.9" } +dioxus-core = { path = "../../packages/core", version = "^0.2.0" } futures-channel = "0.3.21" log = { version = "0.4", features = ["release_max_level_off"] } [dev-dependencies] futures-util = { version = "0.3", default-features = false } -dioxus-core = { path = "../../packages/core", version = "^0.1.9" } +dioxus-core = { path = "../../packages/core", version = "^0.2.0" } diff --git a/packages/html/Cargo.toml b/packages/html/Cargo.toml index 293d4c465..9a4e92917 100644 --- a/packages/html/Cargo.toml +++ b/packages/html/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dioxus-html" -version = "0.1.6" +version = "0.2.0" authors = ["Jonathan Kelley"] edition = "2018" description = "HTML Element pack for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences" @@ -11,7 +11,7 @@ documentation = "https://docs.rs/dioxus" keywords = ["dom", "ui", "gui", "react", "wasm"] [dependencies] -dioxus-core = { path = "../core", version = "^0.1.9" } +dioxus-core = { path = "../core", version = "^0.2.0" } serde = { version = "1", features = ["derive"], optional = true } serde_repr = { version = "0.1", optional = true } diff --git a/packages/interpreter/Cargo.toml b/packages/interpreter/Cargo.toml index 1e0f4bb51..e7a8b44be 100644 --- a/packages/interpreter/Cargo.toml +++ b/packages/interpreter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dioxus-interpreter-js" -version = "0.0.0" +version = "0.2.0" edition = "2018" authors = ["Jonathan Kelley"] description = "JS Intepreter for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences" diff --git a/packages/mobile/Cargo.toml b/packages/mobile/Cargo.toml index cdf0a5c05..68d3e8102 100644 --- a/packages/mobile/Cargo.toml +++ b/packages/mobile/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dioxus-mobile" -version = "0.0.3" +version = "0.2.0" authors = ["Jonathan Kelley"] edition = "2018" description = "Mobile-compatible renderer for Dioxus" @@ -12,7 +12,7 @@ license = "MIT/Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dioxus-desktop = { path = "../desktop", version = "^0.1.6" } +dioxus-desktop = { path = "../desktop", version = "^0.2.0" } [lib] doctest = false diff --git a/packages/router/Cargo.toml b/packages/router/Cargo.toml index adbedb714..1c9d83436 100644 --- a/packages/router/Cargo.toml +++ b/packages/router/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "dioxus-router" -version = "0.1.1" +version = "0.2.0" edition = "2018" -description = "Dioxus VirtualDOM renderer for the web browser using websys" +description = "Cross-platform router for Dioxus apps" license = "MIT/Apache-2.0" repository = "https://github.com/DioxusLabs/dioxus/" homepage = "https://dioxuslabs.com" @@ -11,9 +11,9 @@ keywords = ["dom", "ui", "gui", "react", "wasm"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dioxus-core = { path = "../core", version = "^0.1.9", default-features = false } -dioxus-html = { path = "../html", version = "^0.1.6", default-features = false } -dioxus-core-macro = { path = "../core-macro", version = "^0.1.7" } +dioxus-core = { path = "../core", version = "^0.2.0", default-features = false } +dioxus-html = { path = "../html", version = "^0.2.0", default-features = false } +dioxus-core-macro = { path = "../core-macro", version = "^0.2.0" } futures-channel = "0.3.21" url = { version = "2.2.2", default-features = false } diff --git a/packages/ssr/Cargo.toml b/packages/ssr/Cargo.toml index 02f51f453..8b8e52c87 100644 --- a/packages/ssr/Cargo.toml +++ b/packages/ssr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dioxus-ssr" -version = "0.1.3" +version = "0.2.0" authors = ["Jonathan Kelley"] edition = "2018" description = "Dioxus render-to-string" @@ -13,7 +13,7 @@ keywords = ["dom", "ui", "gui", "react", "wasm"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dioxus-core = { path = "../core", version = "^0.1.9", features = ["serialize"] } +dioxus-core = { path = "../core", version = "^0.2.0", features = ["serialize"] } [dev-dependencies] diff --git a/packages/tui/Cargo.toml b/packages/tui/Cargo.toml index 56890761e..972cac0cc 100644 --- a/packages/tui/Cargo.toml +++ b/packages/tui/Cargo.toml @@ -1,20 +1,25 @@ [package] name = "dioxus-tui" -version = "0.1.0" +version = "0.2.0" +authors = ["Jonathan Kelley, @dementhos"] edition = "2018" - - +description = "TUI-based renderer for Dioxus" +repository = "https://github.com/DioxusLabs/dioxus/" +homepage = "https://dioxuslabs.com" +documentation = "https://dioxuslabs.com" +keywords = ["dom", "ui", "gui", "react", "terminal"] +license = "MIT/Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +dioxus-core = { path = "../core", version = "^0.2.0" } +dioxus-html = { path = "../html", version = "^0.2.0" } + tui = "0.17.0" crossterm = "0.23.0" anyhow = "1.0.42" thiserror = "1.0.24" -dioxus-core = { path = "../core" } -dioxus-html = { path = "../html" } -hecs = "0.7.3" ctrlc = "3.2.1" bumpalo = { version = "3.8.0", features = ["boxed"] } tokio = { version = "1.15.0", features = ["full"] } diff --git a/packages/web/Cargo.toml b/packages/web/Cargo.toml index 333838398..257fd8529 100644 --- a/packages/web/Cargo.toml +++ b/packages/web/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dioxus-web" -version = "0.0.5" +version = "0.2.0" authors = ["Jonathan Kelley"] edition = "2018" description = "Dioxus VirtualDOM renderer for the web browser using websys" @@ -11,8 +11,10 @@ documentation = "https://dioxuslabs.com" keywords = ["dom", "ui", "gui", "react", "wasm"] [dependencies] -dioxus-core = { path = "../core", version = "^0.1.9" } -dioxus-html = { path = "../html", version = "^0.1.6" } +dioxus-core = { path = "../core", version = "^0.2.0" } +dioxus-html = { path = "../html", version = "^0.2.0" } +dioxus-interpreter-js = { path = "../interpreter", version = "^0.2.0", features = ["web"] } + js-sys = "0.3.56" wasm-bindgen = { version = "0.2.79", features = ["enable-interning"] } wasm-bindgen-futures = "0.4.29" @@ -24,7 +26,6 @@ anyhow = "1.0.53" gloo-timers = { version = "0.2.3", features = ["futures"] } futures-util = "0.3.19" smallstr = "0.2.0" -dioxus-interpreter-js = { path = "../interpreter", version = "^0.0.0", features = ["web"] } serde-wasm-bindgen = "0.4.2" futures-channel = "0.3.21"