Skip to content

Commit

Permalink
chore: release 2.0.0-alpha.10
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: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
algolia-bot and shortcuts committed Feb 29, 2024
1 parent d40135f commit 1b9f2cd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
1 change: 0 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.openapi-generator-ignore
src/main/scala/algoliasearch/api/SearchClient.scala
src/main/scala/algoliasearch/search/Acl.scala
src/main/scala/algoliasearch/search/Action.scala
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [2.0.0-alpha.10](https://github.com/algolia/algoliasearch-client-scala/compare/2.0.0-alpha.9...2.0.0-alpha.10)

- [a138c2fef](https://github.com/algolia/api-clients-automation/commit/a138c2fef) fix(specs): add `queryID` to search response ([#2801](https://github.com/algolia/api-clients-automation/pull/2801)) by [@aallam](https://github.com/aallam/)
- [6f0b00ead](https://github.com/algolia/api-clients-automation/commit/6f0b00ead) chore(specs): remove JSON specs and new worlds logic ([#2794](https://github.com/algolia/api-clients-automation/pull/2794)) by [@shortcuts](https://github.com/shortcuts/)

## [2.0.0-alpha.9](https://github.com/algolia/algoliasearch-client-scala/compare/2.0.0-alpha.8...2.0.0-alpha.9)

- [d48e2f624](https://github.com/algolia/api-clients-automation/commit/d48e2f624) fix(specs): add missing attributes for CT Source update ([#2792](https://github.com/algolia/api-clients-automation/pull/2792)) by [@damcou](https://github.com/damcou/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ import org.json4s.{Extraction, Formats, JField, JObject, JValue, Serializer, Typ
* Host name of the server that processed the request.
* @param userData
* Lets you store custom data in your indices.
* @param queryID
* Unique identifier for the query. This is used for [click
* analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
*/
case class BaseSearchResponse(
abTestID: Option[Int] = scala.None,
Expand Down Expand Up @@ -95,6 +98,7 @@ case class BaseSearchResponse(
serverTimeMS: Option[Int] = scala.None,
serverUsed: Option[String] = scala.None,
userData: Option[Any] = scala.None,
queryID: Option[String] = scala.None,
additionalProperties: Option[List[JField]] = None
)

Expand Down Expand Up @@ -135,7 +139,8 @@ class BaseSearchResponseSerializer extends Serializer[BaseSearchResponse] {
"renderingContent",
"serverTimeMS",
"serverUsed",
"userData"
"userData",
"queryID"
)
val additionalProperties = jobject removeField {
case (name, _) if fields.contains(name) => true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ package algoliasearch.recommend
* Host name of the server that processed the request.
* @param userData
* Lets you store custom data in your indices.
* @param queryID
* Unique identifier for the query. This is used for [click
* analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
* @param query
* Text to search for in an index.
* @param params
Expand Down Expand Up @@ -96,6 +99,7 @@ case class RecommendationsResults(
serverTimeMS: Option[Int] = scala.None,
serverUsed: Option[String] = scala.None,
userData: Option[Any] = scala.None,
queryID: Option[String] = scala.None,
hits: Seq[RecommendationsHit],
query: Option[String] = scala.None,
params: Option[String] = scala.None
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ThisBuild / version := "2.0.0-alpha.9"
ThisBuild / version := "2.0.0-alpha.10"

0 comments on commit 1b9f2cd

Please sign in to comment.