Skip to content

feat: Go SDK update for version v7.12.0 - #88

Merged
ChiragAgg5k merged 8 commits into
mainfrom
dev
Oct 15, 2026
Merged

ChiragAgg5k merged 8 commits into
mainfrom
dev

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version v7.12.0.

What's Changed

  • Breaking: removed AnalyticsProperty.Public and the WithCreatePropertyPublic and WithUpdatePropertyPublic options
  • Breaking: requests send response format 2.5.0
  • Breaking: removed the topic.Any, topic.All, Topic.Any and Topic.All wildcard builders and ResolvedTopic; build topics with topic.Path
  • Added: Mongo, Mysql and Postgresql PromoteRestoration, the WithCreateRestorationRestoreMode, WithCreateRestorationTargetName and WithCreateRestorationAutoPromote options, and DedicatedDatabaseRestoration.RestoreMode
  • Added: Proxy.CreateSMTPRule and ProxyRule.Protocol
  • Added: WithUpdateEmailEnabled on Functions.Update and Function.EmailEnabled
  • Added: query aggregates (Count, CountDistinct, Sum, Avg, Min, Max and more), GroupBy, Having, Distinct, joins, Relationship, Covers, SpatialEquals and Page
  • Added: query.NewBuilder to chain queries; Build() returns the query list
  • Updated: models fill fields missing from a response with their documented defaults
  • Updated: index docs list the spatial and trigram types
  • Updated: topic.Path rejects levels containing a NUL character
  • Fixed: models decode each response into a fresh value, so fields from an earlier response no longer carry over

@ChiragAgg5k ChiragAgg5k changed the title feat: Go SDK update for version v7.12.0 feat: SDK update for version v7.12.0 Oct 14, 2026
@hansi-codes

hansi-codes Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Updates the Go SDK to target Appwrite API 2.5.0, adding restoration, SMTP proxy, function email, query-builder, and topic-path capabilities. It also updates model decoding to reset reused values and fill missing fields with defaults, alongside related tests and documentation.

625 of 689 changed files were too large to include in full.

Verdict New comments Fixed Still open
💬 Commented 0 0 0

Note

Part of the diff was too large to review, so Hansi did not approve.

📂 Walkthrough · 11
File Change
CHANGELOG.md, README.md, docs/examples/** Documents v7.12.0 behavior and adds or updates examples for the new APIs.
analytics/analytics.go, analytics/analytics_test.go Removes the analytics property public field and setter options.
client/client.go, client/client_test.go Updates SDK/API headers and flattens query builders in request parameters.
databases/databases.go Updates index type documentation.
functions/functions.go, functions/functions_test.go Adds function email-enabled updates and response coverage.
messaging/messaging.go Reorders generated email, push, and SMS option handling.
models/** Adds response defaults and fresh-value JSON decoding across models.
mongo/mongo.go, mysql/mysql.go, postgresql/postgresql.go Adds restoration options and promotion endpoints.
proxy/proxy.go Adds SMTP proxy rule creation.
query/** Adds aggregate, join, spatial, pagination, and chainable query builders.
topic/** Uses path-based topic construction and rejects NUL-containing levels.

Reviewed 861d029 · 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 A · See the inline comments. Summary

Comment thread models/analyticsProperty.go Outdated
Comment thread models/dedicatedDatabase.go Outdated
Comment thread models/dedicatedDatabase.go Outdated
@ChiragAgg5k ChiragAgg5k changed the title feat: SDK update for version v7.12.0 feat: Go SDK update for version v7.12.0 Oct 14, 2026
@ChiragAgg5k

Copy link
Copy Markdown
Member Author

@hansi-codes review

@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 A · See the inline comments. Summary

Comment thread client/client.go Outdated

@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 · See the inline comments. Summary

Comment thread topic/topic.go

@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 S · Looks good to merge. Summary

@ChiragAgg5k

Copy link
Copy Markdown
Member Author

@hansi-codes review

@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 S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit 2f61981 into main Oct 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant