Skip to content

Commit 15e9b3e

Browse files
Merge pull request #1467 from flutter-form-builder-ecosystem/release/10.0.0-dev.3
chore(release): 10.0.0-dev.3
2 parents 8c6641f + da8afea commit 15e9b3e

File tree

4 files changed

+64
-29
lines changed

4 files changed

+64
-29
lines changed

CHANGELOG.md

+48-27
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# 10.0.0-dev.3
2+
3+
## BREAKING CHANGES
4+
5+
* feat: #1456 remove deprecated code by @deandreamatias in https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/pull/1465
6+
* Solve issue #1456
7+
* Remove `invalidateField` and `invalidateFirstField` methods from FormBuilderState. Use `fields[name]?.invalidate(errorText)` and `fields.first.invalidate(errorText)` instead.
8+
* [FormBuilderTextField] Deprecate canRequestFocus property. Use `FocusNode.canRequestFocus.` instead.
9+
* Assert on FormBuilderField.decoration.enabled property. Use FormBuilderField.enabled instead.
10+
* Easy way! Only need execute `dart fix --apply` on your project.
11+
* Rename FormBuilderChoiceChip to FormBuilderChoiceChips.
12+
* Rename FormBuilderFilterChip to FormBuilderFilterChips.
13+
* [FormBuilderFilterChip] Remove maxChips property.
14+
* [FormBuilderDateTimePicker] Remove resetIcon property.
15+
* [FormBuilder] Remove onPopInvoked property.
16+
17+
## Features
18+
19+
* feat: #1455 improve input decoration enabled property by @deandreamatias in https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/pull/1464
20+
* Solve issue #1455
21+
122
# 10.0.0-dev.2
223

