Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
871debc
fix(scala): trait gen
Fluf22 Feb 25, 2026
c085772
chore: remove FormDataProcessor.php from list of gen files
Fluf22 Feb 25, 2026
5974f10
feat: add isSimpleObject handling for Kotlin in ParametersWithDataType
Fluf22 Mar 2, 2026
ff5bdf8
feat: enhance array variant resolution in ParametersWithDataType
Fluf22 Mar 12, 2026
e7b66d0
fix(templates): handle null parameters and nullable fields in test ge…
Fluf22 May 1, 2026
689799b
feat(cts): lenient JSON assertion helpers for e2e tests (#6099)
Fluf22 May 1, 2026
3b524f6
fix(clients): deserialization and HTTP header handling (#6100)
Fluf22 May 1, 2026
33a6e0d
feat(clients): Agent Studio initial version (#5860)
Fluf22 May 1, 2026
bf94fcb
fix(clients): handle 204 No Content responses across language clients…
Fluf22 May 1, 2026
494192e
feat(clients): response streaming support (#6055)
Fluf22 May 1, 2026
7611765
feat(cts): add streaming method test generation support (#6091)
Fluf22 May 1, 2026
43b7412
feat(javascript): integrate agent-studio into algoliasearch bundle as…
Fluf22 May 1, 2026
651522d
fix(javascript): bump algoliasearch bundlesize limit and add agent-st…
Fluf22 May 1, 2026
0e19024
fix: bump bundle size limit for agent studio
Fluf22 May 1, 2026
20d3d10
feat(specs): update agent-studio specs with new API surface
Fluf22 May 4, 2026
9455cb1
fix(specs): remove redundant ErrorBase.yml from agent-studio
Fluf22 May 4, 2026
0523c31
fix(playground): remove region param from agent-studio playgrounds
Fluf22 May 4, 2026
7123d40
fix(clients): resolve CI issues across Go, Python, Java, Kotlin and PHP
Fluf22 May 4, 2026
7006f77
fix(clients): remaining playground regions and CTS file naming
Fluf22 May 4, 2026
52659d2
fix(clients): remove remaining region params and fix JS generator
Fluf22 May 4, 2026
cb99b56
refactor(generators): use list for clients without regional hosts
Fluf22 May 4, 2026
307a411
fix(cts): flatten request body params in agent-studio CTS tests
Fluf22 May 5, 2026
dd5a62f
fix(cts): wrap body params under schema name in CTS tests
Fluf22 May 5, 2026
2c32114
fix(cts): flatten body params for operations without path params
Fluf22 May 5, 2026
fceb8cc
fix(specs): add setClientApiKey helper to agent-studio spec
Fluf22 May 5, 2026
3b31fff
fix(cts): use enum varnames for VoteEnum in createFeedback test
Fluf22 May 5, 2026
9bf90c3
fix(cts): add includeFeedback and feedbackVote params to listAgentCon…
Fluf22 May 5, 2026
6e2d32d
fix(cts): fix region, timeouts, param ordering, and enum values in ag…
Fluf22 May 5, 2026
393a184
feat(templates): support integer enum serialization in C#, Kotlin, an…
Fluf22 May 5, 2026
280d863
feat(cts): support integer enums in test generation across languages
Fluf22 May 5, 2026
7a1552f
fix(generators): use contains instead of startsWith for regional host…
Fluf22 May 5, 2026
ec22ee9
Merge remote-tracking branch 'origin/main' into opencode/mighty-lagoon
Fluf22 May 5, 2026
b793cee
chore: update yarn.lock after merge from main
Fluf22 May 5, 2026
f0bef04
fix(templates): use fromValue() for integer enums in Java tests
Fluf22 May 5, 2026
0aada57
fix(generators): integer enum support and agent-studio standalone config
Fluf22 May 5, 2026
9b70e77
fix(generators): simplify integer enum handling
Fluf22 May 5, 2026
5a516e1
Merge remote-tracking branch 'origin/main' into fix/generators
Fluf22 May 5, 2026
c3c98df
chore(javascript): update yarn.lock after merge with main
Fluf22 May 5, 2026
bbf5080
Merge remote-tracking branch 'origin/main' into fix/generators
Fluf22 May 5, 2026
3bb6daa
chore(generators): format Helpers.java
Fluf22 May 5, 2026
64e0f11
fix(specs): fix circular imports, path param ordering, and integer en…
Fluf22 May 5, 2026
423b5fb
fix(generators): iterate allParams order in CTS test generation to fi…
Fluf22 May 5, 2026
cf147ec
fix(templates): handle integer enums in Swift tests and add agent-stu…
Fluf22 May 5, 2026
dbfa868
fix(specs): add x-streaming to createAgentCompletion to generate stre…
Fluf22 May 5, 2026
37161f0
fix(javascript): use validateRequired helper for required param checks
Fluf22 May 6, 2026
27dac10
fix(javascript): bump client-insights bundlesize limit to 6KB
Fluf22 May 6, 2026
46d7fe2
fix(generators): extract server path suffix and append to generated h…
Fluf22 May 6, 2026
b966839
fix(php): pass server path suffix to ClusterHosts::createFromAppId
Fluf22 May 6, 2026
7523f71
fix(cts): prefix agent-studio request paths with /agent-studio
Fluf22 May 6, 2026
2bc8153
fix(cts): move path prefix to test templates using serverPathSuffix
Fluf22 May 6, 2026
8ff50c2
fix(generators): move serverPathSuffix from host URLs to operation paths
Fluf22 May 6, 2026
61a8f24
fix(cts): strip server path prefixes in CTS mock test servers
Fluf22 May 6, 2026
880b081
fix(specs): use type: object with additionalProperties for untyped re…
Fluf22 May 6, 2026
1a6d2dc
fix(specs): add missing tags to agent-studio spec (Allowed Domains, C…
Fluf22 May 6, 2026
0a65ea4
fix(specs): capitalize Allowed Domains tag consistently
Fluf22 May 6, 2026
d58b01d
chore: latest agent-studio specs
Fluf22 May 6, 2026
2e8f1f2
fix(clients): fix CI failures for agent-studio listMemories CTS, Scal…
Fluf22 May 6, 2026
d1c63e7
fix(generators): fix Java path param ordering, Scala wait field renam…
Fluf22 May 6, 2026
5ff48ec
fix(generators): replace Map<String, Any> with JsonObject in Kotlin f…
Fluf22 May 6, 2026
02a60c2
fix(generators): run replaceFreeFormMaps before OneOf processing in K…
Fluf22 May 6, 2026
275c3fa
chore: latest agent-studio specs
Fluf22 May 6, 2026
1eb4150
feat(cts): add e2e tests for agent-studio GET/list endpoints
Fluf22 May 7, 2026
c45141a
fix(generators): Go getConfiguration rename, CTS operationId resolver…
Fluf22 May 7, 2026
403ea97
chore: latest agent-studio specs
Fluf22 May 7, 2026
4b67e66
fix(generators): also rename nickname for Go getConfiguration to fix …
Fluf22 May 7, 2026
cc7d084
feat(templates): add OpenAPI discriminator support for oneOf deserial…
Fluf22 May 7, 2026
7a1619d
fix(generators): apply resolveMethodName in snippet generation for Go
Fluf22 May 7, 2026
13ba09d
chore: latest agent-studio specs
Fluf22 May 7, 2026
d997ecf
chore: latest agent-studio specs (required type on StartPart/StartSte…
Fluf22 May 7, 2026
7abbcd1
fix(templates): use class for empty Kotlin models, fix Go jsonDict do…
Fluf22 May 7, 2026
d811e99
fix(generators): restore discriminator vars stripped by parent Kotlin…
Fluf22 May 7, 2026
0c226c2
fix(generators): restore all var lists stripped by parent KotlinClien…
Fluf22 May 7, 2026
0e13444
chore: format generators
Fluf22 May 7, 2026
400d2a6
fix(templates): fix mixed spaces/tabs indentation in Go search_helpers
Fluf22 May 11, 2026
85177b3
fix(generators): restore CTS param validation and fix discriminator f…
Fluf22 May 11, 2026
8493342
chore: format ParametersWithDataType
Fluf22 May 11, 2026
c4be9d7
refactor(generators): use record for saved var lists in Kotlin generator
Fluf22 May 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ body:
options:
- All
- AB testing
- Agent Studio
- Analytics
- Ingestion
- Insights
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ body:
options:
- All
- AB testing
- Agent Studio
- Analytics
- Ingestion
- Insights
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -830,8 +830,7 @@ public AbtestingClient(
new AbtestingConfig(applicationId, apiKey, region),
new AlgoliaHttpRequester(loggerFactory),
loggerFactory
)
{ }
) { }

/// <summary>
/// Initialize a client with custom config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -938,8 +938,7 @@ public AbtestingV3Client(
new AbtestingV3Config(applicationId, apiKey, region),
new AlgoliaHttpRequester(loggerFactory),
loggerFactory
)
{ }
) { }

/// <summary>
/// Initialize a client with custom config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2542,8 +2542,7 @@ public AnalyticsClient(
new AnalyticsConfig(applicationId, apiKey, region),
new AlgoliaHttpRequester(loggerFactory),
loggerFactory
)
{ }
) { }

/// <summary>
/// Initialize a client with custom config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1540,8 +1540,7 @@ public CompositionClient(string applicationId, string apiKey, ILoggerFactory log
new CompositionConfig(applicationId, apiKey),
new AlgoliaHttpRequester(loggerFactory),
loggerFactory
)
{ }
) { }

/// <summary>
/// Initialize a client with custom config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5582,8 +5582,7 @@ public IngestionClient(
new IngestionConfig(applicationId, apiKey, region),
new AlgoliaHttpRequester(loggerFactory),
loggerFactory
)
{ }
) { }

/// <summary>
/// Initialize a client with custom config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,7 @@ public InsightsClient(
new InsightsConfig(applicationId, apiKey, region),
new AlgoliaHttpRequester(loggerFactory),
loggerFactory
)
{ }
) { }

/// <summary>
/// Initialize a client with custom config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,7 @@ public MonitoringClient(string applicationId, string apiKey, ILoggerFactory logg
new MonitoringConfig(applicationId, apiKey),
new AlgoliaHttpRequester(loggerFactory),
loggerFactory
)
{ }
) { }

/// <summary>
/// Initialize a client with custom config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,7 @@ public PersonalizationClient(
new PersonalizationConfig(applicationId, apiKey, region),
new AlgoliaHttpRequester(loggerFactory),
loggerFactory
)
{ }
) { }

/// <summary>
/// Initialize a client with custom config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -882,8 +882,7 @@ public QuerySuggestionsClient(
new QuerySuggestionsConfig(applicationId, apiKey, region),
new AlgoliaHttpRequester(loggerFactory),
loggerFactory
)
{ }
) { }

