Skip to content

Releases: globules-io/OGX.JS

OGX.JS 1.19.1

28 Jul 10:56
Compare
Choose a tag to compare

New Features

  • [Touch] Move and Hold + Move added additional attributes x, y, distX, distY, dirX, dirY in callback object
  • [List] added support to deep path sorting
  • [List] added support to deep path updating

OGX.JS 1.19.0

19 Jul 15:43
Compare
Choose a tag to compare

Version 1.19

1.19.0

Dependency revision

Starting at version 1.19, ajax is removed from the custom jQuery build. OGX.JS now uses fetch all across the framework. If you wish to continue using jQuery's ajax methods, feel free to overwrite the jQuery build in www/js/lib/jquery with the full production version. The custom build does NOT include these modules : ajax, css/showHide, deprecated, wrap, effects and deferred. This is a non breaking change unless you rely on these features within your own code.

  • [Net] un-jQuery-fy component
  • [Lib] slimmer jQuery custom build 3.6.1
  • [Lib] moment.js updated to 2.29.2

Breaking changes

  • [Touch] does not add by default an instance of Drag, Move and Swipe to components using Touch by default, they now must be added on demand.

New features

  • [Touch] added Move method to callback the distance between the start position and current mouse/touch position
  • [Touch] added state optional parameter with values auto or manual
  • [Touch] added add, get and remove to allow multiple touches of each kind
  • [Uxi] added observeOnce as proxy to observe, turned off automatically once observation completes
  • [DynamicList] added ogx_dynamic_list_drag CSS class, applied when an item of the list is being reordered
  • [Calendar] added layouts method to change the layout configuration on the fly

Bug fixes

  • [DynamicList] fix broken reorder

Other changes

  • [Core] refactor around object naming and instantiation, smaller builds and performance improvements
  • [Core] object names constants have been removed as they were not useful anymore

OGX.JS 1.18.1

26 Jun 16:33
Compare
Choose a tag to compare

1.18.1

  • [Window] prevent drag when hide has been called
  • [StackedTree] fix DynamicList overriding back button
  • [Scope] fix eval deprecation in production build
  • [OML] fix controllers rendering priority

OGX.JS 1.18.0

09 Jun 12:57
Compare
Choose a tag to compare

1.18.0

New Features

  • [OSE] data coming from a route-capture (route data) now has its own variable %
  • [Tree] was the last component not hooked to OML, has been overhauled and now supports OML rendering and Display
  • [DynamicList] added support to whitespace in ids
  • [DynamicList] added events SELECT_FILTERED and SELECT_UNFILTERED
  • [DynamicList] getSelection now returns filtered selection if the list has been filtered post selection

Bug fixes

  • [OSE] better data support in recursive template in template

Breaking changes

  • [Tree] setIconSize has been removed, now handled via CSS

OGX.JS 1.17.1

14 May 02:26
Compare
Choose a tag to compare

1.17.1

  • [Router] added expire method to clear the cache for a given url

OGX.JS 1.17.0

11 May 15:31
Compare
Choose a tag to compare

Version 1.17

1.17.0

New Features

  • [DynamicList] added no_selection flag and noSelection method
  • [Color] rgbToHex, rgbToHsl nd hslToRgb now accept any variation of arguments (string, array, object and arguments)
  • [Calendar] added BROWSE event, triggered when user navigates with top arrow buttons
  • [Form] bindField allowed flag now defaults to /[0-9a-zA-Z‘’'"à-úÀ-Ú\-\!\.\?#@$\:\(\)\/_,;%' ]/
  • [OSE] added additional debugging messages if the script fails
  • [Uxi] Added optional flag name, and gatherByName method
  • [Router] added OGX.Router.GOTO event, triggered upon internal link
  • [Router] Added cache feature, allow to reuse complete routes from Cache instead of re-rendering
  • [Templater, OSE] recursive dynamic templating with custom object is now possible via OSE
  • [OML] added Function tag, which calls a user function that returns a Promise. Based on resolve, a different OML node will be rendered

Bug Fixes

  • [Router] fix issues with capturing variable in dynamic routes with multiple dynamic routes
  • [Form] fix issue with bindField over textarea with new lines and restrict

Deprecations

  • [Uxi] render has been deprecated with no replacement
  • [DynamicList] clear has been deprecated and replaced with wipe
  • [Tags] clear has been deprecated and replaced with wipe
  • [Chat] clear has been deprecated and replaced with wipe

OGX.JS 1.16.0

29 Apr 11:30
Compare
Choose a tag to compare

Version 1.16

1.16.0

Bug Fixes

  • [DynamicList] fix css not updated when using findReplace or replaceAt methods while using binds
  • [DynamicList] fix findUpdate not keeping selection css class
  • [Router] Fix issue with bookmark option when using multiple stages
  • [Router] fix issue with navigation history with empty views

New Features

  • [Overlay] close_on_click flag can now be passed a callback
  • [Router] Added request method
  • [Router] Added jail config flag
  • [Router] Internal a links are now supported, format /stage/route
  • [Form] change_cb callback now buffered, preventing multiple events when autofilling multiple fields at once
  • [Uxi] added parents method
  • [OML] value of selector property can now be expressed as an OSE script

OGX.JS 1.15.1

09 Apr 14:55
Compare
Choose a tag to compare
  • [Dependency] jquery updated to version 3.6.1
  • [Dependency] moment updated to version 2.29.2
  • [Media] prevent elements re-init, performance improvements
  • [Media] buffered observer
  • [Scope] fix rare issues with eval, performance improvements

OGX.JS 1.15.0

01 Apr 12:47
Compare
Choose a tag to compare

Version 1.15

1.15.0

  • [DynamicList] better handling of selection at start-up
  • [Calendar] added browse flag, swipeable flag deprecated in favor to swipe
  • [Router] fix issue with dynamic routes and :OML links
  • [Popup] added maximize and normalize methods
  • [Form] added optional map parameter to populate
  • [Form] added optional params parameter to bindForm
  • [Uxi] added shortcuts on & off into prototype over el

Deprecations

  • [Calendar] swipeable has been marked as deprecated in favor to swipe

OGX.JS 1.14.0

09 Mar 12:54
Compare
Choose a tag to compare

1.14.0

  • [DynamicList] select now supports array if selection mode is multi
  • [List] in and nin added support to number to string|array|object|number comparison
  • [Router] added eval option to handle custom navigation permissions
  • [Router] scoping now supports scope expressions
  • [DynamicList] scoping now supports scope expressions
  • [Scope] scope to test can now be declared as a regular expression
  • [Carousel] added prev and next method

Deprecations

  • [Scope] check has been marked as deprecated in favor to eval
  • [Scope] match has been marked as deprecated in favor to eval

All scoping must be declared as scope expression vs previously array. This change impacts Router and DynamicList.
Previous route scope

 {"mystage/myroute":{
      ...
      scope : ['public', 'user'] 
 }

New format

 {"mystage/myroute":{
      ...
      scope : 'public user'
 }