supa_architecture 1.14.2
supa_architecture: ^1.14.2 copied to clipboard
Architecture library for Supa Flutter applications
Changelog #
1.14.0 #
Deprecated #
ApiClient.uploadFileFromImagePicker: Deprecated in favor ofuploadFile. This method will be removed in v2.0.0. UseuploadFilewithfilePath: file.path(orbytes: await file.readAsBytes()) andfilename: file.nameinstead.ApiClient.uploadFilesFromImagePicker: Deprecated in favor ofuploadFiles. This method will be removed in v2.0.0. Extract file paths/bytes and names from theXFilelist and pass touploadFilesinstead.ApiClient.uploadFileFromFilePicker: Deprecated in favor ofuploadFile. This method will be removed in v2.0.0. UseuploadFilewithbytes: file.bytes(orfilePath: file.path) andfilename: file.nameinstead.ApiClient.uploadFilesFromFilePicker: Deprecated in favor ofuploadFiles. This method will be removed in v2.0.0. Extract file bytes/paths and names from thePlatformFilelist and pass touploadFilesinstead.
Reason for deprecation: Following clean architecture principles, the package should not depend on UI/file picker packages (image_picker and file_picker). The generic uploadFile and uploadFiles methods provide the same functionality without these dependencies.
1.13.5 #
Added #
- FileHandler: Add
openFilemethod to open files from a file path- Web platform: Opens file/URL in a new browser tab
- Native platforms (iOS, Android, macOS, etc.): Uses openfilex to open file with the default application
1.13.4 #
Documentation #
- Improved documentation comments across all BLoC files in
lib/blocs/directory - Added comprehensive class-level, method-level, and field-level documentation
- Enhanced authentication bloc documentation with detailed OAuth flow descriptions
- Improved error handling bloc documentation with usage examples
- Expanded push notification bloc documentation with initialization and lifecycle details
- Clarified tenant bloc documentation with multi-tenant context explanations
- Rewrote and enhanced documentation comments for all classes in
lib/json/directory - Added comprehensive class-level, method-level, and field-level documentation for JSON field types
- Improved JsonModel documentation with detailed serialization/deserialization behavior
- Enhanced JsonField documentation with type safety and validation message handling details
- Expanded field type documentation (JsonString, JsonInteger, JsonDouble, JsonBoolean, JsonDate, JsonNumber, JsonList, JsonObject) with usage examples and key features
- Rewrote and enhanced documentation comments for all services in
lib/services/directory - Added comprehensive documentation for FileService with detailed method descriptions and parameter documentation
- Enhanced FileHandler documentation with platform-specific implementation details
- Improved timezone service documentation with platform-specific behavior explanations
- Added documentation for EntityDetailNavigator with usage examples and implementation guidance
- Rewrote and enhanced documentation comments for all form classes in
lib/forms/directory - Added comprehensive class-level documentation with usage examples for LoginForm, ForgotPasswordForm, ResetPasswordForm, and ChangePasswordForm
- Enhanced form control documentation with detailed validation requirements and access patterns
- Improved ChangePasswordForm documentation with password complexity requirements and regex pattern explanations
- Expanded ResetPasswordForm documentation with OTP validation parameter details
- Rewrote and enhanced documentation comments for all utility classes in
lib/utils/directory - Added comprehensive documentation for PasswordFieldMixin with detailed usage examples and implementation guidance
- Enhanced PlatformUtils documentation with platform selection logic, parameter descriptions, and multiple usage examples
- Update firebase packages
1.13.0 #
- Remove Image model, replace by File
- Add isAdmin to AppUser profile
1.10.0-rc.7 #
1.9.1+4 #
- Update authentication with equatable mixin
1.9.1+1 #
Fixed #
- Fix: Remove Sentry integration due to rendering issues on some Android devices, switch to using only FirebaseCrashlytics for error reporting
- Fix: Update error handling bloc to log errors exclusively to FirebaseCrashlytics
- Fix: Push notification BLoC improvements and documentation updates
1.8.5+1 #
Fixed #
- Remove Sentry because of causing the rendering issue on some Android devices
- Replace by FirebaseCrashlytics.recordError
1.8.4+6 #
- Fix infinite page state
1.8.4+5 #
- Use infinite_scroll_pagination v4, v5 has not been compatible yet
1.8.4+3 #
Added #
- Add file handling service with platform-specific implementations for downloading and opening files
- Add FileService utility class for file type detection and URL launching
- Add support for various file types including office documents, images, videos, and PDFs
Changed #
- Update version to 1.8.4+3
Technical #
- Implement FileHandler service with conditional imports for web and IO platforms
- Add comprehensive file type detection methods in FileService
- Integrate open_file dependency for cross-platform file handling
1.8.4+2 #
- Update README
- Use DeepWiki: https://deepwiki.com/supavn/supa_architecture
1.8.3 #
- Enhance notification permission request in PushNotificationBloc to include additional options for better user control
1.8.2 #
- Add
useSentryanduseFirebaseoptions
1.8.1 #
- Optimize authentication
- Fix filter json serializable
- Add date type
- Add global user class
1.8.1+rc1 #
- Optimize authentication
1.5.3 #
Fixed #
- Switch receive email and receive notification lost the subsystem list in profile info
- Centering the empty state component
1.2.0 #
0.0.3+preview.6 #
Added #
ApiClient: adduploadFilesFromImagePickeranduploadFilesFromFilePickermethods- Check is web for where using cookie manager
0.0.3+preview.5 #
Fixed #
ApiClient: fixeduploadFilesFromImagePickeranduploadFilesFromFilePickermethods for web
0.0.3+preview.4 #
Added #
ApiClient: adduploadFilesFromImagePickeranduploadFilesFromFilePickermethods
0.0.3+preview.3 #
Added #
ApiClient: adduploadFileFromImagePickeranduploadFileFromFilePickermethods
0.0.3+preview.2 #
0.0.3+preview.1 #
0.0.2+preview.13 #
Added #
- Compatibility table in README
- toJson for PushNotificationState and PushNotificationPayload