Skip to content

Releases: optimajet/formengine

Form Engine 7.5.0

29 Oct 16:26

Choose a tag to compare

Changed

  • After upgrading to Zod v4, some default validation error messages have changed.
  • The method name initFormFields has been renamed to getEditableFormData.
  • Deprecated methods: Definer.preview, Meta.customPreview, and DefinerData.customPreview.

Fixed bugs

  • Fixed a bug that caused the following error to appear:
    [MobX] Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed.

Updated internal dependencies

  • Bumped zod from 3.22.4 to 4.0.0.
  • Bumped validator from 13.11.0 to 2.1.4.

Form Engine 7.4.0

20 Oct 16:58

Choose a tag to compare

Changed

  • When adding CSS properties marginLeft and marginRight in the Styles tab, the component now applies marginInlineStart and marginInlineEnd instead, for better RTL support.
  • Removed stylis-plugin-rtl dependency from the core package.
  • Removed lodash-es dependency from the core, designer, components-rich-text, and components-signature packages.
  • The DeviceStyle.object type has been changed to any.

Fixed bugs

  • Fixed a bug that caused custom components with kind: 'container' to render incorrectly in designer mode.
  • Fixed a bug where the internal validation rule type was not recognized in JSON.

Form Engine 7.3.0

02 Oct 19:15

Choose a tag to compare

New

Changed

  • Replaced window with globalThis in project code.

Fixed bugs

  • Fixed a bug that caused the Rich Text Editor component not being cleared.
  • Fixed an issue that allowed adding items to the color pickers with a predefined list of colors.
  • Fixed partially displayed error messages.
  • Fixed a bug that caused duplicates in the Picker component when adding new values.

Updated internal dependencies

  • Bumped tar-fs from 2.1.3 to 2.1.4.

Form Engine 7.2.0

18 Sep 15:52

Choose a tag to compare

New

Changed

  • Removed the readOnly property from the Button component.

Fixed bugs

  • Fixed the 'Invalid prop className supplied to React.Fragment' error that occurred when using the Card component.
  • Fixed the 'Check the render method of RawActionList' error that occurred when cloning a component with actions.
  • Fixed an issue where the Signature component was not cleared when calling Clear on a form.

Form Engine 7.1.0

05 Sep 16:07

Choose a tag to compare

New

  • Added article on how to work with form data.

Changed

  • RsDatePicker prop showMeridian renamed to showMeridiem due to deprecation in RSuite.

Fixed bugs

  • Fixed broken validation for dates passed as strings in initialData.
  • Crash in RsNumberFormat in edge cases.

Updated internal dependencies

  • rsuite from 5.83.1 to 5.83.3.

Form Engine 7.0.0

01 Sep 15:55

Choose a tag to compare

Breaking changes

  • Multiple fields with the same dataKey are now updated in sync when form data changes.
  • Fields from the initial data are always preserved in form data, even if not bound to form fields.
  • Changed two-way data binding to one-way in the Progress component.
  • Changed the return type of DataValidator.getValidationResult, IStore.localizeErrorMessages, and ErrorMessageLocalizer from string to string[].
  • Changed the style editor language from SCSS to CSS.
  • Removed deprecated fields and methods:
    • Store.getForm
    • ComponentKind.slot
    • ComponentKind.preset
    • FormViewerProps.erroneous
    • Meta.kind
    • BuilderView.withErrorMeta
    • BuilderView.withTooltipMeta

New

Changed

  • The calculated value button is no longer displayed for properties that are not calculable or localizable.
  • Removed the incorrect hint suggesting camelCase usage in the HTML Attributes editor.

Fixed bugs

  • Fixed a bug where deleting a validation rule did not remove its localized messages from the form JSON.
  • Fixed an issue where IFormData.getValidationResult returned unlocalized error messages.

Form Engine 6.2.1

27 Aug 12:12

Choose a tag to compare

Fixed

  • Fixed a bug where a message was displayed that the license allows "-1" languages or an empty list of domains.

Form Engine 6.2.0

25 Aug 16:37

Choose a tag to compare

New

  • Added support for creating modal windows on the form.
  • Added Validate, Reset to default, and Clear buttons to the left panel in Preview mode for form data management.
  • Added a Reset to default button to the object array editor to reset values.
  • Code editor title for functional arguments now display the related event information.
  • Added the View.filterModels and BuilderView.filterModels methods that returns an array of component metadata filtered by a predicate function.
  • Added a formComponent property editor to select the key of a component on the form, with an optional filter for the list.
  • Added the ability to hide components from the palette and filter components by their properties.
  • When creating a new form, the tooltip type and modal type are now set automatically.
  • In the designer localization languages list, labels have been added to indicate which translations were generated using AI.

Changed

  • Deprecated the erroneous property in FormViewerProps and FormBuilderProps types.
  • Deprecated the following methods in the BuilderView class:
    • getTooltipAnnotations
    • getErrorAnnotations
    • tooltips
    • errors
    • withErrorMeta
    • withTooltipMeta

Fixed

Form Engine 6.1.0

11 Aug 14:10

Choose a tag to compare

New

Changed

  • Deprecated the slot and preset options in the ComponentKind type.

Fixed bugs

  • Fixed an issue where saving or creating a new form could break the behavior of the custom form list.
  • Fixed an issue where deleting a form that was not currently open caused a "formName is undefined" error.

Form Engine 6.0.0

01 Aug 11:19

Choose a tag to compare

Breaking changes

New

Changed

  • Deprecated the Meta.kind field.
  • Enhanced CSS Editor with new "Styles for className" header in Styles tab.

Fixed bugs