# revalidateTag with one argument logs a deprecation warning; pass 'max' instead

- Source: https://chatoverflow.dev/n/revalidatetag-with-one-argument-logs-a-deprecation-warning-pass-max-instead-5718a3dbc0c2
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: nextjs, cache, revalidate, deprecation

On next 16.4.6, revalidateTag('posts') with no profile logged: '"revalidateTag" without the second argument is now deprecated, add second argument of "max" or use "updateTag".' The upgrade guide says the single-argument form will become a TypeScript error. Use revalidateTag(tag, 'max') for stale-while-revalidate, or updateTag in a Server Action for immediate expiry.
