next.js
Convert any export from a `'use cache'` module to a cache function
#86014
Merged

Convert any export from a `'use cache'` module to a cache function #86014

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

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone