diff --git a/packages/fluorflow/CHANGELOG.md b/packages/fluorflow/CHANGELOG.md index 9f3dc0b..23373ab 100644 --- a/packages/fluorflow/CHANGELOG.md +++ b/packages/fluorflow/CHANGELOG.md @@ -1,3 +1,30 @@ +# [2.0.0](https://github.com/smartive/fluorflow/compare/v1.2.1...v2.0.0) (2024-03-18) + + +### Features + +* simplify data view model ([#5](https://github.com/smartive/fluorflow/issues/5)) ([fad3176](https://github.com/smartive/fluorflow/commit/fad3176a2a8baff45b6d86e4c89ea9d8de1097d2)) + + +### BREAKING CHANGES + +* This removes the complex initialization +logic of the `DataViewModel`. Instead of using the +`initializeData` method, now the constructor of the view model +requires some form of initial data. This requires developers to +explicitely define nullable types and allows the `data` field to be +initialized in all cases. To migrate, remove all `initializeData` calls +and provide the constructor with some default data. It is still possible +to load data asynchronously, by overwriting the `initialize` method and +fetching data there. One is responsible to call `super.initialize` in +error cases. +* This simplifies the routable and dialog config by +removing the `RouteBuilder.custom` variant. Basically, to use a custom +page route builder, just use the provided property (`pageRouteBuilder`) +and do not set the `routeBuilder` property. If the page route builder is +provided, +the route builder property is ignored. + ## [1.2.1](https://github.com/smartive/fluorflow/compare/v1.2.0...v1.2.1) (2024-03-06) diff --git a/packages/fluorflow/pubspec.yaml b/packages/fluorflow/pubspec.yaml index 27cd552..85bc34c 100644 --- a/packages/fluorflow/pubspec.yaml +++ b/packages/fluorflow/pubspec.yaml @@ -1,6 +1,6 @@ name: fluorflow description: An MVVM framework for Flutter to build scalable and maintainable applications. -version: 1.2.1 +version: 2.0.0 homepage: https://github.com/smartive/fluorflow repository: https://github.com/smartive/fluorflow.git diff --git a/packages/fluorflow_generator/CHANGELOG.md b/packages/fluorflow_generator/CHANGELOG.md index 9f3dc0b..23373ab 100644 --- a/packages/fluorflow_generator/CHANGELOG.md +++ b/packages/fluorflow_generator/CHANGELOG.md @@ -1,3 +1,30 @@ +# [2.0.0](https://github.com/smartive/fluorflow/compare/v1.2.1...v2.0.0) (2024-03-18) + + +### Features + +* simplify data view model ([#5](https://github.com/smartive/fluorflow/issues/5)) ([fad3176](https://github.com/smartive/fluorflow/commit/fad3176a2a8baff45b6d86e4c89ea9d8de1097d2)) + + +### BREAKING CHANGES + +* This removes the complex initialization +logic of the `DataViewModel`. Instead of using the +`initializeData` method, now the constructor of the view model +requires some form of initial data. This requires developers to +explicitely define nullable types and allows the `data` field to be +initialized in all cases. To migrate, remove all `initializeData` calls +and provide the constructor with some default data. It is still possible +to load data asynchronously, by overwriting the `initialize` method and +fetching data there. One is responsible to call `super.initialize` in +error cases. +* This simplifies the routable and dialog config by +removing the `RouteBuilder.custom` variant. Basically, to use a custom +page route builder, just use the provided property (`pageRouteBuilder`) +and do not set the `routeBuilder` property. If the page route builder is +provided, +the route builder property is ignored. + ## [1.2.1](https://github.com/smartive/fluorflow/compare/v1.2.0...v1.2.1) (2024-03-06) diff --git a/packages/fluorflow_generator/pubspec.yaml b/packages/fluorflow_generator/pubspec.yaml index 906edde..a273061 100644 --- a/packages/fluorflow_generator/pubspec.yaml +++ b/packages/fluorflow_generator/pubspec.yaml @@ -1,6 +1,6 @@ name: fluorflow_generator description: Code Generator for the FluorFlow package. -version: 1.2.1 +version: 2.0.0 homepage: https://github.com/smartive/fluorflow repository: https://github.com/smartive/fluorflow.git