next.js
Convert any export from a `'use cache'` module to a cache function
#86014
Merged
Go
Login via GitHub
Home
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
1 year ago
unstubbable
force pushed
to
1d71a0ac
1 year ago
unstubbable
changed the base branch from
graphite-base/86014
to
hl/remove-unused-encryption-import
1 year ago
unstubbable
changed the base branch from
hl/remove-unused-encryption-import
to
graphite-base/86014
1 year ago
unstubbable
force pushed
from
1d71a0ac
1 year ago
graphite-app
changed the base branch from
graphite-base/86014
to
canary
1 year ago
unstubbable
force pushed
to
a327d057
1 year ago
unstubbable
changed the base branch from
canary
to
graphite-base/86014
1 year ago
unstubbable
force pushed
from
a327d057
to
9d08aabc
1 year ago
unstubbable
changed the base branch from
graphite-base/86014
to
hl/todo-shu
1 year ago
unstubbable
force pushed
from
adbcd2ba
to
b57ea189
1 year ago
unstubbable
force pushed
from
b57ea189
to
1d264a0d
1 year ago
unstubbable
marked this pull request as ready for review
1 year ago
Rezakarimzadeh98
approved these changes on 2025-11-22
unstubbable
force pushed
from
1d264a0d
1 year ago
unstubbable
force pushed
1 year ago
unstubbable
force pushed
1 year ago
unstubbable
changed the base branch from
hl/todo-shu
to
graphite-base/86014
1 year ago
unstubbable
force pushed
1 year ago
graphite-app
changed the base branch from
graphite-base/86014
to
canary
1 year ago
unstubbable
force pushed
1 year ago
unstubbable
force pushed
to
037b7299
1 year ago
mischnic
commented on 2025-11-25
mischnic
commented on 2025-11-25
unstubbable
requested a review
from
mischnic
1 year 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
1 year 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
1 year ago
unstubbable
deleted the hl/nar-196 branch
1 year ago
github-actions
added
locked
github-actions
locked
as resolved
and limited conversation to collaborators
360 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