Skip to content

Commit 6ec713f

Browse files
authored
[Search] Regenerate with 2024-07 spec (#30494)
1 parent da2b372 commit 6ec713f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+2312
-5538
lines changed

common/config/rush/pnpm-lock.yaml

+32-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/search/search-documents/CHANGELOG.md

+117
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Release History
22

3+
## 12.1.0 (2024-07-24)
4+
5+
### Features Added
6+
7+
- Added support for text queries against vector fields [#30494](https://github.com/Azure/azure-sdk-for-js/pull/29597)
8+
- Create text queries against vector fields with the `VectorizedTextQuery` variant of `VectorQuery`. Such queries are supported by configuring the corresponding index field with a `VectorSearchVectorizer`. This configuration describes a delegate, which the service uses to generate vector embeddings for the query text.
9+
- Added `AzureOpenAIEmbeddingSkill` to allow for `SearchIndexer`s to populate embedding fields at index-time.
10+
- Added index configuration for vector quantization through `VectorSearchCompression`
11+
12+
### Bugs Fixed
13+
14+
- Improved serialization performance on large payloads [#29597](https://github.com/Azure/azure-sdk-for-js/pull/29597)
15+
16+
### Note
17+
18+
- This GA release introduces bug fixes, convenience improvements, and select features from prior beta releases. Except for the features listed in these release notes, no preview features are being pulled into this release.
19+
320
## 12.1.0-beta.2 (2024-05-20)
421

522
### Breaking Changes
@@ -114,6 +131,61 @@
114131
- Add non-persistent vector usage through `SimpleField.stored` [#28772](https://github.com/Azure/azure-sdk-for-js/pull/28772)
115132
- Expose the internal HTTP pipeline to allow users to send raw requests with it
116133

134+
## 12.0.0 (2023-11-13)
135+
136+
### Features Added
137+
138+
- Added support for vector search
139+
- Added support for semantic search and reranking
140+
- New `SearchIndexerSkill`s
141+
- `EntityLinkingSkill`
142+
- `EntityRecognitionSkillV3`
143+
- `PIIDetectionSkill`
144+
- `SentimentSkillV3`
145+
146+
### Breaking Changes
147+
148+
- Minor type changes
149+
- All nullable optional properties can no longer be assigned `null`. Use `undefined` instead.
150+
- Updated specific property types for enhanced precision, replacing `any` with more defined types.
151+
- Narrowed some enum property types to the respective string literal union
152+
- `BlobIndexerDataToExtract`
153+
- `BlobIndexerImageAction`
154+
- `BlobIndexerParsingMode`
155+
- `BlobIndexerPDFTextRotationAlgorithm`
156+
- `CustomEntityLookupSkillLanguage`
157+
- `EntityCategory`
158+
- `EntityRecognitionSkillLanguage`
159+
- `ImageAnalysisSkillLanguage`
160+
- `ImageDetail`
161+
- `IndexerExecutionEnvironment`
162+
- `KeyPhraseExtractionSkillLanguage`
163+
- `OcrSkillLanguage`
164+
- `RegexFlags`
165+
- `SearchIndexerDataSourceType`
166+
- `SentimentSkillLanguage`
167+
- `SplitSkillLanguage`
168+
- `TextSplitMode`
169+
- `TextTranslationSkillLanguage`
170+
- `VisualFeature`
171+
- Removed `KnownLexicalAnalyzerName` as a duplicate of `KnownAnalyzerNames`
172+
- Removed `KnownCharFilterName` as a duplicate of `KnownCharFilterNames`
173+
- Removed `KnownTokenFilterName` as a duplicate of `KnownTokenFilterNames`
174+
- Removed `SearchRequest` as a duplicate of `SearchRequestOptions`
175+
- Added type narrowing for response types based on `select`ed fields
176+
- For types that are generic on a model type, the model type is now constrained to extend `object`
177+
178+
### Other Changes
179+
180+
- Deprecated `apiVersion` in favor of `serviceVersion` in clients:
181+
- `SearchClient`
182+
- `SearchIndexClient`
183+
- `SearchIndexerClient`
184+
185+
### Note
186+
187+
- This GA release introduces bug fixes, convenience improvements, and select features from prior beta releases. Except for the features listed in these release notes, no preview features are being pulled into this release.
188+
117189
## 12.0.0-beta.4 (2023-10-11)
118190

119191
### Features Added
@@ -130,6 +202,12 @@
130202
- `SearchField.vectorSearchConfiguration` has been abstracted into `SearchField.vectorSearchProfile` [#27338](https://github.com/Azure/azure-sdk-for-js/pull/27338)
131203
- `VectorSearch.algorithmConfiguration` has been renamed to `VectorSearch.algorithms` [#27338](https://github.com/Azure/azure-sdk-for-js/pull/27338)
132204

205+
## 11.3.3 (2023-09-27)
206+
207+
### Bugs Fixed
208+
209+
- Fix some `SearchIndex` fields being improperly serialized.[#27238](https://github.com/Azure/azure-sdk-for-js/pull/27238)
210+
133211
## 12.0.0-beta.3 (2023-08-10)
134212

135213
### Features Added
@@ -153,6 +231,20 @@
153231
- Fix all clients adding one or more duplicate user agents. [#26298](https://github.com/Azure/azure-sdk-for-js/pull/26298)
154232
- Fix serializerOptions and onResponse options for SearchClient methods. [#26327](https://github.com/Azure/azure-sdk-for-js/pull/26327)
155233

234+
## 11.3.2 (2023-06-06)
235+
236+
### Bugs Fixed
237+
238+
- Fix ISO8601 deserialization. [#25802](https://github.com/Azure/azure-sdk-for-js/pull/25802)
239+
- Fix all clients adding one or more duplicate user agents. [#26298](https://github.com/Azure/azure-sdk-for-js/pull/26298)
240+
- Fix `serializerOptions` and `onResponse` options for SearchClient methods. [#26327](https://github.com/Azure/azure-sdk-for-js/pull/26327)
241+
- Fix discarded user-defined `onResponse` callback. [#24479](https://github.com/Azure/azure-sdk-for-js/pull/24479)
242+
- Fix type error on `select` statement with nested fields. [#26407](https://github.com/Azure/azure-sdk-for-js/pull/26407)
243+
244+
### Other Changes
245+
246+
- Add deprecation warning to `EntityRecognitionSkill` and `SentimentSkill` [#25686](https://github.com/Azure/azure-sdk-for-js/pull/25686)
247+
156248
## 12.0.0-beta.1 (2023-05-09)
157249

158250
### Features Added
@@ -201,6 +293,31 @@
201293

202294
- Add deprecation warning to `EntityRecognitionSkill` and `SentimentSkill` [#25686](https://github.com/Azure/azure-sdk-for-js/pull/25686)
203295

296+
## 11.3.1 (2022-11-18)
297+
298+
### Bugs Fixed
299+
300+
- Addressed an issue where `similarity` settings on indexes wouldn't populate correctly. See [#23811](https://github.com/Azure/azure-sdk-for-js/issues/23811)
301+
302+
## 11.3.0 (2022-09-06)
303+
304+
### Features Added
305+
306+
- Enabled national cloud support for Azure Search SDK. Please refer [#22887](https://github.com/Azure/azure-sdk-for-js/pull/22887) for further details.
307+
- Support for TokenCredential has been added. With this addition, the Search SDK supports authentication via AAD.
308+
309+
### Bugs Fixed
310+
311+
- Converted the complex fields correctly within the Search Fields. Please refer [#16489](https://github.com/Azure/azure-sdk-for-js/issues/16489) for more details.
312+
- Fixed the typos `anayzerName` to `analyzerName` in `convertFieldsToPublic` method of `serviceUtils.ts`.
313+
- Fixed the issue with the presence of recursive structure while uploading documents. Please refer [#15656](https://github.com/Azure/azure-sdk-for-js/issues/15656) for further details.
314+
315+
### Note
316+
317+
- This GA release includes AAD with multi-cloud support and all the bug fixes since the last [11.2.0](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/search/search-documents/CHANGELOG.md#1120-2021-06-08) GA release. Other preview features and breaking changes from the [11.3.0-beta.1](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/search/search-documents/CHANGELOG.md#1130-beta1-2021-07-07) to [11.3.0-beta.8](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/search/search-documents/CHANGELOG.md#1130-beta8-unreleased) releases are not included in this GA release.
318+
319+
- Add deprecation warning to `EntityRecognitionSkill` and `SentimentSkill` [#25686](https://github.com/Azure/azure-sdk-for-js/pull/25686)
320+
204321
## 11.3.0-beta.8 (2022-09-06)
205322

206323
- Added `core-http-compat` dependency

sdk/search/search-documents/assets.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/search/search-documents",
5-
"Tag": "js/search/search-documents_1f1ba0f089"
5+
"Tag": "js/search/search-documents_e7f34296b6"
66
}

sdk/search/search-documents/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure/search-documents",
3-
"version": "12.1.0-beta.2",
3+
"version": "12.1.0",
44
"description": "Azure client library to use Cognitive Search for node.js and browser.",
55
"sdk-type": "client",
66
"main": "dist/index.js",
@@ -130,7 +130,8 @@
130130
"sinon": "^17.0.0",
131131
"ts-node": "^10.0.0",
132132
"typescript": "~5.3.3",
133-
"util": "^0.12.1"
133+
"util": "^0.12.1",
134+
"type-plus": "^7.6.2"
134135
},
135136
"//sampleConfiguration": {
136137
"productName": "Azure Search Documents",

0 commit comments

Comments
 (0)