Change8

@vercel/functions@3.6.0

📦 vercel-functionsView on GitHub →
1 features🔧 1 symbols

Summary

This minor release enhances cache observability by automatically labeling cache entries with their key when the name option is omitted in getCache().set().

Migration Steps

  1. To suppress the default human-readable label in observability for cache entries created via getCache().set(), pass name: '' in the options.

✨ New Features

  • getCache().set() now defaults options.name to the provided key when omitted, resulting in cache entries having a human-readable label in observability by default.

Affected Symbols