Rename schema to collection to match Weaviate's updated terminology#70
Draft
Rename schema to collection to match Weaviate's updated terminology#70
schema to collection to match Weaviate's updated terminology#70Conversation
Agent-Logs-Url: https://github.com/patterns-ai-core/weaviate-ruby/sessions/3c12f756-03aa-4e29-b212-efcd985646e9 Co-authored-by: andreibondarev <541665+andreibondarev@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Rename schema to collection in Weaviate
Rename Apr 8, 2026
schema to collection to match Weaviate's updated terminology
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Weaviate now refers to schemas as "collections." This aligns the Ruby client's public API with that naming while preserving full backward compatibility.
Changes
Weaviate::Collectionclass (lib/weaviate/collection.rb) — primary class replacingSchemaWeaviate::Schemaaliased toCollection— existing code continues to work without changesclient.collections— new primary accessor onClient;client.schemadelegates to it for backward compatspec/weaviate/collection_spec.rb— full test coverage forCollectioncollectionsUsage