Changed
ctx.kv().setItem's ttl option is now three-state
The ttl option on ctx.kv().setItem now accepts three states instead of two. You can set a positive duration to expire the key after that time, pass null to explicitly remove any previously set TTL (making the key persistent), or omit the option entirely to leave the existing TTL unchanged. This lets you update a value without accidentally clearing or overwriting its expiration.