All Versions
81
Latest Version
Avg Release Cycle
31 days
Latest Release
5 days ago

Changelog History
Page 1

  • v5.14.0 Changes

    November 28, 2022
  • v5.13.1 Changes

    May 02, 2022
    • ⚡️ Update Code Comments on React Component <JsonData>
      • Previously @license was included in the main comment which resulted in Vite including about 5 kB (uncompressed) and about 1.5 kB of extra code on the build process.
      • Comments were updated so that they are not included on build resulting in smaller files.
    • ⚡️ Update Framework, React, and Web Components for Date/Time formatting:
      • Update for en-US to use format {date} {time} instead of {date}, {time} because most people in the US (and software programs) do not use the comma while Chrome uses the comma.
  • v5.13.0 Changes

    February 25, 2022
    • DataFormsJS App Object
      • ~/js/DataFormsJS.js
      • New Feature - Pass HTML Attributes as Properties to HTML Controls
      • This is similar in concept to passing props with React or Vue and allows easy and quick customization of content in the HTML control.
      • Update - When manually calling app.refreshHtmlControl() nested HTML controls are now rendered
      • Fix typo in error message
      • Example of the new features is being published on the Handlebars Places Demo:
      • https://dataformsjs.com/examples/places-demo-hbs.htm
      • All pages with Excel and CSV export pass prop to a HTML Control
      • Search Screen renders nested HTML control when app.refreshHtmlControl() is called from the JS Control <json-data>
    • 🌐 Web Components - Component Class
    • 🔌 Framework Plugins - Excel and CSV Export
      • ~/js/plugins/exportToCsv.js
      • ~/js/plugins/exportToExcel.js
      • Add support so that elements using the plugin are refreshed when app.refreshHtmlControl() is called.
      • Minor fix handled by using onRendered(rootElement) instead of onRendered().
      • For Excel text columns were the the max character width is less than 20 an extra 2 pixels of space will be added so content better fits.
    • ⚡️ I18N update
      • Framework Plugin ~/js/plugins/i18n.js
      • Web Component ~/js/web-components/i18n-service.js
      • Added ability to find and replace i18n keys inside of an attribute string by using syntax [[key]]
      • Example data-export-file-name="[[Countries]].xlsx" data-i18n-attr="data-export-file-name"
      • Previously both Countries and Countries.xlsx would have had to be defined for each language
      • Now only Countries has to be defined
      • For Vue apps this applies to the v-i18n-attr directive
  • v5.12.1 Changes

    February 19, 2022
    • 🔌 Excel Export (Web Component and Framework Plugin)
      • Default data-worksheet-name to data-export-file-name excluding file extension .xlsx if the attribute is not included
      • Trim spaces for text fields
      • Set header style (gray fill color, bold, etc) only on the cells used rather than the entire row
    • 🔌 CSV Export (Web Component and Framework Plugin)
      • Trim spaces for text fields
  • v5.12.0 Changes

    February 16, 2022
  • v5.11.0 Changes

    February 08, 2022
    • ⚡️ Updated DataFormsJS Framework to support JavaScript classes
      • Originally the DataFormsJS Framework was designed and developed prior to ES6 being supported among Web Browsers. Because of this custom app code was designed around ES5. This update allows for custom app code (Pages and Plugins) to use classes rather than objects which allows for modern style JavaScript development.
      • Functions updated and added for the main App object:
      • https://github.com/dataformsjs/dataformsjs/blob/master/js/DataFormsJS.js
      • app.addPage()
      • app.addPlugin()
      • app.getClassFunctionNames() - New function
      • Bug fix with Chosen Plugin for IE
      • https://github.com/dataformsjs/dataformsjs/blob/master/js/plugins/chosen.js
      • New class version of the core jsonData page object:
      • js/pages/classes/JsonData.js
      • All variables and functions from the original file exist in the new one. The purpose of the new file is so that an app can extend it for custom page logic when defining pages as ES6 classes rather than ES5 objects.
      • Replaces all occurrences of String.prototype.substr() with String.prototype.substring(). IDE's such as VS Code show substr() as depreciated because it is a non-standard function.
      • Updated package.json to use the latest and specific versions of @babel/standalone, terser, and uglify-js for the build process. This makes the build process work across systems as expected. ```js // Framework updates to support Classes

    app.addPage('name', class Page { onRouteLoad() {} onBeforeRender() {} onRendered() {} onRouteUnload() {} })

    app.addPlugin('name', class Plugin { onRouteLoad() {} onBeforeRender() {} onRendered() {} onRouteUnload() {} })

    class MyPage extends JsonData { onRendered() { console.log('MyPage.onRendered()') } } app.addPage('MyPage', MyPage);

  • v5.10.6 Changes

    January 06, 2022
  • v5.10.5 Changes

    November 12, 2021
    • ⚡️ Updates for DataFormsJS Markdown Components
      • All 3 versions updated:
      • Web Component <markdown-content>
      • Framework Control <markdown-content>
      • React Component <Markdown>
      • Add support for marked version 4.# which was released earlier this month. Previously version 3 was supported.
      • Both versions 3 and 4 are now supported.
  • v5.10.4 Changes

    September 30, 2021
    • 🚀 No code changes however two .DS_Store where accidentally published to npm so this release excludes them
      • These are Mac system files created automatically by finder when viewing a folder
      • They are excluded from Github using rules from .gitignore, however npm published them
      • In general these files cause no issues but they are binary files so malicious authors can use them for attacks which is why they do not belong in npm or git
  • v5.10.3 Changes

    September 27, 2021