Skip to content

fix(specs): typoTolerance can be a boolean string #4900

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 2, 2025
Merged

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented May 30, 2025

🧭 What and Why

🎟 JIRA Ticket: CR-8559

The setSettings accepts true, false, "true", "false", "min", "strict" for typoTolerance,
but getSettings always returns a string.

It would be better to remove the oneOf entirely, but it would be a breaking change.

@millotp millotp self-assigned this May 30, 2025
@millotp millotp requested a review from a team as a code owner May 30, 2025 14:06
@millotp millotp requested review from morganleroi and shortcuts May 30, 2025 14:06
@algolia-bot
Copy link
Collaborator

algolia-bot commented May 30, 2025

💥 Breaking changes detected !!

Either this PR or a previous PR not released yet introduced breaking changes, be careful when merging.
You can find the details in the 'client java@17' CI job.

✔️ Code generated!

Name Link
🪓 Triggered by 9488eb3e885094f87f045c0b14dcd9683985d05c
🍃 Generated commit 16593217d018a86830bedbab4afd121c7c717d38
🌲 Generated branch generated/fix/typo-tolerance
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
go 1784
javascript 1588
php 1512
csharp 1375
java 1104
python 1034
ruby 843
swift 589
scala 23

Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch

@millotp millotp merged commit d5c46bf into main Jun 2, 2025
28 checks passed
@millotp millotp deleted the fix/typo-tolerance branch June 2, 2025 06:49
algolia-bot added a commit that referenced this pull request Jun 2, 2025
… [skip ci]

Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-csharp that referenced this pull request Jun 2, 2025
algolia/api-clients-automation#4900

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-dart that referenced this pull request Jun 2, 2025
algolia/api-clients-automation#4900

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-go that referenced this pull request Jun 2, 2025
algolia/api-clients-automation#4900

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Jun 2, 2025
algolia/api-clients-automation#4900

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Jun 2, 2025
algolia/api-clients-automation#4900

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-kotlin that referenced this pull request Jun 2, 2025
algolia/api-clients-automation#4900

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-php that referenced this pull request Jun 2, 2025
algolia/api-clients-automation#4900

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-python that referenced this pull request Jun 2, 2025
algolia/api-clients-automation#4900

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Jun 2, 2025
algolia/api-clients-automation#4900

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-scala that referenced this pull request Jun 2, 2025
algolia/api-clients-automation#4900

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-swift that referenced this pull request Jun 2, 2025
algolia/api-clients-automation#4900

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants