Skip to content

v1.5.0

Latest

Choose a tag to compare

@heskew heskew released this 02 Jun 11:34
d6bac71

Changed

  • Dynamic-provider cache now defaults to a bounded 300s TTL instead of caching forever. Providers resolved via the onResolveProvider hook are re-resolved once their cache entry expires, so a config change (disabled provider, rotated credentials) takes effect within one TTL window instead of persisting until restart. Configure with cacheDynamicProviders: seconds (number), false to disable caching (call the hook every request), or true for the previous cache-forever behavior. Freshness is TTL-only — there is no manual invalidation API.

Docs

  • Documented the dynamic-provider caching model, including cacheDynamicProviders: false to disable the plugin cache and cache at your onResolveProvider lookup layer instead.