kombu_flutter_schema 1.2.3 copy "kombu_flutter_schema: ^1.2.3" to clipboard
kombu_flutter_schema: ^1.2.3 copied to clipboard

discontinued

KOMBU IoT System - GraphQL Schema for Flutter/Dart (Mobile-focused). Provides models, queries, and mutations for mobile app development with AWS Amplify.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.2.3 - 2025-11-27 #

Changed #

  • README.md: Reordered Device Token Registration options
    • Direct GraphQL Mutations is now Option 1 (recommended for full control)
    • Auto Register moved to Option 2
    • Manual Create/Update moved to Option 3
  • Updated documentation to prioritize direct GraphQL mutations usage

1.2.2 - 2025-11-25 #

Added #

  • Public methods in PushNotificationHelper:
    • createDeviceToken() - Public method to create device token directly
    • updateDeviceToken() - Public method to update device token directly
  • Improved documentation for device token management with multiple usage options

Updated #

  • PushNotificationHelper.registerDeviceToken() - Now includes better documentation explaining it uses built-in Amplify mutations
  • _createDeviceToken() and _updateDeviceToken() - Now support appVersion parameter
  • README.md - Added comprehensive examples for device token management (auto register, manual create/update, direct GraphQL)

Notes #

  • All device token operations use built-in Amplify Gen 2 mutations:
    • DeviceTokenMutations.createDeviceToken
    • DeviceTokenMutations.updateDeviceToken
    • DeviceTokenMutations.deleteDeviceToken
  • No custom mutations needed - Amplify automatically generates these from the schema

1.2.1 - 2025-11-25 #

Updated #

  • Updated CHANGELOG.md with correct date for version 1.2.0

1.2.0 - 2025-11-25 #

Added #

  • createDevice mutation - Create new device in the system
  • pushCommand mutation - Push commands to AWS IoT Core topics via MQTT
  • PushCommandHelper class - Helper methods for pushing commands (with automatic payload stringification)
  • latestFirmwareVersion field - Added to Device model for KPI tracking and firmware comparison
  • deactivateUser mutation - Deactivate user (custom mutation)
  • reactivateUser mutation - Reactivate user (custom mutation)
  • removeUser mutation - Remove user permanently (custom mutation)

Changed #

  • Updated Device model to include latestFirmwareVersion field
  • Updated Device queries to include latestFirmwareVersion field
  • Updated Device mutations to include latestFirmwareVersion field

1.1.0 - 2025-01-15 #

Added #

  • Notification model with queries and mutations for mobile app
  • DeviceToken model for push notification device token management
  • Device queries and mutations for mobile app device management
  • PushNotificationHelper class for easy device token registration
  • Mobile-focused API documentation and examples

Changed #

  • Refactored to mobile-focused: Only includes APIs relevant to mobile app
  • Removed admin-only operations (createUser, deleteUser, listUsers)
  • Updated User queries to only include getUser (mobile typically gets own user)
  • Updated User mutations to only include updateUser (user creation via Cognito)
  • Improved README with mobile-focused examples and usage

Removed #

  • User createUser, deleteUser, listUsers mutations/queries (admin-only)
  • DeviceTelemetry (use MQTT for real-time data)
  • DeviceConfiguration (backend/internal only)

1.0.1 - 2025-11-08 #

Changed #

  • Updated README.md to use amplify_flutter instead of graphql_flutter
  • Updated all code examples to use AWS Amplify Flutter API
  • Improved documentation with complete API examples

Updated #

  • All queries now use ModelQueries with Amplify.API.query()
  • All mutations now use ModelMutations with Amplify.API.mutate()
  • All subscriptions now use ModelSubscriptions with Amplify.API.onSubscription()
  • Error handling updated to use ApiException

1.0.0 - 2025-11-07 #

Added #

  • Initial release of kombu_flutter_schema
  • User model with JSON serialization
  • Device model with JSON serialization
  • GraphQL queries for User (getUser, listUsers)
  • GraphQL mutations for User (createUser, updateUser, deleteUser)
  • Support for Flutter/Dart GraphQL clients
0
likes
150
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

KOMBU IoT System - GraphQL Schema for Flutter/Dart (Mobile-focused). Provides models, queries, and mutations for mobile app development with AWS Amplify.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

amplify_api, amplify_flutter, flutter, graphql

More

Packages that depend on kombu_flutter_schema