get_x_master 0.0.25
get_x_master: ^0.0.25 copied to clipboard
Independent Flutter state management, routing, and DI solution inspired by GetX with high performance.
Changelog #
0.0.25 #
✨ New Features - Advanced Error Handling System #
-
GetHttpException Enhanced: Base exception class now includes:
statusCode,responseBody,headers,stackTrace,timestampisClientError,isServerError,isNetworkErrorgetterstoDetailedString()for comprehensive error reportstoMap()for logging and serialization
-
15+ Specific Exception Types:
BadRequestException(400)UnauthorizedException(401)ForbiddenException(403)NotFoundException(404)MethodNotAllowedException(405)RequestTimeoutException(408)ConflictException(409)UnprocessableEntityException(422)TooManyRequestsException(429)InternalServerException(500)BadGatewayException(502)ServiceUnavailableException(503)GatewayTimeoutException(504)NetworkExceptionwithNetworkErrorTypeenumTimeoutExceptionwith duration infoRequestCancelledException
-
Result Pattern (Functional Error Handling):
Result<T>sealed class withSuccessandFailure- Pattern matching with
when()andwhenOrNull() - Value extraction:
getOrElse(),getOrThrow(),valueOrNull - Transformations:
map(),flatMap(),mapError() - Recovery:
recover(),recoverWith() - Side effects:
onSuccess(),onFailure() - Future extensions:
mapAsync(),flatMapAsync(),recoverAsync()
-
ExceptionHandler Utility:
fromResponse()- Convert Response to appropriate exceptionfromException()- Convert any exception to GetHttpExceptionguard()- Wrap async operations in ResultwithRetry()- Retry with exponential backoff
-
Response Extensions:
response.toResult()- Convert Response to Resultresponse.throwIfError()- Throw if response has errorFuture<Response>.toResult()- Async conversion
-
GraphQL Error Improvements:
GraphQLErrorLocationclass for error locationspathandextensionssupport inGraphQLErrorfromJson()factory constructor
📚 Documentation #
- Updated
lib/src/get_connect/README.mdwith comprehensive error handling guide - Added error handling section to main
README.md - Created
example/lib/test_error_handling.dartwith complete examples - Updated
example/lib/main.dartwith demo navigation
0.0.24 #
🔄 Breaking Changes #
-
Enum Naming Convention: Changed enum values to lowercase for consistency with Dart conventions:
SnackbarStatus:OPEN→open,CLOSED→closed,OPENING→opening,CLOSING→closingSnackStyle:FLOATING→floating,GROUNDED→groundedSnackPosition: Already lowercase (top,bottom)
-
Class Renamed:
CustomExpandableBottomSheetRoute→BottomSheetExpandableRoute -
Method Renamed:
Get.customExpandableBottomSheet()→Get.bottomSheetExpandable()
✨ New Features #
-
PasswordValidator Improvements:
- Renamed
specialChars→specialCharacters - Renamed
requireSpecialChar→requireSpecialCharacter - Changed
specialCharacterstype fromStringtoList<String>for easier customization
- Renamed
-
BottomSheetExpandableRoute: Added
BottomSheetExpandableRouteexport to main package
🐛 Bug Fixes #
- Fix bug PasswordValidator
- Fix close button in
BottomSheetExpandableRoutenow uses customcloseIconparameter - Added
canPop()check before closing bottom sheet to prevent errors
0.0.23 #
🐛 Bug Fixes #
- Snackbar Overlay Fix: Fixed "No Overlay widget found" error when using
Get.snackbar()orGet.showSnackbar(). - Smart Dependency Injection Fix: Fixed
smartLazyPutandsmartFindnot working correctly withBindings.
📚 Documentation #
- Added comprehensive
SMART_LAZY_PUT_GUIDE.mdwith Persian documentation. - Updated
README.mdwith detailed usage examples forsmartLazyPutandsmartFind.
0.0.22 #
- Add
PasswordValidatorUtils.
0.0.21 #
- Add
ConditionalNavigationsupport tooff()andoffAll()methods. - Update documentation for Conditional Navigation.
- Add example for Conditional Navigation.
0.0.20 #
- Fix initialize dependency injection
- Edit document.
- Edit
GetResponsiveBuilderadd new feature. - Update Last SDK.
- Fix pub point.
0.0.19 #
- Fix initialize dependency injection
0.0.18 #
- Fix ConditionalNavigation navigation issue.
0.0.17 #
- BREAKING CHANGE: Renamed
ResponsiveBuildertoGetResponsiveBuilderfor consistency with GetX naming conventions.
0.0.16 #
- Updated all responsive components and extensions to use new
GetResponsiveBuilderclass. - Enhanced responsive system documentation with updated class names.
- Improved integration with GetX framework naming standards.
- Fixed all references in examples, documentation, and implementation files.
- Fix document extension size.
- Fix Animate extension size.
- Fix responsive name
ResponsiveBuilderdetect orientation.
0.0.15 #
- Add
ReactiveGetView- Smart reactive widget for automatic UI updates. - Enhanced
GetViewwith intelligent state management capabilities. - Automatic reactive updates without manual
Obx()wrapping. - Improved performance through intelligent rebuilding.
- Better code readability and maintainability.
- Full compatibility with existing GetX controller patterns.
- Updated comprehensive documentation with examples.
0.0.14 #
- Fix document extension size.
0.0.13 #
- Fix bug null context.
0.0.12 #
- Fix bug.
0.0.11 #
- Fix bug.
0.0.10 #
- Fix bug.
0.0.9 #
- Update README.
- Update responsive.
0.0.8 #
- Add New feature for Responsive.
- Add New feature for Utils.
- Add New feature for State management.
0.0.7 #
- Add New feature for route.
- Add New feature for Cupertino.
- Add New feature for Animation.
- Add New feature for Dependency injection.
- Add New feature for Utils.
- Add New feature for State management.
- Fix Bug GetBuilder.
0.0.6 #
- Add New feature for route.
0.0.5 #
- Fix bug.
- Add new extensions.
0.0.4 #
- Edit Document.
- Fix error handling smartFind.
0.0.3 #
- Edit Document.
0.0.2 #
- Fix pub point.
0.0.1 #
- Update Last Version SDK.
- Add Documentation Package.
- Add New Feature.
- Add Fix AND New Feature Animation Extensions.
- Add New Feature Dependency injection.
- Extra codes cleaned up.