Releases: Jinntec/Fore
Releases · Jinntec/Fore
1.0.0-2
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 eachfx-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 typehtml
now - for outputting somewhere in the page withfx-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
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
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-instance
andfx-submission
- implemented
urlencoded-post
infx-submission
- implemented partial submit and replacement through
ref
andtargetref
attributes - support for disabled triggers
- fixed focus in repeat when tabbing through fields
0.25.1
- 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
- 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
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
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
- 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