diff --git a/Cargo.lock b/Cargo.lock index 6bd7704782998..33c8f8b79d0b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -412,7 +412,7 @@ dependencies = [ [[package]] name = "auto-hash-map" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "serde", ] @@ -3633,7 +3633,7 @@ dependencies = [ [[package]] name = "node-file-trace" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "serde", @@ -7306,7 +7306,7 @@ dependencies = [ [[package]] name = "turbo-tasks" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "async-trait", @@ -7338,7 +7338,7 @@ dependencies = [ [[package]] name = "turbo-tasks-build" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "cargo-lock", @@ -7350,7 +7350,7 @@ dependencies = [ [[package]] name = "turbo-tasks-bytes" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "bytes", @@ -7365,7 +7365,7 @@ dependencies = [ [[package]] name = "turbo-tasks-env" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "dotenvs", @@ -7379,7 +7379,7 @@ dependencies = [ [[package]] name = "turbo-tasks-fetch" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7396,7 +7396,7 @@ dependencies = [ [[package]] name = "turbo-tasks-fs" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "auto-hash-map", @@ -7426,7 +7426,7 @@ dependencies = [ [[package]] name = "turbo-tasks-hash" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "base16", "hex", @@ -7438,7 +7438,7 @@ dependencies = [ [[package]] name = "turbo-tasks-macros" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "convert_case 0.6.0", @@ -7452,7 +7452,7 @@ dependencies = [ [[package]] name = "turbo-tasks-macros-shared" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "proc-macro2", "quote", @@ -7462,7 +7462,7 @@ dependencies = [ [[package]] name = "turbo-tasks-malloc" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "mimalloc", ] @@ -7470,7 +7470,7 @@ dependencies = [ [[package]] name = "turbo-tasks-memory" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "auto-hash-map", @@ -7493,7 +7493,7 @@ dependencies = [ [[package]] name = "turbo-tasks-testing" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "auto-hash-map", @@ -7506,7 +7506,7 @@ dependencies = [ [[package]] name = "turbopack" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "async-recursion", @@ -7537,7 +7537,7 @@ dependencies = [ [[package]] name = "turbopack-bench" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "chromiumoxide", @@ -7567,7 +7567,7 @@ dependencies = [ [[package]] name = "turbopack-binding" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "auto-hash-map", "mdxjs", @@ -7610,7 +7610,7 @@ dependencies = [ [[package]] name = "turbopack-build" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7632,7 +7632,7 @@ dependencies = [ [[package]] name = "turbopack-cli-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "clap 4.1.11", @@ -7656,7 +7656,7 @@ dependencies = [ [[package]] name = "turbopack-core" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "async-recursion", @@ -7685,7 +7685,7 @@ dependencies = [ [[package]] name = "turbopack-create-test-app" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "clap 4.1.11", @@ -7698,7 +7698,7 @@ dependencies = [ [[package]] name = "turbopack-css" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "async-trait", @@ -7720,7 +7720,7 @@ dependencies = [ [[package]] name = "turbopack-dev" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7744,7 +7744,7 @@ dependencies = [ [[package]] name = "turbopack-dev-server" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "async-compression", @@ -7781,7 +7781,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "async-trait", @@ -7815,7 +7815,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-hmr-protocol" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "serde", "serde_json", @@ -7826,7 +7826,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-plugins" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "async-trait", @@ -7849,7 +7849,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-runtime" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "indoc", @@ -7866,7 +7866,7 @@ dependencies = [ [[package]] name = "turbopack-env" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7882,7 +7882,7 @@ dependencies = [ [[package]] name = "turbopack-image" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "base64 0.21.0", @@ -7902,7 +7902,7 @@ dependencies = [ [[package]] name = "turbopack-json" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "serde", @@ -7917,7 +7917,7 @@ dependencies = [ [[package]] name = "turbopack-mdx" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "mdxjs", @@ -7932,7 +7932,7 @@ dependencies = [ [[package]] name = "turbopack-node" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "async-stream", @@ -7967,7 +7967,7 @@ dependencies = [ [[package]] name = "turbopack-static" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "serde", @@ -7983,7 +7983,7 @@ dependencies = [ [[package]] name = "turbopack-swc-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "swc_core", "turbo-tasks", @@ -7994,7 +7994,7 @@ dependencies = [ [[package]] name = "turbopack-test-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "once_cell", @@ -8012,7 +8012,7 @@ dependencies = [ [[package]] name = "turbopack-wasm" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230825.2#faf918f24fee368fbf32cb99464a202c90068ee1" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-230829.2#8307b9329d169b3f5174790ca95fb4a4b48573ca" dependencies = [ "anyhow", "indexmap 1.9.3", diff --git a/Cargo.toml b/Cargo.toml index 6f6f951200ef6..30355c7b5fc9d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,11 +46,11 @@ swc_core = { version = "0.79.70" } testing = { version = "0.33.24" } # Turbo crates -turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230825.2" } +turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230829.2" } # [TODO]: need to refactor embed_directory! macro usages, as well as resolving turbo_tasks::function, macros.. -turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230825.2" } +turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230829.2" } # [TODO]: need to refactor embed_directory! macro usage in next-core -turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230825.2" } +turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230829.2" } # General Deps diff --git a/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx b/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx index 7122a6637b22e..e723edca123fc 100644 --- a/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx +++ b/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx @@ -170,6 +170,8 @@ export default function Page() { } ``` +> **Good to know**: `