feat: SDK update for version 0.4.0#4
Conversation
Greptile SummaryThis PR bumps the Unity SDK to version 0.4.0, adding JWT authentication headers to Realtime WebSocket connections and marking the
Confidence Score: 4/5Safe to merge after correcting the deprecation messages in Databases.cs — the Realtime and Client changes are straightforward and correct. Every [Obsolete] message added in this PR points developers to a camelCase method name that does not exist in C#; all six replacement references should be PascalCase to match the actual TablesDB API. This will actively mislead any consumer who follows the deprecation guidance. Runtime/Core/Services/Databases.cs — all six [Obsolete] attribute strings need their method name casing fixed. Important Files Changed
Reviews (3): Last reviewed commit: "chore: update Unity SDK to 0.4.0" | Re-trigger Greptile |
| User result = await account.UpdatePassword( | ||
| password: "", | ||
| oldPassword: "<OLD_PASSWORD>" // optional | ||
| password: "password", | ||
| oldPassword: "password" // optional | ||
| ); |
There was a problem hiding this comment.
Both
password and oldPassword are set to the same literal "password", making the example ambiguous — readers may think the new and old passwords must be identical, or may copy-paste both fields unchanged. Use distinct placeholder values to keep the intent clear.
| User result = await account.UpdatePassword( | |
| password: "", | |
| oldPassword: "<OLD_PASSWORD>" // optional | |
| password: "password", | |
| oldPassword: "password" // optional | |
| ); | |
| User result = await account.UpdatePassword( | |
| password: "<NEW_PASSWORD>", | |
| oldPassword: "<OLD_PASSWORD>" // optional | |
| ); |
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
This PR contains updates to the SDK for version 0.4.0.
What's Changed
x-appwrite-jwtheader for authentication.