Skip to content

2.0.0

Choose a tag to compare

@ChiragAgg5k ChiragAgg5k released this 15 Oct 12:58
c4b62d3

What's Changed

  • Breaking: requests send X-Appwrite-Response-Format: 2.5.0; responses follow the 2.5 shapes
  • Breaking: missing response fields are filled with their documented defaults
  • Breaking: nullable model fields are typed T | null, such as Locale.city and Presence.status
  • Breaking: the package ships native Android and iOS modules, so apps need a native rebuild and do not run in Expo Go
  • Added: Apps service to manage apps, installations, keys and secrets
  • Added: Oauth2 service for the OAuth2 authorize, token, device and grant flows
  • Added: Push service, with optional peers expo-notifications, react-native-background-actions and react-native-tcp-socket
  • Added: Topic helper
  • Added: Android push code ships under io.appwrite.reactnative, so apps can also depend on sdk-for-android; set the notification icon with the io.appwrite.reactnative.push.notification_icon meta-data
  • Added: Query aggregates (count, countDistinct, sum, avg, min, max and more), groupBy, having, distinct, joins, relationship, covers, spatialEquals and page
  • Added: Query.builder() to chain queries; realtime subscriptions accept a builder for queries
  • Added: ExecutionTrigger.Email
  • Fixed: list and object defaults filled into a response are copied per model, and object defaults are {} instead of []