Skip to content

Added serverless API v2 (but in v1 namespace)#354

Merged
Robert-Stam merged 13 commits into
mainfrom
enh/roberts/serverless_v2
May 22, 2026
Merged

Added serverless API v2 (but in v1 namespace)#354
Robert-Stam merged 13 commits into
mainfrom
enh/roberts/serverless_v2

Conversation

@Robert-Stam
Copy link
Copy Markdown
Contributor

@Robert-Stam Robert-Stam commented May 1, 2026

This pull request introduces a significant update to the serverless API, effectively bringing it to a "v2" level of functionality and consistency, although it remains within the v1 package namespace for now.

The primary motivation for this change is to align the serverless offering with the more mature cluster API (DatabaseApiKeyService v2), providing a more consistent developer experience and more powerful, granular access control.

Key Changes:
Rename Collection to Space: The core concept of a serverless instance has been renamed from "Collection" to "Space". This is a breaking change that affects service names (CollectionService -> SpaceService), messages, fields, and file paths across the serverless API definitions.

Granular API Key Permissions: The CollectionApiKeyService has been updated to support fine-grained access control, and has been renamed to SpaceApiKeyService

It now uses AccessRules, similar to DatabaseApiKeyService v2, allowing permissions to be set globally for the serverless space or on a per-collection basis within that space.
This replaces the previous, simpler READ_ONLY/READ_WRITE access model.

@Robert-Stam Robert-Stam added the buf skip breaking Skip checking if there are breaking changes label May 1, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

PR Packages Published

Python Package:

  • Version: 0.130.0.dev354+2b8c516
  • Package: qdrant-cloud-public-api
  • Registry: https://us-python.pkg.dev/qdrant-cloud/python/
  • To update run: uv add qdrant-cloud-public-api==0.130.0.dev354+2b8c516

NPM Package:

  • Version: 0.130.0-dev354.2b8c516
  • Package: @qdrant/qdrant-cloud-public-api
  • Registry: https://us-npm.pkg.dev/qdrant-cloud/npm/
  • To update run: npm install @qdrant/qdrant-cloud-public-api@0.130.0-dev354.2b8c516

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

The latest Buf updates on your PR. Results from workflow Pull Request / linting (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed⏩ skippedMay 21, 2026, 3:27 PM

@Robert-Stam Robert-Stam marked this pull request as ready for review May 5, 2026 12:39
@Robert-Stam Robert-Stam requested a review from a team as a code owner May 5, 2026 12:39
@Robert-Stam Robert-Stam marked this pull request as draft May 6, 2026 18:38
@github-actions

This comment has been minimized.

@Robert-Stam Robert-Stam marked this pull request as ready for review May 21, 2026 15:44
Comment thread proto/qdrant/cloud/serverless/space/auth/v1/space_api_key.proto
Comment thread proto/qdrant/cloud/serverless/space/auth/v1/space_api_key.proto
Comment thread proto/qdrant/cloud/serverless/space/auth/v1/space_api_key.proto
Comment thread proto/qdrant/cloud/serverless/space/auth/v1/space_api_key.proto
Comment thread proto/qdrant/cloud/serverless/space/auth/v1/space_api_key.proto
Copy link
Copy Markdown

@forgems forgems left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Robert-Stam Robert-Stam merged commit 8d9b100 into main May 22, 2026
14 checks passed
@Robert-Stam Robert-Stam deleted the enh/roberts/serverless_v2 branch May 22, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buf skip breaking Skip checking if there are breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants