npm / @azure/search-documents
@azure/search-documents
What changed in @azure/search-documents 12 to 13, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
54 breaking1 deprecations55 new APIs and options1 behavior and defaults13 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@azure/search-documents 1390 changes
Breaking changes 27
The default service API version changed to 2026-10-01, aligning the public surface with that GA specification.
Removes AIFoundryModelCatalogName and KnownAIFoundryModelCatalogName.
Removes AzureMachineLearningVectorizer; VectorSearchVectorizer now accepts Azure OpenAI and custom Web API vectorizers.
Removes the semantic property from DocumentDebugInfo.
Document lookup and other operations with an empty error response body now throw a RestError containing the HTTP status code instead of a TypeError.
Removes GenerativeQueryRewrites and QueryRewrites, along with related query rewrite properties.
Removes retrievalReasoningEffort.
Renames totalSynchronizations to totalSynchronization.
Removes KnownAIFoundryModelCatalogName and AIFoundryModelCatalogName.
Removes the ImageBinary member from KnownVectorQueryKind.
Removes the ImageUrl member from KnownVectorQueryKind.
Raises the minimum supported Node.js version from 20 to 22.
Removes QueryResultDocumentSemanticField.
Removes QueryRewrites and GenerativeQueryRewrites, along with related query rewrite properties.
Removes the standalone SearchIndexerKnowledgeStoreParameters type.
Removes SemanticDebugInfo.
Removes the queryRewrites property from SemanticSearchOptions.
Removes hasSensitivityLabel from SimpleField.
Removes strictPostFilter and KnownVectorFilterMode.StrictPostFilter.
Removes VectorizableImageBinaryQuery; VectorQuery now accepts raw vectors and text queries only.
Removes VectorizableImageUrlQuery; VectorQuery now accepts raw vectors and text queries only.
Removes the queryRewrites property from VectorizableTextQuery.
Removed the empty
DebugInfointerface.Removed the preview-only
answerInstructionsproperty.Removed the preview-only
outputModeproperty.Removed the preview-only
retrievalInstructionsproperty.Removed the preview-only
retrievalReasoningEffortproperty.
New APIs and options 49
Adds timestamps and warnings to activity records.
Adds ADLS Gen2 configuration.
Adds a per-source retrieval control named alwaysQuerySource.
Adds model and deployment selection for Content Understanding.
Adds token-based chunking for Content Understanding.
Adds the correctly cased options type while retaining the previous name as a deprecated alias.
Adds an overload accepting a knowledge-base object.
Adds ingestion permission options for data sources and knowledge sources.
Adds a per-source retrieval control named failOnError.
Adds federated managed-identity authentication.
Adds File knowledge sources with multipart upload, in-place updates, deletion, prefix-filtered listing, CORS configuration, file metadata, and capacity reporting.
Adds GPT-5.4 as a model name.
Adds GPT-5.5 as a model name.
Adds GPT-5.6 as a model name.
Adds permission-filter configuration for indexes and fields.
Adds index statistics summary listing.
Adds citation URLs on indexed references.
Adds indexed SharePoint knowledge sources.
Adds indexed SQL knowledge sources.
Adds indexer resynchronization.
Adds per-indexer and service-wide indexer runtime reporting.
Adds refreshAllAcls for ADLS Gen2 ACL refresh.
Adds a buffer-size option for the keyword tokenizer.
Adds answer and retrieval instructions for knowledge bases.
Adds output-document limits for knowledge bases.
Adds output modes for knowledge bases.
Adds low and medium reasoning effort settings for knowledge bases.
Adds typed server-sent event retrieval through retrieveStream and the protocol client, with start, activity, answer, references, error, and completion events.
Adds a per-source retrieval control named maxOutputDocuments.
Adds message-based retrieval.
Adds activity records for model query planning and answer synthesis.
Adds pageSize as an option for server-driven resource listing.
Adds private networking options for ingestion.
Adds query-source authorization and elevated-read options for search and document lookup.
Adds search as an option for server-driven resource listing.
Adds a base filter for search-index knowledge sources.
Adds similar-document search through the moreLikeThis search option.
Adds searchType as an option for server-driven resource listing.
Adds application registration configuration for the SharePoint connector.
Adds SharePoint site URL and organization-access expiration fields.
Adds source-specific retrieval activity records.
Adds count, freshness, language, and market options for Web sources.
Added a debug property to enable debug mode for non-semantic search queries.
Added an oversampling property for vector search oversampling configuration.
Added a skill for enhanced content extraction and understanding in indexer pipelines.
Added a method for tracking knowledge source status.
Added support for knowledge sources of kinds
searchIndex,azureBlob,indexedOneLake, andweb.Added a client for agentic retrieval operations on knowledge bases.
Added APIs to create, update, and delete knowledge bases.
Behavior and default changes 1
The package moved from beta to stable, with API refinements.
Fixes and other changes 13
Preserves custom analyzer tokenizer names during read/update round trips.
Preserves custom indexer configuration during read/update round trips.
Corrects serialization of custom Web API vectorizer parameters.
The document-array overload now forwards request options, cancellation, callbacks, and partial-failure handling.
Exports KnownContentUnderstandingSkillChunkingMethod from the package root.
Corrects ETag mapping so resources returned by index, indexer, and skillset operations support conditional updates and deletes with onlyIfUnchanged.
Corrects serialization of PII skill masking characters and categories.
Fixes resource listing continuation, preserves continuation tokens on mapped pages, and retains original query parameters when resuming searches.
Preserves document fields named score in search results and text in suggestions, separating @search metadata from document contents.
Honors an explicitly supplied semantic answer threshold of zero.
Forwards explicitly supplied semantic fields.
Corrects serialization of Split skill page lengths.
Fixed mapping of
binaryImageto the service'sbase64Imagefield.
@azure/search-documents 1234 changes
Breaking changes 27
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
Types generic on a model type now constrain that model type to extend object.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
Removed as a duplicate of KnownCharFilterNames.
Removed as a duplicate of KnownAnalyzerNames.
Removed as a duplicate of KnownTokenFilterNames.
Nullable optional properties can no longer be assigned null; use undefined instead.
The enum property type was narrowed to its respective string literal union.
Specific property types were updated for enhanced precision, replacing any with more defined types.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
Removed as a duplicate of SearchRequestOptions.
Response types are narrowed based on selected fields.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
The enum property type was narrowed to its respective string literal union.
Deprecations 1
Deprecated apiVersion in SearchClient, SearchIndexClient, and SearchIndexerClient in favor of serviceVersion.
New APIs and options 6
Added EntityLinkingSkill as a new SearchIndexerSkill.
Added EntityRecognitionSkillV3 as a new SearchIndexerSkill.
Added PIIDetectionSkill as a new SearchIndexerSkill.
Added support for semantic search and reranking.
Added SentimentSkillV3 as a new SearchIndexerSkill.
Added support for vector search.