Skip to content

Commit df15fb8

Browse files
committed
chore(release): 🔖 0.4.0
1 parent 5512a30 commit df15fb8

File tree

34 files changed

+52
-40
lines changed

34 files changed

+52
-40
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [0.4.0](https://github.com/framesurge/perseus/compare/v0.4.0-rc.1...v0.4.0) (2023-04-09)
6+
7+
8+
### Bug Fixes
9+
10+
* fixed semantically invalid html in website and added faq about it ([e69431e](https://github.com/framesurge/perseus/commit/e69431ef921735c771f50f5c5f8e193b8eef7149))
11+
12+
13+
### Documentation Changes
14+
15+
* updated docs to v0.4.0 ([5512a30](https://github.com/framesurge/perseus/commit/5512a30eabb875eb5a4d5d11c8bbf3e6747f6b75))
16+
517
## [0.4.0-rc.1](https://github.com/framesurge/perseus/compare/v0.4.0-beta.22...v0.4.0-rc.1) (2023-04-09)
618

719

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Check out [the book](https://framesurge.sh/perseus/en-US/docs) to learn how to t
4848
If you want to start working with Perseus right away, run the following commands and you'll have a basic app ready in no time! (Or, more accurately, after Cargo compiles everything...)
4949

5050
``` shell
51-
cargo install perseus-cli --version 0.4.0-rc.1
51+
cargo install perseus-cli --version 0.4.0
5252
perseus new my-app
5353
cd my-app/
5454
perseus serve -w

docs/0.4.x/en-US/first-app/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Before you get to coding your first Perseus app, you'll need to install the Pers
77
To install the Perseus CLI, first make sure you have Rust installed (preferably with [`rustup`](https://rustup.rs)), and then run this command:
88

99
```sh
10-
cargo install perseus-cli --version 0.4.0-rc.1
10+
cargo install perseus-cli --version 0.4.0
1111
```
1212

1313
Once that's done, you can go ahead and create your first app! Although this would usually be done with the `perseus new` command, which spins up a scaffold for you, in this tutorial we'll do things manually so we can go through each line of code step by step. First, create a new Rust project:

docs/0.4.x/en-US/migrating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Perseus v0.4.x added a significant number of breaking changes, as almost the ent
55
**Warning:** Perseus v0.4.x is now in its final beta period, meaning new features are probably not going to be added until v0.4.0 goes stable. However, due to the full rewrite, we want to make sure there are no outstanding bugs before pushing the full stable release. Please report even the smallest bugs you encounter to us on GitHub, and we can make Perseus v0.4.0 the best it can be.
66

77
1. Restructure your `Cargo.toml` to reflect the new dependency-splitting format (which splits engine-side dependencies from those only needed in the browser). See [here](https://github.com/framesurge/perseus/tree/main/examples/core/basic/Cargo.toml) for an example. Note that this will involve adding a server integration for use, like `perseus-warp` (on which you'll probably want to enable the `dflt-server` feature).
8-
2. Upgrade the Perseus CLI with `cargo install perseus-cli --version 0.4.0-rc.1`.
8+
2. Upgrade the Perseus CLI with `cargo install perseus-cli --version 0.4.0`.
99
3. Delete the old `.perseus/` directory (this is no longer needed).
1010
4. Rename your `lib.rs` file to `main.rs` and delete `.perseus/` (it's been removed entirely!).
1111
5. Change the `#[perseus::main]` attribute on the function in `main.rs` to be `#[perseus::main(perseus_axum::dflt_server)]` (replace `perseus_axum` with whatever server integration you decide to use).

docs/0.4.x/en-US/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ To get started with Perseus, you should first make sure you have the Rust langua
55
Once you have Rust installed, you can run the following command to install Perseus:
66

77
```sh
8-
cargo install perseus-cli --version 0.4.0-rc.1
8+
cargo install perseus-cli --version 0.4.0
99
```
1010

1111
(While v0.4.x is still in beta, that `--version` flag is needed to make sure you get the latest beta version.)

docs/next/en-US/first-app/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Before you get to coding your first Perseus app, you'll need to install the Pers
77
To install the Perseus CLI, first make sure you have Rust installed (preferably with [`rustup`](https://rustup.rs)), and then run this command:
88

99
```sh
10-
cargo install perseus-cli --version 0.4.0-rc.1
10+
cargo install perseus-cli --version 0.4.0
1111
```
1212

1313
Once that's done, you can go ahead and create your first app! Although this would usually be done with the `perseus new` command, which spins up a scaffold for you, in this tutorial we'll do things manually so we can go through each line of code step by step. First, create a new Rust project:

docs/next/en-US/migrating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Perseus v0.4.x added a significant number of breaking changes, as almost the ent
55
**Warning:** Perseus v0.4.x is now in its final beta period, meaning new features are probably not going to be added until v0.4.0 goes stable. However, due to the full rewrite, we want to make sure there are no outstanding bugs before pushing the full stable release. Please report even the smallest bugs you encounter to us on GitHub, and we can make Perseus v0.4.0 the best it can be.
66

77
1. Restructure your `Cargo.toml` to reflect the new dependency-splitting format (which splits engine-side dependencies from those only needed in the browser). See [here](https://github.com/framesurge/perseus/tree/main/examples/core/basic/Cargo.toml) for an example. Note that this will involve adding a server integration for use, like `perseus-warp` (on which you'll probably want to enable the `dflt-server` feature).
8-
2. Upgrade the Perseus CLI with `cargo install perseus-cli --version 0.4.0-rc.1`.
8+
2. Upgrade the Perseus CLI with `cargo install perseus-cli --version 0.4.0`.
99
3. Delete the old `.perseus/` directory (this is no longer needed).
1010
4. Rename your `lib.rs` file to `main.rs` and delete `.perseus/` (it's been removed entirely!).
1111
5. Change the `#[perseus::main]` attribute on the function in `main.rs` to be `#[perseus::main(perseus_axum::dflt_server)]` (replace `perseus_axum` with whatever server integration you decide to use).

docs/next/en-US/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ To get started with Perseus, you should first make sure you have the Rust langua
55
Once you have Rust installed, you can run the following command to install Perseus:
66

77
```sh
8-
cargo install perseus-cli --version 0.4.0-rc.1
8+
cargo install perseus-cli --version 0.4.0
99
```
1010

1111
(While v0.4.x is still in beta, that `--version` flag is needed to make sure you get the latest beta version.)

examples/.base/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "perseus-example-base"
3-
version = "0.4.0-rc.1"
3+
version = "0.4.0"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

examples/comprehensive/tiny/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "perseus-example-tiny"
3-
version = "0.4.0-rc.1"
3+
version = "0.4.0"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

0 commit comments

Comments
 (0)