unstale

npm / @ngx-formly/core

@ngx-formly/core

What changed in @ngx-formly/core 6 to 11, from its official release notes, upgrade guides and advisories. Also covers @ngx-formly/material. Sources checked 2026-11-30.

57 breaking1 security1 deprecations28 new APIs and options8 behavior and defaults3 tooling17 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@ngx-formly/core 1129 changes

Breaking changes 11

  • Formly v11 requires Angular 22 or newer; Angular 21 applications should remain on Formly v10.

    9.0.0, 11.0.0release notesupgrade guide

  • Exported for validation summaries; the validationMessages pipe collects messages from a built field or field tree, excluding hidden and disabled fields and deduplicating shared-control errors.

    11.0.0release notes

  • For Ionic 9, replace IonicModule.forRoot() with provideIonicAngular() in application providers.

    9.0.0, 11.0.0release notesupgrade guide

  • The corresponding Angular UI library must be version 22 or newer.

    11.0.0release notes

  • Copied radio templates and selectors should use p-radiobutton.

    11.0.0release notes

  • Explicit positive step values now validate numeric model values; configure a step validation message, or use step: 'any' and props.attributes.step when the increment should only affect the UI.

    9.0.0, 11.0.0release notesupgrade guide

  • Array row fields and control state follow model values on indexed insertion and removal; set props.trackByIndex: true for custom arrays whose configuration depends on position.

    9.0.0, 11.0.0release notesupgrade guide

  • Ionic 9 applications should replace IonicModule.forRoot() with provideIonicAngular() in application providers and use standalone components.

    11.0.0release notes

  • Datepicker applications should add provideNzDateFnsAdapter() to application providers to preserve the previous date-fns behavior.

    11.0.0release notes

  • Hidden fields using shareFormControl: false no longer run parsers or write detached control values to the model, and hiding cancels pending debounced writes.

    9.0.0, 11.0.0release notesupgrade guide

  • The pipe collects messages from a built field or field tree, excludes hidden and disabled fields, and deduplicates shared-control errors.

    11.0.0release notes

Deprecations 1

  • Deprecated in favor of the validationMessages pipe; existing components and their public members remain available.

    9.0.0, 11.0.0release notesupgrade guide

New APIs and options 10

  • Accepts a signal or computed directly to update field properties when its value changes, even without a model change; existing string, function, and Observable expressions remain supported.

    11.2.0release notes

  • Control when validation feedback appears; the default error display follows this setting, while validators and form validity remain unchanged.

    11.1.0release notes

  • Expose validation display state to custom types and wrappers, including pending and valid states.

    11.1.0release notes

  • Override validation feedback display for an individual form; validators and form validity remain unchanged.

    11.1.0release notes

  • Accept a WritableSignal as the form model; bind it with [model] to update the signal with a copy after edits and rebuild when the application sets a new value.

    11.1.0release notes

  • Exported for validation summaries collected by the validationMessages pipe.

    11.0.0release notes

  • Renders labels and descriptions as sanitized HTML in web UI adapters; plain text remains the default, and NativeScript and custom templates do not automatically support the option.

    11.0.0release notes

  • Customizes select trigger text using a selected-value property or formatter function.

    11.0.0release notes

  • String validator expressions can access control, field, model, and formState through the CSP-safe expression parser.

    11.0.0release notes

  • Displays all configured field error messages, including asynchronous messages.

    11.0.0release notes

Behavior and default changes 1

  • Select and datepicker props.appendTo accepts PrimeNG's AppendTo type, including 'body', 'self', and element or template references.

    9.0.0, 11.0.0release notesupgrade guide

Tooling 3

  • Serves the demo at https://ngx-formly.localhost with separate subdomains for Git worktrees; requires pnpm 11 or newer, while dependency installation continues to use npm.

    11.2.0release notes

  • A demo Tools section validates Formly field configuration JSON and reports syntax errors, invalid property types, deprecated options, and likely misspellings at their editor locations.

    11.1.0release notes

  • Generated installations now use Angular 22 and Formly v11.

    11.0.0release notes

Fixes and other changes 3

  • Support PrimeNG 21.1.10; applications using PrimeNG 21 with Angular 22 need the scoped npm overrides described in the installation guide.

    11.1.0release notes

  • Array row fields and control state follow their model values; insertion preserves existing row controls, input instances, and touched/dirty state, and connected arrays and fixed-path editors stay bound correctly.

    9.0.0, 11.0.0release notesupgrade guide

  • Tuple validation stays at the correct position, and recursive oneOf branches resolve using their current row keys after array changes.

    11.0.0release notes

@ngx-formly/core 1017 changes

