You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR is a major version bump (2.0.0 → 3.0.0) adding the Project service (key/platform/protocol/service CRUD), new models (Project, Key, DevKey, BillingLimits, Block, platform variants), renames webhook fields (security→tls, signatureKey→secret), and fixes previously-flagged runtime crashes in GetPlatform and GetColumn/GetAttribute by introducing proper type-discrimination switches.
Confidence Score: 5/5
Safe to merge; previously-flagged runtime crashes are resolved and only a P2 usability concern remains.
The two confirmed runtime-crash bugs from prior review rounds (GetPlatform always using PlatformWeb.From(), GetColumn always using ColumnBoolean.From()) are both fixed with proper type-discrimination switches. The only new finding is that Project.Platforms is List rather than a typed or Dictionary list — a usability inconvenience, not a crash. All P0/P1 items are addressed.
Appwrite/Models/Project.cs (Platforms field type); Appwrite/Services/Webhooks.cs (previously flagged missing secret in Update).
Important Files Changed
Filename
Overview
Appwrite/Services/Project.cs
New Project service with full platform and key CRUD; GetPlatform now correctly discriminates platform types via type-switch (previously crashing bug is fixed).
Appwrite/Models/Project.cs
New Project model with all fields; Platforms embedded list is List losing type information for callers receiving a Project response.
Appwrite/Services/Webhooks.cs
Renames security fields to tls/authUsername/authPassword/secret and adds UpdateSecret; Update still omits the secret parameter (previously flagged, CHANGELOG claims it was added).
Appwrite/Services/TablesDB.cs
GetColumn now has correct type-discrimination switch (previously crashing bug is fixed); purge parameter added to UpdateTable.
Appwrite/Services/Databases.cs
GetAttribute now uses correct type-discrimination switch; purge parameter added to UpdateCollection; arrow-to-block-body reformatting throughout.
Appwrite/Services/Messaging.cs
Adds contentAvailable, critical, and priority parameters to CreatePush/UpdatePush; rest is arrow-to-block-body reformatting.
Appwrite/Client.cs
Version bumped to 3.0.0, X-Appwrite-Response-Format updated to 1.9.1, and GetHeaders() method added to expose a copy of request headers.
Appwrite/Models/Webhook.cs
Breaking field renames: security→tls, httpUser→authUsername, httpPass→authPassword, signatureKey→secret; consistent with CHANGELOG.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains updates to the .NET SDK for version 3.0.0.
What's Changed
security→tls,httpUser→authUsername,httpPass→authPassword,signatureKey→secretsecurity→tls,httpUser→authUsername,httpPass→authPasswordWebhooks.UpdateSignature()toWebhooks.UpdateSecret()with new optionalsecretparameterClient.GetHeaders()method to retrieve request headerssecretparameter to Webhook create and update methodsxOAuth provider toOAuthProviderenumuserTypefield toLogmodelpurgeparameter toUpdateCollectionandUpdateTablefor cache invalidationKey,KeyList,Project,DevKey,MockNumber,AuthProvider,PlatformAndroid,PlatformApple,PlatformLinux,PlatformList,PlatformWeb,PlatformWindows,BillingLimits,BlockPlatformType,ProtocolId,ServiceIdBuildRuntime,Runtimeenums withdart-3.11andflutter-3.41Scopesenum withKeysRead,KeysWrite,PlatformsRead,PlatformsWriteX-Appwrite-Response-Formatheader to1.9.1