Repository navigation
feat: SDK update for version 8.4.0 - #110
Conversation
🟢 Tier S · Ready to merge
This PR updates the .NET SDK to version 8.4.0 with new domain, WAF, authentication, project-environment, organization-key, OAuth2, messaging, and avatar APIs. It adds response models, optional fields, and enum values for the new API capabilities, and updates SDK examples and release documentation. The latest change also fixes conversion of string lists into enum value objects, including OAuth2 provider prompt lists. Latest changes: The newest commits add string-to-IEnum conversion in ConvertToList to fix list-valued OAuth2 prompt decoding and record the fix in the changelog.
📂 Walkthrough · 9
Reviewed the commits since |
The domains service reads transfer status; it does not start transfers.
|
@hansi-codes review |
…setter DomainTransferStatus reads reason with TryGetValue and falls back to an empty string. The examples called SetEndPoint, which Client does not have; it is SetEndpoint.
|
@hansi-codes review |
The findings that requested changes are resolved. See the summary comment for what is still open.
|
@hansi-codes review |
|
@hansi-codes review |
The examples passed snake_case spec names such as token_type_hint as named arguments; the methods take tokenTypeHint, so the snippets did not compile.
|
@hansi-codes review |
Response arrays reach ConvertToList as strings, and Convert.ChangeType cannot build an IEnum value class from one, so any provider with a non-empty prompt threw InvalidCastException (including Google and Oidc in 8.3.1). String items now go through the enum's string constructor.
|
@hansi-codes review |
The findings that requested changes are resolved. See the summary comment for what is still open.
This PR contains updates to the SDK for version 8.4.0. It is patched onto the previous release tag, so it only adds the changes below; existing method signatures keep their parameter order.
What's Changed
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, andfreeandstartinBillingPlanGrouppromptlist, such asOAuth2Google, no longer throwInvalidCastException