Skip to content

Releases: kevinchappell/formBuilder

v3.12.3

05 Oct 23:04
Compare
Choose a tag to compare

3.12.3 (2023-10-05)

Bug Fixes

  • fallbackSantizer used before defined (4fe4937)

v3.12.2

05 Oct 22:42
Compare
Choose a tag to compare

3.12.2 (2023-10-05)

Bug Fixes

  • formData may contain HTML (eg Labels), need to escape for all dataTypes before adding into the code element. JSON is invalid if copy-paste from showData dialog (c6f89d1)

v3.12.1

05 Oct 22:40
Compare
Choose a tag to compare

3.12.1 (2023-10-05)

Bug Fixes

  • Calculation of next control insertion point took into account any divs created by enableEnhancedBootstrapGrid, appendNewField expects only LIs in the calculation and therefore inserts in the wrong position if the EnhancedBootstrap feature is enabled (fd83248)
  • changing column width in enhancedBootstrap feature did not work will with a touchpad. Mousemove event will fire multiple times (especially on MacOS with accelerated/decelerated scrolling) cauing the columns to erratically increase/decrease in size. (eb4fd68)
  • correctly show sort buttons in non-bootstrap mode. Use helpers.toggleHighlight when sorting elements rather than a custom animation (a1f6638)
  • Don't allow rows moved via the keyboard in the enhancedBootstrap feature to swap with prepended or appended fields (5af6feb)
  • enableEnhancedBootstrapGrid inserts the rowWrapperNode at the end of the stage instead of using the last position causing controls to always be inserted at the end even if prepend option is set. Use the location of the added Field's LI to append the rowWrapper before moving the LI within the row (5990b67)
  • helpers.getBootstrapColumnValue return value is an int, no need to parseInt on int (8caa6a2)
  • Only enable mobile sorting action buttons when enhancedBootstrap feature is not enabled. Bootstrap feature has functionality to move rows up and down and the two are incompatible (f7fa676)
  • Reset the height of the InvisibleRowPlaceholders in enhancedBootstrap feature when hiding them (40bf3fe)
  • When cloning a field in enhancedBootstrap mode invisible row placeholders need to be setup for the new fields (49b3363)
  • When drag and dropping a Header field (and other types) in enhancedBootstrap mode the preview needs to be cleaned of row- and col- classes otherwise and invalid field element is placed on the stage. (35d8ea5)
  • When drag and dropping elements in enhancedBootstrap mode the colWrapper mouseenter could fire after dragging a field onto another field, this would cause the rowPlaceholders to be hidden and then shown with 1px height (ea91499)

v3.12.0

05 Oct 20:52
Compare
Choose a tag to compare

3.12.0 (2023-10-05)

Bug Fixes

  • correct the documentation for formRender action clear() (21c206a)
  • Improve browserslist target from '> 1%' which has less than 80% global coverage, to 'defaults' which improves coverage to 85.4% global and is equivalent to '> 0.5%, last 2 versions, Firefox ESR, not dead' (01ca0fa)

Features

  • Remove Internet Explorer from the supported browser list. It is no longer part of Browserslist >1% (6c2e23f)

v3.11.1

05 Oct 20:38
Compare
Choose a tag to compare

3.11.1 (2023-10-05)

Bug Fixes

  • helpers.clearFields no longer supports an animate flag, update calls to this function (ec9aa51)
  • helpers.save() is called with and without minify being set, make false by default. Fix call to xmlSave which does not accept a minify parameter. Fix return type of helpers.save() (41b10f0)

v3.11.0

05 Oct 20:35
Compare
Choose a tag to compare

3.11.0 (2023-10-05)

Bug Fixes

  • Add missing options to documentation config (b903345)
  • doc link (d5648d1)
  • fix broken documentation links (fa6b69f)
  • fix link to translation demo page from i18n option page in docs (a4de783)
  • Improve the definition of utils.trimObj() to not modify the source object (b807646)
  • isPotentiallyDangerousAttribute returns false if the Sanitizer backends have been disabled via config (c75ccdb)
  • make dompurify the primary sanitizer backend if it is available. Sanitizer API is still experimental and not support by all browsers therefore it should only be used if DomPurify isn't included (d0043d0)

Features

  • Implement XSS and DOM Clobbering protection (a268a0a)

v3.10.6

21 Sep 06:08
Compare
Choose a tag to compare

3.10.6 (2023-09-21)

Bug Fixes

  • Due to recursion protection GitHub actions does not trigger the publish event when the release is created via another action. Instead use the workflow_run event to chain Publish with Deploy Website (a702686)

v3.10.5

21 Sep 05:16
Compare
Choose a tag to compare

3.10.5 (2023-09-21)

Bug Fixes

v3.10.4

21 Sep 02:57
Compare
Choose a tag to compare

3.10.4 (2023-09-21)

Bug Fixes

  • Handle the case of Autocomplete providing field as an array of HTMLElements (d1b9b51)

v3.10.3

21 Sep 02:52
Compare
Choose a tag to compare

3.10.3 (2023-09-21)

Bug Fixes

  • Cancel stage sort if it would place the field before an appended field or after a prepended field (82242e5)
  • Controls added by clicking need to be added as the second last item if opts.append is set (478dbc5)
  • invalid selector (a153525)
  • Remove unreachable branch in condition. $().closest can be used for both cases as closest() starts traversal from the current element (619005a)
  • When dragging a new control onto the stage, ensure the placeholder is placed after any prepended field and before any appended field (d9cf010)