Skip to content

Commit

Permalink
chore(release): 🔖 0.4.0-beta.18
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-hen7 committed Feb 10, 2023
1 parent 65d848d commit dc8123c
Show file tree
Hide file tree
Showing 31 changed files with 87 additions and 36 deletions.
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,57 @@

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.

## [0.4.0-beta.18](https://github.com/framesurge/perseus/compare/v0.4.0-beta.17...v0.4.0-beta.18) (2023-02-10)


### ⚠ BREAKING CHANGES

* removed `RouterLoadState::ErrorLoaded` entirely (you
should now rely solely on error views, which will be able to poll the
last router state, which probably contributed to/caused the error)

### Features

* added automatic conversion methods for reactive types ([#252](https://github.com/framesurge/perseus/issues/252)) ([bb36a4c](https://github.com/framesurge/perseus/commit/bb36a4ccb1defaf9ff0ab69d6191917a5443fab0))
* **cli:** added `--verbose` for easier logging ([10cd48b](https://github.com/framesurge/perseus/commit/10cd48b19efbf2887399787877c239c19f2fa93e))
* **cli:** added `.cargo/config.toml` to default `init`/`new` templates ([a8afc7d](https://github.com/framesurge/perseus/commit/a8afc7d95ad1759055513ff828e3513947efc357))
* **cli:** added support for eatch exclusions with `--custom-watch !my-path` ([6f57d4a](https://github.com/framesurge/perseus/commit/6f57d4a9f94d51ecb44f44b50424605f83f4f1a1))
* greatly improved default error views ([2199da6](https://github.com/framesurge/perseus/commit/2199da6df89536dc72de94983060aca848903b7b))


### Bug Fixes

* added `target/` to generated `.gitignore` ([#254](https://github.com/framesurge/perseus/issues/254)) ([9b7b99d](https://github.com/framesurge/perseus/commit/9b7b99dea45f653a17f2c69057904125648a7d81))
* **cli:** fixed deployment with revalidation ([#256](https://github.com/framesurge/perseus/issues/256)) ([89e864a](https://github.com/framesurge/perseus/commit/89e864a0ebcebb5dc6792f95d5aa066eea3944d0))
* **error_views:** fixed positioning of default error views ([efcfec5](https://github.com/framesurge/perseus/commit/efcfec5129aafee994f32395679bdb1273b08453))
* fixed bad inequality in default error views ([b485a30](https://github.com/framesurge/perseus/commit/b485a300a1e4a31391d5030e6510bcd248881720))
* fixed cause of perseus hydration bugs ([6d38da6](https://github.com/framesurge/perseus/commit/6d38da68d3c226da932fa98922da38765dbb7c4f))
* fixed hanging servers on test errors ([2ad8bea](https://github.com/framesurge/perseus/commit/2ad8bea273fc5a8846f4ec788afcda01573e24be))
* fixed outdated macro reference in compile error ([c5dc4a6](https://github.com/framesurge/perseus/commit/c5dc4a68cd8b8e69627ac693cc98ec15616330bf))
* fixed panic handler issues ([07ab6c6](https://github.com/framesurge/perseus/commit/07ab6c6ef6897a7d3c7fb984b6415c45917e2f69))
* **perseus-axum:** fixed snippet hosting ([5f54722](https://github.com/framesurge/perseus/commit/5f54722403823e972f143d6bdbe27b94d7cd40f6))
* re-enabled minification ([9512df0](https://github.com/framesurge/perseus/commit/9512df0a94b2244c4893c90859ce6d72cd5e971f))
* removed debug message ([803123b](https://github.com/framesurge/perseus/commit/803123b68fc310b3fd7367e9af52678a3007088f))


### Code Refactorings

* simplified error router states ([6252f6a](https://github.com/framesurge/perseus/commit/6252f6a4804c784e2020f31ccb32728af9275852))
* split testing scripts into `core` and `cli` ([0a2d2df](https://github.com/framesurge/perseus/commit/0a2d2dfacd2409d4c030a882011844533483699b))
* **tests:** unified testing infrastructure for `perseus-cli` ([5b18efd](https://github.com/framesurge/perseus/commit/5b18efd3e2c83f521f1a5c745848d3daec8387ca))


### Documentation Changes

* added all missing links to the docs ([c3c575b](https://github.com/framesurge/perseus/commit/c3c575b9a7cb6e2582b7581f12e13ded23526f42))
* added docs on watch exclusions ([8f9936a](https://github.com/framesurge/perseus/commit/8f9936ae268eed3918f5c15c8c261da2231f56ab))
* added note on `snoop` to dev cycle docs ([fa62ebe](https://github.com/framesurge/perseus/commit/fa62ebefecdf92c64c863c0a391803305c1037cb))
* added note on hanging servers from testing ([ade5137](https://github.com/framesurge/perseus/commit/ade5137d3eeb7a213524b16ec8176c181a256058))
* covered `Cargo.toml` in more depth ([adc3c34](https://github.com/framesurge/perseus/commit/adc3c34f88c676672865d5ed3b2e92e59128191e))
* fixed broken link ([2d28862](https://github.com/framesurge/perseus/commit/2d288622ff7e3476820a2dc06f16beb543f82505))
* removed outdated warnings about styling quirks ([a8704a2](https://github.com/framesurge/perseus/commit/a8704a277946d49d25f855eb84fa7a722722b850))
* wrote docs on capsules v components ([fb8563a](https://github.com/framesurge/perseus/commit/fb8563a8d4a4ee411bac6a5367c52a9dc5dcddb3))

## [0.4.0-beta.17](https://github.com/framesurge/perseus/compare/v0.4.0-beta.16...v0.4.0-beta.17) (2023-01-18)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Check out [the book](https://framesurge.sh/perseus/en-US/docs) to learn how to t
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...)

``` shell
cargo install perseus-cli --version 0.4.0-beta.17
cargo install perseus-cli --version 0.4.0-beta.18
perseus new my-app
cd my-app/
perseus serve -w
Expand Down
2 changes: 1 addition & 1 deletion docs/0.4.x/en-US/reference/migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Perseus v0.4.x added a significant number of breaking changes, as almost the ent
**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.

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`.
2. Upgrade the Perseus CLI with `cargo install perseus-cli --version 0.4.0-beta.17`.
2. Upgrade the Perseus CLI with `cargo install perseus-cli --version 0.4.0-beta.18`.
3. Delete the old `.perseus/` directory (this is no longer needed).
4. Rename your `lib.rs` file to `main.rs`.
5. Update each error page instantiation function to provide, as another argument, a function that returns a Sycamore `View<G>` for the document metadata of that error page (e.g. title).
Expand Down
2 changes: 1 addition & 1 deletion docs/next/en-US/first-app/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Before you get to coding your first Perseus app, you'll need to install the Pers
To install the Perseus CLI, first make sure you have Rust installed (preferably with [`rustup`](https://rustup.rs)), and then run this command:

```sh
cargo install perseus-cli --version 0.4.0-beta.17
cargo install perseus-cli --version 0.4.0-beta.18
```

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:
Expand Down
2 changes: 1 addition & 1 deletion docs/next/en-US/migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Perseus v0.4.x added a significant number of breaking changes, as almost the ent
**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.

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).
2. Upgrade the Perseus CLI with `cargo install perseus-cli --version 0.4.0-beta.17`.
2. Upgrade the Perseus CLI with `cargo install perseus-cli --version 0.4.0-beta.18`.
3. Delete the old `.perseus/` directory (this is no longer needed).
4. Rename your `lib.rs` file to `main.rs` and delete `.perseus/` (it's been removed entirely!).
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).
Expand Down
2 changes: 1 addition & 1 deletion docs/next/en-US/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ To get started with Perseus, you should first make sure you have the Rust langua
Once you have Rust installed, you can run the following command to install Perseus:

```sh
cargo install perseus-cli --version 0.4.0-beta.17
cargo install perseus-cli --version 0.4.0-beta.18
```

(While v0.4.x is still in beta, that `--version` flag is needed to make sure you get the latest beta version.)
Expand Down
2 changes: 1 addition & 1 deletion examples/.base/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-base"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/comprehensive/tiny/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-tiny"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 2 additions & 2 deletions examples/comprehensive/tiny/Cargo.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ version = "0.1.0"
edition = "2021"

[dependencies]
perseus = { version = "=0.4.0-beta.17", features = [ "hydrate" ] }
perseus = { version = "=0.4.0-beta.18", features = [ "hydrate" ] }
sycamore = "^0.8.1"

[target.'cfg(engine)'.dependencies]
tokio = { version = "1", features = [ "macros", "rt", "rt-multi-thread" ] }
perseus-axum = { version = "=0.4.0-beta.17", features = [ "dflt-server" ] }
perseus-axum = { version = "=0.4.0-beta.18", features = [ "dflt-server" ] }

[target.'cfg(client)'.dependencies]
2 changes: 1 addition & 1 deletion examples/core/basic/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-basic"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 2 additions & 2 deletions examples/core/basic/Cargo.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
perseus = { version = "=0.4.0-beta.17", features = [ "hydrate" ] }
perseus = { version = "=0.4.0-beta.18", features = [ "hydrate" ] }
sycamore = "^0.8.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"

[target.'cfg(engine)'.dependencies]
tokio = { version = "1", features = [ "macros", "rt", "rt-multi-thread" ] }
perseus-axum = { version = "=0.4.0-beta.17", features = [ "dflt-server" ] }
perseus-axum = { version = "=0.4.0-beta.18", features = [ "dflt-server" ] }

[target.'cfg(client)'.dependencies]
2 changes: 1 addition & 1 deletion examples/core/capsules/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-capsules"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/core/custom_server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-custom-server"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/core/error_views/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-base"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/core/helper_build_state/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-helper-build-state"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/core/index_view/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-index-view"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/core/js_interop/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-js-interop"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/core/plugins/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-plugins"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/core/preload/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-preload"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/core/suspense/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-suspense"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/auth/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-auth"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/fetching/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-fetching"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/full_page_layout/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-example-full-page-layout"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion examples/website/.version-lock
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.4.0-beta.17
v0.4.0-beta.18
4 changes: 2 additions & 2 deletions packages/perseus-actix-web/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-actix-web"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"
description = "An integration that makes the Perseus frontend framework easy to use with Actix Web."
authors = ["arctic_hen7 <arctic_hen7@pm.me>"]
Expand All @@ -14,7 +14,7 @@ categories = ["wasm", "web-programming::http-server", "development-tools", "asyn
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
perseus = { path = "../perseus", version = "0.4.0-beta.17" }
perseus = { path = "../perseus", version = "0.4.0-beta.18" }
actix-web = "4.2"
actix-files = "0.6"
futures = "0.3"
Expand Down
4 changes: 2 additions & 2 deletions packages/perseus-axum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-axum"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"
description = "An integration that makes the Perseus frontend framework easy to use with Axum."
authors = ["arctic_hen7 <arctic_hen7@pm.me>"]
Expand All @@ -14,7 +14,7 @@ categories = ["wasm", "web-programming::http-server", "development-tools", "asyn
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
perseus = { path = "../perseus", version = "0.4.0-beta.17" }
perseus = { path = "../perseus", version = "0.4.0-beta.18" }
axum = "0.6"
tower-http = { version = "0.3", features = [ "fs" ] }

Expand Down
2 changes: 1 addition & 1 deletion packages/perseus-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-cli"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"
description = "The CLI for the Perseus frontend framework."
authors = ["arctic_hen7 <arctic_hen7@pm.me>"]
Expand Down
2 changes: 1 addition & 1 deletion packages/perseus-integration/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-integration"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion packages/perseus-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-macro"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"
autotests = false
description = "The Perseus macros."
Expand Down
4 changes: 2 additions & 2 deletions packages/perseus-warp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus-warp"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"
description = "An integration that makes the Perseus framework easy to use with Warp."
authors = ["arctic_hen7 <arctic_hen7@pm.me>"]
Expand All @@ -14,7 +14,7 @@ categories = ["wasm", "web-programming::http-server", "development-tools", "asyn
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
perseus = { path = "../perseus", version = "0.4.0-beta.17" }
perseus = { path = "../perseus", version = "0.4.0-beta.18" }
warp = { package = "warp-fix-171", version = "0.3" } # Temporary until Warp #171 is resolved

[features]
Expand Down
4 changes: 2 additions & 2 deletions packages/perseus/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perseus"
version = "0.4.0-beta.17"
version = "0.4.0-beta.18"
edition = "2021"
description = "A lightning-fast frontend web dev platform with full support for SSR and SSG."
authors = ["arctic_hen7 <arctic_hen7@pm.me>"]
Expand All @@ -17,7 +17,7 @@ categories = ["wasm", "web-programming", "development-tools", "asynchronous", "g
sycamore = { version = "^0.8.1", features = [ "ssr", "suspense" ] }
sycamore-router = "0.8"
sycamore-futures = "0.8"
perseus-macro = { path = "../perseus-macro", version = "0.4.0-beta.17", optional = true }
perseus-macro = { path = "../perseus-macro", version = "0.4.0-beta.18", optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
Expand Down

0 comments on commit dc8123c

Please sign in to comment.