Repository navigation
fix(deps): update dependency appwrite/appwrite to v32 - #21
renovate-appwrite[bot] wants to merge 1 commit into
Conversation
🟡 Tier B · Needs changes before merging
The starter template now requires
Fix with agent prompt### Issue 1
composer.json:28
**Raise the PHP runtime requirement with SDK v32**
The v32 SDK requires PHP 8.5 or later, but this project still advertises PHP >=8.0 and its Dockerfile runs PHP 8.1.11. Composer installs on older supported PHP versions will fail dependency resolution, and the Docker image cannot run the installed SDK; please update the PHP constraints and runtime alongside this dependency bump, including the starter manifest.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.📂 Walkthrough · 1
⏳ Still open from earlier reviews · 1
Reviewed |
| "php": ">=8.0", | ||
| "ext-curl": "*", | ||
| "appwrite/appwrite": "^12.0.0" | ||
| "appwrite/appwrite": "^32.0.0" |
There was a problem hiding this comment.
Raise the PHP runtime requirement with SDK v32
The v32 SDK requires PHP 8.5 or later, but this project still advertises PHP >=8.0 and its Dockerfile runs PHP 8.1.11. Composer installs on older supported PHP versions will fail dependency resolution, and the Docker image cannot run the installed SDK; please update the PHP constraints and runtime alongside this dependency bump, including the starter manifest.
Prompt To Fix With AI
This is a comment left during a code review.
Path: composer.json
Line: 28
Comment:
**Raise the PHP runtime requirement with SDK v32**
The v32 SDK requires PHP 8.5 or later, but this project still advertises PHP >=8.0 and its Dockerfile runs PHP 8.1.11. Composer installs on older supported PHP versions will fail dependency resolution, and the Docker image cannot run the installed SDK; please update the PHP constraints and runtime alongside this dependency bump, including the starter manifest.
---
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.
1772e7a to
7c1aeca
Compare
This PR contains the following updates:
^28.0→^32.0Release Notes
appwrite/sdk-for-php (appwrite/appwrite)
v32.3.0Compare Source
Project::listEnvironments,Project::createEnvironment,Project::getEnvironment,Project::updateEnvironmentreturnEnvironmentmodels instead ofProjectAccount::createDevice,Account::getDevice,Account::deleteDeviceandAccount::updateDeviceSession, and theDevicemodelProject::updateAccountDevicesPolicy,ProjectPolicyId::ACCOUNTDEVICES()and thePolicyAccountDevicesmodelProject::updateOAuth2Vipps,Project::updateOAuth2VippsSandboxand theOAuth2VippsmodelOAuthProvider::VIPPS()andOAuthProvider::VIPPSSANDBOX()Proxy::updateFunctionRule,Proxy::updateRedirectRuleandProxy::updateSiteRulescheduleonwafrule create and update methods and onWafRule*modelsProjectKeyScopes::ALERTSWRITE()Organization::$budgetCriticalProject::$environmentId,Session::$userNameandActivityEvent::$reasonProxyRule::$expireAtandcertificateStatus2.7.1v32.2.0Compare Source
Project::getPrefsandProject::updatePrefsfor project preferences, andProject::$prefsAppwriteMigrationResource::PROJECTPREFERENCES()to migrate project preferencesClient::setEnvironmentto act in a project environmentmonitors.read,monitors.write,alerts.read,reviews.readandreviews.writetoProjectKeyScopesOrganization::$budgetNotifyandOrganization::$educationExpiresAtX-Appwrite-Response-Format: 2.7.0; README targets Appwrite 2.7.xv32.1.0Compare Source
Client::getHttpClient()andcreateHttpClient()drop theirboolargument;$httpClientNoRedirectremovedAppwriteExceptionnaming theLocationMigrationsservice to run Appwrite, Firebase, NHost, Supabase, CSV and JSON migrations, plus retries and listingMigration,MigrationListandMigrationReportmodels and theAppwriteMigrationResource,FirebaseMigrationResource,NHostMigrationResource,SupabaseMigrationResourceandOnDuplicateenumsProject::updateDenyRealtimeGuestsPolicy, thePolicyDenyRealtimeGuestsmodel andProjectPolicyId::DENYREALTIMEGUESTS()Project::deleteSessionsto sign out every user in the projectBillingPlan::$deploymentRetention,$deploymentRetentionMaxand$deploymentsRetentionCountpython-3.15,deno-2.9,go-1.27andrust-1.99toRuntimeandBuildRuntimeX-Appwrite-Response-Format: 2.6.2; README targets Appwrite 2.6.xX-Appwrite-Projectand the other method headers instead of failing with 401.and..throwAppwriteExceptionAppwriteExceptioninstead of being sentavatars->getBrowsercodev32.0.0Compare Source
TablesDB,DocumentsDBandVectorsDBcreateandupdatetake$descriptionbefore$specificationFunctions::updatetakes$descriptionbefore$emailEnabledcreateQueryonDatabases,DocumentsDBandTablesDBto send list queries in the request bodyAccount::listMemberships$descriptionon create and update for databases, collections, tables, attributes, columns, indexes, buckets, functions, sites, variables, topics, webhooks and keys$descriptionon the matching models$totalon list methods inActivities,Backups,Domains,Mongo,MysqlandPostgresql$emailsonMessaging::createEmailandMessaging::updateEmail$denyListonProject::updatePasswordDictionaryPolicy,updatePasswordPersonalDataPolicyand their policy modelsBillingPlan::$functionsAllowCron$stripMetadataonStorage::createBucket,updateBucketand theBucketmodelv31.0.0Compare Source
X-Appwrite-Response-Format: 2.5.0; responses follow the 2.5 shapesAccount::listLogs,Users::listLogsand theLog/LogListmodelsOrganization::createKey,getKey,listKeys,updateKeyanddeleteKey, andOrganizationKeyScopes; useOrganization::listProjectKeys,getProjectKey,updateProjectKeyanddeleteProjectKeyinsteadClient::setDevKey, theDevKeymodel andProject::$devKeysBillingPlanGroup::STARTER(); useBillingPlanGroup::FREE()listSpecificationsreturns each specification's prices and overage rates on the row itself. Removed the list-level$pricingfield and theDedicatedDatabaseSpecificationPricingmodelBlockfieldsreason,projectName,region,organizationName,organizationIdandbillingPlanresourceparams now take?arrayProject::updateOAuth2Kakaotakes$enabledbefore$promptBackupRestoration::$optionsis now an arrayBillingPlan::$usageandDedicatedDatabase::$engineClient::flattenis renamedflattenForm; subclasses that override it must rename itTopichelper to build MQTT topics for push messagesMongo,MysqlandPostgresqlpromoteRestoration,$restoreMode,$targetNameand$autoPromoteoncreateRestoration, andDedicatedDatabaseRestoration::$restoreModeProxy::createSMTPRule, theProxyRuleProtocolenum andProxyRule::$protocol$emailEnabledonFunctions::updateandFunctionModel, andExecutionTrigger::EMAIL()Queryaggregates (count,countDistinct,sum,avg,min,maxand more),groupBy,having,distinct, joins,relationship,covers,spatialEqualsandpageQuery::builder()to chain queries;build()returns the query listpromptvalue in a listv30.4.0Compare Source
domainsservice to manage domains, DNS records, email presets, prices, transfer status and zoneswafservice with bypass, challenge, deny, rate-limit and redirect rulesaccount.createEmailVerificationOTP,updateEmailVerificationOTP,createRecoveryOTPandupdateRecoveryOTPaccount.createIdTokenSessionandIdentity.providerIdTokenoauth2.introspectproject.createEnvironment,getEnvironment,listEnvironments,updateEnvironmentanddeleteEnvironmentorganization.createEphemeralProjectKey,listProjectKeys,getProjectKey,updateProjectKeyanddeleteProjectKeyproject.updateOAuth2Kakao,updateOAuth2TikTokandupdateOAuth2Webflowprompton the Auth0, Discord, GitHub, Microsoft, Okta, Salesforce and Zoho OAuth2 settings, and native client IDs on Apple and Googleproject.updatePasswordPwnedPolicy,project.updatePasswordRotationPolicyandUser.passwordPwnedmessaging.createAppwriteProviderandmessaging.updateAppwriteProviderreplyToEmailandreplyToNameon email messages,channelIdon push messages, andqosandexpiryon topicsavatars.updatePhotoandavatars.deletePhotodurationonaccount.createEmailPasswordSession,currentonaccount.deleteSessions,membershipIdonteams.createMembershipandfingerprintson Android platformstotalon the locale, transaction, runtime, specification and framework listsdart-3.13andflutter-3.47runtimes, thejasprframework, thetrigramindex type,autoimage gravity, thededicatedDatabaseproxy rule resource type, OTP email templates and new key scopesBillingPlan,DedicatedDatabase,DedicatedDatabaseSpecification,ProjectandTopic, andfreeandstartinBillingPlanGroupv30.3.1Compare Source
ProjectAuthMethodId::PASSKEY(), soproject.updateAuthMethodcan enable passkeysProjectPolicyId::PASSKEY()and thePolicyPasskeymodel, sogetPolicyandlistPoliciesreturn the passkey policyv30.3.0Compare Source
accountpasskey methodslistPasskeys,createPasskey,getPasskey,updatePasskey,deletePasskeyandupdatePasskeyVerificationaccount.createPasskeyTokenandaccount.updatePasskeyTokenfor passkey sign-inusers.listPasskeys,users.getPasskey,users.updatePasskeyandusers.deletePasskeyproject.updatePasskeyPolicyto configure passkey sign-inPasskey,PasskeyList,PasskeyChallengeandTokenSecretmodelsv30.2.2Compare Source
Missing required field, so the SDK reads responses from servers that predate the field, such asFile.folderandFile.keyfrom Appwrite 1.xv30.2.1Compare Source
utopia-php/client^0.6and importsUtopia\Client\Client, so the SDK installs and runs next to client 0.6, which dropped theUtopia\Clientaliasv30.2.0Compare Source
intervalparameter onfunctions.createandfunctions.updateto run a function every N minutesintervalon theFunctionmodel andfunctionsIntervalMinimumon theBillingPlanmodelv30.1.0Compare Source
stateparameter oncreateOAuth2Token, returned unchanged on the success and failure URLsv30.0.0Compare Source
mysql,postgresql,mongo,documentsDB, andvectorsDBservices, previously released as release candidatestablesDB.cutoverMigrationis renamed totablesDB.createCutoverusageAggregateOnlyMetricson theBillingPlanmodeltransactionIdis accepted again bydocumentsDBandvectorsDBcreateDocumentandcreateDocumentsX-Appwrite-Response-Formatis now2.0.0FrameworkAdapter.fallbackFileis now optionalv29.0.0Compare Source
utopia-php/client(PSR-18), now a required dependencyExecution.functionIdreplaced byresourceIdandresourceTypededicatedDatabases.executefromProjectKeyScopesProject.wafEnabledis now nullableavatars.getPhoto, withuserId,emailHash, andnameto resolve an avatar for someone other than the callerproject.updateOAuth2HuggingFace, theOAuth2HuggingFacemodel, and thehuggingfaceOAuth providerscopesparameter tosites.createandsites.update, andSite.scopesExecutionResourceTypeenum and thebun-1.4runtimeDatabasefieldscontainerStatus,error, andlifecycleStateBillingPlanfieldssupportsDedicatedDatabasesanddatabaseComputeCreditDatabaseMigration.changelogWatermark, andreplicatingonDatabaseStatusReplicaandDedicatedDatabaseMemberStringablestrict_typesand shippint,phpstan, andrectorconfigsConfiguration
📅 Schedule: (UTC)
* * * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.