Skip to content

v0.1.1

Pre-release
Pre-release

Choose a tag to compare

@lalitgehani lalitgehani released this 23 Jan 20:42
· 118 commits to main since this release

Added

  • Initial release of SnackBase SDK for JavaScript/TypeScript

Features

  • Core Client: SnackBaseClient with configuration validation
  • HTTP Client: Fetch-based HTTP client with interceptors
  • Authentication: Email/password, OAuth, SAML, and API key authentication
  • Services: 17+ service classes for all SnackBase resources
    • Accounts, Users, Collections, Records
    • Roles, Collection Rules (Permission System V2)
    • Groups, Invitations, Macros
    • API Keys, Audit Logs, Dashboard, Admin
    • Email Templates, Files
  • Real-Time: WebSocket/SSE support with automatic reconnection
  • Query Builder: Fluent API for complex queries
  • React Integration: Context provider and hooks
    • useAuth, useQuery, useRecord, useMutation, useSubscription
  • Type Safety: Complete TypeScript definitions
  • Error Handling: Typed error hierarchy
  • Storage Abstraction: Platform-agnostic storage backends
  • Logging: Structured logging system with configurable levels

Package Exports

  • @snackbase/sdk - Core SDK
  • @snackbase/sdk/react - React integration

Build Output

  • ESM (.mjs) - 14.87 KB gzipped
  • CommonJS (.js)
  • TypeScript declarations (.d.ts)

[0.1.1] - 2026-01-24

Added

  • Initial beta release
  • Core SDK features
  • React hooks
  • Real-time subscriptions
  • Query builder
  • 231 tests passing

[Future Releases]

Planned

  • Integration tests with test server
  • Performance benchmarks
  • Request deduplication
  • Advanced caching strategies
  • Vue 3 integration
  • Angular integration
  • Svelte integration