mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #948] [MERGED] feat: add unstable_io shim for next/cache #974
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#974
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/948
Author: @Divkix
Created: 4/29/2026
Status: ✅ Merged
Merged: 4/29/2026
Merged by: @james-elicx
Base:
main← Head:fix/805-unstable-io📝 Commits (3)
0073ae6feat: add unstable_io shim for next/cache (#805)36b13a3fix: address review feedback for unstable_io shim1ced530fix: correct unstable_io comment about deployment targets📊 Changes
4 files changed (+51 additions, -1 deletions)
View changed files
📝
packages/vinext/src/check.ts(+1 -1)📝
packages/vinext/src/shims/cache.ts(+26 -0)📝
packages/vinext/src/shims/next-shims.d.ts(+1 -0)📝
tests/shims.test.ts(+23 -0)📄 Description
Fixes #805
Summary
unstable_io()export to thenext/cacheshimuse()hook can unwrap it synchronously without suspendingTest plan
tests/shims.test.ts:unstable_iois exported as a functionPromise<void>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.