koolbase_flutter 1.9.0 copy "koolbase_flutter: ^1.9.0" to clipboard
koolbase_flutter: ^1.9.0 copied to clipboard

Flutter SDK for Koolbase — feature flags, remote config, version enforcement, authentication, file storage, database, realtime subscriptions, and OTA updates for mobile apps.

1.4.0 #

  • Added Koolbase.realtime — WebSocket realtime SDK
  • Koolbase.realtime.on(projectId, collection) — stream of all events
  • Koolbase.realtime.onRecordCreated(projectId, collection) — stream of new records
  • Koolbase.realtime.onRecordUpdated(projectId, collection) — stream of updated records
  • Koolbase.realtime.onRecordDeleted(projectId, collection) — stream of deleted record IDs
  • Koolbase.realtime.connectionState — stream of connection status (true/false)
  • Koolbase.realtime.setToken(token) — set auth token for subscriptions
  • Auto-reconnect with 3 second backoff
  • Reference-counted subscriptions — safe for multiple listeners
  • Race-condition-free subscription flow

1.3.0 #

  • Added Koolbase.db — database SDK
  • Koolbase.db.collection('name').get() — query records with fluent builder
  • Koolbase.db.collection('name').where('field', isEqualTo: value).limit(20).get()
  • Koolbase.db.insert(collection: 'name', data: {...}) — insert records
  • Koolbase.db.doc(id).get() — fetch single record
  • Koolbase.db.doc(id).update({...}) — patch record fields
  • Koolbase.db.doc(id).delete() — soft delete record
  • KoolbaseRecord, KoolbaseCollection, QueryResult models
  • Collection-level permission enforcement (public, authenticated, owner)
  • Koolbase.db.setUserId() for authenticated requests

1.2.0 #

  • Added Koolbase.storage — file storage SDK
  • upload() — upload files directly to Cloudflare R2 via presigned URLs
  • getDownloadUrl() — get signed download URLs for private files
  • delete() — delete files from storage
  • KoolbaseObject, KoolbaseBucket, UploadResult models
  • Automatic content type inference from file extension
  • Three-step upload flow: get URL → upload → confirm

1.1.0 #

  • Added Koolbase.auth — full authentication SDK
  • signUp, login, logout, forgotPassword, resetPassword, verifyEmail
  • currentUser, isAuthenticated, authStateChanges stream
  • Automatic session restoration on app start
  • Secure token storage via flutter_secure_storage
  • JWT access tokens with automatic refresh
  • KoolbaseUser, AuthSession models
  • KoolbaseAuthException and typed exceptions

1.0.0 #

  • Initial release
  • Feature flags with rollout percentages and kill switches
  • Remote config (string, int, double, bool, map)
  • Version enforcement with force/soft update policies
  • Offline support with local cache
  • Background polling

1.7.0 #

  • Database: Added .populate() support on query builder for relational data
    • Fetch related records from other collections in a single query
    • Usage: .populate(['author_id:users', 'category_id:categories'])
    • Populated records are injected into data with the _id suffix removed (e.g. author_idauthor)

1.8.0 #

  • Database: Offline-first support powered by Drift
    • Cache-first reads — instant UI, background network refresh
    • Optimistic writes — insert locally, sync when online
    • Auto-sync on network reconnect via connectivity_plus
    • Manual Koolbase.db.syncPendingWrites()
    • QueryResult.isFromCache flag
    • Write queue with max 3 retries before dropping
    • User-scoped cache — no cross-user data leakage

1.8.0 #

  • Database: Offline-first support powered by Drift
    • Cache-first reads — instant UI, background network refresh
    • Optimistic writes — insert locally, sync when online
    • Auto-sync on network reconnect via connectivity_plus
    • Manual Koolbase.db.syncPendingWrites()
    • QueryResult.isFromCache flag
    • Write queue with max 3 retries before dropping
    • User-scoped cache — no cross-user data leakage

1.8.0 #

  • Database: Offline-first support powered by Drift
    • Cache-first reads — instant UI, background network refresh
    • Optimistic writes — insert locally, sync when online
    • Auto-sync on network reconnect via connectivity_plus
    • Manual Koolbase.db.syncPendingWrites()
    • QueryResult.isFromCache flag
    • Write queue with max 3 retries before dropping
    • User-scoped cache — no cross-user data leakage

1.8.0 #

  • Database: Offline-first support powered by Drift
    • Cache-first reads — instant UI, background network refresh
    • Optimistic writes — insert locally, sync when online
    • Auto-sync on network reconnect via connectivity_plus
    • Manual Koolbase.db.syncPendingWrites()
    • QueryResult.isFromCache flag
    • Write queue with max 3 retries before dropping
    • User-scoped cache — no cross-user data leakage

1.9.0 #

  • Functions: Added Dart runtime support
    • New FunctionRuntime enum — FunctionRuntime.deno and FunctionRuntime.dart
    • New deploy() method — deploy functions directly from Flutter
    • Fixed invoke() request body format
8
likes
130
points
536
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter SDK for Koolbase — feature flags, remote config, version enforcement, authentication, file storage, database, realtime subscriptions, and OTA updates for mobile apps.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

archive, connectivity_plus, crypto, drift, drift_flutter, flutter, flutter_secure_storage, http, package_info_plus, path_provider, shared_preferences, uuid, web_socket_channel

More

Packages that depend on koolbase_flutter