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 1 year ago
unstubbable unstubbable force pushed to 1d71a0ac 1 year ago
unstubbable unstubbable changed the base branch from graphite-base/86014 to hl/remove-unused-encryption-import 1 year ago
unstubbable
ijjk
unstubbable unstubbable changed the base branch from hl/remove-unused-encryption-import to graphite-base/86014 1 year ago
unstubbable unstubbable force pushed from 1d71a0ac 1 year ago
graphite-app graphite-app changed the base branch from graphite-base/86014 to canary 1 year ago
unstubbable unstubbable force pushed to a327d057 1 year ago
unstubbable unstubbable changed the base branch from canary to graphite-base/86014 1 year ago
unstubbable unstubbable force pushed from a327d057 to 9d08aabc 1 year ago
unstubbable unstubbable changed the base branch from graphite-base/86014 to hl/todo-shu 1 year ago
codspeed
unstubbable unstubbable force pushed from adbcd2ba to b57ea189 1 year ago
unstubbable unstubbable force pushed from b57ea189 to 1d264a0d 1 year ago
unstubbable unstubbable marked this pull request as ready for review 1 year ago
Rezakarimzadeh98
Rezakarimzadeh98 approved these changes on 2025-11-22
unstubbable unstubbable force pushed from 1d264a0d 1 year ago
unstubbable unstubbable force pushed 1 year ago
unstubbable unstubbable force pushed 1 year ago
unstubbable unstubbable changed the base branch from hl/todo-shu to graphite-base/86014 1 year ago
unstubbable unstubbable force pushed 1 year ago
graphite-app graphite-app changed the base branch from graphite-base/86014 to canary 1 year ago
unstubbable unstubbable force pushed 1 year ago
unstubbable unstubbable force pushed to 037b7299 1 year ago
mischnic
mischnic
mischnic commented on 2025-11-25
mischnic
mischnic commented on 2025-11-25
unstubbable unstubbable requested a review from mischnic mischnic 1 year 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 1 year 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 1 year ago
unstubbable unstubbable deleted the hl/nar-196 branch 1 year ago
github-actions github-actions added locked
github-actions github-actions locked as resolved and limited conversation to collaborators 360 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone