clean_framework 2.0.0-dev.0
clean_framework: ^2.0.0-dev.0 copied to clipboard
Clean Architecture components library, inspired on the guidelines created by Uncle Bob.
Changelog #
1.5.0 #
Nov 1, 2022
- Removed dependencies on sub packages. Sub-packages can be added separately as per the requirement.
Sub-packages:
- clean_framework_router
- clean_framework_graphql
- clean_framework_rest
- clean_framework_firestore
- clean_framework_test
1.5.0 #
Nov 1, 2022
- Breakdown into sub packages.
- Moved test helpers to
clean_framework_testpackage. - RestSuccessResponse's data is subtype of
Objectinstead ofdynamic.
1.5.0-dev.0 #
Oct 31, 2022
- Breakdown into sub packages.
- Moved test helpers to
clean_framework_testpackage. - RestSuccessResponse's data is subtype of
Objectinstead ofdynamic.
1.4.2 #
Sep 13, 2022
- Added support for GraphQL Schema Stitching.
- Added support for changing GraphQL error policy in request level.
- Bumped dependencies to their latest version.
1.4.1 #
Aug 31, 2022
- Bumped dependencies to their latest version.
1.4.0 #
Aug 3, 2022
- Added
pushmethod to the router. - Added
AppRouter.pageandAppRouter.custom. - Added
Deserializerto help with deserializing JSON data. - Added support for form data and multipart request through
RestExternalInterface. - Updated dependencies to latest version.
- [Breaking] Removed
valueTypefrom FeatureBuilder.
1.3.1 #
Jun 7, 2022
- Added Feature Flag Management based on OpenFeature specs.
- Added
FeatureBuilderandFeatureScope.
1.3.0 #
May 12, 2022
- Added
BridgeGatewayProvider - Fixed issue with content-type being appended with charset.
- [Breaking] Added separate constructor for providing custom
GraphQLServicetoGraphQLExternalInterface. - [Breaking] Token should be passed using
GraphQLTokeninstead ofGraphQLTokenBuilder. - Added passing fetch policy to GraphQL requests.
- Added support to modify persistence option for
GraphQLExternalInterface. - Upgraded dependencies.
- [Breaking] Bumped minimum Flutter version to
3.0.0.
1.2.1 #
Apr 25, 2022
- Added
uiTestWidgetBuilder. - Added
mergeproperty to FirebaseWriteRequest. - Made
idin FirebaseWriteRequest optional. - Added loggers for GraphQL and REST services. The logs can be disabled with the following snippet.
CleanFrameworkObserver.instance = CleanFrameworkObserver(enableNetworkLogs: false);
1.2.0 #
Mar 20, 2022
- Added
debouncemethod to UseCase. - Fixed issue with Form URLEncoded request body format.
- [Breaking] Upgraded
mockoonto v0.3.0
1.1.6 Mar 1, 2022 #
- Added
didUpdatePresenterto Presenter. - Added
timeoutsupport for GraphQL requests. - Upgraded dependencies.
- Migrated example app to Android v2 embedding.
1.1.5 Jan 10, 2022 #
- Added
tokenBuilderandauthHeaderKeyfor GraphQLExternalInterface. - Added
headersin rest requests. - Now Map<String, dynamic> can be sent in POST request using content types other than url-encoded. (Previously, only url-encoded POST request were supported).
- Added
application/jsonas default content type for all rest requests andutf-8as default encoding. - Removed
intitialTimeoutfrom uiTest as it's been deprecated. - Added route state to navigator builder.
- Upgraded dependencies.
1.1.4 Dec 8, 2021 #
- Added
observersandnavigatorBuilderto AppRouter. - Improved duplication handling logic for
onOutputUpdate. - Added
postFramecallback to uiTest, which overrides the defaultpumpAndSettle. Fixes #31. - Added
routerargument to uiTest to enable navigating between routes inside the test block. - Added
setupUITest()method to setup provider context and router for all the subsequent uiTests.
1.1.3 Upgraded to stable version of riverpod #
riverpodversion upgraded to^1.0.0
1.1.2 Introduction Codelab #
- Added the Introduction to Clean Framework Codelab under the docs folder. The codelab is also published, see the public link on the README file.
1.1.1 Mixed External Interface and Router #
-
Merged into one class the Direct and Watcher External Interfaces, this is a breaking change for any class using this ancestor. The [onTransport] method is replaced by [handleRequest]. Please refer to the code example and tests to understand the migration effort.
-
Added a new Router based on the library Go Router. This default is much easier to use and can be overridden during tests. Please refer to the code example for usage.
-
Minor refactor changes to remove unnecessary or duplicated code. This includes the removal of the Equatable ancestor on Inputs and derivatives, given that during tests is not practical to compare inputs. If your implementation does these comparisons on tests, you can implement the EquatableMixin in your Input implementations.
1.0.0-prerelease #
- First release of our improved library. The stable of classes and utilities included allows the implementation of Bob Martin's Clean Architecture with defined layer separation, using Riverpod-style Providers.