Skip to content

Commit

Permalink
chore: release 9.0.0-beta.2
Browse files Browse the repository at this point in the history
Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
  • Loading branch information
algolia-bot and Fluf22 committed May 17, 2024
1 parent cc4dc95 commit 1348fd8
Show file tree
Hide file tree
Showing 16 changed files with 54 additions and 205 deletions.
179 changes: 11 additions & 168 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,171 +1,14 @@
.openapi-generator-ignore
AlgoliaSearchClient.podspec
Package.swift
Sources/Core/Helpers/Version.swift
Sources/Search/Models/Acl.swift
Sources/Search/Models/Action.swift
Sources/Search/Models/AddApiKeyResponse.swift
Sources/Search/Models/ApiKey.swift
Sources/Search/Models/ApiKeyOperation.swift
Sources/Search/Models/AssignUserIdParams.swift
Sources/Search/Models/AttributeToUpdate.swift
Sources/Search/Models/BaseGetApiKeyResponse.swift
Sources/Search/Models/BaseIndexSettings.swift
Sources/Search/Models/BatchAssignUserIdsParams.swift
Sources/Search/Models/BatchDictionaryEntriesParams.swift
Sources/Search/Models/BatchDictionaryEntriesRequest.swift
Sources/Search/Models/BatchParams.swift
Sources/Search/Models/BatchRequest.swift
Sources/Search/Models/BatchResponse.swift
Sources/Search/Models/BatchWriteParams.swift
Sources/Search/Models/BrowseParams.swift
Sources/Search/Models/BrowseParamsObject.swift
Sources/Search/Models/BrowseResponse.swift
Sources/Search/Models/BuiltInOperation.swift
Sources/Search/Models/BuiltInOperationType.swift
Sources/Search/Models/CreatedAtResponse.swift
Sources/Search/Models/Cursor.swift
Sources/Search/Models/DeleteApiKeyResponse.swift
Sources/Search/Models/DeleteByParams.swift
Sources/Search/Models/DeleteSourceResponse.swift
Sources/Search/Models/DictionaryAction.swift
Sources/Search/Models/DictionaryEntry.swift
Sources/Search/Models/DictionaryEntryState.swift
Sources/Search/Models/DictionaryLanguage.swift
Sources/Search/Models/DictionarySettingsParams.swift
Sources/Search/Models/DictionaryType.swift
Sources/Search/Models/FacetHits.swift
Sources/Search/Models/FetchedIndex.swift
Sources/Search/Models/GetApiKeyResponse.swift
Sources/Search/Models/GetDictionarySettingsResponse.swift
Sources/Search/Models/GetLogsResponse.swift
Sources/Search/Models/GetObjectsParams.swift
Sources/Search/Models/GetObjectsRequest.swift
Sources/Search/Models/GetObjectsResponse.swift
Sources/Search/Models/GetTaskResponse.swift
Sources/Search/Models/GetTopUserIdsResponse.swift
Sources/Search/Models/HasPendingMappingsResponse.swift
Sources/Search/Models/Hit.swift
Sources/Search/Models/IndexSettings.swift
Sources/Search/Models/ListApiKeysResponse.swift
Sources/Search/Models/ListClustersResponse.swift
Sources/Search/Models/ListIndicesResponse.swift
Sources/Search/Models/ListUserIdsResponse.swift
Sources/Search/Models/Log.swift
Sources/Search/Models/LogQuery.swift
Sources/Search/Models/LogType.swift
Sources/Search/Models/MultipleBatchRequest.swift
Sources/Search/Models/MultipleBatchResponse.swift
Sources/Search/Models/OperationIndexParams.swift
Sources/Search/Models/OperationType.swift
Sources/Search/Models/RemoveUserIdResponse.swift
Sources/Search/Models/ReplaceSourceResponse.swift
Sources/Search/Models/Rule.swift
Sources/Search/Models/SaveObjectResponse.swift
Sources/Search/Models/SaveSynonymResponse.swift
Sources/Search/Models/ScopeType.swift
Sources/Search/Models/SearchAdvancedSyntaxFeatures.swift
Sources/Search/Models/SearchAlternativesAsExact.swift
Sources/Search/Models/SearchAnchoring.swift
Sources/Search/Models/SearchAroundPrecision.swift
Sources/Search/Models/SearchAroundPrecisionFromValueInner.swift
Sources/Search/Models/SearchAroundRadius.swift
Sources/Search/Models/SearchAroundRadiusAll.swift
Sources/Search/Models/SearchAutomaticFacetFilter.swift
Sources/Search/Models/SearchAutomaticFacetFilters.swift
Sources/Search/Models/SearchBaseSearchParams.swift
Sources/Search/Models/SearchBaseSearchParamsWithoutQuery.swift
Sources/Search/Models/SearchBaseSearchResponse.swift
Sources/Search/Models/SearchCondition.swift
Sources/Search/Models/SearchConsequence.swift
Sources/Search/Models/SearchConsequenceHide.swift
Sources/Search/Models/SearchConsequenceParams.swift
Sources/Search/Models/SearchConsequenceQuery.swift
Sources/Search/Models/SearchConsequenceQueryObject.swift
Sources/Search/Models/SearchDeletedAtResponse.swift
Sources/Search/Models/SearchDictionaryEntriesParams.swift
Sources/Search/Models/SearchDictionaryEntriesResponse.swift
Sources/Search/Models/SearchDistinct.swift
Sources/Search/Models/SearchEdit.swift
Sources/Search/Models/SearchEditType.swift
Sources/Search/Models/SearchErrorBase.swift
Sources/Search/Models/SearchExactOnSingleWordQuery.swift
Sources/Search/Models/SearchExhaustive.swift
Sources/Search/Models/SearchFacetFilters.swift
Sources/Search/Models/SearchFacetOrdering.swift
Sources/Search/Models/SearchFacets.swift
Sources/Search/Models/SearchFacetsStats.swift
Sources/Search/Models/SearchForFacetValuesRequest.swift
Sources/Search/Models/SearchForFacetValuesResponse.swift
Sources/Search/Models/SearchForFacets.swift
Sources/Search/Models/SearchForFacetsOptions.swift
Sources/Search/Models/SearchForHits.swift
Sources/Search/Models/SearchForHitsOptions.swift
Sources/Search/Models/SearchHighlightResult.swift
Sources/Search/Models/SearchHighlightResultOption.swift
Sources/Search/Models/SearchHits.swift
Sources/Search/Models/SearchIgnorePlurals.swift
Sources/Search/Models/SearchIndexSettingsAsSearchParams.swift
Sources/Search/Models/SearchLanguages.swift
Sources/Search/Models/SearchMatchLevel.swift
Sources/Search/Models/SearchMatchedGeoLocation.swift
Sources/Search/Models/SearchMethodParams.swift
Sources/Search/Models/SearchMode.swift
Sources/Search/Models/SearchNumericFilters.swift
Sources/Search/Models/SearchOptionalFilters.swift
Sources/Search/Models/SearchParams.swift
Sources/Search/Models/SearchParamsString.swift
Sources/Search/Models/SearchPersonalization.swift
Sources/Search/Models/SearchPromote.swift
Sources/Search/Models/SearchPromoteObjectID.swift
Sources/Search/Models/SearchPromoteObjectIDs.swift
Sources/Search/Models/SearchQuery.swift
Sources/Search/Models/SearchQueryType.swift
Sources/Search/Models/SearchRankingInfo.swift
Sources/Search/Models/SearchReRankingApplyFilter.swift
Sources/Search/Models/SearchRedirect.swift
Sources/Search/Models/SearchRedirectRuleIndexMetadata.swift
Sources/Search/Models/SearchRedirectRuleIndexMetadataData.swift
Sources/Search/Models/SearchRemoveStopWords.swift
Sources/Search/Models/SearchRemoveWordsIfNoResults.swift
Sources/Search/Models/SearchRenderingContent.swift
Sources/Search/Models/SearchResponse.swift
Sources/Search/Models/SearchResponses.swift
Sources/Search/Models/SearchResult.swift
Sources/Search/Models/SearchRulesParams.swift
Sources/Search/Models/SearchRulesResponse.swift
Sources/Search/Models/SearchSearchParams.swift
Sources/Search/Models/SearchSearchParamsObject.swift
Sources/Search/Models/SearchSearchParamsQuery.swift
Sources/Search/Models/SearchSemanticSearch.swift
Sources/Search/Models/SearchSnippetResult.swift
Sources/Search/Models/SearchSnippetResultOption.swift
Sources/Search/Models/SearchSortRemainingBy.swift
Sources/Search/Models/SearchSource.swift
Sources/Search/Models/SearchStrategy.swift
Sources/Search/Models/SearchSupportedLanguage.swift
Sources/Search/Models/SearchSynonymsParams.swift
Sources/Search/Models/SearchSynonymsResponse.swift
Sources/Search/Models/SearchTagFilters.swift
Sources/Search/Models/SearchTaskStatus.swift
Sources/Search/Models/SearchTypeDefault.swift
Sources/Search/Models/SearchTypeFacet.swift
Sources/Search/Models/SearchTypoTolerance.swift
Sources/Search/Models/SearchTypoToleranceEnum.swift
Sources/Search/Models/SearchUserIdsParams.swift
Sources/Search/Models/SearchUserIdsResponse.swift
Sources/Search/Models/SearchValue.swift
Sources/Search/Models/SecuredAPIKeyRestrictions.swift
Sources/Search/Models/StandardEntries.swift
Sources/Search/Models/SynonymHit.swift
Sources/Search/Models/SynonymType.swift
Sources/Search/Models/TimeRange.swift
Sources/Search/Models/UpdateApiKeyResponse.swift
Sources/Search/Models/UpdatedAtResponse.swift
Sources/Search/Models/UpdatedAtWithObjectIdResponse.swift
Sources/Search/Models/UpdatedRuleResponse.swift
Sources/Search/Models/UserHighlightResult.swift
Sources/Search/Models/UserHit.swift
Sources/Search/Models/UserId.swift
Sources/Search/SearchClient.swift
Sources/Search/SearchClientConfiguration.swift
Sources/Usage/Models/GetUsage200Response.swift
Sources/Usage/Models/GetUsage200ResponseStatisticsInner.swift
Sources/Usage/Models/GetUsage400Response.swift
Sources/Usage/Models/GetUsage400ResponseError.swift
Sources/Usage/Models/GetUsage400ResponseErrorErrorsInner.swift
Sources/Usage/Models/Granularity.swift
Sources/Usage/Models/Statistic.swift
Sources/Usage/Models/StatisticValue.swift
Sources/Usage/Models/UsageErrorBase.swift
Sources/Usage/UsageClient.swift
Sources/Usage/UsageClientConfiguration.swift
4 changes: 2 additions & 2 deletions AlgoliaSearchClient.podspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Pod::Spec.new do |s|
s.name = 'AlgoliaSearchClient'
s.module_name = 'AlgoliaSearchClient'
s.version = '9.0.0-beta.1'
s.source = { :git => 'https://github.com/algolia/algoliasearch-client-swift.git', :tag => '9.0.0-beta.1' }
s.version = '9.0.0-beta.2'
s.source = { :git => 'https://github.com/algolia/algoliasearch-client-swift.git', :tag => '9.0.0-beta.2' }
s.authors = { 'Algolia' => 'contact@algolia.com' }
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.homepage = 'https://github.com/algolia/algoliasearch-client-swift/tree/next'
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [9.0.0-beta.2](https://github.com/algolia/algoliasearch-client-swift/compare/9.0.0-beta.1...9.0.0-beta.2)

- [2b70d9ea5](https://github.com/algolia/api-clients-automation/commit/2b70d9ea5) fix(specs): exhaustiveFacetsCount is not deprecated for sffv ([#3089](https://github.com/algolia/api-clients-automation/pull/3089)) by [@kai687](https://github.com/kai687/)
- [1250c2b3c](https://github.com/algolia/api-clients-automation/commit/1250c2b3c) fix(specs): simplify filter types ([#3042](https://github.com/algolia/api-clients-automation/pull/3042)) by [@millotp](https://github.com/millotp/)
- [3aaa27710](https://github.com/algolia/api-clients-automation/commit/3aaa27710) chore(swift): add privacy manifest ([#3039](https://github.com/algolia/api-clients-automation/pull/3039)) by [@Fluf22](https://github.com/Fluf22/)

## [9.0.0-beta.1](https://github.com/algolia/algoliasearch-client-swift/compare/9.0.0-beta.0...9.0.0-beta.1)

- [b621988bc](https://github.com/algolia/api-clients-automation/commit/b621988bc) feat(specs): promote @kai687 to code owner ([#3014](https://github.com/algolia/api-clients-automation/pull/3014)) by [@Fluf22](https://github.com/Fluf22/)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Core/Helpers/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ extension Version: CustomStringConvertible {
}

public extension Version {
static let current: Version = .init(version: "9.0.0-beta.1")
static let current: Version = .init(version: "9.0.0-beta.2")
}
2 changes: 1 addition & 1 deletion Sources/Ingestion/Models/DestinationIndexName.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public struct DestinationIndexName: Codable, JSONEncodable {
/// Attributes from your source to exclude from Algolia records. Not all your data attributes will be useful for
/// searching. Keeping your Algolia records small increases indexing and search performance. - Exclude nested
/// attributes with `.` notation. For example, `foo.bar` indexes the `foo` attribute and all its children **except**
/// the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element.
/// the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element.
/// For example, `foo.[0].bar` only excludes the `bar` attribute from the first element of the `foo` array, but
/// indexes the complete `foo` attribute for all other elements. Use `*` as wildcard: `foo.[*].bar` excludes `bar`
/// from all elements of the `foo` array.
Expand Down
6 changes: 3 additions & 3 deletions Sources/Recommend/Models/FallbackParams.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public struct FallbackParams: Codable, JSONEncodable {
/// upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet
/// attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>`
/// (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
/// **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not
/// supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not
/// supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet
Expand Down Expand Up @@ -221,7 +221,7 @@ public struct FallbackParams: Codable, JSONEncodable {
/// matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY/NYC\" are considered exact matches. -
/// `multiWordsSynonym`. Multi-word synonyms, such as \"NY/New York\" are considered exact matches.
public var alternativesAsExact: [RecommendAlternativesAsExact]?
/// Advanced search syntax features you want to support. - `exactPhrase`. Phrases in quotes must match exactly.
/// Advanced search syntax features you want to support. - `exactPhrase`. Phrases in quotes must match exactly.
/// For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\". -
/// `excludeWords`. Query words prefixed with a `-` must not occur in a record. For example, `search -engine`
/// matches records that contain \"search\" but not \"engine\". This setting only has an effect if `advancedSyntax`
Expand Down Expand Up @@ -261,7 +261,7 @@ public struct FallbackParams: Codable, JSONEncodable {
/// attribute is determined by the order in the `searchableAttributes` setting.
public var attributeCriteriaComputedByMinProximity: Bool?
public var renderingContent: RecommendRenderingContent?
/// Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
/// Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
/// This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
public var enableReRanking: Bool?
public var reRankingApplyFilter: RecommendReRankingApplyFilter?
Expand Down
2 changes: 1 addition & 1 deletion Sources/Recommend/Models/ParamsConsequence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public struct ParamsConsequence: Codable, JSONEncodable {
/// upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet
/// attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>`
/// (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
/// **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not
/// supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not
/// supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet
Expand Down
2 changes: 1 addition & 1 deletion Sources/Recommend/Models/RecommendBaseSearchParams.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public struct RecommendBaseSearchParams: Codable, JSONEncodable {
/// upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet
/// attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>`
/// (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
/// **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not
/// supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not
/// supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public struct RecommendBaseSearchParamsWithoutQuery: Codable, JSONEncodable {
/// upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet
/// attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>`
/// (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
/// **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not
/// supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not
/// supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet
Expand Down
2 changes: 1 addition & 1 deletion Sources/Recommend/Models/RecommendCondition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public struct RecommendCondition: Codable, JSONEncodable {
/// upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet
/// attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>`
/// (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
/// **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not
/// supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not
/// supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public struct RecommendIndexSettingsAsSearchParams: Codable, JSONEncodable {
/// matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY/NYC\" are considered exact matches. -
/// `multiWordsSynonym`. Multi-word synonyms, such as \"NY/New York\" are considered exact matches.
public var alternativesAsExact: [RecommendAlternativesAsExact]?
/// Advanced search syntax features you want to support. - `exactPhrase`. Phrases in quotes must match exactly.
/// Advanced search syntax features you want to support. - `exactPhrase`. Phrases in quotes must match exactly.
/// For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\". -
/// `excludeWords`. Query words prefixed with a `-` must not occur in a record. For example, `search -engine`
/// matches records that contain \"search\" but not \"engine\". This setting only has an effect if `advancedSyntax`
Expand Down Expand Up @@ -165,7 +165,7 @@ public struct RecommendIndexSettingsAsSearchParams: Codable, JSONEncodable {
/// attribute is determined by the order in the `searchableAttributes` setting.
public var attributeCriteriaComputedByMinProximity: Bool?
public var renderingContent: RecommendRenderingContent?
/// Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
/// Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
/// This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
public var enableReRanking: Bool?
public var reRankingApplyFilter: RecommendReRankingApplyFilter?
Expand Down
Loading

0 comments on commit 1348fd8

Please sign in to comment.