supabase_easy 0.0.4
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 wrappingPostgrestException,AuthException, andStorageException. All public APIs now throwEasyExceptioninstead of raw Supabase exceptions. EasyRepository: fixedcount()to project onlyidinstead of*(avoids fetching all row data); addeddeleteMany(List<String> ids)andupdateWhere({filter, data})bulk operations;stream()now accepts optionalorderBy/ascendingparameters; all methods wrap errors inEasyException.EasyStorage: fixedgetPublicUrl—transformparameter was silently ignored (dead-code bug); now correctly passesTransformOptionsto the Supabase SDK; all methods wrap storage errors inEasyException.EasyAuth: addedsignInWithOtp(magic link / OTP email) andverifyOtp; addedisSignedInconvenience getter; all methods wrap auth errors inEasyException.SupabaseEasyClient: addedisInitializedgetter; init-guard now throws a typedEasyExceptioninstead of a plainException.SupabaseEasy: removed barelibrary;directive; exposedSupabaseEasy.isInitialized; private constructor added (not meant to be instantiated); private constructor prevents accidental instantiation.- Exports: added
EasyException,AuthException,StorageException,PostgrestException,AuthResponse,UserResponse,OtpType,CountOption,TransformOptionsto public barrel exports — users rarely need to importsupabase_flutterdirectly. pubspec.yaml: removed unusedjson_annotation,json_serializable, andbuild_runnerdependencies.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
EasyStoragefor simplified file management (upload, download, delete, signed URLs). - Added
signInWithOAuthtoEasyAuthfor social login support. - Added support for
FileOptions,SearchOptions, andFileObjectin 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
EasyRepositoryfor simplified CRUD operations. - Added
EasyAuthfor streamlined authentication. - Added support for real-time streams in
EasyRepository. - Added
createMany,count, and search functionality toEasyRepository. - Added
updateUserandrefreshSessiontoEasyAuth. - Comprehensive DartDoc documentation for all public APIs.