Skip to content

Commit 8bdd42b

Browse files
authored
Feature/update nextjs middleware (#83)
* docs(middleware): update Next.js v15.2.0 info * docs: update nextjs middleware
1 parent 8ee8e56 commit 8bdd42b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

articles/nextjs-middleware.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ published_at: 2025-02-03 07:00
1313

1414
**Next.jsのMiddlewareはNode.js runtimeでも使えます!**
1515

16+
2025/8/18にリリースされた、[Next.js v15.5](https://nextjs.org/blog/next-15-5)で正式にStable版としてサポートされました。
17+
1618
:::message alert
1719

1820
ただし、Node.js runtimeのフルサポートではなく、`fs`, `net`, `child_process`, `crypto`などの特定のNode APIは使えません。
@@ -45,6 +47,20 @@ https://nextjs.org/blog/next-15-2
4547

4648
:::
4749

50+
:::message
51+
52+
2025/10/22追記
53+
54+
2025/8/18にリリースされたNext.js v15.5.0でmiddlewareのNode.js runtimeサポートがstableになりました!
55+
56+
これで安心して使えます!
57+
58+
> [Node.js Middleware (stable)](https://nextjs.org/blog/next-15-5#nodejs-middleware-stable): Node.js runtime support for middleware is now stable
59+
60+
https://nextjs.org/blog/next-15-5
61+
62+
:::
63+
4864
## はじめに
4965

5066
Next.jsのMiddlewareは、「Edge runtime専用」と誤解してしまうケースも散見されます。実は、Node.js runtime上でも動作するため、この点について解説します!

0 commit comments

Comments
 (0)