next.js
Convert any export from a `'use cache'` module to a cache function
#86014
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
22
Changes
View On
GitHub
Convert any export from a `'use cache'` module to a cache function
#86014
unstubbable
merged 22 commits into
canary
from
hl/nar-196
ijjk
added
created-by: Next.js team
ijjk
added
tests
ijjk
added
Turbopack
ijjk
added
type: next
unstubbable
changed the base branch from
canary
to
graphite-base/86014
47 days ago
unstubbable
force pushed
from
c6cffa05
to
1d71a0ac
47 days ago
unstubbable
changed the base branch from
graphite-base/86014
to
hl/remove-unused-encryption-import
47 days ago
unstubbable
changed the base branch from
hl/remove-unused-encryption-import
to
graphite-base/86014
46 days ago
unstubbable
force pushed
from
1d71a0ac
to
e3a80ce8
46 days ago
graphite-app
changed the base branch from
graphite-base/86014
to
canary
46 days ago
unstubbable
force pushed
from
e3a80ce8
to
a327d057
46 days ago
unstubbable
changed the base branch from
canary
to
graphite-base/86014
37 days ago
unstubbable
force pushed
from
a327d057
to
9d08aabc
37 days ago
unstubbable
changed the base branch from
graphite-base/86014
to
hl/todo-shu
37 days ago
unstubbable
force pushed
from
adbcd2ba
to
b57ea189
37 days ago
unstubbable
force pushed
from
b57ea189
to
1d264a0d
37 days ago
unstubbable
marked this pull request as ready for review
37 days ago
Rezakarimzadeh98
approved these changes on 2025-11-22
unstubbable
force pushed
from
1d264a0d
to
b842d939
34 days ago
unstubbable
force pushed
from
b842d939
to
e704de53
34 days ago
unstubbable
force pushed
from
e704de53
to
bd3a3383
34 days ago
unstubbable
changed the base branch from
hl/todo-shu
to
graphite-base/86014
34 days ago
unstubbable
force pushed
from
bd3a3383
to
a7f0cb9e
34 days ago
graphite-app
changed the base branch from
graphite-base/86014
to
canary
34 days ago
unstubbable
force pushed
from
a7f0cb9e
to
86862dea
34 days ago
unstubbable
force pushed
from
86862dea
to
037b7299
34 days ago
mischnic
commented on 2025-11-25
mischnic
commented on 2025-11-25
unstubbable
requested a review
from
mischnic
33 days ago
mischnic
approved these changes on 2025-11-25
Convert any export from a `'use cache'` module to a cache function
8866735a
Move `may_need_cache_runtime_wrapper` check to pre-pass
b7279f3c
Handle mixed export statements
e5c44efc
Fix duplicate registerServerReference calls
fc24f385
Don't push to `server_reference_exports` in main pass
d24623d0
Don't double-annotate `'use server'` functions in `'use cache'` files
d8809004
Don't allow exporting object and array literals from server functions
f8e641e1
Add new fixtures (for some only input for now)
36aeb06a
Update a client-graph fixture
1eca43ae
Fix destructuring in exports
f51d7646
Update a few comments
f4971741
Make the field name even longer
ddbd467b
Skip post-pass if there are any errors
0f36d43d
Handle default-exported call expressions in `'use cache'` files
9cbd1d2e
Update output files
ac4a001f
Remove unnecessary `.into()`
499bb093
Use `export_name.atom()` helper
b3616391
Fix handling of type exports
9f5cd75f
Simplify `is_type_only` matches
b0894343
Emit cache runtime wrappers even if there are errors in the module
33f9d8fe
unstubbable
force pushed
from
250702c4
to
33f9d8fe
32 days ago
vercel
commented on 2025-11-26
Don't strip type re-exports
b1dcd6f9
Simplify if/else, use `matches!` instead
d3f09e6a
unstubbable
merged
59fe222b
into canary
32 days ago
unstubbable
deleted the hl/nar-196 branch
32 days ago
github-actions
added
locked
github-actions
locked
as resolved
and limited conversation to collaborators
18 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
mischnic
Rezakarimzadeh98
vercel
Assignees
No one assigned
Labels
type: next
created-by: Next.js team
Turbopack
locked
tests
Milestone
No milestone
Login to write a write a comment.
Login via GitHub