Release notes
2.3.0
December 16, 2024
- Added a search field on the Forms tab.
- Added the ability to use hooks and functions inside custom property editors to access component and engine data. These are, for example useComponentData, useStore, and others.
- The formLoadError field has been added to the FormViewer API that signals the failure of loading the form, and also contains the error text.
- Now, if the form is loaded unsuccessfully, a message about this is displayed in the form designer, as well as a suggestion to create a new form.
Fixed bugs
- When changing the value of actions in FormViewer props after initialization, their value inside the engine did not change.
- Saving the form is called twice when creating a new form, as well as in some other cases.
2.2.0
November 25, 2024
- Added actions for managing rows in the Repeater component.
- Added the ability to work with objects in localization.
- Added guide for usage with Remix.
- Now, if there are several validation errors in one field, then by default, only the first one is displayed for better readability.
- The showAllValidationErrors option has been
added to
FormViewerProps
to display all validation errors on the field, not just the first one.
Fixed bugs
- The list of templates did not load completely when the page was first opened.
- A non-empty value is set by default for numeric and boolean action arguments.
2.1.0
November 8, 2024
- Added the Map component and its usage guide.
- Added a sample application for Next.js.
- Added the option to select type attribute for RsInput component.
Fixed bugs
- Fixed console errors that occur when a variable inside localization is not defined.
- Fixed the calculated value for HTML attributes.
- Fixed the display of simple values as calculated after rolling back from a calculated state.
2.0.0
October 29, 2024
This release changes parts of the public and internal API.
- Added the Repeater component that is responsible for displaying an array of repeating components.
- Added the Using Repeater guide.
1.14.1
October 28, 2024
- The changes
Fixed a bug that prevented events set in the useEffect of user components from being triggered
from the previous release were canceled because it broke other functionality. A non-breaking fix will be released soon. For now, we recommend using React 18 to avoid encountering this bug.
1.14.0
October 25, 2024
- Added the Wizard component for creating step-by-step forms with the ability to transition between steps.
- Containers now display their keys when dragging components to make it easier to navigate.
- Fixed a bug that prevented events set in the useEffect of user components from being triggered.
- Fixed a bug where dragging inside Tabs, Message and Card components didn't work.
1.13.0
October 15, 2024
- The
readOnly
property that allows the user to view the form in read only mode has been added to the FormViewerProps and to the FormBuilderProps. - For all valued components, a
readOnly
property has been added. - Fixed and improved Drag and drop behavior for components.
- The ActionDefinition and Language classes were exported from designer-bundle and viewer-bundle.
- The dependency on the
@emotion/styled
package has been removed from the core package. - Added documentation for the Rich text editor and TimePicker components.
1.12.0
September 24, 2024
- Now the component id is used instead of the component key when processing and filtering events.
- Now the function onFormDataChange will not be called inside the templates. This call should only be made by the parent form.
- Several minor bugs affecting performance have also been fixed.
1.11.0
September 13, 2024
- Added the
Time picker
component. - Added the time annotation builder and property editor for editing properties
with the
time
type. - Added the
Rich text editor
component. - Added the object annotation builder and property editor for editing properties
with the
object
type. - Added the BuilderContextProvider and useBuilderContext hook to use the Designer's state in custom components.
- Fixed a bug where the
One tap
property in theDate picker
component had theevent
type instead ofboolean
. - Fixed a bug where the application crashed if the date was entered from the keyboard into the
Date picker
component. - Fixed the height of the property editors.
- The
this
property is now bound in implementations of theField
interface.
Documentation
- Added the Formik integration guide.
- The documentation on the Actions has been significantly updated.
1.10.0
August 19, 2024
- Added a FormBuilder prop to control the designer's theme.
- Added an hideEditor() option that allows hide the component property editor when creating annotations (defining component properties).
Fixed bugs
- After unchecking the
Auto validate
checkbox, the checkbox stops working and the list of previously created validators is deleted. - When clicking on the
Delete
button without selecting a component, the currently selected component will lose its selection
1.9.0
August 6, 2024
- Added the
preload
property to theDropdown
andSearch
components. It enables preloading data before opening the drop-down list (on component mount). - The onFormSchemaChange callback has been added to the
FormBuilder
props. It is called whenever a form schema changes. - Now the component keys are generated as valid
JavaScript
identifiers - in camelCase and without spaces. - Now the active tabs in the left and right panels of the
Designer
are saved after the page is reloaded, as well as when switching between components.
1.8.0
July 31, 2024
- Now the entered value in the component key editor is also applied by pressing Enter.
Fixed bugs
- The
IFormBuilder
ref does not work. - A string date value passed via
initialData
to theDatePicker
component causes an error. - If the name of an existing form is used to create a new form, the existing form will be overwritten.
1.7.0
July 24, 2024
- Added validation for the format property in the
DatePicker
component. - Fixed a bug that prevented the string property editor from turning into a text area when inserting large text.
- Fixed a bug in the "Key" property editor, due to which the key verification message was not updated when duplicating a component with the same key value.
- Added support for Esc and Enter hotkeys in the prompt dialog.
- After creating a new form, the old one is automatically saved and the designer switches to the new form.
- Made the
props
attribute optional when parsing JSON for components. - The API reference documentation has been updated.
- Added a new component
TagPicker
.
1.6.0
July 16, 2024
- Added the
QR Code
component for generating and displaying QR codes. - Added a guide to connecting the WASM component.
- Now information about files is displayed, instead of an empty object in the Data view (located to the left of the form preview).
- Added the
Read-only
option to theSignature
component. - Fixed a bug where localization was not applied in the
Calendar
component. - Removed the default value
0
for thetimeout
property of theUploader
component (the0
value, likeundefined
, is no timeout).
1.5.2
July 5, 2024
Fixed bugs
- Clearing the RSuite components with default value not triggering touched flag.
- Clearing the date property is not working correctly.
- The DatePicker crashes when the format is incorrect.
- The defaultValue does not work in DatePicker.
- The NumberFormat crashes with a negative decimal scale.
- The value of the Number property changes to NaN when backspace is pressed on a negative value.
1.5.1
July 3, 2024
- Fixed incorrectly set default values for DatePicker and Uploader components (the bug was introduced in the 1.5.0 release).
- Fixed
closable
property for Message component.
1.5.0
July 2, 2024
- Added Toggle component.
- Added guide for integration with Electron.
- An error handler has been added to the
FormBuilder
component to prevent the application from crashing if a faulty component is used. - Added default values to all boolean properties of components
- Fixed a bug that caused hook
useUniqueId
to break the build. - Other minor style fixes.
1.4.0
June 21, 2024
- Updated documentation on using
ref
withFormBuilder
andFormViewer
components. - Added ability to pass custom component errorWrapper.
- The React Suite library has been updated to version 5.64.2.
- Fixed bug where only the first action handler was executed on the
onWillUnmount
event. - Fixed keyboard navigation in Dropdown component.
- The
key
property is now passed separately from other component properties, previous behavior caused a warning in React 18.3.1. - Added ability to define validators using code for all value types.
- Updated internal dependencies:
- braces from 3.0.2 to 3.0.3.
- ws from 7.5.9 to 7.5.10.
1.3.1
June 14, 2024
- Fixed a bug that caused calculated properties to not work.
1.3.0
June 13, 2024
- Added the
RsSignature
component for drawing signatures. - The text of the form data and errors in the left panel on the designer preview is now scrollable.
- Fixed minor style breakdowns in the designer scrollbars.
1.2.0
June 5, 2024
- Added the
RsLink
component to be used as a hyperlink. - Improved error logging when launching custom functions:
- The error text now includes the source code of the function.
- Removed unnecessary logging to the console during testing in the editor.
- Added documentation for storing user-defined data.
- Styles have been added to the bundle for the viewer.
Fixed bugs
- Fixed minor style breakdowns in the Mozilla Firefox browser.
- The last selected form is not loaded when the designer is opened.
- The
onWillUnmount
event does not work. - Changes to the
Placement
property inError settings
are not applied to the form in real time.
1.1.0
May 3, 2024
- React Suite updated to version 5.59.1.
1.0.9
April 17, 2024
- The "Edit JSON" button in the designer has been moved to the layout switches.
- Changed appearance of the language switch - the language code is shown instead of the language name.
- Updated documentation on computed properties.
- Fixed a typo in the custom component documentation.
1.0.8
April 11, 2024
- Added localization for Farsi language in Designer.
- Added documentation on how to use FormEngine via CDN.
1.0.7
March 14, 2024
- Fixed the bug when the focus in the property editor was reset when entering each character.
1.0.6
March 8, 2024
- Added the FormBuilder UI customization feature.
- Add
IFormBuilder.parseForm(formString)
method that sets the form serialized in JSON as the current form. - Fixed the bug when FormBuilder UI breaks with
create-react-app
.
1.0.5
February 16, 2024
- Added the FormBuilder ref to provide access to BuilderStore. It can also be used to get a form's JSON.
- Fixed a bug in the Dropdown component that caused the original elements to be lost after adding a new element.
1.0.4
January 26, 2024
- Added FormEngine embedding library to unpkg.com CDN.
- The label property has been added to the
RsDatePicker
component. - Fixed bugs:
- The form handles null values incorrectly.
- Some children disappear in slot dropzone.
- The input text in
RsDropdown
component is not visible. - Dropdowns marked as required do not show invalid state after clear.
1.0.3
December 22, 2023
- Fixed dark theme styles.
- Fixed incorrect behavior of
renderWhen
property.
1.0.2
December 21, 2023
- Added
IFormData.getValidationResult()
method that returns validation results without changing the form state. - Added the user defined observable state -
IFormData.state
. - Added the
initialValue
toRsUploader
component. - Fixed bugs:
RsDropdown
component is not reset.- Elements flipping positions after saving.
- Lost styles in
FormViewer
. - An empty string in the
renderWhen
property works asfalse
. - Anonymous component error in bundle.
1.0.1
November 28, 2023
- The RSuite styles has been isolated so that they do not affect the elements outside the designer and viewer.
- Fixed the bug with infinite loading in rsPicker.
- Updated axios from 1.3.4 to 1.6.1.
- Other fixes and updates.
1.0.0
November 10, 2023
- Fixed
z-index
for the component search field in the designer.
0.0.14
November 9, 2023
- Styling of components has changed. We will write more about it in the documentation.
- Some bugs have been fixed.
- Small improvements to the user interface have been made.
0.0.13
October 31, 2023
- The custom validator has been renamed to code validator.
- External actions have been renamed to custom actions.
- Improvements to the user interface in the validation settings section.
- Added version to JSON file format.
- Other fixes and updates to vulnerable NPM packages.