Skip to content

Commit

Permalink
Update Changelog.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lane-formio authored Dec 5, 2024
1 parent 3ff37eb commit 05de554
Showing 1 changed file with 301 additions and 10 deletions.
311 changes: 301 additions & 10 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- FIO-8270: panel component closing on logic event trigger
- FIO-8575: Added ability to reload google maps library with correct API key
- FIO-8659: no modal edit in display tab
- Removing fetch ponyfill since it is no longer needed
- FIO-8652: DataGrid does not reorder
- Fixing the submitOnEnter where it will show the loader for the submit
- Fixing the formioReady promise to always resolve if you load it from the full source instead of the embed code
- FIO-8126: Fixed select component emitting blur on click
- FIO-8304: allow for multivalue masks to have blank input mask option
- FIO-8570: fixed decimal symbol property on number component
- 5.x - FIO-8426: changes required for eSignature
-
- FIO-8596: added the editGridEditRow and editGridOpenModal events for editGrid
- FIO-7733 remove form min height
- FIO-8414 | FIO-8403 | FIO-8389: Fixes 5x validations and conditionals for array data components
Expand Down Expand Up @@ -118,6 +114,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- FIO-9347: fixed select preview issue in form builder
- FIO-8518: fixed adding checkbox with radio type to pdf design page

# Change Log
All notable changes to this project will be documented in this file

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 5.0.0
### Changed
- Official Release
- Updated @formio/bootstrap@3.0.0
- Updated @formio/core@2.3.0

### New Features

#### New package name
Expand Down Expand Up @@ -167,7 +175,7 @@ This is a **Breaking Change** so please see the section below for more informati
The 5.x renderer incorporates our new Core validation engine found @ https://github.com/formio/core/tree/master/src/process. This process can be briefly described within the pull request notes @ https://github.com/formio/formio.js/pull/5317. This will also improve our Iso-morphic behavior for our renderer validation and significantly improve memory and processor consumption for server-side form validations. This feature does have a **Breaking Change** which is described below.

#### Core SDK
With the 5.x renderer, the Formio SDK is now part of our Core library found @ https://github.com/formio/core/tree/master/src/sdk. It is now imported directly into the @formio/js library and is re-exported to support reverse compatability. Because of this, there should not be any code upgrade involved.
With the 5.x renderer, the Formio SDK is now part of our Core library found @ https://github.com/formio/core/tree/master/src/sdk. It is now imported directly into the @formio/js library and is re-exported to support reverse compatability. Because of this, there should not be any code upgrade involved.

For example, the following code still works.

Expand Down Expand Up @@ -208,7 +216,7 @@ With the 5.x version of the renderer/builder, there has been much effort into re
- formio.form.min.js ~ 1.4mb => ~30% size reduction
- formio.min.js (SDK) ~ 235k => ~50% size reduction

#### New lazy-loading Embedding method.
#### New lazy-loading Embedding method.
One of the more exciting new additions to the 5.x renderer is the new lazy-loading process for adding the renderer to your application. There is a new file that is included with the 5.x renderer called "formio.embed.js". This file is tiny coming in at ~10kb. What this file does, however, is make it so that you can bundle a lazy-loading renderer within your application without increasing the build sizes of your application.

To use the new lazy-loading features, you will need to change your imports from the following to the new embed source as the following illustrates.
Expand Down Expand Up @@ -280,7 +288,6 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
```

### Breaking Changes
- Sketchpad imageType is being removed. All image types are now treated the same. You no longer need the imageType property in your form json
- Bootstrap 5 Default Template - With the 5.x version of the renderer, the default template is now **Bootstrap 5** and is found @ https://github.com/formio/bootstrap repo.
- Bootstrap Icons - Now, instead of Font Awesome being the default icon set for our renderer, we are using Bootstrap Icons as the default icon set which is compatible with Bootstrap 5. Of course, you can always change out icon sets, but this is now the default.
- This version implements a new validation system. Within this, there are some changes that you should be aware of.
Expand All @@ -304,7 +311,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
```js
const isValid = form.getComponent('editgrid').validateRow().length === 0;
```

- In the 5.x renderer, the errors array will always be populated if there are errors in the form. They may not be displayed depending on the "pristine" state of the rendered form, but the error is always populated if there are form errors. This is different in 4.x where the error property would only contain and error if an error is VISIBLE on the form. This means that it is difficult to determine if a form has errors without executing the checkValidity() method with the dirty flag set to "true". You no longer need to do this in the 5.x renderer.

**4.x Renderer**
Expand Down Expand Up @@ -333,7 +340,289 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
console.log(textField.visibleErrors); // This is the equivalent of the 4.x renderer "errors" array.
```