/// <summary>
/// Initialize a client with custom config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -880,8 +880,7 @@ public RecommendClient(string applicationId, string apiKey, ILoggerFactory logge
new RecommendConfig(applicationId, apiKey),
new AlgoliaHttpRequester(loggerFactory),
loggerFactory
)
{ }
) { }

/// <summary>
/// Initialize a client with custom config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5158,8 +5158,7 @@ public SearchClient(string applicationId, string apiKey, ILoggerFactory loggerFa
new SearchConfig(applicationId, apiKey),
new AlgoliaHttpRequester(loggerFactory),
loggerFactory
)
{ }
) { }

/// <summary>
/// Initialize a client with custom config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,21 +91,21 @@ JsonSerializerOptions options
switch (type)
{
case JsonTokenType.String:
{
var stringValue = reader.GetString();
if (stringValue != null && _stringToEnum.TryGetValue(stringValue, out var enumValue))
{
var stringValue = reader.GetString();
if (stringValue != null && _stringToEnum.TryGetValue(stringValue, out var enumValue))
{
return enumValue;
}

break;
}
case JsonTokenType.Number:
{
var numValue = reader.GetInt32();
_numberToEnum.TryGetValue(numValue, out var enumValue);
return enumValue;
}

break;
}
case JsonTokenType.Number:
{
var numValue = reader.GetInt32();
_numberToEnum.TryGetValue(numValue, out var enumValue);
return enumValue;
}
}

return default;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ public static string ParameterToString(object obj)
case bool boolean:
return boolean ? "true" : "false";
case ICollection collection:
{
var entries = new List<string>();
foreach (var entry in collection)
entries.Add(ParameterToString(entry));
return string.Join(",", entries);
}
{
var entries = new List<string>();
foreach (var entry in collection)
entries.Add(ParameterToString(entry));
return string.Join(",", entries);
}
case Enum when HasEnumMemberAttrValue(obj):
return GetEnumMemberAttrValue(obj);
case AbstractSchema schema when obj.GetType().IsClass:
{
return ParameterToString(schema.ActualInstance);
}
{
return ParameterToString(schema.ActualInstance);
}
default:
return Convert.ToString(obj, CultureInfo.InvariantCulture);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,17 @@ final class AlgoliaWaitException implements AlgoliaException {
}
}

/// Represents a successful API response with no content (HTTP 204).
///
/// Returned by custom request methods when the server responds with
/// 204 No Content, as Dart's type system requires a non-null return value.
final class AlgoliaNoResponse {
const AlgoliaNoResponse();

@override
String toString() => 'AlgoliaNoResponse{}';
}

/// Exception thrown when all hosts for the Algolia API are unreachable.
///
/// Contains a list of the errors associated with each unreachable host.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ final class RetryStrategy {
);

/// Run an request and get a response.
Future<Map<String, dynamic>> execute({
Future<Map<String, dynamic>?> execute({
required ApiRequest request,
RequestOptions? options,
}) async {
Expand All @@ -66,7 +66,7 @@ final class RetryStrategy {
final response = await requester.perform(httpRequest);
host.reset();
requester.setConnectTimeout(requesterConnectTimeout);
return response.body ?? const {};
return response.statusCode == 204 ? null : response.body;
} on AlgoliaTimeoutException catch (e) {
host.timedOut();
errors.add(e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ body:
options:
- All
- AB testing
- Agent Studio
- Analytics
- Ingestion
- Insights
Expand Down
4 changes: 4 additions & 0 deletions clients/algoliasearch-client-go/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ linters:
presets:
- comments
- std-error-handling
rules:
- linters:
- wrapcheck
text: ChunkedPush
formatters:
enable:
- gofmt
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading