Skip to content

Commit

Permalink
chore(release): 🔖 0.4.0-beta.11
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-hen7 committed Nov 6, 2022
1 parent 8a1efb5 commit 825e990
Show file tree
Hide file tree
Showing 24 changed files with 69 additions and 29 deletions.
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,46 @@

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.11](https://github.com/framesurge/perseus/compare/v0.4.0-beta.10...v0.4.0-beta.11) (2022-11-06)


### Features

* added greater control over minification ([5385f12](https://github.com/framesurge/perseus/commit/5385f1239448d7955493f1ff8e6ee6bd84787e47))
* added page state store caching, preloading, and memory management ([#204](https://github.com/framesurge/perseus/issues/204)) ([0c4fa6b](https://github.com/framesurge/perseus/commit/0c4fa6bf5ce5063b0a564a92b77600d63e80a86e))


### Bug Fixes

* fixed quotation marks in rneder cfg interpolation ([6a9c9c7](https://github.com/framesurge/perseus/commit/6a9c9c7b43235e6d05913d9a60b264b00b2c9ae1))
* fixed serving bug with index page ([8a1efb5](https://github.com/framesurge/perseus/commit/8a1efb5af8c2071325ffe441490055bad24a2fdc))
* fixed subsequent loads of pages with special characters ([c112b58](https://github.com/framesurge/perseus/commit/c112b584e00d814d4c711110ae5dc723b847dc7d))
* fixed support for paths with url encodings ([a329952](https://github.com/framesurge/perseus/commit/a32995210e0346c86254d06c04b0291c3f8e0c20))
* made build paths possible on index page ([18bd1bf](https://github.com/framesurge/perseus/commit/18bd1bf834894c17ca7d270db8e730fefcb7b42d))
* **website:** added langauge declarations to som badly formatted codeblocks ([3f5b8cf](https://github.com/framesurge/perseus/commit/3f5b8cf712821da8826bddef788a5318c7606682))
* **website:** made scrollbars obey dark theme ([5f0c704](https://github.com/framesurge/perseus/commit/5f0c704cc52c229c891fb91aa898b2b0053a773d))
* **website:** updated `#[component]` annotations ([430d4a2](https://github.com/framesurge/perseus/commit/430d4a2babff5ea3eff8e25fc00fd3407560ad8d))


### Performance Improvements

* added inbuilt minification ([50e04e0](https://github.com/framesurge/perseus/commit/50e04e0651996eda379a992414b389eed1d1a3ea))
* **website:** improved image performance ([a0328fc](https://github.com/framesurge/perseus/commit/a0328fc78eead93c6b4249dfbdf1d15e7edb9f58))


### Documentation Changes

* add instruction to replace perseus_integration ([#197](https://github.com/framesurge/perseus/issues/197)) ([8612c9e](https://github.com/framesurge/perseus/commit/8612c9e7ed35deaee90b16b882234454ef1c7a44))
* clarified tokio issues in v0.3.x in docs ([ff36ff2](https://github.com/framesurge/perseus/commit/ff36ff23f5c4132ace13f2ad2e18488ed0dd3be9))
* **perseus-macro:** readability fixups ([#194](https://github.com/framesurge/perseus/issues/194)) ([f74b400](https://github.com/framesurge/perseus/commit/f74b4008fb901f915791e41048a9e8865b69a41c))


### Code Refactorings

* **src:** readability improvements ([#193](https://github.com/framesurge/perseus/issues/193)) ([2309c5c](https://github.com/framesurge/perseus/commit/2309c5cdd83efb1bc8e7962ac6c1b7a7eb60c0ee))
* **website:** added some nicer padding on docs pages ([b152a2e](https://github.com/framesurge/perseus/commit/b152a2e5e8ad0b04ffe2408f57c07af358b57038))
* **website:** made codeblocks slightly lighter in light mode ([264b65f](https://github.com/framesurge/perseus/commit/264b65faf1196cfc080de80edf274ed5593c7e74))

## [0.4.0-beta.10](https://github.com/framesurge/perseus/compare/v0.4.0-beta.9...v0.4.0-beta.10) (2022-09-21)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Check out [the book](https://arctic-hen7.github.io/perseus/en-US/docs) to learn
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.10
cargo install perseus-cli --version 0.4.0-beta.11
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 several breaking changes, along with a full migration to Sy
**Warning:** Perseus v0.4.x is still in beta, so there may still be several bugs! Additionally, both the Perseus API is potentially subject to significant changes during the beta period, so you may be making major changes to your app quite often.

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.10`.
2. Upgrade the Perseus CLI with `cargo install perseus-cli --version 0.4.0-beta.11`.
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/reference/migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Perseus v0.4.x added several breaking changes, along with a full migration to Sy
**Warning:** Perseus v0.4.x is still in beta, so there may still be several bugs! Additionally, both the Perseus API is potentially subject to significant changes during the beta period, so you may be making major changes to your app quite often.

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.10`.
2. Upgrade the Perseus CLI with `cargo install perseus-cli --version 0.4.0-beta.11`.
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 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.10"
version = "0.4.0-beta.11"
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.10"
version = "0.4.0-beta.11"
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.10", features = [ "hydrate" ] }
perseus = { version = "=0.4.0-beta.11", features = [ "hydrate" ] }
sycamore = "^0.8.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1", features = [ "macros", "rt", "rt-multi-thread" ] }
perseus-warp = { version = "=0.4.0-beta.10", features = [ "dflt-server" ] }
perseus-warp = { version = "=0.4.0-beta.11", features = [ "dflt-server" ] }

[target.'cfg(target_arch = "wasm32")'.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.10"
version = "0.4.0-beta.11"
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.10", features = [ "hydrate" ] }
perseus = { version = "=0.4.0-beta.11", features = [ "hydrate" ] }
sycamore = "^0.8.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1", features = [ "macros", "rt", "rt-multi-thread" ] }
perseus-warp = { version = "=0.4.0-beta.10", features = [ "dflt-server" ] }
perseus-warp = { version = "=0.4.0-beta.11", features = [ "dflt-server" ] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
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.10"
version = "0.4.0-beta.11"
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.10"
version = "0.4.0-beta.11"
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.10"
version = "0.4.0-beta.11"
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.10"
version = "0.4.0-beta.11"
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.10"
version = "0.4.0-beta.11"
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.10"
version = "0.4.0-beta.11"
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.10"
version = "0.4.0-beta.11"
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.10"
version = "0.4.0-beta.11"
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 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.10"
version = "0.4.0-beta.11"
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.10" }
perseus = { path = "../perseus", version = "0.4.0-beta.11" }
actix-web = "=4.1.0"
actix-http = "=3.2.1" # Without this, Actix can introduce breaking changes in a dependency tree
# actix-router = "=0.5.0-rc.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.10"
version = "0.4.0-beta.11"
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.10" }
perseus = { path = "../perseus", version = "0.4.0-beta.11" }
axum = "0.5"
tower = "0.4"
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.10"
version = "0.4.0-beta.11"
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.10"
version = "0.4.0-beta.11"
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.10"
version = "0.4.0-beta.11"
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.10"
version = "0.4.0-beta.11"
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.10" }
perseus = { path = "../perseus", version = "0.4.0-beta.11" }
tokio = { version = "1", features = [ "rt-multi-thread" ] }
warp = { package = "warp-fix-171", version = "0.3" } # Temporary until Warp #171 is resolved
urlencoding = "2.1"
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.10"
version = "0.4.0-beta.11"
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" ] }
sycamore-router = "0.8"
sycamore-futures = "0.8"
perseus-macro = { path = "../perseus-macro", version = "0.4.0-beta.10", optional = true }
perseus-macro = { path = "../perseus-macro", version = "0.4.0-beta.11", optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
Expand Down

0 comments on commit 825e990

Please sign in to comment.