From 33b14de16e47053f0e43fd2867e7e3d1cef74ba8 Mon Sep 17 00:00:00 2001 From: Matias de Andrea Date: Thu, 11 May 2023 14:01:14 +0200 Subject: [PATCH] chore(release): 9.0.0 --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ example/pubspec.lock | 2 +- pubspec.yaml | 2 +- 3 files changed, 34 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bc0357ce..8e4c89964 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,35 @@ +## [9.0.0] + +### BREAKING CHANGES + +* [Improve autovalidateMode](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/pull/1232) + * On FormBuilderField, `autovalidateMode` change default from `AutovalidateMode.onUserInteraction` to `AutovalidateMode.disabled` +* [Refactor FormBuilderField](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/pull/1238) + * Add widget to remove decoration property from core. Now exist two field widgets: + 1. `FormBuilderField`: Refactored. Now don't included decoration property or references to this property + 2. `FormBuilderFieldDecoration`: New. Like the old `FormBuilderField` +* [Remove FormBuilderCupertinoSegmentedControl](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/pull/1240) + * Remove `FormBuilderCupertinoSegmentedControl` field. Included on [form_builder_cupertino_fields](https://pub.dev/packages/form_builder_cupertino_fields) + * Update custom fields example without cupertino widgets + * Remove cupertino icons dependency +* Update intl version to 0.18.0 +* Update constraints to Flutter 3.10 +* Update constraints to Dart 3 + +### Features + +* **NEW** Add errors getter on `FormBuilder`. Can get all errors on form from formKey +* Improve examples +* Add gifs to readme +* `FormBuilderSlider`: Able custom widgets max, min and value +* `FormBuilderTextField`: Add `contentInsertionConfiguration` property + +### Fixes + +* Improve FormBuilder rebuild. Now only rebuild at same time the field that user touch, not all touched fields +* Verify error fields on form validation +* `FormBuilderDropdown`: Improve widget and solved assert error with initialValue (issue closed after 2 years and 5 months) + ## [9.0.0-dev.3] ### BREAKING CHANGE diff --git a/example/pubspec.lock b/example/pubspec.lock index 985a46ba0..3992dd7d8 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -60,7 +60,7 @@ packages: path: ".." relative: true source: path - version: "9.0.0-dev.3" + version: "9.0.0" flutter_lints: dependency: "direct dev" description: diff --git a/pubspec.yaml b/pubspec.yaml index 6da70234d..2b2d8d897 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_form_builder description: This package helps in creation of forms in Flutter by removing the boilerplate code, reusing validation, react to changes, and collect final user input. -version: 9.0.0-dev.3 +version: 9.0.0 repository: https://github.com/flutter-form-builder-ecosystem/flutter_form_builder issue_tracker: https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues homepage: https://github.com/flutter-form-builder-ecosystem