supabase_easy 0.1.0
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_docslint and fixing minor test issues). - Cleanup: Removed unused native boilerplate (
android/,ios/) and platform interface files.
0.0.7 #
- Refactoring: Introduced
guardAuth,guardStorage, andguardPostgresthelper functions inEasyExceptionto streamline error handling acrossEasyAuth,EasyStorage, andEasyRepository. - Tests: Added comprehensive unit tests for core modules (
auth,core,database,storage) and public APIs. - Dependencies: Added
mocktailmapping dev dependency for testing purposes.
0.0.6 #
- Updated platform badge in
README.mdto 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
descriptioninpubspec.yamlto a keyword-rich one-liner. - Added
topics(supabase,authentication,database,storage,realtime) topubspec.yamlfor pub.dev topic filtering. - Added
issue_trackerURL topubspec.yaml. - Rewrote
README.mdwith 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.mdto^0.0.4.
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.