324
* feat: #1458 improve autovalidate modes by @deandreamatias in https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/pull/1460
@@ -799,11 +820,11 @@
799820
* Export `flutter_typeahead` package so user gets access `TextFieldConfiguration` class
800821
* Deprecate `validator` attribute in FormBuilderDateTimePicker, only `validators` should be used
801822
* When TimePicker is cancelled, return original value instead of null
802-
* Fix bug where initialTime for TimePicker defaults to 12:00, use currentTime. Closes [#234](https://github.com/danvick/flutter_form_builder/issues/234)
823+
* Fix bug where initialTime for TimePicker defaults to 12:00, use currentTime. Closes [#234](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/234)
803824

804825
## [3.8.0+1]
805826

806-
* Fix bug where Changing readOnly of `FormBuilder` does not change readOnly of `FormBuilderDateTimePicker`. Closes [#179](https://github.com/danvick/flutter_form_builder/issues/179)
827+
* Fix bug where Changing readOnly of `FormBuilder` does not change readOnly of `FormBuilderDateTimePicker`. Closes [#179](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/179)
807828

808829
## [3.8.0]
809830

@@ -812,7 +833,7 @@
812833
* `FormBuilderFilterChip` - Creates a chip that acts like a checkbox. By [Cesar Flores](https://github.com/VOIDCRUSHER). Again!
813834
* `FormBuilderColorPicker` with help from [Benjamin](https://github.com/Reprevise)
814835
* `FormBuilderTouchSpin` replaced the confusingly named `FormBuilderStepper` which is now deprecated.
815-
* Fix some inconsistencies in controller and focus node disposal. Courtesy of [Thomas Järvstrand](https://github.com/tjarvstrand). Should close [#230](https://github.com/danvick/flutter_form_builder/issues/230)
836+
* Fix some inconsistencies in controller and focus node disposal. Courtesy of [Thomas Järvstrand](https://github.com/tjarvstrand). Should close [#230](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/230)
816837
* Bumped up `flutter_typeahead` from `1.7.0` to `1.8.0`
817838

818839
## [3.7.3]
@@ -831,29 +852,29 @@
831852

832853
## [3.7.0] - 5-Dec-2019
833854

834-
* Included `onSaved` callback to all fields. Closes [#175](https://github.com/danvick/flutter_form_builder/issues/175)
855+
* Included `onSaved` callback to all fields. Closes [#175](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/175)
835856
* Added `Key` option to all fields to make testing possible
836-
* Fixed bug where custom controller not working in TypeAhead. Closes [#144](https://github.com/danvick/flutter_form_builder/issues/144)
857+
* Fixed bug where custom controller not working in TypeAhead. Closes [#144](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/144)
837858
* Fix issue where `FormBuilderDateRangePicker` ignores `initialFirstDate` and `initialLastDate`
838-
* Fixed bug where readOnly not working in FormBuilderDateTimePicker. Closes [#179](https://github.com/danvick/flutter_form_builder/issues/179)
839-
* Allow double `values` for `FormBuilderStepper`. Closes [#182](https://github.com/danvick/flutter_form_builder/issues/182)
859+
* Fixed bug where readOnly not working in FormBuilderDateTimePicker. Closes [#179](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/179)
860+
* Allow double `values` for `FormBuilderStepper`. Closes [#182](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/182)
840861
* Only include clear icon next to DropdownButton if the value is not `null`
841-
* Revert `intl`, upgrade `flutter_chips_input` & `datetime_picker_formfield` - due incompatibilities. Closes [#183](https://github.com/danvick/flutter_form_builder/issues/183), [#185](https://github.com/danvick/flutter_form_builder/issues/185)
862+
* Revert `intl`, upgrade `flutter_chips_input` & `datetime_picker_formfield` - due incompatibilities. Closes [#183](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/183), [#185](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/185)
842863

843864
## [3.6.1] - 6-Nov-2019
844865

845-
* Fixed bug caused by dropping unimplemented attribute `onChipTapped` of `flutter_chips_input`. Closes [#168](https://github.com/danvick/flutter_form_builder/issues/168)
866+
* Fixed bug caused by dropping unimplemented attribute `onChipTapped` of `flutter_chips_input`. Closes [#168](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/168)
846867

847868
## [3.6.0] - 4-Nov-2019
848869

849-
* Added clear option to FormBuilderDropdown - set `allowClear` to true. Closes [#148](https://github.com/danvick/flutter_form_builder/issues/148)
850-
* Default `contentPadding` and `border` attributes removed from CheckboxList, Radio and SegmentedControl list. Closes [#160](https://github.com/danvick/flutter_form_builder/issues/160)
851-
* Added `numberFormat` attribute to Slider. Closes [#156](https://github.com/danvick/flutter_form_builder/issues/156)
870+
* Added clear option to FormBuilderDropdown - set `allowClear` to true. Closes [#148](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/148)
871+
* Default `contentPadding` and `border` attributes removed from CheckboxList, Radio and SegmentedControl list. Closes [#160](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/160)
872+
* Added `numberFormat` attribute to Slider. Closes [#156](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/156)
852873
* Add error text to date range picker. Thanks to [ffpetrovic](https://github.com/ffpetrovic)
853874
* Fixed bug where pushing cancel on timePicker causes crash. Thanks to [ayushin](https://github.com/ayushin)
854-
* Fixed bug where Switch doesn't obey initialValue from FormBuilder. Closes [#159](https://github.com/danvick/flutter_form_builder/issues/159)
855-
* Fixed bug where FormBuilderDropdown shows value instead of label when disabled/readOnly. Closes [#154](https://github.com/danvick/flutter_form_builder/issues/154)
856-
* Fixed bug where FormBuilderDateTimePicker value is parsed from TextField string. Closes [#164](https://github.com/danvick/flutter_form_builder/issues/164)
875+
* Fixed bug where Switch doesn't obey initialValue from FormBuilder. Closes [#159](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/159)
876+
* Fixed bug where FormBuilderDropdown shows value instead of label when disabled/readOnly. Closes [#154](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/154)
877+
* Fixed bug where FormBuilderDateTimePicker value is parsed from TextField string. Closes [#164](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/164)
857878
* Added default TextInputConfiguration options for ChipsInput
858879
* Fix example project - AndroidX compatibility. Thanks to [prasadsunny1](https://github.com/prasadsunny1)
859880
* Bumped up `flutter_typeahead` 1.6.1 -> 1.7.0
@@ -870,7 +891,7 @@
870891

871892
## [3.5.3]
872893

873-
* Fixed DateTimePicker bug: '`DateTime is not a subtype of type TimeOfDay`' when Input type is Time only. Closes [#131](https://github.com/danvick/flutter_form_builder/issues/131)
894+
* Fixed DateTimePicker bug: '`DateTime is not a subtype of type TimeOfDay`' when Input type is Time only. Closes [#131](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/131)
874895

875896
## [3.5.2]
876897

@@ -956,15 +977,15 @@
956977

957978
## [3.2.3]
958979

959-
* Allow `readonly` attribute for fields to be changed at runtime. Credit [Daniel Acorsi](https://github.com/dhaalves). Closes [#75](https://github.com/danvick/flutter_form_builder/issues/75)
980+
* Allow `readonly` attribute for fields to be changed at runtime. Credit [Daniel Acorsi](https://github.com/dhaalves). Closes [#75](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/75)
960981

961982
## [3.2.2]
962983

963984
* Bumped up `flutter_chips_input` from v1.2.0 to 1.3.0
964985

965986
## [3.2.1]
966987

967-
* Add missing attributes for `FormBuilderSlider` to customize `Slider` Widget including `activeColor`, `inactiveColor`, `onChangeStart`, `onChangeEnd`, `label` and `semanticFormatterCallback`. Closes [#80](https://github.com/danvick/flutter_form_builder/issues/80).
988+
* Add missing attributes for `FormBuilderSlider` to customize `Slider` Widget including `activeColor`, `inactiveColor`, `onChangeStart`, `onChangeEnd`, `label` and `semanticFormatterCallback`. Closes [#80](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/80).
968989
* Add support for `underline` to `FormBuilderDropdown`. Credit Jordan Nelson (github/jrnelson333).
969990
* Minor fixes to README
970991

@@ -975,7 +996,7 @@
975996

976997
## [3.1.3]
977998

978-
* Made `flutter_typeahead`'s `onSuggestionSelected` available to `FormBuilderTypeAhead` - Closes [#73](https://github.com/danvick/flutter_form_builder/issues/73). Credit to daWeed (github/psrcek)
999+
* Made `flutter_typeahead`'s `onSuggestionSelected` available to `FormBuilderTypeAhead` - Closes [#73](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/73). Credit to daWeed (github/psrcek)
9791000

9801001
## [3.1.2]
9811002

@@ -993,7 +1014,7 @@
9931014

9941015
## [3.0.1]
9951016

996-
* Fixed bug in where `focuNode` for `FormBuilderTextField` is ignored. Closes [#53](https://github.com/danvick/flutter_form_builder/issues/53)
1017+
* Fixed bug in where `focuNode` for `FormBuilderTextField` is ignored. Closes [#53](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/53)
9971018
* Fixed bug in where `textEditingConfiguration` for `FormBuilderTypeAhead` ignored
9981019

9991020
## [3.0.0]
@@ -1020,7 +1041,7 @@ functions that do different validations
10201041
* New Feature `FormBuilderValidators` comes with common validation functionality options such as:
10211042
required, min, max, minLength, maxLength, email, url, credit card etc.
10221043
* Added `valueTransformer` - transforms field value before saving to the final form value
1023-
* Added requested `onChanged` value notifier event on fields. Closes [#45](https://github.com/danvick/flutter_form_builder/issues/45)
1044+
* Added requested `onChanged` value notifier event on fields. Closes [#45](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/45)
10241045
* Prevent duplicate `attribute` names in fields - assertion
10251046
* **Breaking changes:**
10261047
* `FormBuilderInputOption` becomes `FormBuilderFieldOption`
@@ -1067,7 +1088,7 @@ Access form state using a `GlobalKey<FormBilderState>`
10671088
## [1.5.0]
10681089

10691090
* Now using `datetime_picker_formfield` plugin from pub for DatePicker and TimePicker.
1070-
Should close [#33](https://github.com/danvick/flutter_form_builder/issues/33)
1091+
Should close [#33](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/33)
10711092
* Added new `FormBuilderInput` - DateTimePicker
10721093
* **Breaking change**: DatePicker, TimePicker & DateTimePicker now return an object of
10731094
type `DateTime` instead of `String`
@@ -1077,8 +1098,8 @@ type `DateTime` instead of `String`
10771098

10781099
* The entire form or individual controls can now be made readonly by making `readonly` property
10791100
to `true`. Default value is `false`.
1080-
Closes [#11](https://github.com/danvick/flutter_form_builder/issues/11) and
1081-
[#16](https://github.com/danvick/flutter_form_builder/issues/16)
1101+
Closes [#11](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/11) and
1102+
[#16](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/16)
10821103

10831104
## [1.3.5]
10841105

@@ -1090,7 +1111,7 @@ Bug fix: Imported `dart:async` for use of `Future`s to be compatible with Dart <
10901111

10911112
## [1.3.3]
10921113

1093-
* Updated `flutter_typeahead` version. Closes [#15](https://github.com/danvick/flutter_form_builder/issues/15)
1114+
* Updated `flutter_typeahead` version. Closes [#15](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/15)
10941115

10951116
## [1.3.2]
10961117

@@ -1102,7 +1123,7 @@ Bug fix: Imported `dart:async` for use of `Future`s to be compatible with Dart <
11021123
* Moved ChipsInput into own library on pub.dartlang.org,
11031124
check it out [here](https://pub.dartlang.org/packages/flutter_chips_input)
11041125
* Updated example code to include proper use of Form's `onChanged` function after update.
1105-
Closes [#8](https://github.com/danvick/flutter_form_builder/issues/8)
1126+
Closes [#8](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/8)
11061127

11071128
## [1.3.0]
11081129

@@ -1147,7 +1168,7 @@ Closes [#8](https://github.com/danvick/flutter_form_builder/issues/8)
11471168
* Added resetButton
11481169

11491170
### Fixes
1150-
* Fixed bug where `TYPE_TEXT` validates as `TYPE_EMAIL` - Closes [#1](https://github.com/danvick/flutter_form_builder/issues/1)
1171+
* Fixed bug where `TYPE_TEXT` validates as `TYPE_EMAIL` - Closes [#1](https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues/1)
11511172
* Fixed initial value setting `FormBuilderInput.checkboxList()`
11521173

11531174
### Breaking Changes

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,20 @@ class _ClearFormBuilderTextFieldState
407407
}
408408
```
409409

410+
## Migrations
411+
412+
### v9 to v10
413+
414+
- Remove `invalidateField` and `invalidateFirstField` methods from FormBuilderState. Use `fields[name]?.invalidate(errorText)` and `fields.first.invalidate(errorText)` instead
415+
- [FormBuilderTextField] Deprecate canRequestFocus property. Use `FocusNode.canRequestFocus.` instead
416+
- Assert on FormBuilderField.decoration.enabled property. Use FormBuilderField.enabled instead
417+
- Easy way! Only need execute `dart fix --apply` on your project.
418+
- Rename FormBuilderChoiceChip to FormBuilderChoiceChips.
419+
- Rename FormBuilderFilterChip to FormBuilderFilterChips.
420+
- [FormBuilderFilterChip] Remove maxChips property.
421+
- [FormBuilderDateTimePicker] Remove resetIcon property.
422+
- [FormBuilder] Remove onPopInvoked property.
423+
410424
## Support
411425

412426
### Contribute

example/pubspec.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ packages:
6060
path: ".."
6161
relative: true
6262
source: path
63-
version: "10.0.0-dev.2"
63+
version: "10.0.0-dev.3"
6464
flutter_lints:
6565
dependency: "direct dev"
6666
description:

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_form_builder
22
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.
3-
version: 10.0.0-dev.2
3+
version: 10.0.0-dev.3
44
repository: https://github.com/flutter-form-builder-ecosystem/flutter_form_builder
55
issue_tracker: https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/issues
66
homepage: https://github.com/flutter-form-builder-ecosystem

0 commit comments

Comments
 (0)