Skip to content

Latest commit

 

History

History
345 lines (261 loc) · 8.51 KB

Changelog.md

File metadata and controls

345 lines (261 loc) · 8.51 KB

Change Log

All notable changes to this project will be documented in this file

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

2.17.1

Fixed

  • Don't try to access properties of null in getValue.

2.17.0

Added

  • Set lang attribute on all input elements based on current language. This helps with number localization.
  • Added better placeholder support for select dropdowns.

2.16.1

Fixed

  • Colon in field name.

2.16.0

Added

  • Cookie fallback for storing tokens and user values.

Fixed

  • Default values overriding values when new form is set.

2.15.2

Added

  • Ability to respond to ajax requests in a plugin.

2.15.1

Added

  • Ability to introduce custom file service classes.

Fixed

  • The PDF download url logic to return the correct download url.

2.15.0

Added

  • Better multi-language support.
  • Min and Max validation checks for number fields.

2.14.1

Fixed

  • Some minor crashes with the PDF renderings.

2.14.0

Added

  • PDF support

Changed

  • Upgraded dependencies

2.13.6

Added

  • Add error labels.
  • Exposed util for Calculated Value.
  • parseFloat extension on FormioUtils.
  • formatAsCurrency function on FormioUtils.
  • A way for the setValue to take an object of flags instead of function params.

Fixed

  • An issue where an infinite loop would trigger for calculatedValue's.

2.13.4

Added

  • Resource modal to add new resources inline within form.
  • Custom scripts to be executed on button click.

2.13.2

Added

  • Allow plugins to modify request options before they are sent.

2.13.1

Added

  • A way to determine if a user is able to submit a form before they do.
  • A delete api call when a file is deleted.
  • A way to upload base64 file uploads.

Changed

  • Refactored the http requests to have less Promises and more streamlined.
  • Wait for the form to load before loading the submission.

Fixed

  • Fixed some issues with multi-select field validation.

2.13.0

Fixed

  • Issue where Selectboxes was not storing the correct data structure.
  • The disabled states on all components.
  • Issue where Formio.createForm was not establishing the formio object on src load.
  • Problem where conditionally hidden components were still validating when they shouldn't.
  • Issues with auto-population for conditionally hidden components.
  • Auto population for the Address component.

Added

  • Component error highlights when an error occurs during invalidation.
  • Custom styles capability.

Changed

  • All instances of jsonLogic to use the FormioUtils.jsonLogic so that it can be extended.

2.12.3

Added

  • Ability to pass a query to getComponent.

2.12.2

Changed

  • Allow the FormioUtils to be globally accessible.

2.12.1

Changed

  • Upgrade Choices to 2.8.7
  • Upgrade Flatpickr to 3.0.6
  • Upgrade json-logic-js to 1.1.3

Added

  • A new findComponents method for locating components based on search queries.

2.12.0

Added

  • A register component method to register custom components.

Changed

  • Remove templating from ce function.
  • Replace Handlebars templating with lodash.

Fixed

  • An issue with the select boxes component that showed required astrix on all options.

2.11.8

Fixed

  • Issue where choices.js changed internal api that we rely on.

2.11.7

Added

  • Description support for fields.
  • WYSIWYG editor for the text area component to use Quill.js

2.11.6

Fixed

  • Another instance where infinite JSON structures could occur with eachComponent.

2.11.5

Fixed

  • Issue where the parent property could create infinite JSON structures.

2.11.4

Changed

  • Do not introduce the parent property on eachComponent unless a root is provided.

2.11.3

Added

  • The ability for eachComponents to reference its parent component.

2.11.2

Fixed

  • An issue where if you set the url of the form, it should not submit to API.

2.11.1

Fixed

  • Issue with including handlebars in other libraries with webpack.

2.11.0

Added

  • Now using Handlebars as the template interpolator.

Fixed

  • Issue where the eval code for calculatedValues and defaultValues was causing an error.
  • Removed deprecated getAppUrl within the Resource compoennt.

