Skip to content

feat: SDK update for version 31.3.0 - #182

Merged
ChiragAgg5k merged 2 commits into
mainfrom
dev
Nov 16, 2026
Merged

ChiragAgg5k merged 2 commits into
mainfrom
dev

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 31.3.0.

What's Changed

  • Added: account.createLDAPSession for LDAP sign-in
  • Added: project.updateLDAP and project.createLDAPTest to configure and test a project's LDAP directory, the ProjectLDAPEncryption enum and ldap* fields on Project
  • Added: project.updateOAuth2Naver, the OAuth2Naver model and OAuthProvider.Naver
  • Added: project.deletePasswords to force every user to reset their password
  • Added: sites.updateAnalytics and analyticsEnabled and analyticsPropertyId on Site
  • Added: reason on DomainPrice, set when a domain was not priced for the requested registration type
  • Added: ImageFormat.Auto on Storage.getFilePreview and the avatar endpoints, serving avif or webp when the Accept header supports it
  • Updated: optional params on functions.update accept null
  • Updated: requests send X-Appwrite-Response-Format: 2.7.2

Related: appwrite-labs/cloud#6667

@appwrite

appwrite Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

This update adds LDAP sign-in and project configuration, Naver OAuth, project password reset, and site analytics support. It also extends image format negotiation and domain pricing models, updates the API response format and SDK version, and adjusts function update types to accept null values.

3 of 31 changed files were too large to include in full.

Verdict New comments Fixed Still open
💬 Commented 0 0 0

Note

Part of the diff was too large to review, so Hansi did not approve.

📂 Walkthrough · 7
File Change
CHANGELOG.md, README.md, docs/examples/** Document version 31.3.0 and add examples for the new LDAP, Naver, password reset, and analytics methods.
package.json, package-lock.json Bump the SDK package version to 31.3.0.
src/client.ts Update the SDK version metadata and Appwrite response format header.
src/enums/image-format.ts, src/enums/o-auth-provider.ts, src/enums/project-auth-method-id.ts, src/enums/project-key-scopes.ts, src/enums/project-ldap-encryption.ts, src/enums/project-o-auth-provider-id.ts, src/index.ts Add and export the new image, OAuth, LDAP auth, LDAP encryption, and API-key scope enum values.
src/models.ts Add site analytics, LDAP project, Naver OAuth, and domain price reason fields and types.
src/services/account.ts, src/services/avatars.ts, src/services/domains.ts, src/services/functions.ts, src/services/organization.ts, src/services/project.ts, src/services/sites.ts, src/services/storage.ts Add the new service operations and fields, expose Auto image output, and accept nullable function update parameters.
test/services/account.test.js, test/services/organization.test.js, test/services/project.test.js, test/services/sites.test.js Add service response fixtures and smoke tests for the new methods and model fields.
🔇 Filtered out · 1

Findings Hansi considered but did not post.

Finding Why
Assert the new API request contracts Verifier: This is a generated SDK test file. Every other service test in the repo uses the same mockedFetch plus response-equality pattern, so asserting request contracts here would be a style change, not a defect in this PR.

Reviewed 9463e22 · Details · 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 changed the title feat: Node.js SDK update for version 31.3.0 feat: SDK update for version 31.3.0 Nov 16, 2026
@ChiragAgg5k

Copy link
Copy Markdown
Member Author

@appwrite review

@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 24233e9 into main Nov 16, 2026
2 checks passed
@ChiragAgg5k ChiragAgg5k self-assigned this Nov 17, 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.

2 participants