Skip to content

Commit

Permalink
chore(release): 🔖 0.4.0-beta.19
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-hen7 committed Feb 18, 2023
1 parent ed5b5ad commit 96f6129
Show file tree
Hide file tree
Showing 31 changed files with 63 additions and 36 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,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.

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


### ⚠ BREAKING CHANGES

* implicit `new` method removed from intermediate
reactive types

### Features

* added hsr ignoring feature applied by default to unreactive state ([6768f4e](https://github.com/framesurge/perseus/commit/6768f4e05dbd0147205d78cb469a988c6d1e545b))


### Bug Fixes

* fixed two broken tests ([ed5b5ad](https://github.com/framesurge/perseus/commit/ed5b5adc3d6770861cc16e7ad0cf31f68e09dfab))


### revert

* removed `new` implementation on reactive types ([60a60f0](https://github.com/framesurge/perseus/commit/60a60f09b49c849bcf4ea50ab6e38679dd1c3efe))


### Documentation Changes

* added docs on rx_collection iteration ([d297af1](https://github.com/framesurge/perseus/commit/d297af1ba885376eb93ff4cb2259246a0819da10))

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


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.18
cargo install perseus-cli --version 0.4.0-beta.19
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.18`.
2. Upgrade the Perseus CLI with `cargo install perseus-cli --version 0.4.0-beta.19`.
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.18
cargo install perseus-cli --version 0.4.0-beta.19
```

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.18`.
2. Upgrade the Perseus CLI with `cargo install perseus-cli --version 0.4.0-beta.19`.
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.18
cargo install perseus-cli --version 0.4.0-beta.19
```

(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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18", features = [ "hydrate" ] }
perseus = { version = "=0.4.0-beta.19", 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.18", features = [ "dflt-server" ] }
perseus-axum = { version = "=0.4.0-beta.19", 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.18"
version = "0.4.0-beta.19"
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.18", features = [ "hydrate" ] }
perseus = { version = "=0.4.0-beta.19", 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.18", features = [ "dflt-server" ] }
perseus-axum = { version = "=0.4.0-beta.19", 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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18
v0.4.0-beta.19
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.18"
version = "0.4.0-beta.19"
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.18" }
perseus = { path = "../perseus", version = "0.4.0-beta.19" }
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.18"
version = "0.4.0-beta.19"
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.18" }
perseus = { path = "../perseus", version = "0.4.0-beta.19" }
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18"
version = "0.4.0-beta.19"
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.18" }
perseus = { path = "../perseus", version = "0.4.0-beta.19" }
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.18"
version = "0.4.0-beta.19"
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.18", optional = true }
perseus-macro = { path = "../perseus-macro", version = "0.4.0-beta.19", optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
Expand Down

0 comments on commit 96f6129

Please sign in to comment.