Changed

  • Changed the this.src setter to use the this.url for reduced code duplication.

2.10.1

Fixed

  • Issue where form would crash if choices was not present.

2.10.0

Added

  • Custom class capabilities to all components.
  • defaultDate to the Date/Time component.
  • File component

2.9.10

Changed

  • Upgraded jsonLogic library to 1.1.2.
  • Removed the unnecessary embed method in formio.form.js. Use formio.full.js to bring it back in.

Fixed

  • Issue with the multi-page forms where the conditions would not apply properly.

Added

  • Time Component

2.9.9

Added

  • Support for conditional wizards.

2.9.8

Added

  • A way to print out the text of a component with a value.

Changed

  • Added a way to create a componenent but not build it.

2.9.7

Fixed

  • An issue where Select components were not selecting the default values properly.

2.9.6

Added

  • A formLoad event to fire when the form is done loading.

2.9.5

Fixed

  • Issue where if you try to re-enable disabled fields, it wasn't working.
  • Added a getter for the visible state of fields.

2.9.4

Changed

  • Upgraded all dependencies to latest versions.

2.9.3

Fixed

  • Ensure the full.js is in the npm build.

2.9.2

Fixed

  • Other reverse compatible issues.
  • The embed code to also work with Wizards.

2.9.1

Fixed

  • The import process so that it is reverse compatible.

Added

  • Formio.full CSS.

2.9.0

Changed

  • Removed the formio-factory file in exchange of formio.full.min.js.
  • Attached createForm method to main Formio object.

2.8.8

Added a formio factory to the dist folder.

2.8.5

Fixed

  • Issue where the custom events were not firing properly on buttons.

Added

  • Custom classes to the button component.

2.8.4

Fixed

  • Issue where submission binding with columns in datagrids was not working.
  • Fixed issue where adding another item to datagrid would clear out rows.
  • Problem where datagrid rows would add going between wizard pages.

Added

  • CSS classes to wizard navigation buttons.

2.8.3

Fixed

  • Bad binding with radio buttons in datagrids.
  • Issue where custom classes would not get applied to checkboxes.
  • Default values applied to datagrids and containers.
  • Issue where the loader would continue to be present during an error on load.

Added

  • Custom event triggers for custom event buttons.

2.8.2

Fixed

  • Submit button handler.

2.8.1

Fixed

  • Fixed the json form select dropdown.
  • Fixed issues with button events and form submissions.

2.8.0

Added

  • Support for multi-page form workflows.

Fixed

  • Data grid select lists
  • Checkbox inputs to not use class when no label is present.

2.7.3

Changed

  • All disabled flags to be consistent.

Fixed

  • Issue where submit button would not disable.

2.7.2

Fixed

  • Some cases where errors would occur during rendering.

2.7.1

Fixed

  • An issue where Radio buttons could cause javascript error.

2.7.0

Added

  • JSONLogic to perform all validations, conditionals, and calculations.

Fixed

  • Fixed many issues with validations, conditionals, and calculations.
  • Fixed the disabled flag to disable on start.
  • Fixed default values to work.

2.6.0

Changed

  • Upgraded the fetch library to resolve some strange header response caching issues.

2.5.0

Added

  • JavaScript SDK logic to easily get the temporary tokens using the new temp token api.
  • Adding conditional next pages to the Wizard functionality.

2.4.2

Changed

  • Moved the logout token and cache clearing to before the call is made to the server.

Fixed

  • Bizarre issue that seems to be a bug in browser "fetch" library where it would introduce a response JWT token when a request was made without one. It was verified that the server was not sending the token in the response, so it is concluded that for some reason fetch was introducing it (cache maybe?). Regardless, we fixed it so that it will detect when a token was introduced and throw it out.

2.4.1

Changed

  • Renamed setAppUrl to setProjectUrl
  • Renamed getAppUrl to getProjectUrl

Deprecated

  • setAppUrl is now deprecated
  • getAppUrl is now deprecated