Skip to content

feat: SDK update for version 32.3.0 - #187

Merged
ChiragAgg5k merged 1 commit into
mainfrom
release-32.3.0
Nov 26, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
release-32.3.0

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 32.3.0.

What's Changed

  • Added: client.setRequest(request) forwards the end user's user agent, and on Appwrite Functions and Sites their IP address, from the request your server is handling
  • Added: client.setForwardedIP(ip) to forward the end user's IP address
const client = new Client()
    .setEndpoint(endpoint)
    .setProject(projectId)
    .setKey(apiKey)
    .setRequest(req);

Related: appwrite-labs/cloud#6667

@appwrite

appwrite Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Code review

Commit Status Tier Verdict Details
3a819ee Reviewed Reviewed 🟢 S · Ready to merge ✅ Approved View review

The locked install succeeded with no audit findings, and review found no correctness issue in the changed behavior.

Updates the Node.js SDK to version 32.3.0 with setRequest() for forwarding incoming user-agent and hosted client-IP data, plus a setForwardedIP() override. Adds tests for supported request/header formats, override precedence, hosted-runtime detection, and reported headers.

Walkthrough (5)
File Change
CHANGELOG.md Documents the 32.3.0 forwarding additions.
package.json Bumps the SDK package version to 32.3.0.
src/client.ts Adds incoming request header parsing and forwarded IP/request handling.
test/client.test.js Covers request input formats and forwarded-header behavior.
package-lock.json Updates the lockfile's root package version to 32.3.0.

Reviewed 3a819ee

Tip

Comment @appwrite review to re-run, or mention @appwrite with a question.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Tier S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit 380fee3 into main Nov 26, 2026
3 checks passed
@ChiragAgg5k ChiragAgg5k self-assigned this Nov 27, 2026
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.

1 participant