Skip to content

0.1.0

Choose a tag to compare

@pastelcode pastelcode released this 21 Sep 18:35
· 36 commits to main since this release

The initial release of the PocketBase Swift SDK.

  • Complete Swift 6 conversion from pocketbase/js-sdk (v0.28.1).
  • PocketBase client with full concurrency (async/await) support.
  • BaseAuthStore, LocalAuthStore (using UserDefaults) and AsyncAuthStore.
  • RecordService with CRUD, auth methods, OTP, OAuth2, password reset, email verification, email change, impersonation and realtime subscriptions.
  • CollectionService, FileService, RealtimeService, SettingsService, LogService, HealthService, BackupService, BatchService, CronService, SQLService.
  • Type-safe AnyCodable for dynamic schema fields and expanded relations.
  • Unit test suite covering the client, auth stores, utilities, services and CRUD operations.

Requirements: Swift 6.2+, iOS 15+, macOS 12+, tvOS 15+, watchOS 8+, Android (via the Swift SDK for Android).

dependencies: [
    .package(url: "https://github.com/pastelcode/pocketbase.git", from: "0.1.0")
]