Skip to content

RDBC-1099 Sync 7.2.3 -> 7.2.6 - #309

Open
poissoncorp wants to merge 29 commits into
ravendb:v7.2from
poissoncorp:RDBC-1099-sync-7.2.5
Open

poissoncorp wants to merge 29 commits into
ravendb:v7.2from
poissoncorp:RDBC-1099-sync-7.2.5

Conversation

@poissoncorp

@poissoncorp poissoncorp commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

RDBC-1112 Sync Python SDK 7.2.5 -> 7.2.6
RDBC-1099 Sync Python SDK 7.2.3 -> 7.2.5

New features

  • Queue Sink - QueueSinkConfiguration, QueueSinkScript, AddQueueSinkOperation, UpdateQueueSinkOperation, OngoingTaskQueueSink, QueueSinkProcessState, AzureServiceBusSinkSource, DatabaseRecord.queue_sinks
  • Database smuggler - store.smuggler: export, import_data, import_incremental, export_to_database, for_database, typed SmugglerResult
  • CDC Sink - config tree, AddCdcSinkOperation, UpdateCdcSinkOperation, OngoingTaskCdcSink, GetCdcSinkSchemaOperation, TestCdcSinkMappingOperation, DatabaseRecord.cdc_sinks
  • Server-wide connection strings - Get/Put/RemoveServerWideConnectionStringOperation, ServerWideConnectionString
  • AI: read a conversation - GetConversationMessagesOperation, AiOperations.get_conversation_messages
  • AI: per-turn output schema (7.2.6) - AiOutputOptions, run_with_schema, stream_with_schema
  • Azure Service Bus as a Queue ETL broker - AzureServiceBusConnectionSettings + EntraId / Passwordless, QueueBrokerType.AZURE_SERVICE_BUS

API changes

Type Change
ConnectionString used_by, plus ConnectionStringUsage / ConnectionStringUsageKind
CertificateMetadata usage, sso_identifiers, sso_server_public_key_pinning_hashes, allow_any_sso_server; new SsoProvider, SsoIdentifier, CertificateUsage
EditClientCertificateOperation.Parameters 3 opt-in SSO fields; posts an explicit body instead of a whole CertificateDefinition
OngoingTaskPullReplicationAsSink hub_cursor, sink_cursor
OngoingTaskType CDC_SINK
S3Settings disable_checksum_validation, storage_class, to_remote_attachments_s3_settings()
RemoteAttachmentsS3Settings disable_checksum_validation, to_s3_settings()
AzureSettings / RemoteAttachmentsAzureSettings conversions both ways
EmbeddingsGenerationConfiguration store_chunk_text
AiConversation cancel_pending_action_tools
DatabaseItemType TIME_SERIES_DELETED_RANGES; new DatabaseRecordItemType (39 members)
exceptions LimitType (59), LicenseLimitException, QueryToolFailedException, all in the dispatcher

Breaking changes

Found by AST-comparing every changed signature against v7.2. All resolved, none ship.

  • 4 constructors had taken a new parameter mid-list, breaking positional callers. Moved to the end: output_options (RunConversationOperation + its command), store_chunk_text (EmbeddingsGenerationConfiguration), disable_checksum_validation (RemoteAttachmentsS3Settings).
  • Operation.wait_for_completion() had started returning the server's result instead of None. Reverted; the smuggler reads it through a private _wait_for_completion_result().

Deliberate, kept: query aliases now actually apply (different, correct RQL), and several from_json accept payloads that previously raised.

Minors

  • CLIENT_VERSION 7.2.3 -> 7.2.6
  • 6 pre-existing bugs fixed: add_from_alias_to_where_tokens discarded add_alias's result so aliases never applied; VectorSearchToken lost its settings on aliasing; DatabaseRecord.from_json required AutoIndexes + LockMode; DatabaseRecord.to_json iterated auto-indexes without .items(); AutoIndexDefinition.from_json same strictness; backup settings called .to_json() on a null script
  • Constants: X-Forwarded-For, 3 new SupportedFeatures
  • 267 new tests. Full suite 1,575 vs 1,308 on v7.2, same failure set in both directions.

@poissoncorp poissoncorp changed the title Rdbc 1099 sync 7.2.5 RDBC-1099 Sync 7.2.3 -> 7.2.6 Sep 10, 2026
Ports RemoteAttachmentExtensions. Backup S3Settings gains the StorageClass it was
missing, and the S3 and Azure from_json / to_json paths stop requiring keys that
C# treats as optional, since a converted instance carries no backup script.
Operation.wait_for_completion now hands back the result the server carried instead
of dropping it, and the smuggler narrows that to a SmugglerResult with per-item-type
counts. No existing caller used the return value.
This test pinned wait_for_completion returning None, which is the behaviour the
previous commit deliberately changed. It now checks the result the server sent.
AiOutputOptions carries a sample object, an explicit JSON schema, or no schema at
all, and run_with_schema / stream_with_schema apply it to a single turn. Nothing is
sent when no options are given, so the agent's own schema stays in charge.
VectorSearchToken inherited the base add_alias, which builds a plain WhereToken and
so dropped the similarity threshold, candidate count and exactness. It now rebuilds
itself with the field qualified.

The caller also discarded what add_alias returned, so no alias was ever applied.
C# assigns the new token back into the list; this does the same.
Four constructors took a new parameter in the middle of their existing signature,
which breaks anyone passing positionally: output_options on RunConversationOperation
and its command, store_chunk_text on EmbeddingsGenerationConfiguration, and
disable_checksum_validation on RemoteAttachmentsS3Settings. All four move to the end.

Operation.wait_for_completion also started returning the server's result instead of
None, which is a change every caller can see. It returns None again; the result now
comes from _wait_for_completion_result, and the smuggler is its only caller.

Also covers the six symbols the coverage audit found untested: import_incremental,
export_to_database, get_conversation_messages, CdcSinkTableLoadState,
ConnectionStringUsage.list_from_json and UpdateQueueSinkOperationResult.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant