@rsc-kit/mcp 0.30.37 → 0.30.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,12 @@ export default async function ProductPage({ params }: { params: Promise<{ slug:
20
20
  default status is `307`, because it preserves the method: a redirect out of a
21
21
  `POST` does not silently become a `GET` of the target.
22
22
 
23
+ A form posted before the page has javascript - or by a browser with none - is
24
+ the exception: a redirect out of it is answered `303 See Other`, whatever
25
+ status it was given. The browser follows it with a `GET`, as it should after a
26
+ form. A `307` would post the form again at the destination, and run the action
27
+ again there.
28
+
23
29
  A redirect during a navigation stays a navigation. The document does not reload,
24
30
  the layouts you are inside stay mounted, and only the part below them changes.
25
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsc-kit/mcp",
3
- "version": "0.30.37",
3
+ "version": "0.30.38",
4
4
  "description": "An MCP server over what an rsc-kit build decided: the routes, why each one is static or not, and what it costs the browser.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@modelcontextprotocol/sdk": "^1.30.0",
37
- "create-rsc-kit": "^0.30.37",
37
+ "create-rsc-kit": "^0.30.38",
38
38
  "zod": "^3.25"
39
39
  },
40
40
  "devDependencies": {