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

Changelog History
Page 3

  • v5.6.0 Changes

    January 04, 2021
    • ๐ŸŒ Web Components
      • Added new Web Components based on Framework Plugins
      • <export-to-csv-service> based on js/plugins/exportToCsv.js
      • <highlighter-service> based on js/plugins/highlighter.js
      • <filter-service> based on js/plugins/filter.js. This service Web Component would be used instead of <input is="input-filter"> for apps that use clickable elements to filter and other advanced functionality not included in the smaller input-filter Component.
      • Example for all new Components is provided in http://127.0.0.1:8080/log-table-web-services#/10
      • Updated <nav is="spa-links"> to include new option [data-nav-match="start"]
      • Bug Fix for function setElementText() from file js/web-components/utils.js
      • Elements input, select, textarea were having the innerText set rather than the value property to to a string compare error
      • Affected <json-data> for [data-bind] and <url-router> for [url-param]
    • โšก๏ธ Framework Updates
      • Added ability to define CSS Variable Polyfill/Ponyfill automatically for older browsers.
      • Previously the main site and a number of examples had custom code included directly on each page to make this happen.
      • Now a [data-css-vars-ponyfill] attribute simply needs to be included on the style sheet, example: ~~~html ~~~
      • When used this automatically downloads and runs css-vars-ponyfill one time when the page is first loaded.
      • https://github.com/jhildenbiddle/css-vars-ponyfill
      • As of 2021 this will mostly used on sites that support IE 11. Unless a very old version of Mobile Safari or Android Device is used they will typically support CSS Variables.
      • This feature includes new a function app.cssVarsPonyfill() and a new property app.settings.cssPonyfillUrl
      • js/plugins/exportToCsv.js - Added support to export using [data-value] attributes if they exist. data-value is used for Sorting and if used contains the expected number or date format needed for exporting.
      • Updated js/plugins/navLinks.js to include new option [data-nav-match="start"]
    • Set enumerable: true for the version property. Affects two files:
      • Main DataFormsJS.js file
      • React jsxLoader.js file
  • v5.5.0 Changes

    December 13, 2020

    5.5.0 (December 13, 2020)

    • ๐ŸŒ Web Component <json-data>
    • Started including version property for two files:

      • Main DataFormsJS.js file
      • React jsxLoader.js file
      • The version property is updated automatically from scripts/build.js using the value from package.json when the version changes. Version is included in the full source DataFormsJS.js, jsxLoader.js and in the *.min.js files.

      // FrameworkDataFormsJS.version === '5.5.0'app.version === '5.5.0'// JSX LoaderjsxLoader.version === '5.5.0'

    • JSX Loader

      • Added default fetch options for fetching JSX Templates
      • To use different options set this as soon as the script is loaded and before the document DOMContentLoaded event runs.
      • The default options provide for flexibility with 'cors', prevention of caching issues with 'no-store', and security by using 'same-origin' for credentials.

      // New default optionsjsxLoader.fetchOptions = {mode: 'cors',cache: 'no-store',credentials: 'same-origin',};// Previously null was used for fetch(url, null) so the following// can be used if needed or fetchOptions can be customized for apps// that need to use security to fetch JSX Templates:jsxLoader.fetchOptions = null;

    • React Components

      • Updated the ES5 build for all React Components so that the compiled code from Babel is enclosed in Immediately Invoked Function Expressions (IIFE) and only needed Component and Classes are assigned to the global window object.
      • The resulting code is slightly smaller for each Component and variables intended for private module scope are no longer made available globally.
  • v5.4.1 Changes

    December 10, 2020
  • v5.4.0 Changes

    December 04, 2020
    • React jsxLoader
      • Added support for data-type="module" on scripts. This feature was added on Babel Standalone 7.10.0
      • See Babel Standalone Docs: https://babeljs.io/docs/en/babel-standalone
      • Updated Babel Standalone CDN Version used for old browsers from 7.12.6 to the latest version 7.12.9.
    • โšก๏ธ Updated all NPM Dev Dependencies to use latest version for Build and Minification
  • v5.3.1 Changes

    December 03, 2020
    • ๐Ÿ›  Web Component <input is="input-filter"> could previously run too soon for long running web services when the content was waiting on data downloaded from <json-data>. The result was 0 Records Found message depending on the app. This has now been fixed.
    • ๐ŸŒ Web Component Polyfill File now sets window.usingWebComponentsPolyfill = true as soon as the file will be used. This allows for apps to handle logic much quicker when DOMContentLoaded is handled.
    • ๐ŸŒ Framework Control <markdown-content> has an added value property to match the API of the related Web Component.
  • v5.3.0 Changes

    November 24, 2020
  • v5.2.0 Changes

    November 23, 2020
    • โž• Add React Component <Markdown>
    • ๐Ÿ›  Fix js/web-components/markdown-content.js so that it shows it shows the correct background color and full CSS styles for Code Syntax when using highlight.js. With previous releases this worked with the Framework version js/controls/markdown-content.js
    • โšก๏ธ Updates for both Framework and Web Component <markdown-content>
      • Fix issue where there were running highlight.js against the document rather than only elements under <markdown-content>
      • Added default use of remarkable.linkify plugin when using Remarkable
      • Added error handling to display an error through showError() or app.showError() for Markdown fetch errors. For example if a 404 occurs.
    • ๐Ÿ”’ Framework Control now makes requests through app.fetch() so that custom security or other app defined Request Headers will be included.
    • ๐ŸŒ <nav is="spa-links"> Web Component - Set links on initial connectedCallback() event. Previously it was first called based on router events however this caused a timing issue depending on when the file was loaded in related to the <url-router>.
  • v5.1.1 Changes

    November 21, 2020
    • ๐Ÿ“ฆ Several of the *.min.js files were built showing version 5.0.2 in the header comments. Package has been republished to show correct version.
  • v5.1.0 Changes

    November 21, 2020
  • v5.0.2 Changes

    November 20, 2020
    • ๐Ÿ›  Fixed Web Component <nav is="spa-links"> so that it works on Safari.