Skip to content

Releases: appwrite/sdk-for-php

26.1.0

19 Jun 08:16
533865f

Choose a tag to compare

What's Changed

  • Updated: Reworked usage.listEvents into an aggregation query with metric, interval, dimensions, and orderBy
  • Updated: Reworked usage.listGauges into an aggregation query with metric, teamId, interval, and dimensions
  • Added: Unified UsageGroup model for aggregated usage results
  • Updated: UsageEventList and UsageGaugeList now expose groups
  • Fixed: Made Project OAuth2 server fields optional and nullable

Full Changelog: 26.0.0...26.1.0

26.0.0

17 Jun 04:32
bc26d0f

Choose a tag to compare

What's Changed

  • Breaking: Removed client, OS, and device fields (osCode, clientName, deviceModel, etc.) from ActivityEvent
  • Breaking: Inserted authorizationDetailsTypes mid-signature in project.updateOAuth2Server
  • Added: OAuth2 device flow options verificationUrl, userCodeLength, userCodeFormat, and deviceCodeDuration to updateOAuth2Server
  • Added: updateDenyCorporateEmailPolicy and PolicyDenyCorporateEmail to project
  • Added: deny-corporate-email to ProjectPolicyId
  • Added: oauth2 to ProjectServiceId and dedicatedDatabases.execute to ProjectKeyScopes
  • Added: emailCanonical, emailIsFree, emailIsDisposable, emailIsCorporate, and emailIsCanonical to User
  • Added: userAccessedAt to Membership and PolicyMembershipPrivacy
  • Added: type to BackupPolicy
  • Updated: Send an accept header on all requests, including chunked uploads

Full Changelog: 25.1.0...26.0.0

25.1.0

05 Jun 11:51
ec02d82

Choose a tag to compare

What's Changed

  • Added: createSesProvider and updateSesProvider to messaging
  • Added: updateOAuth2Server to project for OAuth2 server settings
  • Added: updatePasswordStrengthPolicy and PolicyPasswordStrength to project
  • Added: getAuditsDB health check to health
  • Added: password-strength to ProjectPolicyId
  • Added: apps.read and apps.write to ProjectKeyScopes

Full Changelog: 25.0.0...25.1.0

25.0.0

01 Jun 10:40
a3091da

Choose a tag to compare

What's Changed

  • Breaking: Removed githubImagine and googleImagine from ProjectOAuthProviderId
  • Breaking: Removed deno-1.21, deno-1.24, and deno-1.35 from Runtime and BuildRuntime
  • Breaking: Dropped numeric suffixes from StatusCode redirect members
  • Added: Organization service for managing projects and API keys
  • Added: PolicyDenyAliasedEmail, PolicyDenyDisposableEmail, and PolicyDenyFreeEmail policy models
  • Added: deny-aliased-email, deny-disposable-email, and deny-free-email to ProjectPolicyId
  • Replaced: BrowserTheme, HealthQueueName, OrganizationKeyScopes, and Region enums
  • Added: dart-3.12 and flutter-3.44 runtimes
  • Added: ProjectList model and new attributes on Function, Site, and UsageGauge
  • Updated: functions, sites, usage, health, and avatars services
  • Updated: Renamed updatePresence to update in the presences service

Full Changelog: 24.2.0...25.0.0

24.2.0

21 May 19:02
d3217b6

Choose a tag to compare

What's Changed

Full Changelog: 24.1.0...24.2.0

24.1.0

20 May 09:39
dcb3550

Choose a tag to compare

What's Changed

  • Added sizeActual property to File model for actual stored size after compression/encryption
  • Updated BillingLimits properties to be nullable to match the server's sparse "limits crossed" response
  • Updated Project.billingLimits to be nullable
  • Updated advisor example docs to use API key authentication
  • Removed orphaned Prompt enum (already unused; superseded by ProjectOAuth2GooglePrompt in 24.0.0)

Full Changelog: 24.0.0...24.1.0

24.0.0

19 May 05:45
d614c93

Choose a tag to compare

What's Changed

  • Breaking: Renamed AuthMethod enum to ProjectAuthMethodId
  • Breaking: Renamed EmailTemplateType to ProjectEmailTemplateId and EmailTemplateLocale to ProjectEmailTemplateLocale
  • Breaking: Renamed ServiceId to ProjectServiceId, ProtocolId to ProjectProtocolId, Secure to ProjectSMTPSecure, ProjectPolicy to ProjectPolicyId
  • Breaking: Replaced Scopes enum with ProjectKeyScopes for project key endpoints
  • Breaking: Removed updateDenyCanonicalEmailPolicy; replaced with updateDenyAliasedEmailPolicy, updateDenyDisposableEmailPolicy, and updateDenyFreeEmailPolicy
  • Breaking: Removed AuthProvider model; use new ProjectOAuthProviderId enum instead
  • Added: Project::get method to fetch current project details
  • Added: Advisor, Presences, and Usage services
  • Added: Insight, Presence, Report, UsageEvent, and UsageGauge models with list variants
  • Added: ProjectAuthMethod, ProjectProtocol, and ProjectService models
  • Added: ProjectOAuthProviderId and ProjectOAuth2GooglePrompt enums
  • Updated: Project, Database, and OAuth2Google model schemas
  • Updated: X-Appwrite-Response-Format header to 1.9.5

Full Changelog: 23.1.1...24.0.0

23.1.1

12 May 11:04
fd7c0f0

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 23.1.0...23.1.1

23.1.0

08 May 14:41
2f27592

Choose a tag to compare

What's Changed

  • Added: Introduced bigint create/update APIs for legacy Databases attributes
  • Added: Introduced bigint create/update APIs for TablesDB columns
  • Updated: Extended key-list query filters with key, resourceType, resourceId, and secret

Full Changelog: 23.0.0...23.1.0

23.0.0

16 Apr 12:51
d22b361

Choose a tag to compare

What's Changed

  • [BREAKING] Renamed Webhook model fields: securitytls, httpUserauthUsername, httpPassauthPassword, signatureKeysecret
  • [BREAKING] Renamed Webhook service parameters to match: securitytls, httpUserauthUsername, httpPassauthPassword
  • [BREAKING] Renamed Webhooks::updateSignature() to Webhooks::updateSecret() with new optional secret parameter
  • Added from(array) static factory method and toArray() serializer to all response models with required-field validation
  • Added secret parameter to Webhook create and update methods
  • Added x OAuth provider to OAuthProvider enum
  • Added userType field to Log model
  • Added purge parameter to updateCollection and updateTable for cache invalidation
  • Added Project service: platform CRUD, key CRUD, protocol/service status management
  • Added new models: Key, KeyList, Project, DevKey, MockNumber, AuthProvider, PlatformAndroid, PlatformApple, PlatformLinux, PlatformList, PlatformWeb, PlatformWindows, BillingLimits, Block
  • Added new enums: PlatformType, ProtocolId, ServiceId
  • Updated BuildRuntime, Runtime enums with dart-3.11 and flutter-3.41
  • Updated Scopes enum with keysRead, keysWrite, platformsRead, platformsWrite
  • Updated X-Appwrite-Response-Format header to 1.9.1
  • Updated TTL description for list caching in Databases and TablesDB
  • Replaced internal FIELD_MAP/ARRAY_TYPES constants and parseResponse() with explicit Model::from() hydration

Full Changelog: 22.0.0...23.0.0