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

Supabase wrapper for Flutter that cuts Auth, CRUD, real-time, and Storage boilerplate by 60–70%. Type-safe, zero config, single import.

0.1.0 #

  • Platform Support: Converted from a Flutter plugin to a pure Dart package. The package now officially supports all 6 Flutter platforms (Android, iOS, Web, Windows, macOS, Linux).
  • Fixes: Resolved static analysis warnings (such as removing the deprecated package_api_docs lint and fixing minor test issues).
  • Cleanup: Removed unused native boilerplate (android/, ios/) and platform interface files.

0.0.7 #

  • Refactoring: Introduced guardAuth, guardStorage, and guardPostgrest helper functions in EasyException to streamline error handling across EasyAuth, EasyStorage, and EasyRepository.
  • Tests: Added comprehensive unit tests for core modules (auth, core, database, storage) and public APIs.
  • Dependencies: Added mocktail mapping dev dependency for testing purposes.

0.0.6 #

  • Updated platform badge in README.md to reflect actual supported platforms (Android & iOS only); removed Web, macOS, Windows, and Linux references.

0.0.5 #

  • Improved pub.dev page for better discoverability: rewrote description in pubspec.yaml to a keyword-rich one-liner.
  • Added topics (supabase, authentication, database, storage, realtime) to pubspec.yaml for pub.dev topic filtering.
  • Added issue_tracker URL to pubspec.yaml.
  • Rewrote README.md with pub/likes/points/license/platform badges, a "Why supabase_easy?" comparison table, full code examples for all new v0.0.4 APIs (deleteMany, updateWhere, signInWithOtp, verifyOtp, EasyException, TransformOptions), a quick API-reference table, and collapsible OAuth/Storage setup sections.
  • Updated install snippet in README.md to ^0.0.4.

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
150
points
29
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Supabase wrapper for Flutter that cuts Auth, CRUD, real-time, and Storage boilerplate by 60–70%. Type-safe, zero config, single import.

Repository (GitHub)
View/report issues

Topics

#supabase #authentication #database #storage #realtime

License

MIT (license)

Dependencies

flutter, supabase_flutter

More

Packages that depend on supabase_easy