flutter_gb_stack_base 5.2.0
flutter_gb_stack_base: ^5.2.0 copied to clipboard
A utility package that helps develop application in a Geekbears way. This is also the base of some other packages like authentication and account
5.3.0 #
- build(deps): Update flutter_bloc to ^9.1.0
5.2.0 #
-
Update dependencies, this includes:
get_it from ^7.6.0 to ^9.0.0 logger from ^2.0.1 to ^2.6.1 mockito from ^5.4.2 to ^5.5.0 shared_preferences from ^2.2.0 to ^2.5.3
5.0.0 #
-
chore(deps): Upgrade Flutter SDK to 3.35.7 and regenerate code
This commit updates the project's Flutter SDK version from 3.24.5 to 3.35.7. The upgrade involved updating the FVM configuration files (
.fvm/fvm_config.json,.fvmrc) and VS Code settings (.vscode/settings.json) to reflect the new SDK path.As a result of the SDK upgrade and potential package updates, several generated files have been regenerated: Updated http dependency to 1.5
4.0.1 #
- Enhance toQueryParameters method in CommonApiParams to handle DateTime values
- Updated the
toQueryParametersmethod to convert DateTime objects to ISO 8601 string format. - Improved handling of various value types to ensure consistent query parameter formatting.
- Updated the
4.0.0 #
- Refactor query_utils.dart.
Enhanced
ApiPopulateclass by removing thedeepPopulateparameter. Updated equality and hash code implementations inApiPopulateto reflect the changes.
3.2.0 #
- feat: Add CommonApiParams and ApiPopulate classes for enhanced API parameter handling
- Introduced
CommonApiParamsclass to encapsulate common API parameters with methods for merging and converting to map/query parameters. - Added
ApiPopulateclass to facilitate nested population of API responses. - Refactored
queryMergeanddeepMergeMapfunctions for improved readability and consistency.
- Introduced
3.1.0 #
- feature: Rename internal event classes in RepoServiceBloc to make them public API available
The changes include renaming
_ActorExecutortoRepoServiceEventActorExecutor,_ActorResulttoRepoServiceEventActorResult, and_SetGroupStatetoRepoServiceEventSetGroupState.
3.0.1 #
- Enhance HttpAuthClient and HttpClientImpl with logging capabilities Added a Logger dependency to both HttpAuthClient and HttpClientImpl for improved debugging and monitoring. Updated various methods to utilize the logger for better traceability of token refresh operations and request handling.
3.0.0 #
- refactor: Refactored HttpAuthClient to fix some inconsistencies in refresh token logic Chanded signature of 'onRefreshToken', 'customRefreshTokenCallback' and 'customRefreshTokenResponseParser' to introduce new type: 'AuthenticationTokenParsedData'
2.3.0 #
- feature: Add MappedBlocBuilder for granular BLoC state mapping
Introduced a new
MappedBlocBuilderwidget that extendsBlocBuilderfunctionality. This widget allows developers to map a BLoC stateSto a new typeT, enabling more precise control over widget rebuilds.
2.2.0 #
- refactor: Implement IHttpClient interface for AuthClient and JsonClient Introduced the IHttpClient interface and updated HttpAuthClient and JsonHttpClient to implement it. This change provides a common abstraction for HTTP client functionalities, improving consistency and enabling easier mocking and testing of HTTP interactions across the application.
2.1.3 #
- Fixes of (2.0.5+3)
- Improve refresh logic avoiding calling twice API when refresh called externally
2.1.2 #
- Fixes of (2.0.5+2)
- Improve Refresh Token logic
- Changed the way the RefreshToken request is detected in order to avoid loops when refreshing token, now it relies on Custom http header AuthHttpClientKeys.refreshTokenRequestHeader
2.1.1 #
- Added 'closed$' Stream api for ListenableBloc
2.1.0 #
- Update http dependency to ^1.0.0
2.0.10 #
- Integrated changed from 2.0.5+1
2.0.9 #
- Added "resetData" flag to LoadedData.copyWithLoading
2.0.8 #
- Export 'actor_dependant_bloc_event_listener' file
2.0.7 #
- Added RepoServiceBloc.setGroupEventState api
2.0.6 #
-
Added LoadedData.hasBeenSet helper getter
2.0.5+1 #
- Add more flexibility to ServerException messages handling
2.0.5 #
- Added helper method 'getStateForEvent' for 'RepoServiceBloc' and 'RepoServiceBlocState'
- Regenerated Freezed classes
2.0.3 #
- Minor improve on ServerException.fromResponse, handle possible messages as string
2.0.2 #
- Implement toString override for UnknownFailure
2.0.1 #
- Fix minor issue on json client
- Deprecate dependencies on json_client and auth_client libs, now they are maintained here
2.0.0 #
- Upgrade to flutter ">=3.13.0" and sdk: ">=3.0.0 <4.0.0"
1.2.1 #
- Support customRefreshTokenRequestWrapper on AuthClient
1.2.0 #
- Refactor on http client:
- customRefreshTokenRequestBodyFieldsMapper
- customRefreshTokenRequestBodyMapper
1.1.0 #
- Upgrade freezed & built_value, get it and other packages
1.0.5 #
- Support
customRefreshTokenCallbackon httpClient
1.0.3 #
- Handle SocketException as InternetConnectionIssueFailure
1.0.2 #
- Fix minor export issue
1.0.1 #
- Publishing configurations
- Minor updates to support async refresh logic
0.8.4 #
- Update dependencies
0.8.3 #
- Added 'ActorDependantBlocEventListener'
0.8.2 #
- Fix Cannot add new events after calling close
0.8.1 #
- Resolve wrong use of bloc "emitter" after is completed
0.8.0 #
- Allow null "email" and "firstName" for anonymous ones
0.7.10 #
- Update auth_http_client dependency
0.7.9 #
- Added LoadedDataBuilder.wrapper property
0.7.8 #
- Fix bloc "emit" being called after being dispatch on repoService bloc
- Improve queryMerge function
0.7.7 #
- Small change in
queryMergeutil
0.7.6 #
- Small improve in actor dependant bloc
0.7.5 #
- Updated dependencies
0.7.4 #
- Added
queryMergeutil
0.7.3 #
- Small improve in
BlocEventListener
0.7.2 #
- Added BlocEventListener.onlyOnActiveRoute property
0.7.1 #
- Make RepoServiceBaseImpl.wrapAndHandleHttpBaseRequest to support async callback
0.7.0 #
- Updated dependencies for flutter 3.3.x
0.6.18 #
- Added
customLogOutputto blocs
0.6.16 #
- Prevent Bad state: Cannot add new events after calling close On repo service bloc
0.6.15 #
- Allow async parser on repo service base
0.6.14 #
- Make
LoadedDataclassconst
0.6.13 #
- Added FailuresGroup.uniqueMessage
0.6.12 #
- Added
FailuresGrouputility - Added request property to ServerFailures & Exceptions
0.6.10 #
- Added
RepoServiceEventHandlerFn
0.6.9 #
- Small improves in User model
- Make
LoadedDataBuilderanimation optional - Fixes in
LoadedDataBuilder
0.6.7 #
- Improves logging
- Make some fields of
LoadedDataBuilderoptional
0.6.6 #
- Add userName getter to User entity
0.6.3 #
- Improve server exception handling
- Allow to override textContentType default header in [RepoServiceBaseImpl]
- Improves in SeverException class
- Improves in SeverFailures class
0.6.2 #
- Disable
ListenableBlocevent logs by default But support flag and [logFilter] properties
0.6.1 #
- Support
FutureOrin:UriMapperFunctionRequestMapperFunctionforRepoServiceConfigurationthis will allow the user to use async code in their implementation
0.6.0 #
- Update auth_http_client
auth_http_clientdependency - Make possible to recycle defaultHttpClient
0.4.2 #
- Fixed exception in
actor_dependant_blocFuture already completed
0.4.1 #
- Make
ActorDependantBlocextends fromActorDependantBloc
0.4.0 #
- Breaking change
BlocEventListener&RepoServiceBlocListenernow pass the context with the event
0.3.6 #
- Updated
auth_http_clientdependency
0.3.5 #
- Added AppEnvironment.sValues
- Minor changes
0.3.4 #
- Fix
dispatchOnDependantmethod onActorDependantBlocclass
0.3.3 #
- Added support for
keyonRepoServiceBlocexecutor event
0.3.0 #
- Provide bloc 'add' function in
ActorDependantDefinition - This introduces breaking changes,
- since now you need to specify
DependantBlocEventType for each generic constructor inActorDependantDefinition GroupActionshave been renamed toGroupEvents
- since now you need to specify
0.2.10 #
- Small fixes in
ActorDependantBlocwhen removing subscriptions
0.2.9 #
- Replace .forEach to for in
0.2.8 #
- Improved
RepoServiceBlocListener- Added support for to handle multiple GroupActions
0.2.7 #
- Improved
ActorDependantBlocclass - Added static utility methods to class
ActorDependencyDefinition - Fixed issued related to previous classes
- Added
LoadedDataBuilderhelper widget - Fix no params passed on
ActorDependantBloc.dispatchOnRepoServiceDependantfunction
0.2.6 #
- Added
ActorDependantBloc - Other test utility improvements
0.2.5 #
- Added some docs
- Improvements to test bloc utils
0.2.4 #
- Fix tests and other improves
0.2.3 #
- Fix public
loggerfunction
0.2.2 #
- Improve
repoServiceBlocActionGroupTestUtilutil- It now provides access to executor result
0.2.1 #
- Added utilities for testing when using RepoServiceBase & RepoServiceBloc specific usecases
utilities:
repoServiceTestHttpUtilrepoServiceTestGenericUtilrepoServiceBlocActionGroupTestUtil
0.2.0 #
-
RepoServiceBloc
- Is a Helper class intended to be extended by you and help get rid of a lot of boilerplate that otherwise you would be required to implement yourself
-
RepoServiceBlocBuilder
- Helper Widget lets you build your UI based on state changes of a [RepoServiceBloc]
-
RepoServiceGroupBlocBuilder
- Helper Widget lets you build your UI based on state changes of a [RepoServiceBloc
-
BlocEventListener
- This Helper Widget helps you subscribe to the stream of [Event]s of a [ListenableBloc] which is also provided in this package It automatically subscribes and disposes of when this widget is no longer present in the tree
-
RepoServiceBlocListener
- This Helper Widget helps you subscribing to the stream of [RepoServiceBlocEvent]s of a [RepoServiceBloc] which is also provided in this package
-
Breaking changes This update also removes the export of material package with was an error, so you may end up needing to update your project to manually import that dependency
0.1.2 #
- Added
RepoServiceBaseutility class- It will help reducing boilerplate when implementing Services or Repositories in our projects
0.1.1 #
- Update dependencies
auth_http_client
0.1.0 #
- Initial release.