This commit is contained in:
Greg Johnston 2023-10-06 09:40:23 -04:00
parent 18cdf70864
commit be2d014f08
8 changed files with 23 additions and 23 deletions

View file

@ -26,22 +26,22 @@ members = [
exclude = ["benchmarks", "examples"]
[workspace.package]
version = "0.5.0"
version = "0.5.1"
[workspace.dependencies]
leptos = { path = "./leptos", version = "0.5.0" }
leptos_dom = { path = "./leptos_dom", version = "0.5.0" }
leptos_hot_reload = { path = "./leptos_hot_reload", version = "0.5.0" }
leptos_macro = { path = "./leptos_macro", version = "0.5.0" }
leptos_reactive = { path = "./leptos_reactive", version = "0.5.0" }
leptos_server = { path = "./leptos_server", version = "0.5.0" }
server_fn = { path = "./server_fn", version = "0.5.0" }
server_fn_macro = { path = "./server_fn_macro", version = "0.5.0" }
server_fn_macro_default = { path = "./server_fn/server_fn_macro_default", version = "0.5.0" }
leptos_config = { path = "./leptos_config", version = "0.5.0" }
leptos_router = { path = "./router", version = "0.5.0" }
leptos_meta = { path = "./meta", version = "0.5.0" }
leptos_integration_utils = { path = "./integrations/utils", version = "0.5.0" }
leptos = { path = "./leptos", version = "0.5.1" }
leptos_dom = { path = "./leptos_dom", version = "0.5.1" }
leptos_hot_reload = { path = "./leptos_hot_reload", version = "0.5.1" }
leptos_macro = { path = "./leptos_macro", version = "0.5.1" }
leptos_reactive = { path = "./leptos_reactive", version = "0.5.1" }
leptos_server = { path = "./leptos_server", version = "0.5.1" }
server_fn = { path = "./server_fn", version = "0.5.1" }
server_fn_macro = { path = "./server_fn_macro", version = "0.5.1" }
server_fn_macro_default = { path = "./server_fn/server_fn_macro_default", version = "0.5.1" }
leptos_config = { path = "./leptos_config", version = "0.5.1" }
leptos_router = { path = "./router", version = "0.5.1" }
leptos_meta = { path = "./meta", version = "0.5.1" }
leptos_integration_utils = { path = "./integrations/utils", version = "0.5.1" }
[profile.release]
codegen-units = 1

View file

@ -48,7 +48,7 @@ pub fn main() {
### Important Note
This example, and the entire `main` branch, now reflect the upcoming `0.5.0` release. You can use `0.5.0` with the `0.5.0-beta` release on crates.io or by a git dependency on the `main` branch of this repo. [Click here for the 0.4.9 `README`](https://crates.io/crates/leptos).
This example, and the entire `main` branch, now reflect the upcoming `0.5.1` release. You can use `0.5.1` with the `0.5.1-beta` release on crates.io or by a git dependency on the `main` branch of this repo. [Click here for the 0.4.9 `README`](https://crates.io/crates/leptos).
## About the Framework

View file

@ -17,6 +17,6 @@ understand Leptos.
You can find more detailed docs for each part of the API at [Docs.rs](https://docs.rs/leptos/latest/leptos/).
**Important Note**: This current version of the book reflects the upcoming `0.5.0` release, which you can install as version `0.5.0`. The CodeSandbox versions of the examples still reflect `0.4` and earlier APIs and are in the process of being updated.
**Important Note**: This current version of the book reflects the `0.5.1` release. The CodeSandbox versions of the examples still reflect `0.4` and earlier APIs and are in the process of being updated.
> The source code for the book is available [here](https://github.com/leptos-rs/leptos/tree/main/docs/book). PRs for typos or clarification are always welcome.

View file

@ -23,15 +23,15 @@ cargo init leptos-tutorial
`cd` into your new `leptos-tutorial` project and add `leptos` as a dependency
```bash
cargo add leptos@0.5.0 --features=csr,nightly
cargo add leptos --features=csr,nightly
```
> **Note**: This version of the book reflects the upcoming Leptos 0.5.0 release. The CodeSandbox examples have not yet been updated from 0.4 and earlier versions.
> **Note**: This version of the book reflects the Leptos 0.5 release. The CodeSandbox examples have not yet been updated from 0.4 and earlier versions.
Or you can leave off `nightly` if you're using stable Rust
```bash
cargo add leptos@0.5.0 --features=csr
cargo add leptos --features=csr
```
> Using `nightly` Rust, and the `nightly` feature in Leptos enables the function-call syntax for signal getters and setters that is used in most of this book.

View file

@ -5,4 +5,4 @@ edition = "2021"
[dependencies]
leptos = { path = "../../leptos", features = ["csr", "nightly"] }
gtk = { version = "0.5.0", package = "gtk4" }
gtk = { version = "0.5.0", package = "gtk4" }

View file

@ -164,7 +164,7 @@ mod slot;
/// # runtime.dispose();
/// ```
///
/// Class names can include dashes, and since leptos v0.5.0 can include a dash-separated segment of only numbers.
/// Class names can include dashes, and since v0.5.0 can include a dash-separated segment of only numbers.
/// ```rust
/// # use leptos::*;
/// # let runtime = create_runtime();

View file

@ -1,6 +1,6 @@
[package]
name = "leptos_meta"
version = "0.5.0"
version = "0.5.1"
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"

View file

@ -1,6 +1,6 @@
[package]
name = "leptos_router"
version = "0.5.0"
version = "0.5.1"
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"