From e47df65330ddcc3c61293ac8da7c0e89feb14948 Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Thu, 19 Sep 2024 19:28:05 +0000 Subject: [PATCH] chore: release 2024-09-19 [skip ci] Co-authored-by: Pierre Millot --- .../algoliasearch/src/main/java/com/algolia/BuildConfig.java | 2 +- clients/algoliasearch-client-java/gradle.properties | 2 +- clients/algoliasearch-client-scala/version.sbt | 2 +- .../algoliasearch-client-swift/AlgoliaSearchClient.podspec | 4 ++-- .../Sources/Core/Helpers/Version.swift | 2 +- snippets/java/build.gradle | 2 +- tests/output/java/build.gradle | 2 +- .../java/src/test/java/com/algolia/client/Abtesting.test.java | 2 +- .../java/src/test/java/com/algolia/client/Analytics.test.java | 2 +- .../java/src/test/java/com/algolia/client/Ingestion.test.java | 2 +- .../java/src/test/java/com/algolia/client/Insights.test.java | 2 +- .../src/test/java/com/algolia/client/Monitoring.test.java | 2 +- .../test/java/com/algolia/client/Personalization.test.java | 2 +- .../test/java/com/algolia/client/QuerySuggestions.test.java | 2 +- .../java/src/test/java/com/algolia/client/Recommend.test.java | 2 +- .../java/src/test/java/com/algolia/client/Search.test.java | 2 +- .../src/test/scala/algoliasearch/client/AbtestingTest.scala | 2 +- .../src/test/scala/algoliasearch/client/AnalyticsTest.scala | 2 +- .../src/test/scala/algoliasearch/client/IngestionTest.scala | 2 +- .../src/test/scala/algoliasearch/client/InsightsTest.scala | 2 +- .../src/test/scala/algoliasearch/client/MonitoringTest.scala | 2 +- .../test/scala/algoliasearch/client/PersonalizationTest.scala | 2 +- .../scala/algoliasearch/client/QuerySuggestionsTest.scala | 2 +- .../src/test/scala/algoliasearch/client/RecommendTest.scala | 2 +- .../src/test/scala/algoliasearch/client/SearchTest.scala | 2 +- tests/output/swift/Tests/client/AbtestingTests.swift | 2 +- tests/output/swift/Tests/client/AnalyticsTests.swift | 2 +- tests/output/swift/Tests/client/IngestionTests.swift | 2 +- tests/output/swift/Tests/client/InsightsTests.swift | 2 +- tests/output/swift/Tests/client/MonitoringTests.swift | 2 +- tests/output/swift/Tests/client/PersonalizationTests.swift | 2 +- tests/output/swift/Tests/client/QuerySuggestionsTests.swift | 2 +- tests/output/swift/Tests/client/RecommendTests.swift | 2 +- tests/output/swift/Tests/client/SearchTests.swift | 2 +- 34 files changed, 35 insertions(+), 35 deletions(-) diff --git a/clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/BuildConfig.java b/clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/BuildConfig.java index f4889d79eb..d4019500d9 100644 --- a/clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/BuildConfig.java +++ b/clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/BuildConfig.java @@ -6,5 +6,5 @@ private BuildConfig() { // Empty. } - public static final String VERSION = "4.3.3"; + public static final String VERSION = "4.3.4"; } diff --git a/clients/algoliasearch-client-java/gradle.properties b/clients/algoliasearch-client-java/gradle.properties index 8aab689ffb..423e5db223 100644 --- a/clients/algoliasearch-client-java/gradle.properties +++ b/clients/algoliasearch-client-java/gradle.properties @@ -1,5 +1,5 @@ GROUP=com.algolia -VERSION_NAME=4.3.3 +VERSION_NAME=4.3.4 SONATYPE_HOST=DEFAULT RELEASE_SIGNING_ENABLED=true diff --git a/clients/algoliasearch-client-scala/version.sbt b/clients/algoliasearch-client-scala/version.sbt index 5c2d3e2810..3c8d49de79 100644 --- a/clients/algoliasearch-client-scala/version.sbt +++ b/clients/algoliasearch-client-scala/version.sbt @@ -1 +1 @@ -ThisBuild / version := "2.3.3" +ThisBuild / version := "2.3.4" diff --git a/clients/algoliasearch-client-swift/AlgoliaSearchClient.podspec b/clients/algoliasearch-client-swift/AlgoliaSearchClient.podspec index 836bea2d60..2e5ffa46a2 100644 --- a/clients/algoliasearch-client-swift/AlgoliaSearchClient.podspec +++ b/clients/algoliasearch-client-swift/AlgoliaSearchClient.podspec @@ -1,8 +1,8 @@ Pod::Spec.new do |s| s.name = 'AlgoliaSearchClient' s.module_name = 'AlgoliaSearchClient' - s.version = '9.3.3' - s.source = { :git => 'https://github.com/algolia/algoliasearch-client-swift.git', :tag => '9.3.3' } + s.version = '9.4.0' + s.source = { :git => 'https://github.com/algolia/algoliasearch-client-swift.git', :tag => '9.4.0' } s.authors = { 'Algolia' => 'contact@algolia.com' } s.license = { :type => 'MIT', :file => 'LICENSE' } s.homepage = 'https://github.com/algolia/algoliasearch-client-swift/tree/main' diff --git a/clients/algoliasearch-client-swift/Sources/Core/Helpers/Version.swift b/clients/algoliasearch-client-swift/Sources/Core/Helpers/Version.swift index 17c2040948..a8b00cebb2 100644 --- a/clients/algoliasearch-client-swift/Sources/Core/Helpers/Version.swift +++ b/clients/algoliasearch-client-swift/Sources/Core/Helpers/Version.swift @@ -48,5 +48,5 @@ extension Version: CustomStringConvertible { } public extension Version { - static let current: Version = .init(version: "9.3.3") + static let current: Version = .init(version: "9.4.0") } diff --git a/snippets/java/build.gradle b/snippets/java/build.gradle index afa0513841..3ac303379f 100644 --- a/snippets/java/build.gradle +++ b/snippets/java/build.gradle @@ -14,7 +14,7 @@ java { } dependencies { - testImplementation 'com.algolia:algoliasearch:4.3.3' + testImplementation 'com.algolia:algoliasearch:4.3.4' testImplementation 'org.junit.jupiter:junit-jupiter:5.11.0' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' testImplementation 'org.skyscreamer:jsonassert:1.5.3' diff --git a/tests/output/java/build.gradle b/tests/output/java/build.gradle index afa0513841..3ac303379f 100644 --- a/tests/output/java/build.gradle +++ b/tests/output/java/build.gradle @@ -14,7 +14,7 @@ java { } dependencies { - testImplementation 'com.algolia:algoliasearch:4.3.3' + testImplementation 'com.algolia:algoliasearch:4.3.4' testImplementation 'org.junit.jupiter:junit-jupiter:5.11.0' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' testImplementation 'org.skyscreamer:jsonassert:1.5.3' diff --git a/tests/output/java/src/test/java/com/algolia/client/Abtesting.test.java b/tests/output/java/src/test/java/com/algolia/client/Abtesting.test.java index 923ac79c5a..613024c748 100644 --- a/tests/output/java/src/test/java/com/algolia/client/Abtesting.test.java +++ b/tests/output/java/src/test/java/com/algolia/client/Abtesting.test.java @@ -76,7 +76,7 @@ void commonApiTest1() { client.customPost("1/test"); EchoResponse result = echo.getLastResponse(); { - String regexp = "^Algolia for Java \\(4.3.3\\).*"; + String regexp = "^Algolia for Java \\(4.3.4\\).*"; assertTrue( result.headers.get("user-agent").matches(regexp), "Expected " + result.headers.get("user-agent") + " to match the following regex: " + regexp diff --git a/tests/output/java/src/test/java/com/algolia/client/Analytics.test.java b/tests/output/java/src/test/java/com/algolia/client/Analytics.test.java index 5adf27667b..e1d417351c 100644 --- a/tests/output/java/src/test/java/com/algolia/client/Analytics.test.java +++ b/tests/output/java/src/test/java/com/algolia/client/Analytics.test.java @@ -76,7 +76,7 @@ void commonApiTest1() { client.customPost("1/test"); EchoResponse result = echo.getLastResponse(); { - String regexp = "^Algolia for Java \\(4.3.3\\).*"; + String regexp = "^Algolia for Java \\(4.3.4\\).*"; assertTrue( result.headers.get("user-agent").matches(regexp), "Expected " + result.headers.get("user-agent") + " to match the following regex: " + regexp diff --git a/tests/output/java/src/test/java/com/algolia/client/Ingestion.test.java b/tests/output/java/src/test/java/com/algolia/client/Ingestion.test.java index 422add73d8..a474486a30 100644 --- a/tests/output/java/src/test/java/com/algolia/client/Ingestion.test.java +++ b/tests/output/java/src/test/java/com/algolia/client/Ingestion.test.java @@ -76,7 +76,7 @@ void commonApiTest1() { client.customPost("1/test"); EchoResponse result = echo.getLastResponse(); { - String regexp = "^Algolia for Java \\(4.3.3\\).*"; + String regexp = "^Algolia for Java \\(4.3.4\\).*"; assertTrue( result.headers.get("user-agent").matches(regexp), "Expected " + result.headers.get("user-agent") + " to match the following regex: " + regexp diff --git a/tests/output/java/src/test/java/com/algolia/client/Insights.test.java b/tests/output/java/src/test/java/com/algolia/client/Insights.test.java index cfc2402f4b..6072e82a5f 100644 --- a/tests/output/java/src/test/java/com/algolia/client/Insights.test.java +++ b/tests/output/java/src/test/java/com/algolia/client/Insights.test.java @@ -76,7 +76,7 @@ void commonApiTest1() { client.customPost("1/test"); EchoResponse result = echo.getLastResponse(); { - String regexp = "^Algolia for Java \\(4.3.3\\).*"; + String regexp = "^Algolia for Java \\(4.3.4\\).*"; assertTrue( result.headers.get("user-agent").matches(regexp), "Expected " + result.headers.get("user-agent") + " to match the following regex: " + regexp diff --git a/tests/output/java/src/test/java/com/algolia/client/Monitoring.test.java b/tests/output/java/src/test/java/com/algolia/client/Monitoring.test.java index ad71130d10..b87a48512d 100644 --- a/tests/output/java/src/test/java/com/algolia/client/Monitoring.test.java +++ b/tests/output/java/src/test/java/com/algolia/client/Monitoring.test.java @@ -75,7 +75,7 @@ void commonApiTest1() { client.customPost("1/test"); EchoResponse result = echo.getLastResponse(); { - String regexp = "^Algolia for Java \\(4.3.3\\).*"; + String regexp = "^Algolia for Java \\(4.3.4\\).*"; assertTrue( result.headers.get("user-agent").matches(regexp), "Expected " + result.headers.get("user-agent") + " to match the following regex: " + regexp diff --git a/tests/output/java/src/test/java/com/algolia/client/Personalization.test.java b/tests/output/java/src/test/java/com/algolia/client/Personalization.test.java index 24cc83d2f6..d4227cd336 100644 --- a/tests/output/java/src/test/java/com/algolia/client/Personalization.test.java +++ b/tests/output/java/src/test/java/com/algolia/client/Personalization.test.java @@ -76,7 +76,7 @@ void commonApiTest1() { client.customPost("1/test"); EchoResponse result = echo.getLastResponse(); { - String regexp = "^Algolia for Java \\(4.3.3\\).*"; + String regexp = "^Algolia for Java \\(4.3.4\\).*"; assertTrue( result.headers.get("user-agent").matches(regexp), "Expected " + result.headers.get("user-agent") + " to match the following regex: " + regexp diff --git a/tests/output/java/src/test/java/com/algolia/client/QuerySuggestions.test.java b/tests/output/java/src/test/java/com/algolia/client/QuerySuggestions.test.java index e89033e8a8..cf5be8cdd1 100644 --- a/tests/output/java/src/test/java/com/algolia/client/QuerySuggestions.test.java +++ b/tests/output/java/src/test/java/com/algolia/client/QuerySuggestions.test.java @@ -76,7 +76,7 @@ void commonApiTest1() { client.customPost("1/test"); EchoResponse result = echo.getLastResponse(); { - String regexp = "^Algolia for Java \\(4.3.3\\).*"; + String regexp = "^Algolia for Java \\(4.3.4\\).*"; assertTrue( result.headers.get("user-agent").matches(regexp), "Expected " + result.headers.get("user-agent") + " to match the following regex: " + regexp diff --git a/tests/output/java/src/test/java/com/algolia/client/Recommend.test.java b/tests/output/java/src/test/java/com/algolia/client/Recommend.test.java index a686c505be..03ace8f82e 100644 --- a/tests/output/java/src/test/java/com/algolia/client/Recommend.test.java +++ b/tests/output/java/src/test/java/com/algolia/client/Recommend.test.java @@ -93,7 +93,7 @@ void commonApiTest1() { client.customPost("1/test"); EchoResponse result = echo.getLastResponse(); { - String regexp = "^Algolia for Java \\(4.3.3\\).*"; + String regexp = "^Algolia for Java \\(4.3.4\\).*"; assertTrue( result.headers.get("user-agent").matches(regexp), "Expected " + result.headers.get("user-agent") + " to match the following regex: " + regexp diff --git a/tests/output/java/src/test/java/com/algolia/client/Search.test.java b/tests/output/java/src/test/java/com/algolia/client/Search.test.java index 4b794338b9..5caa1daa65 100644 --- a/tests/output/java/src/test/java/com/algolia/client/Search.test.java +++ b/tests/output/java/src/test/java/com/algolia/client/Search.test.java @@ -173,7 +173,7 @@ void commonApiTest1() { client.customPost("1/test"); EchoResponse result = echo.getLastResponse(); { - String regexp = "^Algolia for Java \\(4.3.3\\).*"; + String regexp = "^Algolia for Java \\(4.3.4\\).*"; assertTrue( result.headers.get("user-agent").matches(regexp), "Expected " + result.headers.get("user-agent") + " to match the following regex: " + regexp diff --git a/tests/output/scala/src/test/scala/algoliasearch/client/AbtestingTest.scala b/tests/output/scala/src/test/scala/algoliasearch/client/AbtestingTest.scala index 0d22703873..2e312b23bb 100644 --- a/tests/output/scala/src/test/scala/algoliasearch/client/AbtestingTest.scala +++ b/tests/output/scala/src/test/scala/algoliasearch/client/AbtestingTest.scala @@ -63,7 +63,7 @@ class AbtestingTest extends AnyFunSuite { ), Duration.Inf ) - val regexp = """^Algolia for Scala \(2.3.3\).*""".r + val regexp = """^Algolia for Scala \(2.3.4\).*""".r val header = echo.lastResponse.get.headers("user-agent") assert(header.matches(regexp.regex), s"Expected $header to match the following regex: ${regexp.regex}") } diff --git a/tests/output/scala/src/test/scala/algoliasearch/client/AnalyticsTest.scala b/tests/output/scala/src/test/scala/algoliasearch/client/AnalyticsTest.scala index 03d9dcb6d0..68fe5ca6f7 100644 --- a/tests/output/scala/src/test/scala/algoliasearch/client/AnalyticsTest.scala +++ b/tests/output/scala/src/test/scala/algoliasearch/client/AnalyticsTest.scala @@ -63,7 +63,7 @@ class AnalyticsTest extends AnyFunSuite { ), Duration.Inf ) - val regexp = """^Algolia for Scala \(2.3.3\).*""".r + val regexp = """^Algolia for Scala \(2.3.4\).*""".r val header = echo.lastResponse.get.headers("user-agent") assert(header.matches(regexp.regex), s"Expected $header to match the following regex: ${regexp.regex}") } diff --git a/tests/output/scala/src/test/scala/algoliasearch/client/IngestionTest.scala b/tests/output/scala/src/test/scala/algoliasearch/client/IngestionTest.scala index eccf514a96..97017c4e2e 100644 --- a/tests/output/scala/src/test/scala/algoliasearch/client/IngestionTest.scala +++ b/tests/output/scala/src/test/scala/algoliasearch/client/IngestionTest.scala @@ -63,7 +63,7 @@ class IngestionTest extends AnyFunSuite { ), Duration.Inf ) - val regexp = """^Algolia for Scala \(2.3.3\).*""".r + val regexp = """^Algolia for Scala \(2.3.4\).*""".r val header = echo.lastResponse.get.headers("user-agent") assert(header.matches(regexp.regex), s"Expected $header to match the following regex: ${regexp.regex}") } diff --git a/tests/output/scala/src/test/scala/algoliasearch/client/InsightsTest.scala b/tests/output/scala/src/test/scala/algoliasearch/client/InsightsTest.scala index 6de5e32b87..5fc68d1657 100644 --- a/tests/output/scala/src/test/scala/algoliasearch/client/InsightsTest.scala +++ b/tests/output/scala/src/test/scala/algoliasearch/client/InsightsTest.scala @@ -63,7 +63,7 @@ class InsightsTest extends AnyFunSuite { ), Duration.Inf ) - val regexp = """^Algolia for Scala \(2.3.3\).*""".r + val regexp = """^Algolia for Scala \(2.3.4\).*""".r val header = echo.lastResponse.get.headers("user-agent") assert(header.matches(regexp.regex), s"Expected $header to match the following regex: ${regexp.regex}") } diff --git a/tests/output/scala/src/test/scala/algoliasearch/client/MonitoringTest.scala b/tests/output/scala/src/test/scala/algoliasearch/client/MonitoringTest.scala index 9add2f4230..f85d794131 100644 --- a/tests/output/scala/src/test/scala/algoliasearch/client/MonitoringTest.scala +++ b/tests/output/scala/src/test/scala/algoliasearch/client/MonitoringTest.scala @@ -58,7 +58,7 @@ class MonitoringTest extends AnyFunSuite { ), Duration.Inf ) - val regexp = """^Algolia for Scala \(2.3.3\).*""".r + val regexp = """^Algolia for Scala \(2.3.4\).*""".r val header = echo.lastResponse.get.headers("user-agent") assert(header.matches(regexp.regex), s"Expected $header to match the following regex: ${regexp.regex}") } diff --git a/tests/output/scala/src/test/scala/algoliasearch/client/PersonalizationTest.scala b/tests/output/scala/src/test/scala/algoliasearch/client/PersonalizationTest.scala index a8deba2eda..5e579e4638 100644 --- a/tests/output/scala/src/test/scala/algoliasearch/client/PersonalizationTest.scala +++ b/tests/output/scala/src/test/scala/algoliasearch/client/PersonalizationTest.scala @@ -63,7 +63,7 @@ class PersonalizationTest extends AnyFunSuite { ), Duration.Inf ) - val regexp = """^Algolia for Scala \(2.3.3\).*""".r + val regexp = """^Algolia for Scala \(2.3.4\).*""".r val header = echo.lastResponse.get.headers("user-agent") assert(header.matches(regexp.regex), s"Expected $header to match the following regex: ${regexp.regex}") } diff --git a/tests/output/scala/src/test/scala/algoliasearch/client/QuerySuggestionsTest.scala b/tests/output/scala/src/test/scala/algoliasearch/client/QuerySuggestionsTest.scala index 6e7a40c18e..4b3628abb8 100644 --- a/tests/output/scala/src/test/scala/algoliasearch/client/QuerySuggestionsTest.scala +++ b/tests/output/scala/src/test/scala/algoliasearch/client/QuerySuggestionsTest.scala @@ -63,7 +63,7 @@ class QuerySuggestionsTest extends AnyFunSuite { ), Duration.Inf ) - val regexp = """^Algolia for Scala \(2.3.3\).*""".r + val regexp = """^Algolia for Scala \(2.3.4\).*""".r val header = echo.lastResponse.get.headers("user-agent") assert(header.matches(regexp.regex), s"Expected $header to match the following regex: ${regexp.regex}") } diff --git a/tests/output/scala/src/test/scala/algoliasearch/client/RecommendTest.scala b/tests/output/scala/src/test/scala/algoliasearch/client/RecommendTest.scala index cb026d24c5..ec589a489b 100644 --- a/tests/output/scala/src/test/scala/algoliasearch/client/RecommendTest.scala +++ b/tests/output/scala/src/test/scala/algoliasearch/client/RecommendTest.scala @@ -84,7 +84,7 @@ class RecommendTest extends AnyFunSuite { ), Duration.Inf ) - val regexp = """^Algolia for Scala \(2.3.3\).*""".r + val regexp = """^Algolia for Scala \(2.3.4\).*""".r val header = echo.lastResponse.get.headers("user-agent") assert(header.matches(regexp.regex), s"Expected $header to match the following regex: ${regexp.regex}") } diff --git a/tests/output/scala/src/test/scala/algoliasearch/client/SearchTest.scala b/tests/output/scala/src/test/scala/algoliasearch/client/SearchTest.scala index c984371a5d..15f2f49c3d 100644 --- a/tests/output/scala/src/test/scala/algoliasearch/client/SearchTest.scala +++ b/tests/output/scala/src/test/scala/algoliasearch/client/SearchTest.scala @@ -171,7 +171,7 @@ class SearchTest extends AnyFunSuite { ), Duration.Inf ) - val regexp = """^Algolia for Scala \(2.3.3\).*""".r + val regexp = """^Algolia for Scala \(2.3.4\).*""".r val header = echo.lastResponse.get.headers("user-agent") assert(header.matches(regexp.regex), s"Expected $header to match the following regex: ${regexp.regex}") } diff --git a/tests/output/swift/Tests/client/AbtestingTests.swift b/tests/output/swift/Tests/client/AbtestingTests.swift index fc233057cd..de156db194 100644 --- a/tests/output/swift/Tests/client/AbtestingTests.swift +++ b/tests/output/swift/Tests/client/AbtestingTests.swift @@ -46,7 +46,7 @@ final class AbtestingClientClientTests: XCTestCase { let responseBodyData = try XCTUnwrap(response.bodyData) let echoResponse = try CodableHelper.jsonDecoder.decode(EchoResponse.self, from: responseBodyData) - let pattern = "^Algolia for Swift \\(9.3.3\\).*" + let pattern = "^Algolia for Swift \\(9.4.0\\).*" let rule = StringRule(pattern: pattern) let userAgent = try XCTUnwrap(echoResponse.headers?["User-Agent"]) guard let userAgent else { diff --git a/tests/output/swift/Tests/client/AnalyticsTests.swift b/tests/output/swift/Tests/client/AnalyticsTests.swift index 5c8af53556..d1c845fcd7 100644 --- a/tests/output/swift/Tests/client/AnalyticsTests.swift +++ b/tests/output/swift/Tests/client/AnalyticsTests.swift @@ -46,7 +46,7 @@ final class AnalyticsClientClientTests: XCTestCase { let responseBodyData = try XCTUnwrap(response.bodyData) let echoResponse = try CodableHelper.jsonDecoder.decode(EchoResponse.self, from: responseBodyData) - let pattern = "^Algolia for Swift \\(9.3.3\\).*" + let pattern = "^Algolia for Swift \\(9.4.0\\).*" let rule = StringRule(pattern: pattern) let userAgent = try XCTUnwrap(echoResponse.headers?["User-Agent"]) guard let userAgent else { diff --git a/tests/output/swift/Tests/client/IngestionTests.swift b/tests/output/swift/Tests/client/IngestionTests.swift index 7d11d9a77e..ab84805f38 100644 --- a/tests/output/swift/Tests/client/IngestionTests.swift +++ b/tests/output/swift/Tests/client/IngestionTests.swift @@ -46,7 +46,7 @@ final class IngestionClientClientTests: XCTestCase { let responseBodyData = try XCTUnwrap(response.bodyData) let echoResponse = try CodableHelper.jsonDecoder.decode(EchoResponse.self, from: responseBodyData) - let pattern = "^Algolia for Swift \\(9.3.3\\).*" + let pattern = "^Algolia for Swift \\(9.4.0\\).*" let rule = StringRule(pattern: pattern) let userAgent = try XCTUnwrap(echoResponse.headers?["User-Agent"]) guard let userAgent else { diff --git a/tests/output/swift/Tests/client/InsightsTests.swift b/tests/output/swift/Tests/client/InsightsTests.swift index be036ebaf0..06fbddb3cd 100644 --- a/tests/output/swift/Tests/client/InsightsTests.swift +++ b/tests/output/swift/Tests/client/InsightsTests.swift @@ -46,7 +46,7 @@ final class InsightsClientClientTests: XCTestCase { let responseBodyData = try XCTUnwrap(response.bodyData) let echoResponse = try CodableHelper.jsonDecoder.decode(EchoResponse.self, from: responseBodyData) - let pattern = "^Algolia for Swift \\(9.3.3\\).*" + let pattern = "^Algolia for Swift \\(9.4.0\\).*" let rule = StringRule(pattern: pattern) let userAgent = try XCTUnwrap(echoResponse.headers?["User-Agent"]) guard let userAgent else { diff --git a/tests/output/swift/Tests/client/MonitoringTests.swift b/tests/output/swift/Tests/client/MonitoringTests.swift index fd6beca423..d7688b97cf 100644 --- a/tests/output/swift/Tests/client/MonitoringTests.swift +++ b/tests/output/swift/Tests/client/MonitoringTests.swift @@ -46,7 +46,7 @@ final class MonitoringClientClientTests: XCTestCase { let responseBodyData = try XCTUnwrap(response.bodyData) let echoResponse = try CodableHelper.jsonDecoder.decode(EchoResponse.self, from: responseBodyData) - let pattern = "^Algolia for Swift \\(9.3.3\\).*" + let pattern = "^Algolia for Swift \\(9.4.0\\).*" let rule = StringRule(pattern: pattern) let userAgent = try XCTUnwrap(echoResponse.headers?["User-Agent"]) guard let userAgent else { diff --git a/tests/output/swift/Tests/client/PersonalizationTests.swift b/tests/output/swift/Tests/client/PersonalizationTests.swift index 70dedb9bae..be86ed41ce 100644 --- a/tests/output/swift/Tests/client/PersonalizationTests.swift +++ b/tests/output/swift/Tests/client/PersonalizationTests.swift @@ -54,7 +54,7 @@ final class PersonalizationClientClientTests: XCTestCase { let responseBodyData = try XCTUnwrap(response.bodyData) let echoResponse = try CodableHelper.jsonDecoder.decode(EchoResponse.self, from: responseBodyData) - let pattern = "^Algolia for Swift \\(9.3.3\\).*" + let pattern = "^Algolia for Swift \\(9.4.0\\).*" let rule = StringRule(pattern: pattern) let userAgent = try XCTUnwrap(echoResponse.headers?["User-Agent"]) guard let userAgent else { diff --git a/tests/output/swift/Tests/client/QuerySuggestionsTests.swift b/tests/output/swift/Tests/client/QuerySuggestionsTests.swift index 811ef7e640..f8c474cd13 100644 --- a/tests/output/swift/Tests/client/QuerySuggestionsTests.swift +++ b/tests/output/swift/Tests/client/QuerySuggestionsTests.swift @@ -54,7 +54,7 @@ final class QuerySuggestionsClientClientTests: XCTestCase { let responseBodyData = try XCTUnwrap(response.bodyData) let echoResponse = try CodableHelper.jsonDecoder.decode(EchoResponse.self, from: responseBodyData) - let pattern = "^Algolia for Swift \\(9.3.3\\).*" + let pattern = "^Algolia for Swift \\(9.4.0\\).*" let rule = StringRule(pattern: pattern) let userAgent = try XCTUnwrap(echoResponse.headers?["User-Agent"]) guard let userAgent else { diff --git a/tests/output/swift/Tests/client/RecommendTests.swift b/tests/output/swift/Tests/client/RecommendTests.swift index 4bb4125bd8..9ff6097f6e 100644 --- a/tests/output/swift/Tests/client/RecommendTests.swift +++ b/tests/output/swift/Tests/client/RecommendTests.swift @@ -70,7 +70,7 @@ final class RecommendClientClientTests: XCTestCase { let responseBodyData = try XCTUnwrap(response.bodyData) let echoResponse = try CodableHelper.jsonDecoder.decode(EchoResponse.self, from: responseBodyData) - let pattern = "^Algolia for Swift \\(9.3.3\\).*" + let pattern = "^Algolia for Swift \\(9.4.0\\).*" let rule = StringRule(pattern: pattern) let userAgent = try XCTUnwrap(echoResponse.headers?["User-Agent"]) guard let userAgent else { diff --git a/tests/output/swift/Tests/client/SearchTests.swift b/tests/output/swift/Tests/client/SearchTests.swift index 5af708c9ac..ef3486d482 100644 --- a/tests/output/swift/Tests/client/SearchTests.swift +++ b/tests/output/swift/Tests/client/SearchTests.swift @@ -153,7 +153,7 @@ final class SearchClientClientTests: XCTestCase { let responseBodyData = try XCTUnwrap(response.bodyData) let echoResponse = try CodableHelper.jsonDecoder.decode(EchoResponse.self, from: responseBodyData) - let pattern = "^Algolia for Swift \\(9.3.3\\).*" + let pattern = "^Algolia for Swift \\(9.4.0\\).*" let rule = StringRule(pattern: pattern) let userAgent = try XCTUnwrap(echoResponse.headers?["User-Agent"]) guard let userAgent else {