next.js
Introduce experimental Request Interceptors
#70961
Open
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
34
Changes
View On
GitHub
Introduce experimental Request Interceptors
#70961
unstubbable
wants to merge 34 commits into
canary
from
interceptors
ijjk
added
created-by: Next.js team
ijjk
added
tests
ijjk
added
Turbopack
ijjk
added
type: next
unstubbable
force pushed
from
1de49545
to
76f53ad1
1 year ago
unstubbable
force pushed
from
15443f7e
to
39af6f6f
1 year ago
Add initial support for loading interceptors
5b5883c1
Pass `NextRequest` to interceptors
3d4d234c
Run full interceptor chain during client-side navigation
4c764e82
Settle on sequential interceptor execution for now
1427887f
Pass request into `createInterceptor`
622711e7
Catch interceptor errors in loading boundaries
fa2e0569
Test errors in interceptors
4c7fd243
Interceptors should bail out of static generation
88b6cbd8
Test interceptors with PPR
55b3ed1a
Verify default export of interceptor modules
734cb8fd
Test `React.cache` in interceptors
2a8d6742
Add Turbopack support for interceptors
3a539c54
Call interceptors before server actions
c8bac105
Do not use `timers/promises`; not available in edge runtime
7b50093f
Fix broken edge runtime
26dc26ae
Rename `interceptors` to `enableInterceptors` in `next-app-loader`
b95ba121
Inject interceptors into app route module
eb213e57
Call interceptors before route handlers (Webpack only)
91e33f86
Add Turbopack support for route handler interceptors
4614cb00
Add test for interceptors feature flag turned off
f3a0c9a8
Strip internal search params from `RequestStore#nextRequest`
c8d938aa
Test `after` in interceptors
adb6cb98
Add test for redirecting interceptor
03f0d25a
Skip depoyment test
7a57bea7
Modernize dynamic tracking, postpone, static bailout
e1c5f14a
Add interceptors test case to dynamic-io tests
41f5575f
Add interceptors fixture to dynamic-io error tests
d56a3c32
Fix `relative_path` computation
45221001
Update hydration diff snapshots
bc345aad
Fix broken module path encoding
68f1498e
Allow request body to be read in each interceptor
0f3577c9
Skip deployment for dynamic IO interceptors error test
63e8675f
unstubbable
force pushed
from
39af6f6f
to
63e8675f
1 year ago
Skip deployments for all interceptor tests
d154bd52
Add auth interceptor layouting example
9f99e02e
ijjk
added
examples
Login to write a write a comment.
Login via GitHub
Reviewers
No reviews
Assignees
No one assigned
Labels
examples
type: next
created-by: Next.js team
Turbopack
tests
Milestone
No milestone
Login to write a write a comment.
Login via GitHub