Releases: globules-io/OGX.JS
Releases · globules-io/OGX.JS
OGX.JS 1.19.1
New Features
- [Touch]
Move
andHold + Move
added additional attributesx, 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
Version 1.19
1.19.0
Dependency revision
Starting at version 1.19,
ajax
is removed from the custom jQuery build. OGX.JS now usesfetch
all across the framework. If you wish to continue using jQuery's ajax methods, feel free to overwrite the jQuery build inwww/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
andSwipe
to components usingTouch
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 valuesauto
ormanual
- [Touch] added
add
,get
andremove
to allow multiple touches of each kind - [Uxi] added
observeOnce
as proxy toobserve
, 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
1.18.1
- [Window] prevent
drag
whenhide
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
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 supportsOML
rendering andDisplay
- [DynamicList] added support to
whitespace
in ids - [DynamicList] added events
SELECT_FILTERED
andSELECT_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 viaCSS
OGX.JS 1.17.1
1.17.1
- [Router] added
expire
method to clear the cache for a given url
OGX.JS 1.17.0
Version 1.17
1.17.0
New Features
- [DynamicList] added
no_selection
flag andnoSelection
method - [Color]
rgbToHex
,rgbToHsl
ndhslToRgb
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
, andgatherByName
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 aPromise
. 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
overtextarea
with new lines andrestrict
Deprecations
- [Uxi]
render
has been deprecated with no replacement - [DynamicList]
clear
has been deprecated and replaced withwipe
- [Tags]
clear
has been deprecated and replaced withwipe
- [Chat]
clear
has been deprecated and replaced withwipe
OGX.JS 1.16.0
Version 1.16
1.16.0
Bug Fixes
- [DynamicList] fix
css
not updated when usingfindReplace
orreplaceAt
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
- [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
Version 1.15
1.15.0
- [DynamicList] better handling of
selection
at start-up - [Calendar] added
browse
flag,swipeable
flag deprecated in favor toswipe
- [Router] fix issue with dynamic routes and
:OML
links - [Popup] added
maximize
andnormalize
methods - [Form] added optional
map
parameter topopulate
- [Form] added optional
params
parameter tobindForm
- [Uxi] added shortcuts
on
&off
into prototype overel
Deprecations
- [Calendar]
swipeable
has been marked as deprecated in favor toswipe
OGX.JS 1.14.0
1.14.0
- [DynamicList]
select
now supports array if selection mode ismulti
- [List]
in
andnin
added support tonumber 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
andnext
method
Deprecations
- [Scope]
check
has been marked as deprecated in favor toeval
- [Scope]
match
has been marked as deprecated in favor toeval
All scoping must be declared as scope expression vs previously array. This change impacts
Router
andDynamicList
.
Previous route scope
{"mystage/myroute":{
...
scope : ['public', 'user']
}
New format
{"mystage/myroute":{
...
scope : 'public user'
}