Breaking changes 8

  • Applications using Angular's CommonEngine need to configure allowed hostnames to retain server rendering.

    10.0.0upgrade guide

  • Angular 21 or newer is now required; applications on Angular 20 should remain on Formly v9.

    10.0.0release notesupgrade guide

  • The parser now rejects trailing tokens it previously ignored, so malformed string expressions can cause form construction to fail.

    10.0.0release notes

  • Valid forms now emit an initial statusChanges notification; subscribers may run during initialization even when the status stays VALID.

    10.0.0upgrade guide

  • The numeric input now uses NG-ZORRO's default formatter and no longer exposes this helper; custom templates referencing it should remove the binding.

    10.0.0upgrade guide

  • PrimeNG 21 uses native CSS animations, so this option no longer controls its animations.

    10.0.0upgrade guide

  • PrimeNG 21 uses native CSS animations, so this option no longer controls its animations.

    10.0.0upgrade guide

  • When enabled, the parser requires the entire string expression to be valid; trailing tokens that were previously ignored now cause a parse error and may prevent the form from building.

    10.0.0upgrade guide

New APIs and options 4

  • WritableSignal is now supported as the model input.

    7.2.0 … 10.1.0release notesrelease notesrelease notesrelease notes

  • Adds an asynchronous formly-form output for accessing controls after the fields or form input changes, including initial binding.

    10.0.0release notes

  • The new output delivers build notifications asynchronously after the current change-detection pass.

    10.0.0upgrade guide

  • Exports the event type associated with the fieldChange output.

    10.0.0release notes

Behavior and default changes 2

  • Valid forms now emit an initial statusChanges notification; unchanged rebuilds do not repeat it.

    10.0.0release notes

  • CSP expressions now support optional property and index access, such as model.user?.name and model.items?.[0].

    10.0.0release notes

Fixes and other changes 3

  • UI configuration functions now reference the public ConfigOption type, fixing TypeScript module-resolution errors caused by generated declarations importing private paths.

    10.0.1release notes

  • Disabled nested groups and arrays remain disabled when their parent is re-enabled, including fields with observable disabled expressions.

    10.0.0release notes

  • JSON Schema fields that allow both a numeric type and null now preserve null when cleared.

    10.0.0upgrade guide

@ngx-formly/core 919 changes

Breaking changes 10

  • Angular 20 or newer is required for Formly v9; applications on Angular 19 should remain on Formly v8.

    9.0.0release notesupgrade guide

  • PrimeNG datepickers and selects, Kendo numeric inputs, and NG-ZORRO numeric inputs now assign the field ID to the focusable input and append -container to the outer component ID; update custom selectors targeting the outer component.

    9.0.0release notesupgrade guide

  • Factories for ordinary arrays run when a row is created, not when an existing row moves; fieldGroup.length identifies the new position during evaluation.

    9.0.0upgrade guide

  • The Ionic adapter now imports individual standalone Ionic 9 components; custom field templates must import the components they use.

    9.0.0upgrade guide

  • Kendo label, dropdown, and input packages now require version 19.1 or newer.

    9.0.0release notes

  • Remove this prop from PrimeNG datepicker configuration because PrimeNG 20 removed the input.

    9.0.0release notes

  • NativeScript now requires @nativescript/angular 20 or newer.

    9.0.0release notes

  • Custom fields copied from Formly's NG-ZORRO numeric-input implementation should import NzInputNumberLegacyModule to keep their existing API with NG-ZORRO 20.

    9.0.0upgrade guide

  • The PrimeNG integration now requires PrimeNG 20 or newer.

    9.0.0release notes

  • PrimeNG text inputs, textareas, datepickers, and selects now fill their available width.

    9.0.0release notesupgrade guide

New APIs and options 2

  • The pipe collects configured messages from a built field or field tree and emits entries containing the field, error name, and resolved message.

    9.0.0upgrade guide

  • PrimeNG and Kendo select fields support props.multiple; use an array model value when it is enabled.

    9.0.0upgrade guide

Behavior and default changes 4

  • PrimeNG now renders field descriptions.

    9.0.0release notes

  • Use the HTML input step attribute for a UI-only increment when arbitrary numeric values must remain valid.

    9.0.0upgrade guide

  • Hiding an independent editor cancels pending debounced model writes; update inactive values directly on the model.

    9.0.0upgrade guide

  • Formly supports both zoneless and Zone.js change-detection modes. In zoneless applications, asynchronous template-state updates must notify Angular.

    9.0.0upgrade guide

Fixes and other changes 3

  • Disabled datetime fields no longer open, and Ionic labels and required markers are preserved.

    9.0.0release notes

  • Defaults are restored safely when the model is rebuilt.

    9.0.0release notes

  • PrimeNG validation-message styling is corrected.

    9.0.0release notes

@ngx-formly/core 811 changes

