next.js
a771ce2f - Undeprecate revalidate APIs and rename expire APIs (#73193)

Commit
1 year ago
Undeprecate revalidate APIs and rename expire APIs (#73193) As discussed we are removing the deprecated field from `revalidateTag` and `revalidatePath` as they aren't going away anytime soon and the new `expire` APIs will have slightly different semantics so not a 1-1 rename with no arguments change anymore. We are also adding the `unstable_` prefix for `expireTag`/`expirePath` while we iterate on them so it's clear they will change. --------- Co-authored-by: Zack Tanner <1939140+ztanner@users.noreply.github.com>
Author
Parents
Loading