Skip to content

feat(clients): response decompression#6095

Merged
eric-zaharia merged 5 commits intomainfrom
feat/php-decompression
Mar 12, 2026
Merged

feat(clients): response decompression#6095
eric-zaharia merged 5 commits intomainfrom
feat/php-decompression

Conversation

@eric-zaharia
Copy link
Copy Markdown
Contributor

@eric-zaharia eric-zaharia commented Mar 11, 2026

🧭 What and Why

🎟 JIRA Ticket: API-326

Changes included:

  • Fixed Ruby bug where, if compression was enabled for requests, decompression would fail (check out the docs).
  • Manually added decompression logic for the Node HTTP requester

🧪 Test

  • Created decompression test server and generated clients for each language

@algolia-bot
Copy link
Copy Markdown
Collaborator

algolia-bot commented Mar 11, 2026

✔️ Code generated!

Name Link
🪓 Triggered by fed92258d49dae27ee1a1d345f5a2f5c4225b8d7
🍃 Generated commit 17e6dcb8c959d24588cd9759768c25bf40275adb
🌲 Generated branch generated/feat/php-decompression
📊 Benchmark results

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

Language Req/s
go 2439
javascript 2412
php 1906
python 1412
csharp 1275
java 1170
ruby 954
swift 416
scala 23

@eric-zaharia eric-zaharia changed the title feat(cts): add test server and generated tests for response decompres… feat(cts): test client decompression Mar 11, 2026
@eric-zaharia eric-zaharia changed the title feat(cts): test client decompression feat(clients): decompression Mar 12, 2026
@eric-zaharia eric-zaharia changed the title feat(clients): decompression feat(clients): response decompression Mar 12, 2026
@eric-zaharia eric-zaharia self-assigned this Mar 12, 2026
@eric-zaharia eric-zaharia marked this pull request as ready for review March 12, 2026 12:53
@eric-zaharia eric-zaharia requested review from a team as code owners March 12, 2026 12:53
@eric-zaharia eric-zaharia enabled auto-merge (squash) March 12, 2026 12:53
Copy link
Copy Markdown
Collaborator

@Fluf22 Fluf22 left a comment

Choose a reason for hiding this comment

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

👍🏻

@eric-zaharia eric-zaharia merged commit a196c9c into main Mar 12, 2026
37 checks passed
@eric-zaharia eric-zaharia deleted the feat/php-decompression branch March 12, 2026 14:36
algolia-bot added a commit that referenced this pull request Mar 12, 2026
Co-authored-by: Eric Zaharia <94015633+eric-zaharia@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Mar 12, 2026
algolia/api-clients-automation#6095

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Eric Zaharia <94015633+eric-zaharia@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Mar 12, 2026
algolia/api-clients-automation#6095

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Eric Zaharia <94015633+eric-zaharia@users.noreply.github.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