OGX.JS Javascript Framework version 1.1.0 out of beta
2020-05-22
OGX.JS OGX.JS tretreztrezour javascript framework version 1.1.0 is now out of beta! Lots of new features and a few breaking changes.our javascript framework version 1.1.0 is now out of beta! Lots of new features and a few breaking changes.
Here is the complete changelog:
New Features
- [OSE] The templater engine got it's own enhanced scripting engine, named OSE OGX Scripting Engine
- [OSE] Full support of MongOGX find queries in OML
- [OML] DynamicList item is now accessible as variable from OML as {{&item}} or whatever is set as as flag in config of DynamicList via OSE
- [Cache] cache-able loaded files are now stored in a new Cache class.
- [Templater] now uses OSE to manipulate and output HTML based on data, allows template in template, getTemplate now relies on Cache
- [Uxi] new cfind method to faster globally retrieve another Uxi from the uxis' internal Cache
- [Object] now has a cache where all living Uxis are stored and cached (via a List) for faster lookup
- [CLI] the CLI is now available on all platform via npm/node.js
- [Form] field pattern can be set either by config or in the html
- [List] new method unset, list cache now supports combined indexes
- [List] filtering with in now works with object to object
- [Bind] refactored binds, new Bind class, now extendable
- [Bind] Binds can and should be set in OML, multiple binds per property supported
- [NestList] now bindable/filterable (title only)
- [Debug] new Debug class, only available in dev/debug builds
- [Calendar] date can be passed as string YYYY-MM-DD
Breaking Changes
- [OSE] The templater engine got it's own enhanced scripting engine, named OSE OGX Scripting Engine
- [OSE] Full support of MongOGX find queries in OML
- [OML] DynamicList item is now accessible as variable from OML as {{&item}} or whatever is set as as flag in config of DynamicList via OSE
- [Cache] cache-able loaded files are now stored in a new Cache class.
- [Templater] now uses OSE to manipulate and output HTML based on data, allows template in template, getTemplate now relies on Cache
- [Uxi] new cfind method to faster globally retrieve another Uxi from the uxis' internal Cache
- [Object] now has a cache where all living Uxis are stored and cached (via a List) for faster lookup
- [CLI] the CLI is now available on all platform via npm/node.js
- [Form] field pattern can be set either by config or in the html
- [List] new method unset, list cache now supports combined indexes
- [List] filtering with in now works with object to object
- [Bind] refactored binds, new Bind class, now extendable
- [Bind] Binds can and should be set in OML, multiple binds per property supported
- [NestList] now bindable/filterable (title only)
- [Debug] new Debug class, only available in dev/debug builds
- [Calendar] date can be passed as string YYYY-MM-DD[Uxi] container in config is now el
- [OML] variable used in :Data properties must now be set as :OSE tags, ie: 'mydata:OSE':{{#wathever}} (vs old 'mydata:Data':#wathever)
- [OML] fetching preloaded json document now as OSE: {{json NAME}} vs {{NAME.json}}
- [Route] to capture, must now be set to /stage/users/id:[0-9] vs old /stage/users/[0-9]
- [Display] view flag not supported anymore, use oml flag. template and css still supported
- [Core] use of constants as string removed in app.json, use constant value
- [Core] preload tag of app.json is now an object, with paths as properties, use CLI
- [Window] Constant change (ANIM_LEFT, HEAD_BACK), now LEFT, BACK
- [Popup] Constant change (ANIM_SCALE, ANIM_FADE), now SCALE, FADE
- [HTML] templates are now stored in html/ (vs html/templates)
- [List] get returns an object if limit is set to 1
- [RouletteTree] val() now returns a single object
- [Templater] templatize now requires the string first
- [DynamicList] unified methods with OGX.List, replace now findReplace, update now findUpdate and getIndex now findIndex
Bug Fixes
- [RouletteTree] losing touch swipe after disable then enable
- [GridSwiper] fix swipe not working in Popup
- [Calendar] fix display date not same as date when init with date, select date while swiping
The framework has also been updated on Github, NPM and as a CLI dependency.
/