neondatabase / serverless

Connect to Neon PostgreSQL from serverless/worker/edge functions
https://www.npmjs.com/package/@neondatabase/serverless
MIT License
318 stars 11 forks source link

Readme update: fetchConnectionCache no longer necessary with Neon #65

Closed danieltprice closed 4 months ago

danieltprice commented 4 months ago

Connection caching is now enabled by default at the Neon proxy for HTTP fetch queries. Not sure if this should just be noted in the Readme or if this experimental option should be removed from the driver.

jawj commented 4 months ago

Yes, this is on my TODO for next week. 🙂

jawj commented 4 months ago

This option has been deprecated in driver version 0.9.0, released today (you get a console warning if you try to set it, and the TSDocs will tell you why).

I also removed the documentation on it from CONFIG.md.