fca 0.0.6
fca: ^0.0.6 copied to clipboard
A Flutter template based on Clean Architecture, designed for scalable and maintainable apps with a structured layer system and pre-configured state management.
Changelog #
0.0.6 - 2024-08-16 #
Added #
- Enhanced
InterceptedClientwith additional network configuration options. - Introduced
CustomHttpClientclass for specialized HTTP client needs, extendingInterceptedClientwith customization options.
Changed #
- Updated
InterceptedClientto improve error handling and token management. - Enhanced documentation for
InterceptedClientto include new network configuration options and customization examples.
Fixed #
- Resolved issues with token management in
InterceptedClientto ensure more robust token refresh logic. - Fixed minor bugs related to network request handling and response transformations.
Deprecated #
- Deprecated legacy methods for token management in favor of new configurations and customization options.
0.0.5 - 2024-08-16 #
Added #
- Added export for
failure.dart,response_exception.dart, andserver_exception.dartto handle various error scenarios. - Introduced network-related utilities:
connection_checker.dart: Provides network connectivity checking withConnectionCheckerand its implementation.intercepted_client.dart: ImplementsInterceptedClientfor managing HTTP requests with token handling.
- Added
usecase.dartfor defining theUseCaseclass andNoParamsclass to manage business logic operations.
Changed #
- Updated library export list to include newly added error handling, network utilities, and use case components.
- Expanded library documentation to cover new exports and provide detailed examples of usage.
0.0.4 - 2024-08-16 #
Added #
- Introduced the
BaseStateclass and its subclasses (InitialState,LoadingState,SuccessState,FailureState) for standardized state management in BLoC pattern. - Added detailed documentation comments for
BaseStateand its subclasses, including usage examples and descriptions.
Fixed #
- Updated documentation comments to provide more clarity and usage examples.
Changed #
- No breaking changes in this version.
0.0.3 YYYY-MM-DD #
Added #
- Added
showLoadingandshowSnackBarutility functions with custom styling options. - Introduced
UseCaseandNoParamsclasses for business logic layer abstractions. - Implemented
ConnectionCheckerandConnectionCheckerImplfor network connectivity checks. - Added
ServerExceptionandResponseExceptionclasses for error handling.
Fixed #
- Updated
InterceptedClientto handle token refresh correctly in case of 401 responses. - Fixed documentation comments and usage examples for various classes and functions.
Changed #
- Updated library export list to include newly added utilities and classes.