Change8

@vercel/oidc-aws-credentials-provider@3.3.0

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

Summary

This release introduces in-memory caching for OIDC token exchanges to improve performance and adds an option to skip this new cache.

Migration Steps

  1. If you rely on repeated OIDC token exchanges returning different results even with the same input (which is unlikely unless the underlying token changes), you may need to use the new `skipTokenCache` option.

✨ New Features

  • OIDC tokens are now cached in memory during exchange, keyed by token hash, audience, and jti, to reuse results.
  • Added a `skipTokenCache` option on `awsCredentialsProvider` to bypass the OIDC token cache.

Affected Symbols