Skip to content

OGX.JS 1.25.0

Compare
Choose a tag to compare
@globules-io globules-io released this 26 Apr 19:06
· 395 commits to master since this release

1.25.0

This version is compatible with OGX.CLI >= 1.13.0

New Features

  • [OML] can now render a tree and disable all children down the tree if a parent is disabled upstream
  • [App] new parameter exportable to pass at instantiation, allows or prevents toOML export
  • [App] new parameter unique to prevent another instance running on another tab
  • [App] hot reload CSS and HTML files without reloading the app (dev builds only) via refresh method
  • [Workers] added run, start, stop methods control a worker that runs in an interval
  • [Router] added gate method and idle process
  • [Router] can now cache the route only once with once as value for cache expiration
  • [Calendar] added offDates method and off_dates config flag
  • [Calendar] added noSelection method and no_selection config flag
  • [Scroller] added overflow method

Breaking Changes

  • [Uxi] enable and disable within the Uxi have been replaced by onFocus and onBlur
  • [Router] oml in routes must now be specified as "oml"

Previously

 "mystage/myroute:OML" : "myOMLFile"

Now must be passed as

 "mystage/myroute" : {"oml":"myOMLFile"}

Other Changes

  • [Form] updated autocomplete behavior on Android webview
  • [Popup] width and height methods are now chainable
  • [Neutralino] default config file removed in favor of the builder command of the CLI
  • [Scroller] Better handling at creating a Scroller over an element with existing content
  • [Geo] Better handling of Google loaded with defer
  • [Scope] Better handling of regex

Bug Fixes

  • [Popup] fix show:false at creation shows popup anyway
  • [Tree] item arrow not closed after children is deleted and parent has no more children
  • [Install] fix obsolete dir not removed from install procedure, breaking install from CLI
  • [Calendar] fix rare issue when calendar becomes unselectable after stressing it with swipes and clicks

Deprecations

  • [Scope] match was previously deprecated and has now been removed
  • [Scope] check was previously deprecated and has now been removed
  • [Scope] passing scope as array is now deprecated in favor to scope expressions
  • [Calendar] swipeable was previously deprecated and has now been removed
  • [Ghost] is obsolete and has now been removed