From 5acfa9d0d166b6110538e997a646c01fe8770320 Mon Sep 17 00:00:00 2001 From: arctic-hen7 Date: Fri, 19 Jul 2024 15:02:48 +1000 Subject: [PATCH 1/2] =?UTF-8?q?chore(release):=20=F0=9F=94=96=200.4.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 48 +++++++++++++++++++ examples/.base/Cargo.toml | 2 +- examples/comprehensive/tiny/Cargo.toml | 2 +- .../comprehensive/tiny/Cargo.toml.example | 4 +- examples/core/basic/Cargo.toml | 2 +- examples/core/basic/Cargo.toml.example | 4 +- examples/core/capsules/Cargo.toml | 2 +- examples/core/custom_server/Cargo.toml | 2 +- examples/core/custom_server_rocket/Cargo.toml | 2 +- examples/core/error_views/Cargo.toml | 2 +- examples/core/helper_build_state/Cargo.toml | 2 +- examples/core/index_view/Cargo.toml | 2 +- examples/core/js_interop/Cargo.toml | 2 +- examples/core/plugins/Cargo.toml | 2 +- examples/core/preload/Cargo.toml | 2 +- examples/core/suspense/Cargo.toml | 2 +- examples/demos/auth/Cargo.toml | 2 +- examples/demos/fetching/Cargo.toml | 2 +- examples/demos/full_page_layout/Cargo.toml | 2 +- examples/website/app_in_a_file/Cargo.toml | 2 +- examples/website/i18n/Cargo.toml | 2 +- examples/website/state_generation/Cargo.toml | 2 +- packages/perseus-actix-web/Cargo.toml | 4 +- packages/perseus-axum/Cargo.toml | 4 +- packages/perseus-cli/Cargo.toml | 2 +- packages/perseus-integration/Cargo.toml | 2 +- packages/perseus-macro/Cargo.toml | 2 +- packages/perseus-rocket/Cargo.toml | 4 +- packages/perseus-warp/Cargo.toml | 4 +- packages/perseus/Cargo.toml | 4 +- 30 files changed, 84 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96a977d8dd..32c852b655 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,54 @@ 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.3](/home/arctic-hen7/me/.main-mirror.git/compare/v0.4.2...v0.4.3) (2024-07-19) + + +### Features + +* add support for brotli compression ([#300](null/home/arctic-hen7/me/.main-mirror.git/issues/300)) ([8016599](/home/arctic-hen7/me/.main-mirror.git/commit/80165996da0b6a26fe3f15399d0bfcb5847a6467)) +* **cli:** added openssl/vendored feature ([#287](null/home/arctic-hen7/me/.main-mirror.git/issues/287)) ([663389b](/home/arctic-hen7/me/.main-mirror.git/commit/663389b6376286ca30e394c85c414986e62e4535)) +* **cli:** added pre-flight shell check ([76a38f3](/home/arctic-hen7/me/.main-mirror.git/commit/76a38f346483de8c34c876e9ddc04ebcf21c3450)), closes [#314](/home/arctic-hen7/me/.main-mirror.git/issues/314) +* **perseus-cli:** add 'node_modules' to watch exclusions ([#313](null/home/arctic-hen7/me/.main-mirror.git/issues/313)) ([3f04e40](/home/arctic-hen7/me/.main-mirror.git/commit/3f04e4060f9a99fe69a1370128c8f3509924ceea)) + + +### Bug Fixes + +* added format ignore to problematic macro ([276a0c1](/home/arctic-hen7/me/.main-mirror.git/commit/276a0c1f6afb45f3bbec0030e443f2d27149c23b)) +* **cli:** used `tag_name` rather than `name` to get tool versions ([fa45801](/home/arctic-hen7/me/.main-mirror.git/commit/fa458017eb258726d835ef00837381dd92112168)), closes [#329](/home/arctic-hen7/me/.main-mirror.git/issues/329) +* fixed bad error condition ([9018463](/home/arctic-hen7/me/.main-mirror.git/commit/9018463c428bf7814a886d384c6857ee015fc36b)) +* fixed overzealous formatting ([926022f](/home/arctic-hen7/me/.main-mirror.git/commit/926022f198679cfb12fabd60981461f7f0dc16b7)) +* fixed readme link ([#298](null/home/arctic-hen7/me/.main-mirror.git/issues/298)) ([ed1048b](/home/arctic-hen7/me/.main-mirror.git/commit/ed1048b35814666aebe436965a162f0328866abb)) +* improved error message for minification errors ([43887b3](/home/arctic-hen7/me/.main-mirror.git/commit/43887b3102742b42f1d36cac40743db1a14235e1)) +* updated `rocket` to stable ([0150962](/home/arctic-hen7/me/.main-mirror.git/commit/01509626ec3f81ee53313474f6ff0425a4cb033b)) + + +### Performance Improvements + +* switched to JS for defining internal constants ([#293](null/home/arctic-hen7/me/.main-mirror.git/issues/293)) ([b765e88](/home/arctic-hen7/me/.main-mirror.git/commit/b765e88c34a6854087054e3b839768180f104c19)) + + +### Code Refactorings + +* **cli:** removed shell dependency ([0b98318](/home/arctic-hen7/me/.main-mirror.git/commit/0b983188a57f18a6cf5577669e4f7eb595e35eeb)) + + +### Documentation Changes + +* added `cd` step to website start example ([#302](null/home/arctic-hen7/me/.main-mirror.git/issues/302)) ([800003c](/home/arctic-hen7/me/.main-mirror.git/commit/800003c495a5438109fb3427de2ea3c1baeb6595)) +* added embedded example for linking css file ([#299](null/home/arctic-hen7/me/.main-mirror.git/issues/299)) ([1d5f859](/home/arctic-hen7/me/.main-mirror.git/commit/1d5f85936a47a3ac1d2156c9351230ad41c69ed6)) +* clarify intl feature flags ([#323](null/home/arctic-hen7/me/.main-mirror.git/issues/323)) ([47e99bd](/home/arctic-hen7/me/.main-mirror.git/commit/47e99bd9ef4e541130ffd9a41a4b9152056ac280)) +* fixed broken link and typo ([#297](null/home/arctic-hen7/me/.main-mirror.git/issues/297)) ([1de991d](/home/arctic-hen7/me/.main-mirror.git/commit/1de991df00faffeebc8be0072cfe613e88d129d8)) +* fixed dead link ([51c8ee6](/home/arctic-hen7/me/.main-mirror.git/commit/51c8ee67401a1a6409825aa27774ed44d7bb4da4)) +* fixed mistakes in capsules intro ([#289](null/home/arctic-hen7/me/.main-mirror.git/issues/289)) ([2409edd](/home/arctic-hen7/me/.main-mirror.git/commit/2409edd32e32be2e79261812dc75ad48de123295)) +* fixed typo ([#296](null/home/arctic-hen7/me/.main-mirror.git/issues/296)) ([b1da160](/home/arctic-hen7/me/.main-mirror.git/commit/b1da160dfd5a2616bb70b7112fcc48556889a6ad)) +* fixed typo ([#310](null/home/arctic-hen7/me/.main-mirror.git/issues/310)) ([94cc497](/home/arctic-hen7/me/.main-mirror.git/commit/94cc4970bc135c36fb03cee613dc6bfa8ee07d8a)) +* fixed typo ([#311](null/home/arctic-hen7/me/.main-mirror.git/issues/311)) ([2d2aa14](/home/arctic-hen7/me/.main-mirror.git/commit/2d2aa14c10db06c192bd85b43887db02c3087b0c)) +* fixed typo ([#327](null/home/arctic-hen7/me/.main-mirror.git/issues/327)) ([cf5ad2a](/home/arctic-hen7/me/.main-mirror.git/commit/cf5ad2aaa0682dadbfea8b3c1f339ff08cdf0b26)) +* fixed typos and broken example inclusions ([#308](null/home/arctic-hen7/me/.main-mirror.git/issues/308)) ([9b8fcb5](/home/arctic-hen7/me/.main-mirror.git/commit/9b8fcb59773638caa2b5f21385cb94e0d8fd75ca)) +* fixed typos in core-principles.md ([#316](null/home/arctic-hen7/me/.main-mirror.git/issues/316)) ([eeccf81](/home/arctic-hen7/me/.main-mirror.git/commit/eeccf817b58339fa58e368b1a1e2498dbbf21663)) +* improve quickstart guide ([#294](null/home/arctic-hen7/me/.main-mirror.git/issues/294)) ([ba1608a](/home/arctic-hen7/me/.main-mirror.git/commit/ba1608a2a7d1d617efa31f877a1c96b2116c898f)) + ### [0.4.2](https://github.com/framesurge/perseus/compare/v0.4.1...v0.4.2) (2023-05-17) diff --git a/examples/.base/Cargo.toml b/examples/.base/Cargo.toml index aa8ec785d6..7987fe67f2 100644 --- a/examples/.base/Cargo.toml +++ b/examples/.base/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-base" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/comprehensive/tiny/Cargo.toml b/examples/comprehensive/tiny/Cargo.toml index 16c047e7fa..ee2b057e9f 100644 --- a/examples/comprehensive/tiny/Cargo.toml +++ b/examples/comprehensive/tiny/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-tiny" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/comprehensive/tiny/Cargo.toml.example b/examples/comprehensive/tiny/Cargo.toml.example index b50cfdba03..52c95f22bd 100644 --- a/examples/comprehensive/tiny/Cargo.toml.example +++ b/examples/comprehensive/tiny/Cargo.toml.example @@ -4,11 +4,11 @@ version = "0.1.0" edition = "2021" [dependencies] -perseus = { version = "=0.4.2", features = [ "hydrate" ] } +perseus = { version = "=0.4.3", features = [ "hydrate" ] } sycamore = "^0.8.1" [target.'cfg(engine)'.dependencies] tokio = { version = "1", features = [ "macros", "rt", "rt-multi-thread" ] } -perseus-axum = { version = "=0.4.2", features = [ "dflt-server" ] } +perseus-axum = { version = "=0.4.3", features = [ "dflt-server" ] } [target.'cfg(client)'.dependencies] diff --git a/examples/core/basic/Cargo.toml b/examples/core/basic/Cargo.toml index 88feaa3c37..c661d03384 100644 --- a/examples/core/basic/Cargo.toml +++ b/examples/core/basic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-basic" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/core/basic/Cargo.toml.example b/examples/core/basic/Cargo.toml.example index 1b408d8c4f..e0f1200bdc 100644 --- a/examples/core/basic/Cargo.toml.example +++ b/examples/core/basic/Cargo.toml.example @@ -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.2", features = [ "hydrate" ] } +perseus = { version = "=0.4.3", 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.2", features = [ "dflt-server" ] } +perseus-axum = { version = "=0.4.3", features = [ "dflt-server" ] } [target.'cfg(client)'.dependencies] diff --git a/examples/core/capsules/Cargo.toml b/examples/core/capsules/Cargo.toml index aedb8d97f7..f3af761660 100644 --- a/examples/core/capsules/Cargo.toml +++ b/examples/core/capsules/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-capsules" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/core/custom_server/Cargo.toml b/examples/core/custom_server/Cargo.toml index 74a3222b96..54da474215 100644 --- a/examples/core/custom_server/Cargo.toml +++ b/examples/core/custom_server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-custom-server" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/core/custom_server_rocket/Cargo.toml b/examples/core/custom_server_rocket/Cargo.toml index 9fa4fd4ba2..16e185e061 100644 --- a/examples/core/custom_server_rocket/Cargo.toml +++ b/examples/core/custom_server_rocket/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-custom-server-rocket" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/core/error_views/Cargo.toml b/examples/core/error_views/Cargo.toml index b325370c61..dacf38504f 100644 --- a/examples/core/error_views/Cargo.toml +++ b/examples/core/error_views/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-base" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/core/helper_build_state/Cargo.toml b/examples/core/helper_build_state/Cargo.toml index c3ed827c71..b5e5ba6e19 100644 --- a/examples/core/helper_build_state/Cargo.toml +++ b/examples/core/helper_build_state/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-helper-build-state" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/core/index_view/Cargo.toml b/examples/core/index_view/Cargo.toml index e292ff0f8f..2ef2e4f8f7 100644 --- a/examples/core/index_view/Cargo.toml +++ b/examples/core/index_view/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-index-view" -version = "0.4.2" +version = "0.4.3" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/core/js_interop/Cargo.toml b/examples/core/js_interop/Cargo.toml index ad866ab57d..a4d56e072e 100644 --- a/examples/core/js_interop/Cargo.toml +++ b/examples/core/js_interop/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-js-interop" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/core/plugins/Cargo.toml b/examples/core/plugins/Cargo.toml index f11a2bf554..047fac55de 100644 --- a/examples/core/plugins/Cargo.toml +++ b/examples/core/plugins/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-plugins" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/core/preload/Cargo.toml b/examples/core/preload/Cargo.toml index 0923982eda..37d0f65487 100644 --- a/examples/core/preload/Cargo.toml +++ b/examples/core/preload/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-preload" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/core/suspense/Cargo.toml b/examples/core/suspense/Cargo.toml index b863062008..9bf00d51bb 100644 --- a/examples/core/suspense/Cargo.toml +++ b/examples/core/suspense/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-suspense" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/demos/auth/Cargo.toml b/examples/demos/auth/Cargo.toml index f09da4e5db..d629547e99 100644 --- a/examples/demos/auth/Cargo.toml +++ b/examples/demos/auth/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-auth" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/demos/fetching/Cargo.toml b/examples/demos/fetching/Cargo.toml index 7ae449f536..1b1a39de98 100644 --- a/examples/demos/fetching/Cargo.toml +++ b/examples/demos/fetching/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-fetching" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/demos/full_page_layout/Cargo.toml b/examples/demos/full_page_layout/Cargo.toml index fbf7ebec6c..6ce3e49312 100644 --- a/examples/demos/full_page_layout/Cargo.toml +++ b/examples/demos/full_page_layout/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-full-page-layout" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/website/app_in_a_file/Cargo.toml b/examples/website/app_in_a_file/Cargo.toml index c3305b6c5c..ac3da224ed 100644 --- a/examples/website/app_in_a_file/Cargo.toml +++ b/examples/website/app_in_a_file/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-website-example-app-in-a-file" -version = "0.4.2-beta.8" +version = "0.4.3-beta.8" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/website/i18n/Cargo.toml b/examples/website/i18n/Cargo.toml index a3e0699733..5bd221fc12 100644 --- a/examples/website/i18n/Cargo.toml +++ b/examples/website/i18n/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-website-example-i18n" -version = "0.4.2-beta.8" +version = "0.4.3-beta.8" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/website/state_generation/Cargo.toml b/examples/website/state_generation/Cargo.toml index 42267b7ba2..c92aafa930 100644 --- a/examples/website/state_generation/Cargo.toml +++ b/examples/website/state_generation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-website-example-state-generation" -version = "0.4.2-beta.8" +version = "0.4.3-beta.8" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/perseus-actix-web/Cargo.toml b/packages/perseus-actix-web/Cargo.toml index d593876d95..0deff94d1a 100644 --- a/packages/perseus-actix-web/Cargo.toml +++ b/packages/perseus-actix-web/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-actix-web" -version = "0.4.2" +version = "0.4.3" edition = "2021" description = "An integration that makes the Perseus frontend framework easy to use with Actix Web." authors = ["arctic_hen7 "] @@ -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.2" } +perseus = { path = "../perseus", version = "0.4.3" } actix-web = "4.3" actix-files = "0.6" futures = "0.3" diff --git a/packages/perseus-axum/Cargo.toml b/packages/perseus-axum/Cargo.toml index 460f437158..b3611b639b 100644 --- a/packages/perseus-axum/Cargo.toml +++ b/packages/perseus-axum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-axum" -version = "0.4.2" +version = "0.4.3" edition = "2021" description = "An integration that makes the Perseus frontend framework easy to use with Axum." authors = ["arctic_hen7 "] @@ -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.2" } +perseus = { path = "../perseus", version = "0.4.3" } axum = "0.6" # Axum requires v0.3 of this tower-http = { version = "0.3", features = [ "fs" ] } diff --git a/packages/perseus-cli/Cargo.toml b/packages/perseus-cli/Cargo.toml index a3c1046eef..2682abec0d 100644 --- a/packages/perseus-cli/Cargo.toml +++ b/packages/perseus-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-cli" -version = "0.4.2" +version = "0.4.3" edition = "2021" description = "The CLI for the Perseus frontend framework." authors = ["arctic_hen7 "] diff --git a/packages/perseus-integration/Cargo.toml b/packages/perseus-integration/Cargo.toml index 8aae32daf9..24958ac98c 100644 --- a/packages/perseus-integration/Cargo.toml +++ b/packages/perseus-integration/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-integration" -version = "0.4.2" +version = "0.4.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/perseus-macro/Cargo.toml b/packages/perseus-macro/Cargo.toml index 1ed9490a5d..3f59ea3c5b 100644 --- a/packages/perseus-macro/Cargo.toml +++ b/packages/perseus-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-macro" -version = "0.4.2" +version = "0.4.3" edition = "2021" autotests = false description = "The Perseus macros." diff --git a/packages/perseus-rocket/Cargo.toml b/packages/perseus-rocket/Cargo.toml index 9d6af2921a..77a5730dc4 100644 --- a/packages/perseus-rocket/Cargo.toml +++ b/packages/perseus-rocket/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-rocket" -version = "0.4.2" +version = "0.4.3" edition = "2021" description = "An integration that makes the Perseus framework easy to use with Rocket." authors = ["Miroito "] @@ -12,7 +12,7 @@ keywords = ["wasm", "frontend", "webdev", "ssg", "ssr"] categories = ["wasm", "web-programming::http-server", "development-tools", "asynchronous", "gui"] [dependencies] -perseus = { path = "../perseus", version = "0.4.2"} +perseus = { path = "../perseus", version = "0.4.3"} rocket = "0.5" rocket_async_compression = { version = "0.5", optional = true} diff --git a/packages/perseus-warp/Cargo.toml b/packages/perseus-warp/Cargo.toml index 5dcbbdfddb..cbec7a762f 100644 --- a/packages/perseus-warp/Cargo.toml +++ b/packages/perseus-warp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-warp" -version = "0.4.2" +version = "0.4.3" edition = "2021" description = "An integration that makes the Perseus framework easy to use with Warp." authors = ["arctic_hen7 "] @@ -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.2" } +perseus = { path = "../perseus", version = "0.4.3" } warp = { package = "warp-fix-171", version = "0.3" } # Temporary until Warp #171 is resolved [features] diff --git a/packages/perseus/Cargo.toml b/packages/perseus/Cargo.toml index b2df2a5903..a20d4e3dc6 100644 --- a/packages/perseus/Cargo.toml +++ b/packages/perseus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus" -version = "0.4.2" +version = "0.4.3" edition = "2021" description = "A lightning-fast frontend web dev platform with full support for SSR and SSG." authors = ["arctic_hen7 "] @@ -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.2", optional = true } +perseus-macro = { path = "../perseus-macro", version = "0.4.3", optional = true } serde = { version = "1", features = ["derive"] } serde_json = "1" thiserror = "1" From e46987b94d6c6de1ea1bded3c63b45e6b2e073d5 Mon Sep 17 00:00:00 2001 From: Terry Ng <97420379+ngterry@users.noreply.github.com> Date: Tue, 20 Aug 2024 09:46:23 +0800 Subject: [PATCH 2/2] docs: added `rustdocflags` line to match `perseus new` output (#331) --- docs/0.4.x/en-US/first-app/installation.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/0.4.x/en-US/first-app/installation.md b/docs/0.4.x/en-US/first-app/installation.md index 3ec5814b9b..171c804d41 100644 --- a/docs/0.4.x/en-US/first-app/installation.md +++ b/docs/0.4.x/en-US/first-app/installation.md @@ -22,6 +22,7 @@ This will create a new directory called `my-app/` that's equipped for a binary p ```toml [build] rustflags = [ "--cfg", "engine" ] +rustdocflags = [ "--cfg", "engine" ] ``` This will make sure your IDE builds your app correctly. Without this, you'll have red squiggly lines all over the place, because Perseus needs to be explicitly told if it's working on the engine-side (e.g. a server) or the browser-side, which are very different environments! Also, setting things up explicitly like this lets you change `engine` to `client` in that file when you want your IDE to help you out with working on browser-only code.