Skip to content

feat: SDK update for version 28.4.0 - #186

Merged
lohanidamodar merged 2 commits into
mainfrom
release-28.4.0
Nov 28, 2026
Merged

lohanidamodar merged 2 commits into
mainfrom
release-28.4.0

Conversation

@lohanidamodar

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 28.4.0.

What's Changed

  • Added: analytics service to create, list, get, update and delete analytics properties
  • Added: analytics.createEvent to send events from a server, with userId, ip and userAgent overrides for API keys with the analytics.write scope
  • Added: analytics.listMetrics to query visitors, sessions, views and events over time or broken down by a dimension
  • Added: analytics.listAnnotations, createAnnotation, getAnnotation, updateAnnotation and deleteAnnotation
  • Added: AnalyticsProperty, AnalyticsAnnotation and AnalyticsMetric models, their list models, and the AnalyticsDimension, AnalyticsInterval and AnalyticsPropertyType enums

@appwrite

appwrite Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Code review

Commit Status Tier Verdict Details
ca3a42a Reviewed Reviewed 🟢 S · Ready to merge ✅ Approved View review

The previously reported example-authentication issue is resolved, and no unresolved defects remain.

Adds an Analytics service for managing properties and annotations, sending events, and querying metrics, along with typed models, enums, examples, and service tests. Updates the SDK package and request version metadata to 28.4.0. The create-event example now uses API-key authentication for server-side event overrides.

Latest changes: Changes the create-event example from session authentication to API-key authentication, matching the requirements for scoped event overrides.

Walkthrough (6)
File Change
CHANGELOG.md, pyproject.toml, setup.py, appwrite/client.py Updates the changelog and SDK package/request version metadata to 28.4.0.
appwrite/encoders/value_class_encoder.py, appwrite/enums/analytics_*.py Adds value-class encoding support and Analytics property type, interval, and dimension enums.
appwrite/models/__init__.py, appwrite/models/analytics_*.py Adds typed Analytics property, annotation, and metric models and their list models.
appwrite/services/analytics.py Adds API methods for Analytics properties, annotations, event creation, and metrics.
docs/examples/analytics/*.md Adds examples for the Analytics APIs; the create-event example uses an API key for scoped overrides.
test/services/test_analytics.py Adds request and response coverage for the Analytics service methods.
Fixed since the last review (1)
  • Example sends scoped overrides without an API key · docs/examples/analytics/create-event.md:23

Reviewed the commits since cb796bf

Tip

Comment @appwrite review to re-run, or mention @appwrite with a question.

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

Comment thread docs/examples/analytics/create-event.md Resolved

@appwrite appwrite 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

@lohanidamodar
lohanidamodar merged commit b0ea93e into main Nov 28, 2026
2 checks 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