- With the 5.x renderer, all templates are now stored within a separate repo, and are included as a dependency for this renderer.
- With the 5.x renderer, all templates are now stored within a separate repo, and are included as a dependency for this renderer.


## 5.0.0-rc.102
### Changed
- Updated @formio/core@2.3.0-rc.23

## 5.0.0-rc.101
### Changed
- FIO-9361: Fix showing extra submit buttons
- FIO-9327: Fixed an issue where select boxes default values would become messed up during builder mode.
- FIO-9350 Wizard: Show form-level errors after failed submission on subsequent form interaction when current page has no errors

## 5.0.0-rc.100
### Changed
- FIO-8423: change default parent tag from p to div
- FIO-9347: Fixed select preview issue in form builder
- FIO-9329: update tooltip for validateWhenHidden
- FIO-9386: fixed an issue where configured logic prevents the component settings saving because of validation configured in logic
- FIO-9360: validate current page only on wizard change

## 5.0.0-rc.99
### Changed
- Updated @formio/core@2.3.0-rc.22
- FIO-9329: validateWhenHidden respects both conditionally hidden and intentionally hidden
- FIO-9354: Fix custom translation not applied to error message

## 5.0.0-rc.98
### Changed
- FIO-9280 fixed validation for select boxes with valid values and when value property is not set

## 5.0.0-rc.97
### Changed
- Updated @formio/core@2.3.0-rc.21
- FIO-9290: fixed an issue where infinite loader is shown when radio/selectboxes with url type is failed to load options
- FIO-9280 fixed value property validation

### Changed
- FIO-9283: fixed an issue where select with resource dataSrc does not display values in readOnly mode

## 5.0.0-rc.96
### Changed
- Updated @formio/core@2.3.0-rc.18
- FIO-9259 fixed errors list for parent wizard with nested wizard
- FIO-9176: updated instance.component.path
- FIO-9205: fixed labels in select filter feature

## 5.0.0-rc.95
### Changed
- Updated @formio/core@2.3.0-rc.17
- FIO-9205: fixed an issue where Select Filter feature does not work
- FIO-9173: Allow Scientific Notations
- FIO-9247 fixed triggering custom validation inside Edit Grid


## 5.0.0-rc.94
### Changed
- Updated @formio/bootstrap@3.0.0-rc.41
- Updated @formio/core@2.3.0-rc.16

## 5.0.0-rc.93
### Changed
- Updated @formio/bootstrap@3.0.0-rc.40
- Updated @formio/core@2.3.0-rc.14
- FIO-9197: Fix Day component triggered required validation when loading form
- FIO-7195: Fixes an issue where Radio/SelectBoxes will show values instead of labels on View tab and in DataTable
- FIO-7778: validation link does not open modal
- FIO-9072: removed setting dirty flag to true on set submission and changed tests
- FIO-9189: moved some methods to core
- FIO-9228: fixed an issue where error messages are duplicated in error list for nested wizard

## 5.0.0-rc.92
### Changed
- Updated @formio/bootstrap@3.0.0-rc.39
- Updated @formio/core@2.3.0-rc.13
- FIO-9196: Fixed issue with getting default value instead of requested value in Day component
- FIO-9208: Changing the links to go to help.form.io instead of github page.
- FIO-8510: changes in nested forms trigger modified change in the parent
- FIO-9086: time component default value validation
- FIO-9186: added test for the issue reated to validation inside layout components insode editGrid
- FIO-9184: Fixed edit grid row validation for new row
- FIO-9144 Fix cursor jump in number component

## 5.0.0-rc.91
### Changed
- Updated @formio/bootstrap@3.0.0-rc.38
- Updated @formio/core@2.3.0-rc.10
- FIO-7195/FIO-8234: Fixes an issue where Select renders value properties instead of labels in DataTable
- FIO-9158: fixed password component error in Edit page
- FIO-9153: fixed an issue where tagpad components skip front-end validation before submission

## 5.0.0-rc.90
### Changed
- Updated @formio/core@2.3.0-rc.9
- FIO-9127 fixed saving empty values for Day component with hidden fields

## 5.0.0-rc.89
### Changed
- Updated @formio/core@2.3.0-rc.8
- FIO-8914: fixed an issue where select url does not work properly when url value has whitespaces at the end
- FIO-8990: fixed incorrect moment export
- FIO-9056: Fix enabling multiple values for address component
- FIO-9147: fixed an issue where the simple conditionally visible component is not validated on change
- FIO-9126 fixed display of value for Day component with hidden fields
- FIO-9120: Fix issue with unchecking radio default value
- FIO-9158: fixed an issue where Password component error message persists to displayed in Edit page
- FIO-9127 fixed saving an empty value for day component after deleting values
- FIO-9153-9154: fixed console errors when navigating tagpad validation errors
- FIO-8948-8950: fixed an issue where radio and select boxes with url type do not display in PDF download
- FIO-9080 checkbox radio validation error
- FIO-9148: Fixed duplicated revision versions

## 5.0.0-rc.88
### Changed
- Updated @formio/core@2.3.0-rc.7

## 5.0.0-rc.87
### Changed
- FIO-9059: fixed an issue where the value for textarea with json datatype is not normalized and set correctly

## 5.0.0-rc.86
### Changed
- Updated @formio/core@2.3.0-rc.6

- FIO-9075: fixed an issue where the form cannot be resubmitted if it has server errors
- FIO-8414 | FIO-8403 | FIO-8389: Fixes 5x validations and conditionals for array data components
- FIO-9097 fixed navigation through the errors list

## 5.0.0-rc.85
### Changed
- Updated @formio/core@2.3.0-rc.4

### Changed
- FIO-8719 fixed error message display for nested wizard components
- FIO-8962 Fixed screen shifting when validation errors pop up in an embedded Wizard form
- Bugfix: allow paths for valueProperty

## 5.0.0-rc.84

## 5.0.0-rc.83
### Changed
- FIO-9010: tighten up multivalue normalization by covering 'any' type models
- FIO-8986 fixed setting default value for day ,component with hidden day and month
- FIO-9034 fixed creating extra submit button

## 5.0.0-rc.82
### Changed
- FIO-8234/FIO-7195: Fixes an issue where value properties are shown instead of labels for Select component with Resource/URL data sources in read only mode and for modal preview

## 5.0.0-rc.81
### Changed
- Updated @formio/core@2.3.0-rc.3
- FIO-8991: fixed an issue where select value (when it is array with numbers) does not display in submission grid
- FIO-8951: Updated conditions for selectData and added logic to clear selectData
- FIO-9010 fixed disappearance of components inside Columns after editing
- FIO-8938 fixed label display for multiple select with dataSrc resource
- FIO-8908: Fix error message appears when saving not fully filled conditionals tab

## 5.0.0-rc.80
### Changed
- Updated @formio/core@2.2.3-rc.2

## 5.0.0-rc.79
### Changed
- Updated @formio/core@2.2.3-rc.1
- FIO-8914: fixed an issue where errors list doesnot appear when submitting a PDF form
- FIO-8954 previously selected option is displayed in metadata with data source = url
- FIO-8920 fixed errors list for the form with nested wizard
- FIO-8986 fixed setting up of default value with hidden fields
- FIO-8912: fix normalization in submission
- Fixed an issue where the 'root' may be the component that does not have a getComponent method
- FIO-8972 fixed display of select componet with custom dataSrc on Data Tab
- FIO-8912 update to model types

## 5.0.0-rc.78
### Changed
- FIO-8072: Added conditional operators for select component with number data type

## 5.0.0-rc.77
### Changed
- Updated @formio/core@2.2.2
- FIO-8900-8899: made only 2 operators available for address component in conditionals ui and fixed setting an empty value for address
- FIO-8912: consolidate normalization for multivalue components
- FIO-8795 fixed selected data after removing row

## 5.0.0-rc.76
### Changed
- Updated @formio/core@2.2.2-rc.5
- FIO-8874: fixed conditional value field for time component
- FIO-8849: fixed an issue where value of the selctboxes/radio with URL data source are not available in simple conditons UI
- FIO-8931: Disable file synchronization feature
- FIO-8866-8864: fixed simple conditions operators for recaptcha
- FIO-8921: fixed an issue where newly created PDF-form cannot be saved in builder after adding some components in it
- FIO-8798: updated shape of the data of day component with hidden fields

## 5.0.0-rc.75
### Changed
- Updated @formio/core@2.2.2-rc.3

## 5.0.0-rc.74
### Changed
- Updated @formio/core@2.2.2-rc.2
- FIO-8799 updated conditional tab for Time Component
- FIO-8797: set empty day component value to the empty string

- FIO-8760: Fixes an issue where nested form is not getting all the options
- FIO-8789: Fixing issues where the wrong urls are used for CDN on remote environments

## 5.0.0-rc.73
### Changed
- FIO-8729: fixed an issue where the rollback to default templates does not work correctly and unknown template message is shown

## 5.0.0-rc.72
### Changed
- Updated @formio/core@2.2.2-rc.1
- FIO-8684: Fixes cannot attach more than one component to the PDF form
- Bugfix/submission metadata nullish
- FIO-8765: fixed an issue where dataMap thows an error
- FIO-8719 fixed validation for Data Grid component inside nested wizard

### Changed
- FIO-8621: error event on file upload adding
- FIO-8783: Fixed the issue when validation messages disappear after collapse and expand the panel

## 5.0.0-rc.71
### Changed
- Updated @formio/bootstrap@3.0.0-rc.37

## 5.0.0-rc.70
### Changed
- Updated @formio/core@2.2.0-rc.9
- FIO-8759 fixed validation for the default value component
- FIO-8752: coerced keyboard actions to a boolean value
- FIO-8389: Fix conditional logic for Edit Grid
- FIO-8647,8721: validation not triggered for each row after the first one in data and edit grid
- FIO-8720: fixed errors occurring with valid time and number components
- FIO-8719 fixed validation for nested wizard fields
- FIO-5748 Fixed preview not working correctly after hiding/showing it

## 5.0.0-rc.69
### Changed
- Updated @formio/core@2.2.0-rc.7
- FIO-8570: fixed decimal symbol property on number component
- FIO-8570: fixed thousandSeparator problem and decimal symbol problem

## 5.0.0-rc.68
### Changed
- Updated @formio/core@2.2.0-rc.6
- FIO-7733 remove form min height
- FIO-8710: fixed incorrect Components import that causes errors when interacting with form components
- FIO-8716 fixed unsavedRows validation for Edit Grid
- FIO-7478: fixed and isse where dataGrod reordering does not work in 5.x and fixed reordering with select component

## 5.0.0-rc.67
### Changed
- Updated @formio/core@2.2.0-rc.5
- FIO-8633 fixed icon name for Edit Grid
- FIO-8645: day component required validation error not correct
- FIO-8688 fixed 'global is not defined' error message
- FIO-8639 fixed error when adding address component

## 5.0.0-rc.66
### Changed
- FIO-8652: DataGrid does not reorder
- FIO-8659: no modal edit in display tab

## 5.0.0-rc.65
### Changed
- Updated @formio/core@2.2.0-rc.4

## 5.0.0-rc.64
### Changed
- Removing fetch ponyfill since it is no longer needed.

## 5.0.0-rc.63
### Changed
- Fixing the formioReady promise to always resolve if you load it from the full source instead of the embed code.

## 5.0.0-rc.62
### Changed
- Updated @formio/bootstrap@3.0.0-rc.36



### Fixed
- FIO-7525: fixed an issue where new conditional logic based on select boxes does not work
Expand Down Expand Up @@ -417,6 +706,8 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
- FIO-8496: added loading=async for Google Maps JavaScript API
- FIO-8445: Fixed searchbar not focusing when navigating using up and down arrows
- FIO-7936: showCounter messages not translating
- FIO-7775: reset value event resets component values to their default values
- FIO-6710: added translation for day component placeholder

## 5.0.0-rc.37
### Fixed
Expand Down

0 comments on commit 05de554

Please sign in to comment.