From 08321672ccc2e603d53f9f0d94c23e7fa9941fef Mon Sep 17 00:00:00 2001 From: arctic_hen7 Date: Sat, 2 Oct 2021 11:43:14 +1000 Subject: [PATCH] =?UTF-8?q?chore(release):=20=F0=9F=94=96=200.3.0-beta.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 16 ++++++++++++++++ docs/0.3.x/src/updating.md | 2 +- examples/basic/.perseus/Cargo.toml | 2 +- examples/basic/.perseus/server/Cargo.toml | 2 +- examples/basic/Cargo.toml | 2 +- examples/tiny/Cargo.toml | 2 +- packages/perseus-actix-web/Cargo.toml | 4 ++-- packages/perseus-cli/Cargo.toml | 2 +- packages/perseus-macro/Cargo.toml | 2 +- packages/perseus/Cargo.toml | 4 ++-- 10 files changed, 27 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index efa1febf9d..4644decff5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ 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.3.0-beta.3](https://github.com/arctic-hen7/perseus/compare/v0.3.0-beta.2...v0.3.0-beta.3) (2021-10-02) + + +### ⚠ BREAKING CHANGES + +* **i18n:** build/request state now take locale as second parameter (request state takes request as third now) + +### Features + +* **i18n:** ✨ passed locale to build and request state ([#43](https://github.com/arctic-hen7/perseus/issues/43)) ([95d28bb](https://github.com/arctic-hen7/perseus/commit/95d28bb2525feb3eb332666d9c66f713bfd06fa3)) + + +### Documentation Changes + +* **book:** 📝 updated migration guide for beta ([643e51e](https://github.com/arctic-hen7/perseus/commit/643e51efc0da3f2d212cbcb1e9e83d3361d1c923)) + ## [0.3.0-beta.2](https://github.com/arctic-hen7/perseus/compare/v0.3.0-beta.1...v0.3.0-beta.2) (2021-10-01) diff --git a/docs/0.3.x/src/updating.md b/docs/0.3.x/src/updating.md index 29095a1ac4..99f745d5ed 100644 --- a/docs/0.3.x/src/updating.md +++ b/docs/0.3.x/src/updating.md @@ -1,6 +1,6 @@ # Migrating from v0.2.x -> Perseus v0.3.0 is still in beta, and you'll need to explicitly specify the latest version (0.3.0-beta.2) in your `Cargo.toml` and when you install the CLI by using the `--version` flag. +> Perseus v0.3.0 is still in beta, and you'll need to explicitly specify the latest version (0.3.0-beta.3) in your `Cargo.toml` and when you install the CLI by using the `--version` flag. Perseus v0.3.0 added significant architectural changes to Perseus under the hood, and also made it easier to use for you! Additionally, this update provides inbuilt deployment functionality for moving Perseus to production (though that's not recommended yet)! If you're currently running v0.2.x, here's how to upgrade! diff --git a/examples/basic/.perseus/Cargo.toml b/examples/basic/.perseus/Cargo.toml index 183f3bef1b..5111d3e718 100644 --- a/examples/basic/.perseus/Cargo.toml +++ b/examples/basic/.perseus/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "perseus-cli-builder" -version = "0.3.0-beta.2" +version = "0.3.0-beta.3" edition = "2018" default-run = "perseus-builder" diff --git a/examples/basic/.perseus/server/Cargo.toml b/examples/basic/.perseus/server/Cargo.toml index 7cd07f9e1d..c0288e40fe 100644 --- a/examples/basic/.perseus/server/Cargo.toml +++ b/examples/basic/.perseus/server/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "perseus-cli-server" -version = "0.3.0-beta.2" +version = "0.3.0-beta.3" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/basic/Cargo.toml b/examples/basic/Cargo.toml index 8ed6ea4b8c..bbedbcd577 100644 --- a/examples/basic/Cargo.toml +++ b/examples/basic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-basic" -version = "0.3.0-beta.2" +version = "0.3.0-beta.3" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/tiny/Cargo.toml b/examples/tiny/Cargo.toml index 189eeeae38..1688ef0b4f 100644 --- a/examples/tiny/Cargo.toml +++ b/examples/tiny/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-example-tiny" -version = "0.3.0-beta.2" +version = "0.3.0-beta.3" edition = "2018" # 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 a7326053e2..510429e13d 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.3.0-beta.2" +version = "0.3.0-beta.3" edition = "2018" 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.3.0-beta.2" } +perseus = { path = "../perseus", version = "0.3.0-beta.3" } actix-web = "3.3" actix-files = "0.5" urlencoding = "2.1" diff --git a/packages/perseus-cli/Cargo.toml b/packages/perseus-cli/Cargo.toml index b6a523c6fc..d5cde2cce8 100644 --- a/packages/perseus-cli/Cargo.toml +++ b/packages/perseus-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-cli" -version = "0.3.0-beta.2" +version = "0.3.0-beta.3" edition = "2018" description = "The CLI for the Perseus frontend framework." authors = ["arctic_hen7 "] diff --git a/packages/perseus-macro/Cargo.toml b/packages/perseus-macro/Cargo.toml index ec5c3a8015..747ba68647 100644 --- a/packages/perseus-macro/Cargo.toml +++ b/packages/perseus-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus-macro" -version = "0.3.0-beta.2" +version = "0.3.0-beta.3" edition = "2018" autotests = false description = "The Perseus macros." diff --git a/packages/perseus/Cargo.toml b/packages/perseus/Cargo.toml index 8c5e02e88f..8f1b22dc85 100644 --- a/packages/perseus/Cargo.toml +++ b/packages/perseus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perseus" -version = "0.3.0-beta.2" +version = "0.3.0-beta.3" edition = "2018" description = "A lightning-fast frontend web dev platform with full support for SSR and SSG." authors = ["arctic_hen7 "] @@ -16,7 +16,7 @@ categories = ["wasm", "web-programming", "development-tools", "asynchronous", "g [dependencies] sycamore = { version = "0.6", features = ["ssr"] } sycamore-router = "0.6" -perseus-macro = { path = "../perseus-macro", version = "0.3.0-beta.2" } +perseus-macro = { path = "../perseus-macro", version = "0.3.0-beta.3" } web-sys = { version = "0.3", features = ["Headers", "Navigator", "NodeList", "Request", "RequestInit", "RequestMode", "Response", "ReadableStream", "Window"] } wasm-bindgen = { version = "0.2", features = ["serde-serialize"] } wasm-bindgen-futures = "0.4"