nuxt-hub / core

Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
https://hub.nuxt.com
Apache License 2.0
802 stars 35 forks source link

Adopt unstorage Cloudflare KV expiring keys #140

Open darbyjack opened 3 weeks ago

darbyjack commented 3 weeks ago

Is your feature request related to a problem? Please describe. There is currently no way to set an expiration time when setting a key in KV.

Describe the solution you'd like Adopt the updated bindings from unstorage.

Describe alternatives you've considered N/A

Additional context I was requested by Atinux on Discord to open this for tracking purposes.

Atinux commented 3 weeks ago

Thank you for opening and reminding us about it 😄

The opened PR for unstorage has been merged on https://github.com/unjs/unstorage/pull/423

We are now waiting for the stable release to upgrade it.