pinecone-vercel-starter
pinecone-vercel-starter copied to clipboard
[spruce] Bump @pinecone-database version to support global control plane
Problem
We've been working to support the new global control plane service in the Pinecone clients. We need to update our sample apps to migrate to the new client versions, and update associated code paths as needed.
Solution
- Bump the
@pinecone-database/pineconedependency to use the newspruceDevversion of the client:^1.1.2-spruceDev.20231214000822. - Update
pinecone.tsandseed.tsto handle the new object response fromlistIndexes(). - Update
seed.tsto pass the proper config object shape tocreateIndex().
For now, I've created a spruce branch to merge this into as we probably don't want to release sample apps that aren't aligned with what's available publicly.
Type of Change
- [X] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [X] This change requires a documentation update
Test Plan
Run the playwright test suite and run the application locally: