Skip to content

chore(deps): bump node-appwrite from 8.2.0 to 31.0.0 in /functions/upvoteProject - #81

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/functions/upvoteProject/node-appwrite-31.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/functions/upvoteProject/node-appwrite-31.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 28, 2026

Copy link
Copy Markdown
Contributor

Bumps node-appwrite from 8.2.0 to 31.0.0.

Release notes

Sourced from node-appwrite's releases.

31.0.0

What's Changed

  • Breaking: positional tablesDB, documentsDB and vectorsDB create and update take description before specification
  • Breaking: positional functions.update takes description before emailEnabled
  • Added: createQuery on databases, documentsDB and tablesDB to send list queries in the request body
  • Added: account.listMemberships
  • Added: optional description on create and update for databases, collections, tables, attributes, columns, indexes, buckets, functions, sites, variables, topics, webhooks and keys
  • Added: description on the matching models
  • Added: total on list methods in activities, backups, domains, mongo, mysql and postgresql
  • Added: emails on messaging.createEmail and messaging.updateEmail
  • Added: denyList on project.updatePasswordDictionaryPolicy, updatePasswordPersonalDataPolicy and their policy models
  • Added: BillingPlan.functionsAllowCron
  • Added: stripMetadata on storage.createBucket, updateBucket and the Bucket model
  • Updated: package.json declares engines.node >=20.0.0

Full Changelog: appwrite/sdk-for-node@30.0.1...31.0.0

30.0.1

What's Changed

  • Breaking: requests send X-Appwrite-Response-Format: 2.5.0; responses follow the 2.5 shapes
  • Breaking: removed account.listLogs, users.listLogs and the Models.Log/Models.LogList models
  • Breaking: removed organization.createKey, getKey, listKeys, updateKey and deleteKey, and OrganizationKeyScopes; use organization.listProjectKeys, getProjectKey, updateProjectKey and deleteProjectKey instead
  • Breaking: removed Client.setDevKey, Models.DevKey and Project.devKeys
  • Breaking: removed BillingPlanGroup.Starter; use BillingPlanGroup.Free
  • Breaking: listSpecifications returns each specification's prices and overage rates on the row itself. Removed the list-level pricing field and the DedicatedDatabaseSpecificationPricing model
  • Breaking: removed Block fields reason, projectName, region, organizationName, organizationId and billingPlan
  • Breaking: OAuth2 resource params now take string[]
  • Breaking: project.updateOAuth2Kakao takes enabled before prompt
  • Breaking: BackupRestoration.options is now an object
  • Breaking: nullable response fields are typed T | null; some became optional, such as BillingPlan.usage
  • Added: Topic helper to build MQTT topics for push messages
  • Added: mongo, mysql and postgresql promoteRestoration, restoreMode, targetName and autoPromote on createRestoration, and DedicatedDatabaseRestoration.restoreMode
  • Added: proxy.createSMTPRule, the ProxyRuleProtocol enum and ProxyRule.protocol
  • Added: emailEnabled on functions.update and Function, and ExecutionTrigger.Email
  • Added: Query aggregates (count, countDistinct, sum, avg, min, max and more), groupBy, having, distinct, joins, relationship, covers, spatialEquals and page
  • Added: Query.builder() to chain queries into a list
  • Updated: nullable request params accept null, such as qos on topics and the Appwrite provider
  • Updated: missing response fields fall back to their documented defaults
  • Updated: OAuth2 prompt and native fields, PlatformAndroid.fingerprints and Identity.providerIdToken are always returned
  • Fixed: list and object defaults filled into a response are copied per model, and object defaults are {} instead of []

30.0.0-rc.2

What's Changed

  • Added: OAuth2 provider prompt enums (OAuth2Auth0Prompt, OAuth2GithubPrompt, and project variants)
  • Added: Topic and ResolvedTopic exports
  • Added: Models.Account and Models.OAuth2Webflow types
  • Added: Webflow to the OAuthProvider and ProjectOAuthProviderId enums

... (truncated)

Changelog

Sourced from node-appwrite's changelog.

31.0.0

  • Breaking: positional tablesDB, documentsDB and vectorsDB create and update take description before specification
  • Breaking: positional functions.update takes description before emailEnabled
  • Added: createQuery on databases, documentsDB and tablesDB to send list queries in the request body
  • Added: account.listMemberships
  • Added: optional description on create and update for databases, collections, tables, attributes, columns, indexes, buckets, functions, sites, variables, topics, webhooks and keys
  • Added: description on the matching models
  • Added: total on list methods in activities, backups, domains, mongo, mysql and postgresql
  • Added: emails on messaging.createEmail and messaging.updateEmail
  • Added: denyList on project.updatePasswordDictionaryPolicy, updatePasswordPersonalDataPolicy and their policy models
  • Added: BillingPlan.functionsAllowCron
  • Added: stripMetadata on storage.createBucket, updateBucket and the Bucket model
  • Updated: package.json declares engines.node >=20.0.0

30.0.1

  • Breaking: requests send X-Appwrite-Response-Format: 2.5.0; responses follow the 2.5 shapes
  • Breaking: removed account.listLogs, users.listLogs and the Models.Log/Models.LogList models
  • Breaking: removed organization.createKey, getKey, listKeys, updateKey and deleteKey, and OrganizationKeyScopes; use organization.listProjectKeys, getProjectKey, updateProjectKey and deleteProjectKey instead
  • Breaking: removed Client.setDevKey, Models.DevKey and Project.devKeys
  • Breaking: removed BillingPlanGroup.Starter; use BillingPlanGroup.Free
  • Breaking: listSpecifications returns each specification's prices and overage rates on the row itself. Removed the list-level pricing field and the DedicatedDatabaseSpecificationPricing model
  • Breaking: removed Block fields reason, projectName, region, organizationName, organizationId and billingPlan
  • Breaking: OAuth2 resource params now take string[]
  • Breaking: project.updateOAuth2Kakao takes enabled before prompt
  • Breaking: BackupRestoration.options is now an object
  • Breaking: nullable response fields are typed T | null; some became optional, such as BillingPlan.usage
  • Added: Topic helper to build MQTT topics for push messages
  • Added: mongo, mysql and postgresql promoteRestoration, restoreMode, targetName and autoPromote on createRestoration, and DedicatedDatabaseRestoration.restoreMode
  • Added: proxy.createSMTPRule, the ProxyRuleProtocol enum and ProxyRule.protocol
  • Added: emailEnabled on functions.update and Function, and ExecutionTrigger.Email
  • Added: Query aggregates (count, countDistinct, sum, avg, min, max and more), groupBy, having, distinct, joins, relationship, covers, spatialEquals and page
  • Added: Query.builder() to chain queries into a list
  • Updated: nullable request params accept null, such as qos on topics and the Appwrite provider
  • Updated: missing response fields fall back to their documented defaults
  • Updated: OAuth2 prompt and native fields, PlatformAndroid.fingerprints and Identity.providerIdToken are always returned
  • Fixed: list and object defaults filled into a response are copied per model, and object defaults are {} instead of []

29.4.0

  • Added: domains service to manage domains, DNS records, email presets, prices, transfer status and zones
  • Added: waf service with bypass, challenge, deny, rate-limit and redirect rules
  • Added: account.createEmailVerificationOTP, updateEmailVerificationOTP, createRecoveryOTP and updateRecoveryOTP
  • Added: account.createIdTokenSession and Identity.providerIdToken
  • Added: oauth2.introspect
  • Added: project environments with project.createEnvironment, getEnvironment, listEnvironments, updateEnvironment and deleteEnvironment
  • Added: organization.createEphemeralProjectKey, listProjectKeys, getProjectKey, updateProjectKey and deleteProjectKey
  • Added: Kakao, TikTok and Webflow OAuth2 providers with project.updateOAuth2Kakao, updateOAuth2TikTok and updateOAuth2Webflow
  • Added: optional prompt on the Auth0, Discord, GitHub, Microsoft, Okta, Salesforce and Zoho OAuth2 settings, and native client IDs on Apple and Google

... (truncated)

Commits
  • 3725f1c feat: SDK update for version 31.0.0 (#179)
  • 13dbe4a Merge pull request #178 from appwrite/dev
  • f646a57 docs: refresh README
  • 3ffbdeb Merge commit 'a8e771af9014c509e9f802c7320451e7fa0936e6' into dev
  • 320249d Merge pull request #177 from appwrite/dev
  • a8e771a feat: SDK update for the 2.5.x majors
  • 47f77d1 Merge remote-tracking branch 'origin/dev' into dev
  • 6a35b33 feat: SDK update for the 2.5.x majors
  • 698ec7e Merge remote-tracking branch 'origin/dev' into dev
  • 013085c feat: SDK update for the 2.5.x majors
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for node-appwrite since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [node-appwrite](https://github.com/appwrite/sdk-for-node) from 8.2.0 to 31.0.0.
- [Release notes](https://github.com/appwrite/sdk-for-node/releases)
- [Changelog](https://github.com/appwrite/sdk-for-node/blob/main/CHANGELOG.md)
- [Commits](appwrite/sdk-for-node@8.2.0...31.0.0)

---
updated-dependencies:
- dependency-name: node-appwrite
  dependency-version: 31.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 28, 2026
@hansi-codes

hansi-codes Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

🟡 Tier B · Needs changes before merging

The dependency bump makes the upvote function's Node 16 runtime incompatible with the SDK's declared Node 20 minimum.

This updates the upvoteProject function's node-appwrite dependency from the 8.x range to the 31.x range. The function continues to use the configured Appwrite Node 16 runtime.

Verdict New comments Fixed Still open
🛑 Changes requested 1 0 0
Finding Where
🟠 SDK 31 requires a newer Node runtime functions/upvoteProject/package.json:13
Fix with agent prompt
### Issue 1
functions/upvoteProject/package.json:13
**SDK 31 requires a newer Node runtime**

`node-appwrite` 31 declares `engines.node >=20`, but this function is configured with the `node-16.0` runtime in `appwrite.config.json`. That leaves the deployed function running the SDK on an unsupported Node version and can cause runtime failures; update the function runtime along with this dependency bump.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
📂 Walkthrough · 1
File Change
functions/upvoteProject/package.json Bumps the node-appwrite dependency range to 31.x.

Reviewed 318026c · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@hansi-codes hansi-codes 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 B · 1 blocking finding to address. Summary

"license": "ISC",
"dependencies": {
"node-appwrite": "^8.0.0"
"node-appwrite": "^31.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

SDK 31 requires a newer Node runtime

node-appwrite 31 declares engines.node >=20, but this function is configured with the node-16.0 runtime in appwrite.config.json. That leaves the deployed function running the SDK on an unsupported Node version and can cause runtime failures; update the function runtime along with this dependency bump.

Prompt To Fix With AI
This is a comment left during a code review.
Path: functions/upvoteProject/package.json
Line: 13

Comment:
**SDK 31 requires a newer Node runtime**

`node-appwrite` 31 declares `engines.node >=20`, but this function is configured with the `node-16.0` runtime in `appwrite.config.json`. That leaves the deployed function running the SDK on an unsupported Node version and can cause runtime failures; update the function runtime along with this dependency bump.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

🟠 Major · bug · Reply if this doesn't apply.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants