File tree Expand file tree Collapse file tree 6 files changed +18
-8
lines changed
src/commonMain/kotlin/com/algolia/search/client Expand file tree Collapse file tree 6 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 1+ # 1.1.2
2+
3+ - Ktor version 1.2.3
4+ - Minimum version of Kotlin is now 1.3.41
5+
6+ # 1.1.1
7+
8+ - ` Compression ` is ` None ` by default
9+ - Added new ` searchHierarchical method `
10+
111# 1.1.0
212
313- Kotlin version 1.3.41
Original file line number Diff line number Diff line change 2121
2222## ✨ Features
2323
24- - The Kotlin client is compatible with Kotlin ` 1.3.30 ` and higher.
24+ - The Kotlin client is compatible with Kotlin ` 1.3.41 ` and higher.
2525- It is compatible with Kotlin project on the JVM, such as backend and Android applications.
2626- It relies on the open source Kotlin libraries for seamless integration into Kotlin projects:
2727 - [ Kotlin multiplatform] ( https://kotlinlang.org/docs/reference/multiplatform.html ) .
Original file line number Diff line number Diff line change @@ -42,8 +42,7 @@ kotlin {
4242 val commonMain by getting {
4343 kotlin.srcDirs(" build/generated" )
4444 dependencies {
45- implementation(kotlin(" stdlib-common" ))
46- implementation(Serialization (" runtime" ))
45+ api(kotlin(" stdlib-common" ))
4746 api(Ktor (" client" ))
4847 api(Ktor (" client-logging" ))
4948 api(Ktor (" client-core" ))
@@ -60,7 +59,7 @@ kotlin {
6059 }
6160 val jvmMain by getting {
6261 dependencies {
63- implementation (kotlin(" stdlib-jdk8" ))
62+ api (kotlin(" stdlib-jdk8" ))
6463 api(Ktor (" client-core-jvm" ))
6564 api(Ktor (" client-json-jvm" ))
6665 api(Ktor (" client-logging-jvm" ))
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ object Ktor : Dependency {
22
33 override val group = " io.ktor"
44 override val artifact = " ktor"
5- override val version = " 1.2.3-rc "
5+ override val version = " 1.2.3"
66}
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ object Library: Dependency {
22
33 override val group = " com.algolia"
44 override val artifact = " algoliasearch-client-kotlin"
5- override val version = " 1.1.1 "
5+ override val version = " 1.1.2 "
66}
Original file line number Diff line number Diff line change @@ -114,7 +114,8 @@ public data class Index internal constructor(
114114 disjunctiveFacets : List <Attribute > = listOf(),
115115 filters : Set <Filter > = setOf(),
116116 hierarchicalAttributes : List <Attribute > = listOf(),
117- hierarchicalFilters : List <Filter .Facet > = listOf()
117+ hierarchicalFilters : List <Filter .Facet > = listOf(),
118+ requestOptions : RequestOptions ? = null
118119 ): ResponseSearch {
119120 val (filtersOr, filtersAnd) = filters.partition { disjunctiveFacets.contains(it.attribute) }
120121 val filtersOrFacet = filtersOr.filterIsInstance<Filter .Facet >()
@@ -145,7 +146,7 @@ public data class Index internal constructor(
145146 .optimize()
146147 }
147148 val queries = listOf (queryForResults) + queriesForDisjunctiveFacets + queriesForHierarchicalFacets
148- val response = EndpointMultipleIndexImpl (transport).multipleQueries(queries)
149+ val response = EndpointMultipleIndexImpl (transport).multipleQueries(queries, requestOptions = requestOptions )
149150
150151 return response.aggregateResult(disjunctiveFacets.size)
151152 }
You can’t perform that action at this time.
0 commit comments