Skip to content

Latest commit

 

History

History
2680 lines (1308 loc) · 152 KB

CHANGELOG.md

File metadata and controls

2680 lines (1308 loc) · 152 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

5.10.11 (2021-01-02)

Bug Fixes

5.10.10 (2020-12-20)

Bug Fixes

5.10.9 (2020-12-14)

Reverts

  • core: take account of parent disable state on init (0e0980a), closes #2624

5.10.8 (2020-12-11)

Bug Fixes

5.10.7 (2020-12-08)

Bug Fixes

5.10.6 (2020-10-31)

Bug Fixes

5.10.5 (2020-10-25)

Bug Fixes

  • core: avoid creation a dummy field for nested key (#2560) (0b9caa4), closes #2547
  • core: avoid overriding accessor by property (#2559) (deefd4e), closes #2552
  • material: prevent scroll on focus for radio and checkbox (#2562) (fd0ccd2)

5.10.4 (2020-10-17)

Bug Fixes

  • core: assign validator for field with empty key (#2544) (116e454)
  • support disable a specific select/radio option (#2543) (6159cb0), closes #2532

5.10.3 (2020-10-03)

Bug Fixes

  • core: clear validation cache on fields input change (#2527) (5ef8c67), closes #2524
  • core: supports array notation in expression property (#2526) (485bc32), closes #2525

5.10.2 (2020-09-26)

Bug Fixes

5.10.1 (2020-09-04)

Bug Fixes

  • core: apply defaultValue for array when resetFieldOnHide enabled (#2488) (4049e00)

5.10.0 (2020-08-30)

Bug Fixes

  • core: avoid memory leakes for internal componentRefs (#2474) (e3d29e5)
  • core: share formControl for array field when key is duplicated (#2422) (8e461f4), closes #2420
  • json-schema: avoid rely on default value for select oneOf item (#2431) (1c182bf), closes #2429
  • json-schema: avoid reset on hide during the build step (#2426) (07fb1f6), closes #2420
  • json-schema: support nested oneOf (#2428) (085f32c), closes #2403
  • json-schema: take account of passing float to multipleOf validation (#2441) (f0ba4be), closes #2435
  • material: apply a11y for validation messages (#2464) (c35a73b)
  • material: remove empty mat-prefix and mat-suffix (#2444) (108fe95), closes #2443
  • schematics: update angular-devkit deps (#2413) (6e232e1)

Features

5.9.3 (2020-07-26)

Bug Fixes

5.9.2 (2020-07-24)

Bug Fixes

5.9.1 (2020-07-20)

Bug Fixes

5.9.0 (2020-07-14)

Bug Fixes

  • core: avoid unnecessary valueChanges on add/remove field array (#2361) (26370ce), closes #2355
  • material: rely on checkbox change input instead of formly attr (#2356) (eaa66ed), closes #2353
  • material: revert required behavior for checkbox (#2358) (3c08c38), closes #2349
  • schematics: include ng-zorro-antd in uiTheme schema.json (ffad0db), closes #2333

Features

  • core: allow passing number or array to field key (#2359) (edf7f27), closes #2344
  • core: emit expressionChanges event through fieldChanges option (#2357) (5d19b9f), closes #2350

5.8.0 (2020-06-29)

Bug Fixes

  • core: ensure change event is called after the formControl change (#2336) (051480d), closes #2324
  • schematics: add ng-zorro-antd to ui-theme option (#2337) (e2274a7), closes #2333

Features

  • bootstrap: support checkbox without label (#2339) (989dec0), closes #2313
  • core: support attach error to specific field from a validator (#2342) (d8b612d), closes #2332
  • ionic: add Names && ShortNames inputs for datetime picker (#2338) (2e74cb3), closes #2331
  • material: add monthSelected && yearSelected outputs for datepicker (#2340) (f1f0cc9), closes #2308

5.7.2 (2020-06-20)

Bug Fixes

  • core: allow Observable for validation.messages property (#2297) (af6ecf8)
  • core: provide more details on missing type declaration (#2320) (c98b242), closes #2305
  • material: use false for input static query (#2319) (cd53629), closes #2314

5.7.1 (2020-06-03)

Bug Fixes

5.7.0 (2020-06-01)

Bug Fixes

  • schematics: rely sourceRoot to get the project path (#2292) (46885e9), closes #2291

Features

  • bootstrap: support switch style checkboxes (#2263) (5b1a771), closes #2257
  • core: add an alternative way for passing parameters to validation (#2269) (0295bd9), closes #1828
  • core: allow nullable value for group type (#2267) (a34d384), closes #2265
  • core: allow onInit/afterView/afterContent to return observables (#2242) (f91637e), closes #1986
  • core: deprecate doCheck, afterContent and afterView Checked hooks (#2245) (aea28e1)
  • core: support passing observable for validation message (#2241) (a53a737), closes #2214
  • core: support validations for fieldGroup with empty key (#2271) (ffe7df0), closes #2059 #2255
  • ionic: add compareWith input for select type (#2277) (7ef2b8e), closes #2275
  • material: add missing mat-datepicker inputs to datepickerOptions (#2274) (4003729), closes #2221

5.6.2 (2020-05-21)

Bug Fixes

  • material: take account of disabled state for multicheckbox type (#2225) (741df7a), closes #2224
  • material: take account of radio button focus on page load (#2249) (35602e5), closes #2248

5.6.1 (2020-04-30)

Bug Fixes

  • core: resubscribe to expr prop when re-rendering the field (#2216) (1269f57), closes #2214
  • ionic: allow async options for ion-select (#2202) (7a3247d)
  • material: make sure required attribute is present in mat types (#2213) (89ea2ac), closes #2212

5.6.0 (2020-04-22)

Bug Fixes

  • core: ensure field is not empty when calling hooks (#2198) (7019161), closes #1864
  • core: fix OnPush FieldTypes not being change detected (#2192) (3234118)
  • core: support Content-Security-Policy header script-src 's… (#2199) (23edc3e), closes #2157
  • json-schema: take acocunt of total matched oneOf props (#2196) (9367216), closes #2195
  • schematics: remove comments in collection.json (#2178) (5514f59)

Features

  • bootstrap: support custom-inline for radio/checkbox (#2133) (8b46f95), closes #2103
  • core: add safeHtml opt to bypass sanitizing template HTML… (#2090) (bbd7009), closes #2039
  • core: all Add/Remove field array without triggering form… (#2087) (a96cae6), closes #2044
  • ionic: add missing properties to datetime type (#2141) (56705dc)
  • material: add dateInput and dateChange options to datepic… (#2132) (666e960), closes #2127
  • material: mat-slide-toggle color support (#2186) (3e3b121)
  • material: mat-slider thumbLabel support (#2190) (6266881)

5.5.15 (2020-03-17)

Bug Fixes

  • core: allow using FieldArray without a key (#2142) (32a3a9d)
  • core: ensure showError option return a boolean value (#2146) (0ed6f9a), closes #2144
  • primeng: change class ui-messages-error to ui-message-error (#2136) (1b41aaa), closes #2135

5.5.14 (2020-03-06)

Bug Fixes

5.5.13 (2020-02-20)

Bug Fixes

  • core: emit statusChanges on updateValueAndValidity (#2107) (7deac1a), closes #2106
  • material: handle undefined color palette for checkbox (#2109) (8998b61), closes #2101

5.5.12 (2020-02-12)

Bug Fixes

  • core: ensure UI is in sync when using custom checkExpressi… (#2097) (80c2f7b), closes #2095
  • core: take account of passing observable to model expr (#2096) (4bf1445), closes #2094
  • core: take account of the emitted modelChange value as mod… (#2098) (ad99519), closes #2093

Performance Improvements

  • core: reduce form _updateTreeValidity calls (#2078) (dad2ef6)

5.5.11 (2020-02-03)

Bug Fixes

  • bootstrap: rely on accessor to select empty option (#2047) (890c5aa), closes #2043
  • core: avoid using includes for IE compatibility (#2062) (1f9b0ae), closes #2058
  • core: create field type instance for each formly-field com… (#2068) (ecc632d), closes #2060 #2065 #2045
  • core: detach the rendered field from the destroyed wrapper… (#2073) (cca863e)
  • core: detect expression changes on submit (#2046) (9947906), closes #1845
  • core: detect observable expression changes when using OnPush CD (#2051) (960ee42), closes #2050
  • core: ensure wrapProperty fn is removed after unsubscribe (#2067) (ef77b49), closes #2066
  • core: keep order of value subscriptions consistent on rebu… (#2063) (d667122), closes #2061
  • core: set id attr to the first formlyAttributes elements only (ed3ea3c)
  • core: use id @Input when is set instead of field id (dfda03b), closes #2071
  • material: remove textarea autosize attributes when disabled (#2052) (80e7c14), closes #2042

Performance Improvements

  • core: reduce number of created components during the buil… (#2069) (f371aad)

5.5.10 (2020-01-20)

Bug Fixes

  • core: improve detect changes of formly-field host binding (#2033) (47fe101), closes #2031
  • material: allow overriding tabindex on mat-radio-group (#2034) (4f397ae), closes #2032

5.5.9 (2020-01-13)

Bug Fixes

  • core: avoid re-use the removed controls of fieldArray (ce02649)
  • core: rely on ngZone to detect changes instead of changeDe… (#2027) (2e838a0), closes #2018
  • core: take account of custom formControl value changes (#2017) (c8dacb5), closes #2016
  • core: update validity of detached field control (503e793)
  • json-schema: ensure default value is applied on switch oneOf schema (f04cdde)

Performance Improvements

  • bootstrap: improve render time of long list for select ty… (#2023) (cd198f3), closes #2022

5.5.8 (2020-01-06)

Bug Fixes

  • core: avoid touching hidden field control on re-build (#1989) (f982c32), closes #1987
  • core: detect changes before emitting modelChange (#2001) (73e1651)
  • core: eval expressions after reset is fully processed (#1998) (2f785e0)
  • core: ignore removed controls on reset (#1997) (0d76f50)
  • core: improve handling validation of hidden fields (#2008) (298a152)
  • core: reduce the amount of emitted valueChanges event (#1990) (b940a8e), closes #1970
  • core: render template type when used in expressionProperti… (#2010) (796547a)
  • json-schema: assign default value when the field is shown (#2006) (fb65684), closes #1995
  • json-schema: enable autclear for extended schema with oneOf (#2014) (a92c88f)
  • json-schema: rely on initialModel to resolve oneOf schema (#2009) (8ce506b)
  • material: take account of min/max and step attr for slider type (#2015) (3476948)

Performance Improvements

  • core: reduce the emitted modelChange events (#1999) (b7567a1)
  • core: reduce the registered formlyAttributes event listen… (#1992) (e1ef87e), closes #1991
  • core: use OnPush change detection on FormlyValidationMess… (#1996) (70ffd5d)

5.5.7 (2019-12-17)

Bug Fixes

  • bootstrap: add missing compareWith input to the select type (#1978) (14f9964), closes #1974
  • core: check expressions before emitting modelChange (#1977) (510570e)
  • core: fix max calls error when dealing with sync valueChanges (#1973) (f685d3b)
  • ionic: add missing dialog text inputs (#1979) (95b0815), closes #1963
  • json-schema: take account of model value on resolve oneOf schema (#1968) (0330789), closes #1957
  • material: avoid unnecessary focus when Radio Button is selected (0665700), closes #1969
  • material: disable tabindex for MatRadioGroup element (26bea8f), closes #1969

5.5.6 (2019-11-20)

Bug Fixes

5.5.5 (2019-11-18)

Bug Fixes

5.5.4 (2019-11-10)

Bug Fixes

  • core: emit a valid model when using array notation key in group (#1910) (e4cd721), closes #1857
  • core: ignore default debounce when using updateOn blur/submit (#1903) (2d73fb9), closes #1898
  • core: include field without key on hide changed programmatically (#1904) (39a9051)
  • core: skip detectChanges call on first render (#1905) (24396a3), closes #1900

5.5.3 (2019-11-01)

Bug Fixes

  • core: ensure the first render is called after onInit (#1881) (73f0316)
  • core: set static flag to false for ivy support (#1893) (9a63c3e)
  • core: toggle control when hide changed programmatically (#1888) (fdb1cbe), closes #1817 #1742
  • core: update form validity when changing built-in validations (#1887) (fb8485d), closes #1493

5.5.2 (2019-10-29)

Bug Fixes

  • core: change the check File instance for SSR compatibility (#1865) (7883f1a), closes #1864
  • core: clone initialModel during reset model (#1874) (e706cf8), closes #1872
  • core: ensure array notation for key emit a valid model (#1859) (0b3ab37), closes #1857
  • core: ensure the validation calls occurs only once during build (#1866) (770bea9), closes #1754
  • core: support resolving non static fieldComponent query (#1878) (ac7e9a2), closes #1868
  • core: toggle controls of the hidden fields before the visible ones (#1875) (d35460e), closes #1700
  • ionic: add missing export of ionFormlyAttributes (#1880) (679ee10), closes #1879
  • json-schema: use multi-select to handle anyOf schema (eb71a68)
  • material: avoid using deprecated underlineRef (#1860) (807218f)
  • material: support selectAll in multiselect with group (#1867) (f5625ea), closes #1852
  • make FormlyModule ModuleWithProviders generic for ng9 support (#1854) (dbb860d)

5.5.1 (2019-10-15)

Bug Fixes

  • core: add warn when using legacy select option (#1840) (bf2448d)
  • core: apply sync value only when key is duplicated (#1837) (4a34464)
  • core: merge existing options when replacing a field type (#1838) (177c4f4), closes #1836

5.5.0 (2019-10-09)

Bug Fixes

Features

  • core: deprecate passing content inside the 'formly-form' tag (#1826) (0f168f7)
  • core: deprecate passing immutable attr to formly-form component (#1827) (61f9391)
  • core: mark the form array dirty on Add/Remove (#1824) (92bb6d7), closes #1679
  • ionic: allow customize lines (#1809) (94dd5cc), closes #1732
  • json-schema: add const validator (#1825) (4607b1c)
  • json-schema: add support for adding custom labels to enum (#1802) (a96c8fe)
  • json-schema: add support for uniqueItems (#1812) (9164c74)
  • json-schema: partial support of anyOf/oneOf keyword (#1811) (d60e0f5)
  • json-schema: support multiselect type (#1813) (371723e)

5.4.3 (2019-09-20)

Bug Fixes

  • core: better clone for File and moment.js instance (#1789) (d810035), closes #1788
  • core: skip _markForCheck call during init (#1792) (718920a)
  • json-schema: set nullable string type to null if empty (#1787) (8d4985b)

5.4.2 (2019-09-16)

Bug Fixes

  • core: allow nullable value for array type (#1780) (d8f5f61), closes #1764
  • core: avoid checking parent field on eval hide expression (#1749) (087523b), closes #1700
  • json-schema: guess nullable and single array type (#1781) (dabf2a6), closes #1777
  • json-schema: set valid fieldArray when additionalItems is empty (#1784) (4413193), closes #1777
  • material: ensure showing datepicker icon when OnPush enabled (#1767) (6ef3e57), closes #1766
  • material: use passed aria-labelledby attr for select type (#1748) (b8f1834), closes #1746

5.4.1 (2019-08-26)

Bug Fixes

  • core: avoid removing the wrong formControl instance on hide (#1741) (9a68aaf), closes #1700
  • material: enable static query for formFieldControl (#1740) (512befe)
  • material: enable static query for MatFormField (#1733) (038c22d)

5.4.0 (2019-08-19)

Bug Fixes

Features

5.3.0 (2019-07-24)

Bug Fixes

  • core: add warn for missing static flag for @ViewChild (#1673) (b0972a2), closes #1633
  • core: avoid assigning defaultValue by reference (#1687) (4ac1fe3), closes #1684
  • core: override existing form group instance on re-build (#1680) (8ddffee), closes #1677
  • json-schema: handle passing empty value for number type (#1657) (070f558)

Features

5.2.0 (2019-07-08)

Bug Fixes

  • bootstrap: select empty option when value is null (#1652) (50a1138), closes #1625
  • core: restore support component-level injectors for types (#1651) (165ac75), closes #1622
  • material: avoid handling focus for selected radio option (#1648) (44535ac), closes #1631
  • material: remove duplicated change event listener (#1649) (d28f7a8), closes #1644

Features

  • core: take account of enumerable getter on clone (#1637) (66239d9)

5.1.9 (2019-06-04)

Bug Fixes

  • material: multi-select when passing observable data (#1614) (e74bd4e)

5.1.8 (2019-05-31)

Bug Fixes

  • core: avoid rerender on model change with immutable mode (#1610) (16fc39e), closes #1429

5.1.7 (2019-05-28)

Bug Fixes

5.1.6 (2019-05-24)

Bug Fixes

5.1.5 (2019-05-20)

Bug Fixes

  • core: rely on option componentFactoryResolver for wrapper (#1590) (7c8fc00)

5.1.4 (2019-05-13)

Bug Fixes

5.1.3 (2019-05-07)

Bug Fixes

5.1.2 (2019-05-06)

Bug Fixes

5.1.1 (2019-05-03)

Bug Fixes

  • core: allow passing a non array to the validation property (#1575) (3cdc8fa), closes #1573

5.1.0 (2019-04-28)

Features

  • core: add field arg to hideExpression and expressionProperties (#1544) (24998ad), closes #704
  • core: deprecate usage of this.field in expressionProperties (#1550) (b6172b4)
  • material: add disableOptionCentering support for mat-select (#1545) (9c655c6)
  • material: add select all option to multiselect (#1552) (144f5fa)
  • material: adds datepicker toggle positioning support (#1560) (63698b3)

5.0.4 (2019-04-17)

Bug Fixes

Reverts

5.0.3 (2019-04-15)

Bug Fixes

5.0.2 (2019-04-08)

Bug Fixes

  • material: add errorStateMatcher to autocomplete example (#1517) (4606db9)
  • material: add FieldType set value (#1515) (93268e4)
  • material: add missing attrs to native-select (#1514) (8200078)

5.0.1 (2019-04-03)

Bug Fixes

Performance Improvements

  • core: avoid mixin string and number for KeyPath (dffe082)
  • core: avoid recursive calls for assignModelValue (63310d2)
  • core: avoid using unnecessary rxjs operators (#1499) (cc59fcf)
  • core: check date type using instanceof (2d108db)
  • core: reduce regex calls for getKeyPath (#1501) (9e78c04)
  • core: rely on push instead of spread operaror (4c363b2)
  • core: skip fieldParentFormControl call when field has parent (#1500) (f5de20b)
  • core: updateValidity only when validators/asyncValidator change (#1504) (57a2087)
  • core: use for-of instead of while for getFieldValue (a9841fb)

5.0.0 (2019-03-23)

To upgrade from 4.0 to 5.0 see UPGRADE-5.0

5.0.0-rc.12 (2019-03-17)

Bug Fixes

  • material: assign formly formField to MatDatepickerInput (#1471) (c22b751)

Features

  • core: deep merge widget prop & add map callback (#1467) (cdb33bb)

5.0.0-rc.11 (2019-03-07)

Bug Fixes

  • core: pass a valid key for nested json-schema prop (#1462) (dabe153)

Features

  • core: allow enable immutable mode through NgModule config (#1460) (07438b2)

5.0.0-rc.10 (2019-03-06)

Bug Fixes

5.0.0-rc.9 (2019-03-03)

Bug Fixes

  • core: ensure repeat form is in sync with the model val (#1451) (77feb5b), closes #1450

5.0.0-rc.8 (2019-02-26)

Bug Fixes

5.0.0-rc.7 (2019-02-22)

Bug Fixes

5.0.0-rc.6 (2019-02-21)

Bug Fixes

  • core: fix memory leak when using immutable attr (#1434) (0885836)

5.0.0-rc.5 (2019-02-19)

Bug Fixes

Features

5.0.0-rc.4 (2019-02-18)

Bug Fixes

5.0.0-rc.3 (2019-02-15)

Bug Fixes

  • core: display async validation message for OnPush CD (#1419) (344b697), closes #1417
  • core: improve managing focus with expressionProperties (#1421) (405d8cc), closes #1413

Features

  • core: mark builder optional for FieldArrayType (#1418) (692f84e)

5.0.0-rc.0 (2019-02-07)

To upgrade from 4.0 to 5.0 see UPGRADE-5.0

5.0.0-beta.24 (2019-02-03)

Features

  • bootstrap: add inline support for multicheckboxe and radio (#1407) (31a5784), closes #1400

5.0.0-beta.23 (2019-01-20)

Features

5.0.0-beta.22 (2019-01-17)

Bug Fixes

  • material: add readonly and tabindex to number input (#1383) (8c6fee7)
  • material: remove duplicated readonly prop (#1372) (34eccf5)

Features

  • bootstrap: add addons to select (#1381) (2479091), closes #1380
  • ionic: emit int value for number input type (008a50c)
  • kendo: emit int value for number input type (f53eaa5)
  • primeng: emit int value for number input type (a088477)

5.0.0-beta.21 (2018-12-28)

Bug Fixes

  • core: create new component instance when hostView is destroyed (#1343) (f603676)

Features

  • move defaultOptions to FieldType declaration (#1345) (dbc9ae2)

5.0.0-beta.20 (2018-12-13)

Bug Fixes

5.0.0-beta.19 (2018-12-06)

Bug Fixes

  • core: ensure init options during buildForm (#1333) (ee958c1)

Features

  • core: deprecate manipulators in favor of extensions (#1332) (d8ec692)

5.0.0-beta.18 (2018-12-03)

Bug Fixes

  • core: use Renderer2 instead of HostBinding (7d1cc2c)

Features

  • material: warn missing FieldType for a custom field type (031f704)

5.0.0-beta.17 (2018-11-24)

Bug Fixes

Features

5.0.0-beta.16 (2018-11-13)

Bug Fixes

  • material: fallback to default tabindex value (#1282) (588be37), closes #1281
  • material: use readonly input instead of formly-attributes (#1279) (5c1bce7)

Features

5.0.0-beta.15 (2018-11-04)

Bug Fixes

  • core: ensure setting active injector in child module (#1268) (84e7b71), closes #1240

Features

Performance Improvements

5.0.0-beta.14 (2018-11-03)

Bug Fixes

  • core: ensure validation error is displayed while enabling onpush CD (#1266) (7984729), closes #1262
  • core: ignore clone SafeHtmlImpl value (#1257) (a7c018b), closes #1254
  • material: fallback to field.type for custom FieldControlType (#1261) (6a116f7)
  • material: set select aria-labelledby to avoid ExpressionCheck Error (#1265) (41fae5c), closes #1251

Features

5.0.0-beta.13 (2018-10-25)

Bug Fixes

  • core: ignore cached expression value during buildForm (#1252) (15995af), closes #1250
  • core: take account of deprecated FormlyField inputs changes (#1242) (3f22da8), closes #1241

Features

  • core: set peerDependency to angular >=7.0 (#1247) (413be23)

5.0.0-beta.12 (2018-10-15)

Features

  • core: add form alias to the field object (#1226) (053d72f)
  • core: allow passing disabled prop for select options (039a693)

5.0.0-beta.11 (2018-10-01)

Bug Fixes

  • bootstrap: take account of checked options for multicheckbox (#1213) (7484599), closes #1212

Features

  • allow passing array value for multicheckbox (#1214) (609eb39)

5.0.0-beta.10 (2018-09-29)

Features

  • allow passing observable for multicheckbox (#1209) (d370959)
  • core: deprecated createControl method in favor of prePopulate (#1210) (86ee2b0)

5.0.0-beta.9 (2018-09-23)

Bug Fixes

  • bootstrap: get correct radio value through queryselector (#1190) (a673ba7), closes #1187

Features

  • bootstrap: use ngValue for option with 'null' for placeholder (#1182) (d10a62b), closes #1169
  • core: deprecated lifecycle option in favor of 'hooks' (#1192) (891532b)

5.0.0-beta.8 (2018-09-12)

Bug Fixes

  • core: pass field props to lifeCycleHooks (#1174) (f944bdb)
  • material: avoid define hidden prop in field templateOptions (#1175) (c8a3e37)

5.0.0-beta.7 (2018-09-12)

Bug Fixes

  • material: make sure input type number emits the correct value (#1172) (e2fbee4)

Features

  • core: deprecate passing options and form input to FormlyField (#1173) (724f594)

5.0.0-beta.6 (2018-09-06)

Bug Fixes

  • core: move init field validation to onPopulate hook (#1164) (cc278b5)

Features

  • core: set peerDependency to angular >=6.1 (#1165) (67d4509)

BREAKING CHANGES

  • core: The library is now using Angular 6.1 and Typescript 2.9.2

5.0.0-beta.5 (2018-08-31)

Bug Fixes

Features

  • core: add core extension (9ed88ae)
  • core: add FieldForm extension (b87f7fe)
  • core: add FieldValidation extension (21312bf)
  • core: delegate field lifecycle to its component (fcccc95)
  • core: deprecate fieldTransform in favor of custom extension (3d50d96)
  • core: pass root field in extension hooks (#1153) (c16c007)

5.0.0-beta.4 (2018-08-27)

Bug Fixes

  • bootstrap: rely on control value for indeterminate checkbox state (ad50e11), closes #1143

Features

  • core: move template render into separate field-type (dccf8e2)

5.0.0-beta.3 (2018-08-19)

Bug Fixes

  • core: hide internal component from public interface (1f7404b)
  • kendo: use KENDO prefix in config name (#1128) (7b6511a)
  • material: add missing id for toggle, slider and datepicker (4569e86)

Features

  • core: take account of templateOptions attributes changes (39bd41c), closes #1132
  • ionic: extended v4 support (952bca6)

5.0.0-beta.2 (2018-08-11)

Bug Fixes

  • core: page flicker on fieldArray changes (#1110) (544e25d)

Features

5.0.0-beta.1 (2018-08-08)

Bug Fixes

  • core: init fieldArray during assignModelToFields (#1105) (cd2e92b)

Features

5.0.0-beta.0 (2018-08-05)

To upgrade from 4.0 to 5.0 see UPGRADE-5.0

Bug Fixes

  • core: allow false value for legacy select-option (5e48376)
  • core: apply init fields type for fieldArray (1832532)
  • core: ensure init fieldArray even if fieldGroup is not set (b815e91)
  • core: restore FormlyFormBuilder & FormlyConfig to forRoot module (a3b26ca)
  • core: update formcontrol validators when fields change (63d325b), closes #1059
  • demo: fixed material autocomplete stackblitz example (33f6994), closes #1062

Features

  • material: move multicheckbox into a separate module (fa49c0a)
  • add nativescript support (5898186)
  • bootstrap: introduce form-field wrapper (d73c382)
  • bootstrap: remove bootstrap v3 support (450882d), closes #679
  • bootstrap: remove deprecated wrappers (fabb373)
  • core: add access to the parent field from children (48a70d7), closes #764
  • core: add reset action in FieldArrayType (db30fc3), closes #1076
  • core: allow passing nested key in fieldGroup (d90ecb8)
  • core: allow passing observable in expressionProperties (258d103), closes #1031
  • core: apply disabled status to fieldGroup items (6f503b9), closes #844
  • core: initial work for JSON Schema implementation (b2767f4), closes #1056
  • core: move formlySelectOptions pipe to core (512caf7)
  • core: remove deprecated fieldForm input in FormlyValidationMessage (fe7bda3)
  • core: remove lifecycle hooks in FieldType (c431a14)
  • core: support attr binding in formlyAttributes (4fa306f), closes #1066
  • core: use the new providedIn with better lazyload support (4325e40)
  • material: move textarea into a separate module (6bb9e09)
  • schematics: add nativescript (91d42df)
  • allow passing observable for radio options (10ae8af)
  • migrate from ionic-angular to @ionic/angular (0b48dca)

BREAKING CHANGES

4.7.2 (2018-08-07)

Bug Fixes

  • bootstrap: ensure using angular multi-select selector (5bc50c8), closes #1094

4.7.1 (2018-08-01)

Bug Fixes

  • core: avoid setting wrapper while init type-config (0371180)

4.7.0 (2018-08-01)

Features

  • bootstrap: deprecate all wrappers in favor of form-field (03c7e4b)
  • bootstrap: introduce form-field wrapper (8a276fb)

4.6.6 (2018-07-20)

  • core: Revert "perf(core): check expression change only when expression is set"

4.6.5 (2018-07-18)

Bug Fixes

  • core: avoid merging array in reverseDeepMerge (1ab4e11)
  • core: init fields options before assignModelToFields (9a322e6)

4.6.4 (2018-07-12)

Performance Improvements

  • core: check expression change only when expression is set (f30ac9a)

4.6.3 (2018-06-28)

Bug Fixes

  • material: ensure focus field elm on container click (b5f195b)

4.6.2 (2018-06-27)

Bug Fixes

  • core: remove passing model value to FormGroup (#1021) (f0f7e2c)

4.6.1 (2018-06-27)

Bug Fixes

  • core: ensure passing a valid model for FormGroup instance (f512ebb), closes #1019

4.6.0 (2018-06-27)

Features

  • bootstrap: allow passing function for labelProp and valueProp (9a658a4)
  • material: allow passing function for labelProp and valueProp (667ac50), closes #982
  • material: support compareWith input for select type (2f17694), closes #982

4.5.0 (2018-06-21)

Features

  • core: allow specify the target of a validation error (d2105f7), closes #1007

4.4.6 (2018-06-18)

Bug Fixes

  • bootstrap: allow disabling the default templateManipulator wrappers (6a82e8b), closes #1003

4.4.5 (2018-06-18)

Bug Fixes

  • core: avoid duplicate templateManipulator wrapper during rebuild (291d214), closes #997

4.4.4 (2018-06-07)

Bug Fixes

  • core: avoid passing a number path when handling hideExpression (edabd82), closes #981

Features

4.4.3 (2018-06-06)

Bug Fixes

  • core: update field model when assigning a new model (727e7d5), closes #975

4.4.2 (2018-06-02)

Bug Fixes

  • material: recalculate the gap size after displaying field (58c3fe8)

4.4.1 (2018-06-01)

Bug Fixes

  • core: ensure tracking model change after reseting model (840661d), closes #969

4.4.0 (2018-05-30)

Features

  • material: update datepicker to support min max (1e7d92c)

4.3.0 (2018-05-25)

Features

  • material: move types into separate entry points (32671b7)

4.2.0 (2018-05-21)

Features

  • core: add updateOn to modelOptions (2f9f3a3)
  • material: allow setting custom appearance and color (69b3ae7)

4.1.0 (2018-05-18)

Features

  • add grouped select support when binding observables (0f903c7)

4.0.3 (2018-05-15)

Bug Fixes

  • core: export FormlyTemplateOptions (7953c1d), closes #950

4.0.2 (2018-05-13)

Bug Fixes

  • core: create field component before calling onInit lifecycle (b3923f2)

4.0.1 (2018-05-09)

Bug Fixes

  • core: keep Observable value in clone (bcb4bb4)

4.0.0 (2018-05-06)

Features

  • add angular & rxjs 6.0 support (00587d0)

3.1.0 (2018-05-06)

Bug Fixes

  • core: ensure using a valid formcontrol in FieldArrayType:add (90d7cf7)

3.0.3 (2018-05-04)

Bug Fixes

  • core: move building pre/post wrapper into FormBuilder (#938) (711e418), closes #925
  • material: avoid using deprecated align input for checkbox (#937) (6ab6109)

3.0.2 (2018-05-03)

Bug Fixes

  • core: ensure parsers is working again (#933) (3a3e478)

3.0.1 (2018-05-02)

Bug Fixes

  • core: allow using validation with custom validator (#928) (116c6ec), closes #926

3.0.0 (2018-04-28)

Features

  • core: deprecate passing 'fieldForm' in formly-validation-message (bfd014e)

3.0.0-alpha.2 (2018-04-26)

Features

  • core: allow access to the model from the field (b5034f2)
  • core: move createControl FieldArrayType to core (883a63c), closes #909

BREAKING CHANGES

  • core: createControl in FieldArrayType has been removed

3.0.0-alpha.1 (2018-04-23)

Bug Fixes

  • material: use default entryFile (9032911)

Features

  • core: remove deprecated 'field.' path in expressionProperties (b23e546)
  • core: remove passing formControl for formlyAttributes events (4d4f894)
  • material: remove deprecated floatPlaceholder (3a57aca)
  • material: remove deprecated focusMonitor method (8c09639)

BREAKING CHANGES

  • core: Passing formControl as a second argument for (focus, blur, keyup, keydown, click, change, keypress) events is removed rely on field.formControl instead.

    Before:

    keypress: (field, formControl) => { console.log(formControl.value); },

    After:

    keypress: (field, event) => { console.log(field.formControl.value); },
  • core: Using field.prop path in expressionProperties is removed, use prop instead.

    Before:

    expressionProperties = {
      'field.className': ...
    }

    After:

    expressionProperties = {
      'className': ...
    }
  • material: FormlyWrapperFormField::focusMonitor is removed

  • material: the deprecated floatPlaceholder option is replaced by floatLabel

    Before:

    templateOptions: {
      floatPlaceholder: ...
    }

    After:

    templateOptions: {
      floatLabel: ...
    }

3.0.0-alpha.0 (2018-04-21)

Features

  • core: move managing lifeCycle hooks to formly-field component (#872) (40a6e6c), closes #643
  • core: remove formControl input in FormlyAttributes (#862) (5c41bdc), closes #642
  • core: use rxjs lettable operators. (#857) (a2e79bd)
  • ionic: initial work for ui-ionic support (#659) (31d732b)
  • initial work for kendo support (#897) (df6551d), closes #599
  • initial work for primeng support (#887) (40ca63f)
  • material: add auto-Complete type example (273447b), closes #615
  • material: add slider type (70019ca)
  • material: add toggle type (7a39efc)
  • material: implement DatePicker type (#873) (b5b5c18), closes #614

BREAKING CHANGES

  • core: formControl has been removed in [formlyAttributes] directive.
  • core: droped Angular 4 support + rxjs version should >= 5.5.8

2.1.1 (2018-04-21)

2.1.0 (2018-04-21)

Features

  • core: pass field instance into ValidatorOption callback (#898) (0233d41)

2.0.1 (2018-04-18)

Bug Fixes

  • core: do not force using FormGroup when FieldArray is set. (#894) (cb16156), closes #890

2.0.0 (2018-04-15)

To upgrade from ng-formly to @ngx-formly/core see UPGRADE-2.0

2.0.0-rc.55 (2018-04-11)

Bug Fixes

  • bootstrap: apply border radius for input when using addons (#882) (cc3b168), closes #656
  • core: take account of hidden fields when reseting model. (#883) (2eeae7a), closes #881
  • core: use Field instead FormlyFieldConfig in showError (#878) (f84252e), closes #877

2.0.0-rc.54 (2018-04-07)

Features

  • core: pass event instead of formControl to FormlyAttributes events. (#870) (2bcc875), closes #867

Deprecations

  • Passing formControl as a second argument for (focus, blur, keyup, keydown, click, change, keypress) events is deprecated and it will be removed in the 3.0 version, use field.formControl instead.

    Before:

    keypress: (field, formControl) => { console.log(formControl.value); },

    After:

    keypress: (field) => { console.log(field.formControl.value); },
  • Using field.prop path in expressionProperties is deprecated, use prop instead.

    Before:

    expressionProperties = {
      'field.className': ...
    }

    After:

    expressionProperties = {
      'className': ...
    }

2.0.0-rc.53 (2018-04-06)

2.0.0-rc.52 (2018-04-06)

Features

  • core: allow passing the index and the initial model for FieldArrayType::add method. (#869) (93f5eab), closes #866

2.0.0-rc.51 (2018-04-04)

Features

  • code: allow using key expression property without passing field path. (#863) (809fced)

2.0.0-rc.50 (2018-03-30)

Bug Fixes

  • core: remove hide field to force re-evalute it in FormlyFormExpression. (#852) (333af5f)
  • core: toggle disabled state when disabled property is changed. (442701d), closes #851

2.0.0-rc.49 (2018-03-27)

Bug Fixes

  • core: apply disabled status to child field when fieldGroup is set. (#847) (5ddd53a), closes #844

2.0.0-rc.48 (2018-03-27)

Bug Fixes

Features

  • core: Added ng-content to formly-group. Updated Examples to inline remove button of repeating section (#840) (2a19867)
  • docs: add validation + expression-properties section. (#836) (3f5fff0)

2.0.0-rc.47 (2018-03-25)

Bug Fixes

  • core: allow passing falsy value for hideExpression. (#833) (7469a2a), closes #832

2.0.0-rc.46 (2018-03-23)

Bug Fixes

  • core: subscribe to formcontrol when key and type are set. (#829) (eb2db0f), closes #827

2.0.0-rc.45 (2018-03-22)

Bug Fixes

  • bootstrap: always enable description + validation for templateManipulators. (#826) (edecf76)

2.0.0-rc.44 (2018-03-21)

Bug Fixes

  • core: ensure tracking model changes when using Repeating section. (33ab0a9), closes #821 #822

2.0.0-rc.43 (2018-03-17)

Bug Fixes

  • core: fallback to null for an non-existing member on model change. (e332485), closes #805

Performance Improvements

  • core: check field expression only in root component. (#811) (495eb9b)
  • core: do not emit modelChange on model-input change. (20cc4b9)

2.0.0-rc.42 (2018-03-16)

Bug Fixes

  • core: move tracking model change to root component. (#809) (0410653), closes #805

Performance Improvements

  • core: avoid calling setControl if control already exist in form. (#810) (8898389)

2.0.0-rc.41 (2018-03-14)

Bug Fixes

  • core: avoid initializing FormlyGroup twice. (#803) (28cfbd9)

2.0.0-rc.40 (2018-03-13)

Bug Fixes

  • core: addFormControl apply patchValue only for FormControl instance. (#799) (dde0c14)
  • core: call the parentForm.reset only if it match the current form. (#798) (222c3a0), closes #796
  • core: use patch method instead of reset when model change. (#797) (ed6e7ba), closes #794

2.0.0-rc.39 (2018-03-12)

Bug Fixes

2.0.0-rc.38 (2018-03-11)

Bug Fixes

  • core: change submitted state on resetForm. (#786) (426ce5b), closes #785
  • core: take account of model changes for an existent field form. (#784) (35fe7c5), closes #782
  • core: take account of model changes when fields is already builded. (#787) (73b85b4)

2.0.0-rc.37 (2018-03-09)

Bug Fixes

  • core: avoid reset parent form when resetting model. (#783) (1757193)

2.0.0-rc.36 (2018-03-08)

Bug Fixes

  • core: ensure options is initialized during build. (#779) (f7147e0), closes #774
  • core: reset model on each change (#770) (cd78b60)

Features

  • core: allow binding Observables to select options (#772) (7307e02)

2.0.0-rc.35 (2018-03-02)

Bug Fixes

2.0.0-rc.34 (2018-02-28)

Bug Fixes

  • core: set empty array as defaultValue when fieldArray is set. (#762) (2567886), closes #761

2.0.0-rc.33 (2018-02-28)

Bug Fixes

  • bootstrap: show error message when asyncValidators is set. (#759) (cb5e980), closes #757
  • demo: take account of model changes in example-viewer. (#755) (15b4c48), closes #754

2.0.0-rc.32 (2018-02-24)

Bug Fixes

  • core: rely on __build__ to check expression instead of parentFormlyForm. (#751) (886dad9), closes #745
  • core: reset FormArray when resetting model. (#750) (e37ae81), closes #648

Features

  • core: introduce FieldArrayType to simplify managing repeating fields. (#749) (90dd1da)
  • formly-form: allow passing FormArray in form input. (#748) (76938a8)

2.0.0-rc.31 (2018-02-22)

Bug Fixes

  • core: only read attributes property if templateOptions are set (#744) (0843b11)
  • FormlyFormExpression: ensure ParentFormControl is set when for check field visibility. (#743) (d8d7b27)

2.0.0-rc.30 (2018-02-21)

Bug Fixes

  • bootstrap: avoid displaying blank field in select. (#742) (c2c23ef), closes #739
  • core: ignore built-in validations only when passing false value. (#740) (f29538a), closes #729

Features

  • bootstrap, material: allow removing the required asterisk symbol. (#741) (0060633), closes #738
  • core: allow rendering extra attributes (#736) (59b0034)

2.0.0-rc.29 (2018-02-20)

Bug Fixes

  • bootstrap: don't render label when the templateOption is not set (#734) (8f30bb2)
  • FormlyFormExpression: ensure toggling formControl when key contains array syntax (#735) (58f25b7)

2.0.0-rc.28 (2018-02-19)

Bug Fixes

  • bootstrap: ensure emitting an int value for number input type. (#730) (8a30092), closes #729
  • core: ensure emitting modelChange for nested field groups. (#728) (21c3e2a)

Features

2.0.0-rc.27 (2018-02-18)

Features

  • core: add modelChange output to emit the formly model changes. (#726) (9bf5102), closes #720

2.0.0-rc.26 (2018-02-17)

Bug Fixes

  • core: assign changed model in expressionProperties into formControl. (#724) (fc3f935), closes #723

Performance Improvements

  • core: use JSON.stringify for comparing object in expressionProperties. (#725) (122a685)

2.0.0-rc.25 (2018-02-15)

Features

  • core: support using className in expressionProperties. (#721) (b96329e)

2.0.0-rc.24 (2018-02-15)

Bug Fixes

Features

  • material: allow using matPrefix/matSuffix within form-field wrapper. (#719) (97f4557), closes #715
  • material: simplify creation custom field type. (#718) (1f25587)

2.0.0-rc.23 (2018-02-12)

Bug Fixes

  • core: ensure passing a valid model in checkField expression. (#713) (688b902)

Performance Improvements

  • core: avoid check fields expression in child component. (#712) (75fd149)

2.0.0-rc.22 (2018-02-12)

Bug Fixes

  • core: ensure passing a valid form for checkField when fieldGroup is set. (#709) (dc6cf0e)

2.0.0-rc.21 (2018-02-10)

Bug Fixes

  • bootstrap: fixed input width when using add-ons (#706) (0fc4390), closes #699

Performance Improvements

  • avoid using expressionProperties for Cascaded Select example. (#705) (96ad6cd)

2.0.0-rc.20 (2018-02-09)

Bug Fixes

  • core: check fields expression after build to avoid creation dup formcontrol. (#700) (ae925fd)

Performance Improvements

2.0.0-rc.19 (2018-02-08)

Features

  • core: add FormlyFormExpression for eval field expressions. (#696) (c8591ab)

2.0.0-rc.18 (2018-02-07)

2.0.0-rc.17 (2018-01-26)

Bug Fixes

  • bootstrap: add missing bs4 label class for radio and multicheckbox. (#682) (cc0b607), closes #679

Features

2.0.0-rc.16 (2018-01-25)

Features

  • bootstrap, material: allow disable indeterminate state for checkbox. (#678) (78b0775), closes #674

2.0.0-rc.15 (2018-01-24)

Bug Fixes

  • bootstrap,material: ensure using the model value for indeterminate state check. (#675) (2b82345), closes #674

2.0.0-rc.14 (2018-01-22)

Bug Fixes

  • core: ensure passing a string path for FormGroup. (#666) (f5f2378), closes #665

2.0.0-rc.13 (2018-01-16)

Bug Fixes

  • bootstrap, material: add default value for select options. (#655) (e9819ec)
  • core: take account of model changes in wrappers and types. (#664) (e17cead), closes #658
  • bootstrap: add missing addons style. (#657) (25fdbf7), closes #656

2.0.0-rc.12 (2018-01-14)

Bug Fixes

  • material: remove underline for radio and checkbox field. (#652) (a66d8b1), closes #616

2.0.0-rc.11 (2018-01-13)

Bug Fixes

  • core: ensure key is set when toggle hide. (#650) (e69ea08)
  • core: wrap hideExpression for field in fieldGroup. (#647) (b949ced)
  • material: ensure calls to change event. (#651) (a2d52a8), closes #390

2.0.0-rc.10 (2018-01-11)

Bug Fixes

  • core: take account of hideExpression for fieldGroup with empty key (#639) (3261878)

2.0.0-rc.9 (2018-01-09)

Bug Fixes

  • bootstrap: add missing control-label class for label (#637) (c9c6c61), closes #633

2.0.0-rc.8 (2018-01-05)

Bug Fixes

  • core: add default wrappers when type is set (#630) (2dd41ab)

2.0.0-rc.7 (2018-01-05)

Bug Fixes

  • core: avoid calling deepMerge for readonly property. (#626) (6b7987f)
  • material: ensure calls to lifecycle hooks (#628) (09a7149)
  • material,bootstrap: Add asterisk for checkbox. (#624) (f8ed354), closes #623

2.0.0-rc.6 (2017-12-31)

Bug Fixes

2.0.0-rc.5 (2017-12-28)

Bug Fixes

  • validation: assign defaultOptions before validation init. (#618) (843bff4)

2.0.0-rc.4 (2017-12-26)

Bug Fixes

  • bootstrap,material: ensure ids is unique for radio and checkbox types. (#608) (d47d7d1), closes #607
  • select: ensure selectOption is updated when using expression. (#612) (bb84077)

Features

  • material: Add an asterisk to field when required. (#609) (71202af), closes #604

2.0.0-rc.3 (2017-12-19)

Bug Fixes

  • bootstrap: ensure to set a string value when select is not multiple. (#602) (6c591f8), closes #601

2.0.0-rc.2 (2017-12-14)

Bug Fixes

  • core: assign correctly model value in field expression during build. (#596) (77d62ae)
  • core: ensure nested form group is created for nested key. (#597) (3213f98)
  • core: mark form unsubmitted on reset form. (#591) (082de94)

Features

  • bootstrap,material: add multi-select support (#598) (97d8956)

2.0.0-rc.1 (2017-12-08)

Bug Fixes

  • core: change form validity when expressionProperty change. (#590) (290761c), closes #582

2.0.0-rc.0 (2017-12-07)

Bug Fixes

  • core: remove usage of setTimeout. (#586) (c3de20c)
  • core: take account of model changes when using hideExpression. (#581) (672679e), closes #580
  • hideExpression: use getFieldModel only for simple field (#588) (9a5eeac)

Features

  • demo: add copy to clipboard to example-viewer. (#585) (a307a7c)
  • demo: add preview code + more examples. (#583) (6a86dd4)
  • material: use stable version 5.0.0 (#587) (023386d)

2.0.0-beta.8 (2017-11-28)

Bug Fixes

2.0.0-beta.7 (2017-11-27)

Bug Fixes

  • FormlyConfig: allow using function in validation messages. (#573) (745478d)

Features

2.0.0-beta.6 (2017-11-21)

Features

2.0.0-beta.5 (2017-11-19)

Features

2.0.0-beta.4 (2017-11-13)

Bug Fixes

Features

2.0.0-beta.3 (2017-11-07)

Bug Fixes

  • #551: ensure templateOptions is defined (#553) (48f4a36)
  • #551: fixed assign object to string for assignModelValue (#552) (7b37c56)

2.0.0-beta.2 (2017-11-07)

Bug Fixes

  • clone: create clone of date instead of empty object. (#549) (0dea289)

Features

  • field: allow passing function for field expression. (#548) (5e630fe)
  • material2: update to 5.0.0-rc0 (#550) (10baf1e)

2.0.0-beta.1 (2017-11-03)

Bug Fixes

  • textarea: set default value for rows and cols (#546) (2a0f783)

Features

  • validation: move FormlyValidationMessage into core module (#547) (da502f2)

2.0.0-beta.0 (2017-11-01)

Bug Fixes

  • replace deprecated OpaqueToken with InjectionToken (#508) (fbf1dc3)
  • #514: avoid suppress and/or force validation messages. (#524) (1ffe899)
  • field: use showError instead of valid. (2ba78a3)

Features

  • #536: use standard-version for CHANGELOG generation (#538) (9061311)
  • bootstrap: support Bootstrap 4 Beta (#529) (2b70567)
  • core: rename package to @ngx-formly + follow Angular Package Format. (#497) (2197a51)
  • demo: use angular-cli for demo-example (#542) (b8d6483)
  • field: remove deprecated valid prop. (#537) (88a9652)
  • fieldChanges: remove FormlyPubSub in favor of fieldChanges option. (#525) (e78916f)
  • label: append with an asterisk when required (#523) (bad3ecb)
  • material: initial work for ui-material (#534) (11b8f9b)
  • remove deprecated options. (#507) (6c46667)
  • replace deprecated Renderer by Renderer2 (#498) (0754b26)
  • use ng-template for dynamic components (#499) (9203f1e)
  • npm: add publish script (#510) (0788a51)
  • npm: allow angular v5. (#520) (1c6fb06)
  • npm: update packages. (#522) (ecf5e0f)
  • validation-message: move FormlyValidationMessages into FormlyConfig (#526) (9b2e39f)

BREAKING CHANGES

  • field: Field::valid is no longer available, use showError instead.
  • validation-message: removed FormlyValidationMessages
  • fieldChanges: removed FormlyPubSub.