supabase_easy 0.0.4 copy "supabase_easy: ^0.0.4" to clipboard
supabase_easy: ^0.0.4 copied to clipboard

A powerful and lightweight Supabase wrapper for Flutter that reduces boilerplate for Auth, Database CRUD, and Real-time listeners by 60-70%.

0.0.4 #

  • New EasyException — unified error type wrapping PostgrestException, AuthException, and StorageException. All public APIs now throw EasyException instead of raw Supabase exceptions.
  • EasyRepository: fixed count() to project only id instead of * (avoids fetching all row data); added deleteMany(List<String> ids) and updateWhere({filter, data}) bulk operations; stream() now accepts optional orderBy / ascending parameters; all methods wrap errors in EasyException.
  • EasyStorage: fixed getPublicUrltransform parameter was silently ignored (dead-code bug); now correctly passes TransformOptions to the Supabase SDK; all methods wrap storage errors in EasyException.
  • EasyAuth: added signInWithOtp (magic link / OTP email) and verifyOtp; added isSignedIn convenience getter; all methods wrap auth errors in EasyException.
  • SupabaseEasyClient: added isInitialized getter; init-guard now throws a typed EasyException instead of a plain Exception.
  • SupabaseEasy: removed bare library; directive; exposed SupabaseEasy.isInitialized; private constructor added (not meant to be instantiated); private constructor prevents accidental instantiation.
  • Exports: added EasyException, AuthException, StorageException, PostgrestException, AuthResponse, UserResponse, OtpType, CountOption, TransformOptions to public barrel exports — users rarely need to import supabase_flutter directly.
  • pubspec.yaml: removed unused json_annotation, json_serializable, and build_runner dependencies.
  • analysis_options.yaml: tightened lint rules — prefer_final_locals, unawaited_futures, avoid_catches_without_on_clauses, public_member_api_docs, and more.

0.0.3 #

  • Added EasyStorage for simplified file management (upload, download, delete, signed URLs).
  • Added signInWithOAuth to EasyAuth for social login support.
  • Added support for FileOptions, SearchOptions, and FileObject in storage operations.
  • Improved library exports for easier integration.

0.0.2 #

  • Updated documentation and README with screenshots.
  • Improved package description for better discoverability.
  • Refactored example app with a modern UI and modular structure.

0.0.1 #

  • Initial release of supabase_easy.
  • Added EasyRepository for simplified CRUD operations.
  • Added EasyAuth for streamlined authentication.
  • Added support for real-time streams in EasyRepository.
  • Added createMany, count, and search functionality to EasyRepository.
  • Added updateUser and refreshSession to EasyAuth.
  • Comprehensive DartDoc documentation for all public APIs.
1
likes
0
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

A powerful and lightweight Supabase wrapper for Flutter that reduces boilerplate for Auth, Database CRUD, and Real-time listeners by 60-70%.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface, supabase_flutter

More

Packages that depend on supabase_easy

Packages that implement supabase_easy