Summary
Fixes Cloudflare Vectorize API version mismatch that caused error 1010 during resource setup, plus two test script correctness fixes.
What's Fixed
- Cloudflare Vectorize API v1→v2 (
scripts/installation/setup_cloudflare_resources.py): Updated API endpoint from v1 to v2, resolving error 1010 "incorrect_api_version" duringsetup_cloudflare_resources.pyexecution. Users setting up Cloudflare backends were blocked by this error. test_cloudflare_backend.pyfixes: Added requiredcontent_hashargument toMemory()constructor call, and fixedsys.pathto correctly locate thesrc/package directory.
Stats
- +16/-4 lines changed (scripts only — no production code affected)
- 1,537 tests passing
Special Thanks
Thank you to @mychaelgo for identifying and fixing the Cloudflare API version mismatch. This was a breaking change in the Cloudflare Vectorize API that affected all users running the setup script.
See CHANGELOG.md for full version history.