Breaking changes 3

  • Angular 19 or newer is now required; upgrade Angular before updating all @ngx-formly/* packages together to v8. Applications on Angular 18 should remain on Formly v7.

    8.0.0release notesupgrade guide

  • Provides a separate FormlyConfig instance in the injector where it is registered, so calling it in a child component or route creates an independent configuration.

    8.0.0upgrade guide

  • valueChanges no longer emits when the form is disabled.

    8.0.0release notes

New APIs and options 5

  • Distinct Formly configurations are now supported per injection scope.

    8.0.0release notes

  • FormlyAttributeEvent is now exported via public_api.

    8.0.0release notes

  • Use this API to extend the shared configuration in a child scope.

    8.0.0upgrade guide

  • The transform option now supports a map function.

    8.0.0release notes

  • ValidationMessageOption is now exported via public_api.

    8.0.0release notes

Behavior and default changes 1

  • Pattern attribute handling in FormlyAttributes is enhanced.

    8.0.0release notes

Fixes and other changes 2

  • The model is now updated from inline template controls.

    8.0.0release notes

  • Select option observables are detected with isObservable.

    8.0.0release notes

@ngx-formly/core 713 changes

Breaking changes 1

Security 1

  • Use this configuration helper to enable CSP-safe expression evaluation in strict security environments without eval().

    7.1.0release notes

New APIs and options 5

  • FormlyFieldConfigPresetProvider is exported via public_api.

    7.1.0release notes

  • Export FormlyTemplate for standalone use.

    7.0.1release notes

  • Add configuration options to the PrimeNG datepicker.

    7.0.1release notes

  • Adds support for the Ionic labelPlacement prop.

    7.0.0release notes

  • Adds support for standalone components.

    7.0.0release notes

Fixes and other changes 6

  • The JSON Schema service supports the if, then, and else keywords for defining conditional logic in schemas and dynamic field configurations.

    7.1.0release notes

  • Promise objects are no longer cloned.

    7.1.0release notes

  • Remove extra whitespace for hint text in the Material integration.

    7.0.1release notes

  • Clear the preset tag after a merge.

    7.0.1release notes

  • Configuration is merged when using provideFormlyConfig.

    7.0.1release notes

  • Use optional chaining when accessing validity.badInput.

    7.0.1release notes

@ngx-formly/core 626 changes

Breaking changes 24

  • Formly V6 requires Angular version 13 or later.

    6.0.0upgrade guide

  • The default is now modelChange, improving performance; set it to changeDetectionCheck to rely on the old behavior.

    6.0.0upgrade guide

  • pickerOptions, pickerFormat, monthNames, monthShortNames, dayNames, and dayShortNames were removed; use presentation, locale, and displayFormat to customize datetime.

    6.0.0upgrade guide

  • The defaultValue for fieldGroup and fieldArray is now undefined instead of an empty object or array; configure defaultValue to retain the old behavior.

    6.0.0upgrade guide

  • In JSON Schema map customization, expressions replaces expressionProperties.

    6.0.0upgrade guide

  • In JSON Schema map customization, expressions.hide replaces hideExpression.

    6.0.0upgrade guide

  • When customizing generated fields with the JSON Schema map option, fieldArray now returns a function instead of an object.

    6.0.0upgrade guide

  • Use FieldTypeConfig with custom field types using [formControl] so the formControl property is expected to be a FormControl instance when strictTemplates is enabled.

    6.0.0upgrade guide

  • Calling reset without an explicit value now restores the form's default value instead of null.

    6.0.0upgrade guide

  • The custom prefix values were removed: use default, inline, and switch instead of custom, custom-inline, and custom-switch.

    6.0.0upgrade guide

  • A created FormControl now starts with undefined instead of null to match the field model value; set defaultValue to null to retain a null initial value.

    6.0.0upgrade guide

  • formly-form now includes an extra formly-field for managing the root field using field-group; CSS selectors targeting the root field may need updating.

    6.0.0upgrade guide

  • Use formly-wrapper-form-field to customize Bootstrap types instead of the listed formly-wrapper-addons and formly-field selectors.

    6.0.0upgrade guide

  • lazyRender is enabled by default, removing hidden fields from the DOM instead of using CSS to control visibility; set it to false for the old behavior.

    6.0.0upgrade guide

  • The validation message key changed from lowercase maxlength to camelCase maxLength to match templateOptions.maxLength.

    6.0.0upgrade guide

  • The validation message key changed from lowercase minlength to camelCase minLength to match templateOptions.minLength.

    6.0.0upgrade guide

  • Bootstrap v4 support is removed and replaced with Bootstrap v5 support.

    6.0.0upgrade guide

  • The library now requires Ionic V6.

    6.0.0upgrade guide

  • The null validation message was removed and replaced by the type validation message.

    6.0.0upgrade guide

  • The add-on onClick handler now receives field and $event instead of to, fieldType, and $event.

    6.0.0upgrade guide

  • All Formly components use OnPush change detection; custom templateOptions properties need a default value or must be updated with spread object assign for Angular to detect changes.

    6.0.0upgrade guide

  • In JSON Schema map customization, props replaces templateOptions.

    6.0.0upgrade guide

  • resetOnHide is enabled by default and removes a hidden field's value from the model; disable it per field or set resetFieldOnHide to false for the old behavior.

    6.0.0upgrade guide

  • Passing {key, value} to select options is no longer supported; use {value, label} or configure labelProp and valueProp.

    6.0.0upgrade guide

New APIs and options 2

  • Use FieldArrayTypeConfig when a custom field type's formControl is expected to be a FormArray.

    6.0.0upgrade guide

  • Use FieldGroupTypeConfig when a custom field type's formControl is expected to be a FormGroup.

    6.0.0upgrade guide