Skip to content

Releases: Jinntec/Fore

1.0.0-2

04 Feb 15:43
Compare
Choose a tag to compare
1.0.0-2 Pre-release
Pre-release

Performance Updates

  • fixed some issues with mainGraph construction
  • tracking changed modelItems
  • subgraphing for recalculation so that only nodes are re-computed that are dependant of changed nodes

Fixes

  • Submission response dispatches submit-error for response status > 400Gr
  • updated to latest dep_graph.js
  • targetref wrongly used instance object instead of firstChildElement
  • template finding in controls
  • regression in evaluation of control nodeset
  • missing constraint property on ModelItem
  • inscopeContext evaluation returning first entry from an array now
  • accessing defaultContext is prevented during model.init

Additions

  • new Fore Element reference describing attributes, event and link to demo usages
  • Actions may attach listeners on window
  • xpath-default-namespace can be set individually on each fx-instance to allow mixing of namespaces
  • id references in repeats are resolved now so that individual elements can be referenced within a repeat template
  • still experimental lazy refresh behind a flag attribute refresh-on-view that will refresh only reference that are currently in the viewport
  • changed fx-alert to plain vanilla component
  • new fx-inspector to log all live instance data to a section at the bottom of the viewport
  • basic context() function - still needs further testcases
  • prettyfied XML output with log() function
  • allowing to insert a response node into a target node with submission
  • fx-instance may have type html now - for outputting somewhere in the page with fx-output
  • subgraph demo with visualization of dependency graph
  • refactor: renamed formElement to foreElement
  • preventing updateModel when no binds are present avoiding construction of dependency graph and update cycle altogether

1.0.0-1

28 Oct 11:01
Compare
Choose a tag to compare
1.0.0-1 Pre-release
Pre-release

Second pre-release coming with various detail fixes and improvements.

Notable improvements:

  • fx-output supports HTML now
  • id resolution in repeats implemented as proposed by XForms 2.0
  • a bug has been fixed that prevented 'item()' being used as param of custom function. Regex pattern has been fixed.
  • fixes issues with switching non-relevant/relevant repeat items
  • some demos added

1.0.0-0

17 Oct 17:02
Compare
Choose a tag to compare
1.0.0-0 Pre-release
Pre-release

This is the first pre-release of Fore and may still contain some detail issues.

  • all console statements now stripped from fore-all.js. You can still build a packaged version with console message via npm run build
  • implemented relevance selection during submission including support for non-relevant attribute
  • added XML namespace support
  • added #echo submission handler allowing relevance filtered responses and tests.
  • added an additional package 'fore-debug.js' which contains console.log messages for debugging purposes
  • added a dispatch function to ForeElementMixin
  • fixed refresh behavior to not evaluate validity during initial refresh
  • new demo files and many improvements to the existing ones
  • support for serialization="none"
  • lazy creation of instanceData if not present
  • new fx-header element to set request headers
  • improved content-type handling for fx-instanceand fx-submission
  • implemented urlencoded-post in fx-submission
  • implemented partial submit and replacement through ref and targetrefattributes
  • support for disabled triggers
  • fixed focus in repeat when tabbing through fields

0.25.1

15 Sep 08:36
Compare
Choose a tag to compare
0.25.1 Pre-release
Pre-release
  • fixing a bug in fx-setvalue
  • additional and improved demos for 'while' and 'delay'
  • improved implementation of 'while' and 'delay' using promises
  • removed cyclic dependency
  • fixed a bug in fx-trigger to ensure actions are run in sequence

0.25.0

03 Sep 17:10
Compare
Choose a tag to compare
0.25.0 Pre-release
Pre-release
  • added fx-insert action and implemented a set of use cases
  • added fx-update and fx-refresh actions
  • implemented 'while' attribute for actions for loops
  • simple implementation of 'delay' (not working alongside 'while' yet)
  • repeat with atomic values including demo
  • implemented 'context' attribute

0.24.0

16 Jul 17:30
Compare
Choose a tag to compare
0.24.0 Pre-release
Pre-release

Breaking change: <fx-form> is now <fx-fore>
For reasons see discussions here on github.

  • renamed fx-form to fx-fore and changed all of its usages
  • simplified and fixed css importing
  • fixed a bug with fx-switch and added tests
  • fixed a regression with fx-append that broke nested repeats
  • demos should be functional again

0.23.0

10 Jul 17:34
Compare
Choose a tag to compare
0.23.0 Pre-release
Pre-release

big steps towards 1.0.0:

  • removed all third-party dependencies except (of course) fontoXPath
  • replace vaadin-notification with our own component with single dependency
  • demo now have their own package.json to allow use of third-party components without bloating Fore build
  • json instance loading via 'src' also working
  • replace iron-ajax with native fetch API
  • linting

0.22.0

02 Jul 21:57
Compare
Choose a tag to compare
0.22.0 Pre-release
Pre-release
  • breaking change to fx-setvalue: static values are only allowed as content now leaving the 'value' attribute for dynamic values
  • greatly improved event handling with new options
  • implemented event() function to access event detail object from within XPath
  • fx-setvalue also accepts document or element nodes as value
  • new demos for event-related features
  • new tests

0.21.0

30 Jun 10:50
Compare
Choose a tag to compare
0.21.0 Pre-release
Pre-release
  • fixing missing dist files
  • removed paper-dialog and other dependencies

0.20.1

29 Jun 20:57
Compare
Choose a tag to compare
0.20.1 Pre-release
Pre-release

changed fx-dispatch again to use 'name' instead of 'event' attribute to avoid confusion with other actions and to enable dispatch to also listen for events.